다음을 통해 공유


CodeGenerationUtilities.DefinesNewTargetRole(DomainRelationship) Method

Definition

In relationship derivation, a relationship can use the same target role-player as its parent relationship, or it can define a new one (which derives from the parent relationship's target role-player). This method tells whether the given DomainRelationship defines a new target role- player.

public:
 static bool DefinesNewTargetRole(Microsoft::VisualStudio::Modeling::DslDefinition::DomainRelationship ^ domainRelationship);
public static bool DefinesNewTargetRole (Microsoft.VisualStudio.Modeling.DslDefinition.DomainRelationship domainRelationship);
static member DefinesNewTargetRole : Microsoft.VisualStudio.Modeling.DslDefinition.DomainRelationship -> bool
Public Shared Function DefinesNewTargetRole (domainRelationship As DomainRelationship) As Boolean

Parameters

domainRelationship
DomainRelationship

DomainRelationship to check.

Returns

True if the given DomainRelationship defines a new target role-player, false otherwise.

Applies to