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
- elementClass
Type: Microsoft.Data.Schema.SchemaModel.ModelElementClass
- relationshipName
Type: System.String
- relationshipCardinality
Type: Microsoft.Data.Schema.SchemaModel.ModelRelationshipCardinalityStyle
- forwardRelationshipName
Type: System.String
Return Value
Type: Microsoft.Data.Schema.SchemaModel.ModelRelationshipClass
.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.