ModelElement.GetMultiRelationship<TFrom, TTo> Method
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Function GetMultiRelationship(Of TFrom As {Class, IModelElement}, TTo As {Class, IModelElement}) ( _
relationshipClass As ModelRelationshipClass _
) As IModelMultiRelationship(Of TFrom, TTo)
public IModelMultiRelationship<TFrom, TTo> GetMultiRelationship<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
IModelMultiRelationship<TFrom, TTo>^ GetMultiRelationship(
ModelRelationshipClass^ relationshipClass
)
member GetMultiRelationship :
relationshipClass:ModelRelationshipClass -> IModelMultiRelationship<'TFrom, 'TTo> when 'TFrom : not struct and IModelElement when 'TTo : not struct and IModelElement
JScript does not support generic types or methods.
Type Parameters
- TFrom
- TTo
Parameters
- relationshipClass
Type: Microsoft.Data.Schema.SchemaModel.ModelRelationshipClass
Return Value
Type: Microsoft.Data.Schema.SchemaModel.IModelMultiRelationship<TFrom, TTo>
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.