This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IR > IRelQueryTableName Interface > IRelQueryTableName.ForwardDirection Property (ArcObjects .NET 10.4 SDK) |
Indicates if the originPrimaryClass of the RelationshipClass is the SourceTable.
[Visual Basic .NET] Public Property ForwardDirection As Boolean
[C#] public bool ForwardDirection {get; set;}
[C++]
HRESULT get_ForwardDirection(
VARIANT_BOOL* forward
);
[C++]
HRESULT put_ForwardDirection(
VARIANT_BOOL forward
);
[C++]
Parameters forward [out, retval] forward is a parameter of type VARIANT_BOOL forward [in] forward is a parameter of type VARIANT_BOOL
If ForwardDirection is True, the origin table in the RelationshipClassName is the source in the RelQueryTable, otherwise the destination table in the RelationshipClassName becomes the source. If the cardinality is many to one, you can define your relationship as one-to-many and set this parameter to false in order to make the many side the source. It's necessary to do this to get every joined row, since you can't set the cardinality to many-to-one for a RelationshipClass.