ModelPropertyClass Class

The metadata class for properties.

Inheritance Hierarchy

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

Namespace:  Microsoft.SqlServer.Dac.Model
Assembly:  Microsoft.SqlServer.Dac.Extensions (in Microsoft.SqlServer.Dac.Extensions.dll)

Syntax

'Declaration
Public NotInheritable Class ModelPropertyClass
'Usage
Dim instance As ModelPropertyClass
public sealed class ModelPropertyClass
public ref class ModelPropertyClass sealed
[<SealedAttribute>]
type ModelPropertyClass =  class end
public final class ModelPropertyClass

The ModelPropertyClass type exposes the following members.

Properties

  Name Description
Public property DataType Data type of the property.
Public property Name Property name.
Public property OwningRelationship Owning ModelRelationshipClass for the property, where this property is attached to a Relationship. Null if this property is on a ModelTypeClass
Public property OwningType Owning ModelTypeClass for the property, where this property is attached to a Type. Null if this property is on a ModelRelationshipClass
Public property SupportedPlatforms The TSqlPlatforms versions on which this relationship is supported.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method GetDefaultValue(SqlServerVersion) Returns the default property value.
Public method GetDefaultValue<T>(SqlServerVersion) Returns the default property value.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method GetValue<T> Returns the property value.
Public method IsDefaultValue Returns if the value is the platform default value.
Public method ToString (Inherited from Object.)

Top

Remarks

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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SqlServer.Dac.Model Namespace