QuickObjects.ObjectBase Send comments on this topic.
CreateJoin Method
See Also 
Akal.QuickObjects.ObjectBase Namespace > BaseBusinessObject Class : CreateJoin Method

CreateJoin

Used to create a join with another business object, and also to specify the JoinType along with the RelationshipType. After creating a join with the passed in business object, the Join reference is added to the Joins collection.

ObjectMode, ObjectState, AutoSyncOnConnect, ConcurrencyMode, ResultSet, MoreResults and PartialTextMatch properties values are automatically assigned to the newly joined object. This ensures that the joined business objects function just like the main business object.

Parameters:
Description
nameName for the join.
leftFieldThis field must belong to this business object that is executing this method.
rightFieldThis field must belong to the passed in business object that will be used to create the join.
joinObjectBusiness object that will be used to create a join.
joinTypeJoinType to be used for creating a new Join. Ex: JoinTypes.Inner or JoinTypes.Left
relationRelationshipType with the passed in business object. If the passed in business object holds parent records then RelationshipTypes.Parent should be used otherwise RelationshipTypes.Child should be used.

Returns:
Type
Join

Overload List

OverloadDescription
CreateJoin(String,IField,IField,IBusinessObject,JoinTypes,RelationshipTypes)CreateJoin

Used to create a join with another business object, and also to specify the JoinType along with the RelationshipType. After creating a join with the passed in business object, the Join reference is added to the Joins collection.

ObjectMode, ObjectState, AutoSyncOnConnect, ConcurrencyMode, ResultSet, MoreResults and PartialTextMatch properties values are automatically assigned to the newly joined object. This ensures that the joined business objects function just like the main business object.

Parameters:
Description
nameName for the join.
leftFieldThis field must belong to this business object that is executing this method.
rightFieldThis field must belong to the passed in business object that will be used to create the join.
joinObjectBusiness object that will be used to create a join.
joinTypeJoinType to be used for creating a new Join. Ex: JoinTypes.Inner or JoinTypes.Left
relationRelationshipType with the passed in business object. If the passed in business object holds parent records then RelationshipTypes.Parent should be used otherwise RelationshipTypes.Child should be used.

Returns:
Type
Join
 

CreateJoin(String,IField[],IField[],IBusinessObject,JoinTypes,RelationshipTypes)CreateJoin

Used to create a join with another business object, and also to specify the JoinType along with the RelationshipType. After creating a join with the passed in business object, the Join reference is added to the Joins collection.

ObjectMode, ObjectState, AutoSyncOnConnect, ConcurrencyMode, ResultSet, MoreResults and PartialTextMatch propertie values are automatically assigned to the newly joined object. This ensures that the joined business objects function just like the main business object.

NOTE: The number of fields in both leftFields and rightFields should match, and also the order of the fields must also match.

Parameters:
Description
nameName for the join.
leftFieldsAll the fields must belong to this business object that is executing this method.
rightFieldsAll the fields must belong to the passed in business object that will be used to create the join.
joinObjectBusiness object that will be used to create a join.
joinTypeJoinType to be used for creating a new Join. Ex: JoinTypes.Inner or JoinTypes.Left
relationRelationshipType with the passed in business object. If the passed in business object holds parent records then RelationshipTypes.Parent should be used otherwise RelationshipTypes.Child should be used.

Returns:
Type
Join
 

Requirements

Target Platforms: .NET Framework 1.1 or .NET Framework 2.0

See Also