CodeGenerationUtilities.DefinesNewTargetRole(DomainRelationship) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.