ModelRelationshipInstance 类

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

继承层次结构

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

命名空间:  Microsoft.SqlServer.Dac.Model
程序集:  Microsoft.SqlServer.Dac.Extensions(在 Microsoft.SqlServer.Dac.Extensions.dll 中)

语法

声明
Public NotInheritable Class ModelRelationshipInstance
用法
Dim instance As ModelRelationshipInstance
public sealed class ModelRelationshipInstance
public ref class ModelRelationshipInstance sealed
[<SealedAttribute>]
type ModelRelationshipInstance =  class end
public final class ModelRelationshipInstance

ModelRelationshipInstance 类型公开以下成员。

属性

  名称 说明
公共属性 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.

页首

方法

  名称 说明
公共方法 Equals (从 Object 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetProperty(ModelPropertyClass) Retrieves properties for this relationship instance.
公共方法 GetProperty<T>(ModelPropertyClass) Retrieves properties for this relationship instance.
公共方法 GetType (从 Object 继承。)
公共方法 ToString (从 Object 继承。)

页首

注释

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

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.SqlServer.Dac.Model 命名空间