ModelPropertyClass 类

The metadata class for properties.

继承层次结构

System.Object
  Microsoft.SqlServer.Dac.Model.ModelPropertyClass

命名空间:  Microsoft.SqlServer.Dac.Model
程序集:  Microsoft.SqlServer.Dac.Extensions(在 Microsoft.SqlServer.Dac.Extensions.dll 中)

语法

声明
Public NotInheritable Class ModelPropertyClass
用法
Dim instance As ModelPropertyClass
public sealed class ModelPropertyClass
public ref class ModelPropertyClass sealed
[<SealedAttribute>]
type ModelPropertyClass =  class end
public final class ModelPropertyClass

ModelPropertyClass 类型公开以下成员。

属性

  名称 说明
公共属性 DataType Data type of the property.
公共属性 Name Property name.
公共属性 OwningRelationship Owning ModelRelationshipClass for the property, where this property is attached to a Relationship. Null if this property is on a ModelTypeClass
公共属性 OwningType Owning ModelTypeClass for the property, where this property is attached to a Type. Null if this property is on a ModelRelationshipClass
公共属性 SupportedPlatforms The TSqlPlatforms versions on which this relationship is supported.

页首

方法

  名称 说明
公共方法 Equals (从 Object 继承。)
公共方法 GetDefaultValue(SqlServerVersion) Returns the default property value.
公共方法 GetDefaultValue<T>(SqlServerVersion) Returns the default property value.
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
公共方法 GetValue<T> Returns the property value.
公共方法 IsDefaultValue Returns if the value is the platform default value.
公共方法 ToString (从 Object 继承。)

页首

注释

TSqlModelSchema metadata classes provide access to the structure and instance data within a TSqlSchemaModel instance.

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.SqlServer.Dac.Model 命名空间