RelationHelper.GetRelationByName(String, String) Method

Definition

public:
 static Microsoft::Dynamics::AX::Metadata::MetaModel::AxTableRelation ^ GetRelationByName(System::String ^ tableName, System::String ^ relationName);
public static Microsoft.Dynamics.AX.Metadata.MetaModel.AxTableRelation GetRelationByName (string tableName, string relationName);
static member GetRelationByName : string * string -> Microsoft.Dynamics.AX.Metadata.MetaModel.AxTableRelation
Public Shared Function GetRelationByName (tableName As String, relationName As String) As AxTableRelation

Parameters

tableName
String
relationName
String

Returns

Microsoft.Dynamics.AX.Metadata.MetaModel.AxTableRelation

Applies to