Ejemplo n.º 1
0
 public void FixState()
 {
     foreach (var entry in ChangeTracker.Entries <IObjectWithState>())
     {
         IObjectWithState stateInfo = entry.Entity;
         entry.State = DataUtilities.ConvertState(stateInfo.State);
     }
 }