Freigeben über


CodeGenerationUtilities.OmitElement(DomainRelationship) Method

Definition

Gets if the given DomainRelationship is serialized as "OmitElement" (without the role element tag).

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

Parameters

domainRelationship
DomainRelationship

DomainRelationship to check.

Returns

True if the given DomainRelationship is serialized as "OmitElement", false otherwise.

Applies to