Share via


ModelElement.RegisterReverseRelationshipClass<TReferencedInterface> Method

Namespace:  Microsoft.Data.Schema.SchemaModel
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Syntax

'Declaration
Protected Shared Function RegisterReverseRelationshipClass(Of TReferencedInterface) ( _
    elementClass As ModelElementClass, _
    relationshipName As String, _
    relationshipCardinality As ModelRelationshipCardinalityStyle, _
    forwardRelationshipName As String _
) As ModelRelationshipClass
protected static ModelRelationshipClass RegisterReverseRelationshipClass<TReferencedInterface>(
    ModelElementClass elementClass,
    string relationshipName,
    ModelRelationshipCardinalityStyle relationshipCardinality,
    string forwardRelationshipName
)
protected:
generic<typename TReferencedInterface>
static ModelRelationshipClass^ RegisterReverseRelationshipClass(
    ModelElementClass^ elementClass, 
    String^ relationshipName, 
    ModelRelationshipCardinalityStyle relationshipCardinality, 
    String^ forwardRelationshipName
)
static member RegisterReverseRelationshipClass : 
        elementClass:ModelElementClass * 
        relationshipName:string * 
        relationshipCardinality:ModelRelationshipCardinalityStyle * 
        forwardRelationshipName:string -> ModelRelationshipClass 
JScript does not support generic types or methods.

Type Parameters

  • TReferencedInterface

Parameters

Return Value

Type: Microsoft.Data.Schema.SchemaModel.ModelRelationshipClass

.NET Framework Security

See Also

Reference

ModelElement Class

Microsoft.Data.Schema.SchemaModel Namespace