Método ModelElement.GetReverseSingleRelationship<TFrom, TTo>
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (em Microsoft.Data.Schema.dll)
Sintaxe
'Declaração
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
O JScript não oferece suporte a tipos ou métodos genéricos.
Parâmetros de tipo
- TFrom
- TTo
Parâmetros
- relationshipClass
Tipo: Microsoft.Data.Schema.SchemaModel.ModelRelationshipClass
Valor de retorno
Tipo: Microsoft.Data.Schema.SchemaModel.IModelReverseSingleRelationship<TFrom, TTo>
Segurança do .NET Framework
- Confiança total para o chamador imediato. O membro não pode ser usado por código parcialmente confiável. Para obter mais informações, consulte Usando bibliotecas de código parcialmente confiáveis.