Share via


ModelRelationshipInstance Class

Represents a reference from one TSqlObject to another, which might be unresolved.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Dac.Model.ModelRelationshipInstance

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

Syntax

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

The ModelRelationshipInstance type exposes the following members.

Properties

  Name Description
Public property FromObject The TSqlObject this instance is from. This is the referencing object
Public property Item Retrieves properties for this relationship instance.
Public property Object The TSqlObject this instance references. This is the referenced object.
Public property ObjectName The ObjectIdentifier representing the name of the referenced object.
Public property Relationship The ModelRelationshipClass this instance represents.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetProperty(ModelPropertyClass) Retrieves properties for this relationship instance.
Public method GetProperty<T>(ModelPropertyClass) Retrieves properties for this relationship instance.
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 TSqlModelSchema 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