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