EntitySet and EntityRefs are not set when StoredProcedures are used

  • Thread starter Thread starter Max2006
  • Start date Start date
M

Max2006

Hi,

I have three entity classes in my Linq2Sql context. The three entities are
associated to each other (two one-to-many relations total).
I use stored procedures to receive the results from database. The problem is
the EntitySet s are not properly populated when I use stored procedure.
Is there any way to populate the data with stored procedures and have
context automatically set the EntitySet and EntityRefs with default values?

Thank you,
Max
 
Hello Max

The managed support service of the newsgroup
microsoft.public.dotnet.languages.csharp is now available instead on MSDN
forums:
http://social.msdn.microsoft.com/forums/en-US/csharpgeneral/threads/.

Actually for this issue is related to Entity Framework, so the right place
to ask should be Entity Framework MSDN forum,
http://social.msdn.microsoft.com/forums/en-US/adodotnetentityframework/threa
ds/

Would you please repost the question in the forum with the Windows Live ID
used to access your Subscription benefits? Our engineers will assist you in
the new platform. The article
http://msdn.microsoft.com/en-us/subscriptions/aa974230.aspx introduces more
information about the migration. In the future, please post your Entity
Framework-related questions directly to the forums. If you have any
questions or concerns, please feel free to contact us:
(e-mail address removed).

Regards,
Colbert Zhou
Microsoft Online Community Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
(e-mail address removed).

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.
 
Back
Top