Example #1
0
        public void ValidateNavigationNonKeyPrincipalPropertyRefCsdl()
        {
            var expectedErrors = new EdmLibTestErrors();

            this.VerifySemanticValidation(NavigationTestModelBuilder.NavigationOneKeywithOneNonKeyPrincipalPropertyRefCsdl(), EdmVersion.V40, expectedErrors);
            this.VerifySemanticValidation(NavigationTestModelBuilder.NavigationTwoNonKeyPrincipalPropertyRefCsdl(), EdmVersion.V40, expectedErrors);
            this.VerifySemanticValidation(NavigationTestModelBuilder.NavigationOneNonKeyPrincipalPropertyRefCsdl(), EdmVersion.V40, expectedErrors);
        }