CodeGenerationUtilities.OmitElement(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.
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.