3 references to ValidateOwnerWithRIConstraints
System.Data.Entity (3)
System\Data\Objects\DataClasses\EntityReference.cs (2)
238EntityKey ownerKey = ValidateOwnerWithRIConstraints(targetEntry == null ? null : targetEntry.WrappedEntity, value, checkBothEnds: true); 415otherEnd.ValidateOwnerWithRIConstraints(WrappedOwner, ownerKey, checkBothEnds: false);
System\Data\Objects\DataClasses\EntityReference_TResultType.cs (1)
113ValidateOwnerWithRIConstraints(value, value == EntityWrapperFactory.NullWrapper ? null : value.EntityKey, checkBothEnds: true);