所有 EDM 架构的命名儿童的公共基接口。
命名空间: Microsoft.Data.Edm
程序集: Microsoft.Data.Edm(在 Microsoft.Data.Edm.dll 中)
语法
声明
Public Interface IEdmSchemaElement _
Inherits IEdmNamedElement, IEdmVocabularyAnnotatable, IEdmElement
用法
Dim instance As IEdmSchemaElement
public interface IEdmSchemaElement : IEdmNamedElement,
IEdmVocabularyAnnotatable, IEdmElement
public interface class IEdmSchemaElement : IEdmNamedElement,
IEdmVocabularyAnnotatable, IEdmElement
type IEdmSchemaElement =
interface
interface IEdmNamedElement
interface IEdmVocabularyAnnotatable
interface IEdmElement
end
public interface IEdmSchemaElement extends IEdmNamedElement, IEdmVocabularyAnnotatable, IEdmElement
IEdmSchemaElement 类型公开以下成员。
属性
名称 | 说明 | |
---|---|---|
![]() |
Name | 获取此元素的名称。 (从 IEdmNamedElement 继承。) |
![]() |
Namespace | 获取此架构元素所属的命名空间。 |
![]() |
SchemaElementKind | 获取此架构元素的种类。 |
页首
扩展方法
名称 | 说明 | |
---|---|---|
![]() |
Errors | 获取属于此元素或此元素包含的元素的错误(如果有)。例如,结构类型的错误包括该类型本身的错误和其声明属性的错误。该方法不分析此元素所引用的元素。例如,属性的错误不包括其类型的错误。 (由 ValidationExtensionMethods 定义。) |
![]() |
FullName | 获取具有指定元素的完整名称。 (由 ExtensionMethods 定义。) |
![]() |
IsBad | 指示此元素是否包含由 Errors(IEdmElement) 方法返回的错误。 (由 ValidationExtensionMethods 定义。) |
![]() |
Location | 获取指定项的位置。 (由 ExtensionMethods 定义。) |
![]() |
ToTraceString | 返回当前对象的文本表示形式。 (由 ToTraceStringExtensionMethods 定义。) |
![]() |
VocabularyAnnotations | 获取从特定模型来看的可批注元素的词汇批注。 (由 ExtensionMethods 定义。) |
页首