Share via


ModelRelationshipClass Class

The metadata class for relationships.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Dac.Model.ModelRelationshipClass

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

Syntax

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

The ModelRelationshipClass type exposes the following members.

Properties

  Name Description
Public property FromObjectClass The ModelTypeClass of the referencing object for the relationship. This represents the class of objects the relationship comes from
Public property Name Relationship name.
Public property Properties Properties for the relationship.
Public property SupportedPlatforms The TSqlPlatforms versions on which this relationship is supported.
Public property Type Type of the relationship.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
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