Класс 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.

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

Пространство имен Microsoft.SqlServer.Dac.Model