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 | |
---|---|---|
FromObject | The TSqlObject this instance is from. This is the referencing object | |
Item | Retrieves properties for this relationship instance. | |
Object | The TSqlObject this instance references. This is the referenced object. | |
ObjectName | The ObjectIdentifier representing the name of the referenced object. | |
Relationship | The ModelRelationshipClass this instance represents. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetProperty(ModelPropertyClass) | Retrieves properties for this relationship instance. | |
GetProperty<T>(ModelPropertyClass) | Retrieves properties for this relationship instance. | |
GetType | (Inherited from Object.) | |
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.