表示 SQL Server 模型的架构模型元素。
继承层次结构
System.Object
  Microsoft.Data.Schema.SchemaModel.ModelElement
    Microsoft.Data.Schema.SchemaModel.DataSchemaModel.ScriptSourcedModelElement
      Microsoft.Data.Schema.Sql.SchemaModel.SqlSchemaModel.SqlModelElement
命名空间:  Microsoft.Data.Schema.Sql.SchemaModel
程序集:  Microsoft.Data.Schema.Sql(在 Microsoft.Data.Schema.Sql.dll 中)
语法
声明
Protected MustInherit Class SqlModelElement _
    Inherits DataSchemaModel..::..ScriptSourcedModelElement _
    Implements ISqlModelElement, IScriptSourcedModelElement, IModelElement, IModelPropertyContainer,  _
    IModelEntity, IModelAnnotationHolder
protected abstract class SqlModelElement : DataSchemaModel..::..ScriptSourcedModelElement, 
    ISqlModelElement, IScriptSourcedModelElement, IModelElement, IModelPropertyContainer, IModelEntity, 
    IModelAnnotationHolder
protected ref class SqlModelElement abstract : public DataSchemaModel..::..ScriptSourcedModelElement, 
    ISqlModelElement, IScriptSourcedModelElement, IModelElement, IModelPropertyContainer, IModelEntity, 
    IModelAnnotationHolder
[<AbstractClass>]
type SqlModelElement =  
    class
        inherit DataSchemaModel..::..ScriptSourcedModelElement
        interface ISqlModelElement
        interface IScriptSourcedModelElement
        interface IModelElement
        interface IModelPropertyContainer
        interface IModelEntity
        interface IModelAnnotationHolder
    end
protected abstract class SqlModelElement extends DataSchemaModel..::..ScriptSourcedModelElement implements ISqlModelElement, IScriptSourcedModelElement, IModelElement, IModelPropertyContainer, IModelEntity, IModelAnnotationHolder
SqlSchemaModel.SqlModelElement 类型公开以下成员。
构造函数
| 名称 | 说明 | |
|---|---|---|
| .gif) | SqlSchemaModel.SqlModelElement | 初始化 SqlSchemaModel.SqlModelElement 类的新实例。 | 
页首
属性
| 名称 | 说明 | |
|---|---|---|
| .gif) | ElementClass | 获取元素的 ElementClass 元数据。 (继承自 ModelElement。) | 
| .gif) | Model | 获取元素的 ModelStore。 (继承自 ModelElement。) | 
| .gif) | Name | 获取元素的标识符。 (继承自 ModelElement。) | 
| .gif) | PrimarySource | 获取用于定义此元素的主要源的位置。 (继承自 DataSchemaModel.ScriptSourcedModelElement。) | 
| .gif) | ResolutionStatus | 获取当前解析状态。 (继承自 ModelElement。) | 
| .gif) | SecondarySources | 获取用于定义此元素的辅助源的列表。 (继承自 DataSchemaModel.ScriptSourcedModelElement。) | 
| .gif) | SourceCodePositions | (继承自 ModelElement。) | 
| .gif) | ValidationStatus | 获取一个值,该值指示当前元素的验证状态。 (继承自 ModelElement。) | 
页首
方法
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。
.gif)