Ejemplo n.º 1
0
        public void ValidateNavigationWithInvalidEntitySetInSingleton()
        {
            var model = NavigationTestModelBuilder.NavigationAssociationSetWithInvalidEntitySetInSingleton();

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

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