CodeGenerationUtilities.OmitElement Method
Gets if the given DomainRelationship is serialized as "OmitElement" (without the role element tag).
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)
Syntax
'Declaration
Public Shared Function OmitElement ( _
domainRelationship As DomainRelationship _
) As Boolean
public static bool OmitElement(
DomainRelationship domainRelationship
)
public:
static bool OmitElement(
DomainRelationship^ domainRelationship
)
static member OmitElement :
domainRelationship:DomainRelationship -> bool
public static function OmitElement(
domainRelationship : DomainRelationship
) : boolean
Parameters
domainRelationship
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainRelationshipDomainRelationship to check.
Return Value
Type: System.Boolean
True if the given DomainRelationship is serialized as "OmitElement", false otherwise.
.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.