6 references to RemoveFromCache
System.Data.Entity (6)
System\Data\Objects\DataClasses\EntityCollection.cs (1)
359bool result = RemoveFromCache(wrappedEntity, /* resetIsLoaded*/ false, /*preserveForeignKey*/ false);
System\Data\Objects\DataClasses\RelatedEnd.cs (4)
1316attachedRelatedEnd.RemoveFromCache(entityToAdd, /*resetIsLoaded*/ false, /*preserveForeignKey*/ false); 1434bool fireEvent = RemoveFromCache(wrappedEntity, false, preserveForeignKey); 2025relatedEnd.RemoveFromCache(_wrappedOwner, /* resetIsLoaded */ true, /*preserveForeignKey*/ false); 2042this.RemoveFromCache(wrappedEntity, /* resetIsLoaded */ false, /*preserveForeignKey*/ false);
System\Data\Objects\ObjectStateManager.cs (1)
780if (pair.Key.RemoveFromCache(wrappedEntity, /*resetIsLoaded*/ false, /*preserveForeignKey*/ false))