Exemplo n.º 1
0
 private void RemoveFromCollection(InternalEntityEntry entry, INavigation navigation, InternalEntityEntry value)
 {
     _changeDetector.Suspend();
     try
     {
         entry.RemoveFromCollection(navigation, value);
     }
     finally
     {
         _changeDetector.Resume();
     }
     entry.RemoveFromCollectionSnapshot(navigation, value.Entity);
 }