private void AddToCollection(InternalEntityEntry entry, INavigation navigation, InternalEntityEntry value) { if (navigation != null) { _changeDetector.Suspend(); try { if (entry.AddToCollection(navigation, value)) { entry.AddToCollectionSnapshot(navigation, value.Entity); } } finally { _changeDetector.Resume(); } } }