c# - Map a stored procedure to an Entity object and its child objects -


Within EF4, it is very easy to map functionality stored in one unit. I create a stored proc, add it to the model, then import a function and specify the parent unit.

Now, Rubber comes in that I want to "curious loading" of my stored procedure of children's institutions

Actually, I have a table with parents and a table child, among them one with many relationships.

How is this accomplished?

Div class = "post-text" itemprop = "text">

If you believe that you want to restore your stored procedure to multiple result sets, you may want to take a look at it.

The basic essence is that it is not supported as an out-the-box feature, but there is an extension for EF which obviously makes it possible.


Comments