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
- domainRelationship
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainRelationship
Return Value
Type: String
.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.