ModelElement.GetReverseSingleRelationship<TFrom, TTo> 方法
命名空间: Microsoft.Data.Schema.SchemaModel
程序集: Microsoft.Data.Schema(在 Microsoft.Data.Schema.dll 中)
语法
声明
Public Function GetReverseSingleRelationship(Of TFrom As {Class, IModelElement}, TTo As {Class, IModelElement}) ( _
relationshipClass As ModelRelationshipClass _
) As IModelReverseSingleRelationship(Of TFrom, TTo)
public IModelReverseSingleRelationship<TFrom, TTo> GetReverseSingleRelationship<TFrom, TTo>(
ModelRelationshipClass relationshipClass
)
where TFrom : class, IModelElement
where TTo : class, IModelElement
public:
generic<typename TFrom, typename TTo>
where TFrom : ref class, IModelElement
where TTo : ref class, IModelElement
IModelReverseSingleRelationship<TFrom, TTo>^ GetReverseSingleRelationship(
ModelRelationshipClass^ relationshipClass
)
member GetReverseSingleRelationship :
relationshipClass:ModelRelationshipClass -> IModelReverseSingleRelationship<'TFrom, 'TTo> when 'TFrom : not struct and IModelElement when 'TTo : not struct and IModelElement
JScript 不支持泛型类型或方法。
类型参数
- TFrom
- TTo
参数
- relationshipClass
类型:Microsoft.Data.Schema.SchemaModel.ModelRelationshipClass
返回值
类型:Microsoft.Data.Schema.SchemaModel.IModelReverseSingleRelationship<TFrom, TTo>
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。