Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 | |
---|---|---|
![]() |
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. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Equals | (Inherited from Object.) |
![]() |
GetDefaultValue(SqlServerVersion) | Returns the default property value. |
![]() |
GetDefaultValue<T>(SqlServerVersion) | Returns the default property value. |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
GetValue<T> | Returns the property value. |
![]() |
IsDefaultValue | Returns if the value is the platform default value. |
![]() |
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.