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