2 overrides of CheckIfNavigationPropertyContainsEntity
System.Data.Entity (2)
System\Data\Objects\DataClasses\EntityCollection.cs (1)
727
internal override bool
CheckIfNavigationPropertyContainsEntity
(IEntityWrapper wrapper)
System\Data\Objects\DataClasses\EntityReference_TResultType.cs (1)
703
internal override bool
CheckIfNavigationPropertyContainsEntity
(IEntityWrapper wrapper)
9 references to CheckIfNavigationPropertyContainsEntity
System.Data.Entity (9)
System\Data\Objects\DataClasses\RelatedEnd.cs (7)
1189
if (this.
CheckIfNavigationPropertyContainsEntity
(wrappedTarget))
1202
if (targetRelatedEnd.
CheckIfNavigationPropertyContainsEntity
(WrappedOwner))
1298
Debug.Assert(this.
CheckIfNavigationPropertyContainsEntity
(wrappedTarget), "owner's navigation property doesn't contain the target entity as expected");
1402
bool contains = this.
CheckIfNavigationPropertyContainsEntity
(wrappedEntity);
1612
else if (!otherEndAsRef.
CheckIfNavigationPropertyContainsEntity
(this._wrappedOwner))
1720
if (this.TargetAccessor.HasProperty && !this.
CheckIfNavigationPropertyContainsEntity
(wrapper))
1738
if (this.TargetAccessor.HasProperty && this.
CheckIfNavigationPropertyContainsEntity
(wrapper))
System\Data\Objects\EntityEntry.cs (2)
3623
refToDependent.
CheckIfNavigationPropertyContainsEntity
(refToPrincipal.WrappedOwner)))
3629
refToPrincipal.
CheckIfNavigationPropertyContainsEntity
(wrappedPrincipal))