RelationHelper.GetRelationBetweenTwoTables 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.
public static Microsoft.Dynamics.AX.Metadata.MetaModel.AxTableRelation GetRelationBetweenTwoTables (string thisTableName, string relatedTableName, Microsoft.Dynamics.AX.DataAccess.Kernel.IRecord relatedRecord, Microsoft.Dynamics.Ax.Xpp.TableScope scope = Microsoft.Dynamics.Ax.Xpp.TableScope.CurrentTableOnly, bool includeMigratedRelations = false, bool honorGenericRelatioshipFirst = false);
static member GetRelationBetweenTwoTables : string * string * Microsoft.Dynamics.AX.DataAccess.Kernel.IRecord * Microsoft.Dynamics.Ax.Xpp.TableScope * bool * bool -> Microsoft.Dynamics.AX.Metadata.MetaModel.AxTableRelation
Public Shared Function GetRelationBetweenTwoTables (thisTableName As String, relatedTableName As String, relatedRecord As IRecord, Optional scope As TableScope = Microsoft.Dynamics.Ax.Xpp.TableScope.CurrentTableOnly, Optional includeMigratedRelations As Boolean = false, Optional honorGenericRelatioshipFirst As Boolean = false) As AxTableRelation
Parameters
- thisTableName
- String
- relatedTableName
- String
- relatedRecord
- Microsoft.Dynamics.AX.DataAccess.Kernel.IRecord
- scope
- TableScope
- includeMigratedRelations
- Boolean
- honorGenericRelatioshipFirst
- Boolean
Returns
Microsoft.Dynamics.AX.Metadata.MetaModel.AxTableRelation