Exemplo n.º 1
0
        public void ValidateNavigationWithInvalidAssociationSetEntitySet()
        {
            var model = NavigationTestModelBuilder.NavigationAssociationSetWithInvalidEntitySet();

            var expectedErrors = new EdmLibTestErrors()
            {
                { null, null, EdmErrorCode.UnresolvedNavigationPropertyBindingPath },
                { null, null, EdmErrorCode.NavigationPropertyMappingMustPointToValidTargetForProperty },
            };

            this.VerifySemanticValidation(model, EdmVersion.V40, expectedErrors);
        }