Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
225
Populating UltraWinGrid Using Entity Framework Stored Procedure
posted

This would seem to be fairly straight forward but I'm stumped.

I'm familiar with using a dataset/datatable to bind to a grid.  However, I'm new to Entity Framework.

Can you provide a short example of how I would call a stored procedure

MyContext.uspGetClientByID(47)

And somehow get that into the grid properly?

mygrid.datasource = mycontext.uspGetClientByID(47) throws an exception of course as it is not returning a dataset by design.

Thank you!