Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Entity Framework - Entity Collection Refresh
Message
De
10/05/2010 22:40:05
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Titre:
Entity Framework - Entity Collection Refresh
Versions des environnements
Environment:
C# 3.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01464069
Message ID:
01464069
Vues:
374
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?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform