2 references to ShouldPreserveForeignKeyForDependent
System.Data.Entity (2)
System\Data\Objects\ObjectStateManager.cs (2)
3531
bool preserveForeignKey =
ShouldPreserveForeignKeyForDependent
(entry.WrappedEntity, relatedEnd, relatedEntity, entitiesToDelete);
3621
preserveForeignKey =
ShouldPreserveForeignKeyForDependent
(relatedEntity, otherEnd, entity, entitiesToDelete);