This document is archived and information here might be outdated. Recommended version. |
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(
Boolean* forward
);
[C++] Parameters forward [in]
forward is a parameter of type bool forward [out, retval]
forward is a parameter of type 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.