public void ValidationShouldFailIfNavigationTypeIsACollectionButElementTypeDoesNotExist() { this.ValidateNavigationWithExpectedErrors(@"<NavigationProperty Name=""Navigation"" Type=""Collection(Fake.Nonexistent)"" />", EdmErrorCode.BadUnresolvedEntityType, ErrorStrings.Bad_UnresolvedEntityType("Fake.Nonexistent")); }
public void ValidationShouldFailIfNavigationTypeIsPrimitiveCollectionType() { this.ValidateNavigationWithExpectedErrors(@"<NavigationProperty Name=""Navigation"" Type=""Collection(Edm.Int32)"" />", EdmErrorCode.BadUnresolvedEntityType, ErrorStrings.Bad_UnresolvedEntityType("Edm.Int32")); }