public static IEdmModel InterfaceCriticalKindValueMismatchOnlyUsingComplexTypeReferenceModel()
        {
            var model = new EdmModel();

            var badTypeRef = new CustomComplexTypeReference(new EdmEntityType("NS", "Entity"), true);
            var valueTerm  = new EdmTerm("NS", "Note", badTypeRef);

            model.AddElement(valueTerm);

            return(model);
        }
        public static IEdmModel InterfaceCriticalKindValueMismatchOnlyUsingComplexTypeReferenceModel()
        {
            var model = new EdmModel();

            var badTypeRef = new CustomComplexTypeReference(new EdmEntityType("NS", "Entity"), true);
            var valueTerm = new EdmTerm("NS", "Note", badTypeRef);
            model.AddElement(valueTerm);

            return model;
        }