Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Entity Framework - Entity Collection Refresh
Message
From
10/05/2010 22:40:05
 
 
To
All
General information
Forum:
ASP.NET
Category:
ADO.NET
Title:
Entity Framework - Entity Collection Refresh
Environment versions
Environment:
C# 3.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01464069
Message ID:
01464069
Views:
375
I have a back end data store that is receiving frequent updates from another process. (Currently SQL Express 2005 but I don't want to tie myself to that.)

I have one table of groups and another that is children of that group, some of the children are periodically moved from one group to another and sometimes new children are added.

When I do a:

MyContext.Refresh(RefreshMode.StoreWins, group.children);

The child collection does not reflect any of the added children. Is there a way to get these child collections to fully refresh?
Next
Reply
Map
View

Click here to load this message in the networking platform