表示关系的元数据类。 此类不能被继承。
继承层次结构
System.Object
  Microsoft.Data.Schema.SchemaModel.ModelRelationshipClass
命名空间:  Microsoft.Data.Schema.SchemaModel
程序集:  Microsoft.Data.Schema(在 Microsoft.Data.Schema.dll 中)
语法
声明
Public NotInheritable Class ModelRelationshipClass
public sealed class ModelRelationshipClass
public ref class ModelRelationshipClass sealed
[<Sealed>]
type ModelRelationshipClass =  class end
public final class ModelRelationshipClass
ModelRelationshipClass 类型公开以下成员。
属性
| 名称 | 说明 | |
|---|---|---|
| .gif) | ForwardRelationshipClasses | 如果 this 表示反向关系,则获取为正向关系的关系元数据对象的列表。 | 
| .gif) | FromElementClass | 获取表示“来源”元素(即关系左侧元素)的元素元数据。 | 
| .gif) | IsOrderedComparison | 获取一个值,该值指示在比较相关元素时顺序是否有意义。 | 
| .gif) | IsParentDecorator | 获取一个值,该值指示此关系是否为父修饰器。 | 
| .gif) | ModelRelationshipCardinalityStyle | 获取此关系的基数样式。 | 
| .gif) | ModelRelationshipType | 获取此关系的关系类型。 | 
| .gif) | Name | 获取关系的名称。 | 
| .gif) | RelatedElement | 获取“被相关”元素,即关系右侧的元素。 | 
页首
方法
| 名称 | 说明 | |
|---|---|---|
| .gif) | Equals | 确定指定的 Object 是否等于当前的 Object。 (继承自 Object。) | 
| .gif) | Finalize | 允许对象在“垃圾回收”回收之前尝试释放资源并执行其他清理操作。 (继承自 Object。) | 
| .gif) | GetHashCode | 用作特定类型的哈希函数。 (继承自 Object。) | 
| .gif) | GetType | 获取当前实例的 Type。 (继承自 Object。) | 
| .gif) | MemberwiseClone | 创建当前 Object 的浅表副本。 (继承自 Object。) | 
| .gif) | ToString | 返回表示当前对象的字符串。 (继承自 Object。) | 
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。