表示单个反向关系。
命名空间:  Microsoft.Data.Schema.SchemaModel
程序集:  Microsoft.Data.Schema(在 Microsoft.Data.Schema.dll 中)
语法
声明
Public Interface IModelReverseSingleRelationship(Of TFrom As {Class, IModelElement}, TTo As {Class, IModelElement}) _
    Inherits IModelRelationship(Of TFrom, TTo), IModelReverseSingleRelationship, IModelRelationship,  _
    IModelEntity
public interface IModelReverseSingleRelationship<TFrom, TTo> : IModelRelationship<TFrom, TTo>, 
    IModelReverseSingleRelationship, IModelRelationship, IModelEntity
where TFrom : class, IModelElement
where TTo : class, IModelElement
generic<typename TFrom, typename TTo>
where TFrom : ref class, IModelElement
where TTo : ref class, IModelElement
public interface class IModelReverseSingleRelationship : IModelRelationship<TFrom, TTo>, 
    IModelReverseSingleRelationship, IModelRelationship, IModelEntity
type IModelReverseSingleRelationship<'TFrom, 'TTo when 'TFrom : not struct and IModelElement when 'TTo : not struct and IModelElement> =  
    interface
        interface IModelRelationship<'TFrom, 'TTo>
        interface IModelReverseSingleRelationship
        interface IModelRelationship
        interface IModelEntity
    end
JScript 不支持泛型类型或方法。
类型参数
- TFrom
- TTo
IModelReverseSingleRelationship<TFrom, TTo> 类型公开以下成员。
属性
| 名称 | 说明 | |
|---|---|---|
| .gif) | Element | 获取元素。 (继承自 IModelReverseSingleRelationship。) | 
| .gif) | Element | 获取相关的元素类型。 | 
| .gif) | FromElement | 获取相关元素。 (继承自 IModelRelationship。) | 
| .gif) | FromElement | 获取相关元素。 (继承自 IModelRelationship<TFrom, TTo>。) | 
| .gif) | Model | 获取模型引用。 (继承自 IModelEntity。) | 
| .gif) | RelationshipClass | 获取元数据类。 (继承自 IModelRelationship。) | 
页首
方法
| 名称 | 说明 | |
|---|---|---|
| .gif) | GetReferencedElements() | 返回相关元素。 (继承自 IModelRelationship。) | 
| .gif) | GetReferencedElements() | 获取被相关元素的列表。 (继承自 IModelRelationship<TFrom, TTo>。) | 
| .gif) | GetReferencedRelationshipEntries | 返回相关的关系项。 (继承自 IModelRelationship。) | 
页首