Share via


CodeGenerationUtilities.GetBaseRelationship Method

Gets the string for declaring the base relationship of a domain relationship. If the base class is not defined, ElementLink is used.

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)

Syntax

'Declaration
Public Shared Function GetBaseRelationship ( _
    domainRelationship As DomainRelationship _
) As String
public static string GetBaseRelationship(
    DomainRelationship domainRelationship
)
public:
static String^ GetBaseRelationship(
    DomainRelationship^ domainRelationship
)
static member GetBaseRelationship : 
        domainRelationship:DomainRelationship -> string
public static function GetBaseRelationship(
    domainRelationship : DomainRelationship
) : String

Parameters

Return Value

Type: String

.NET Framework Security

See Also

Reference

CodeGenerationUtilities Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace