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 | |
|---|---|
| name | Name for the join. |
| leftField | This field must belong to this business object that is executing this method. |
| rightField | This field must belong to the passed in business object that will be used to create the join. |
| joinObject | Business object that will be used to create a join. |
| joinType | JoinType to be used for creating a new Join. Ex: JoinTypes.Inner or JoinTypes.Left |
| relation | RelationshipType 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 | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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:
Returns:
| ||||||||||||||||||
| 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:
Returns:
|
Target Platforms: .NET Framework 1.1 or .NET Framework 2.0