根据 CSDL 规范验证元素命名空间与允许的命名空间模式匹配。
命名空间: Microsoft.Data.Edm.Validation
程序集: Microsoft.Data.Edm(在 Microsoft.Data.Edm.dll 中)
语法
声明
Public Shared ReadOnly SchemaElementNamespaceIsNotAllowed As ValidationRule(Of IEdmSchemaElement)
用法
Dim value As ValidationRule(Of IEdmSchemaElement)
value = ValidationRules.SchemaElementNamespaceIsNotAllowed
public static readonly ValidationRule<IEdmSchemaElement> SchemaElementNamespaceIsNotAllowed
public:
static initonly ValidationRule<IEdmSchemaElement^>^ SchemaElementNamespaceIsNotAllowed
static val SchemaElementNamespaceIsNotAllowed: ValidationRule<IEdmSchemaElement>
public static final var SchemaElementNamespaceIsNotAllowed : ValidationRule<IEdmSchemaElement>