예제 #1
0
 public void ValidationShouldFailIfAConstraintOnANonExistentReferencedPropertyIsFound()
 {
     this.ValidateReferentialConstraintWithExpectedErrors(
         @"<ReferentialConstraint Property=""ForeignKeyId1"" ReferencedProperty=""NonExistent"" />",
         EdmErrorCode.BadUnresolvedProperty,
         ErrorStrings.Bad_UnresolvedProperty("NonExistent"));
 }