SelectQuery.AddRelation(Table, Table, SqlJoinType, RelationColumnInfo[]) Method
In This Article
Creates a relation between two data tables. Allows you to specify the join operation type and columns relations that should be used to join the tables.
Namespace: DevExpress.DataAccess.Sql
Assembly: DevExpress.DataAccess.v24.2.dll
NuGet Package: DevExpress.DataAccess
#Declaration
public Join AddRelation(
Table parent,
Table nested,
SqlJoinType joinType,
params RelationColumnInfo[] keyColumns
)
#Parameters
Name | Type | Description |
---|---|---|
parent | Table | A parent table. |
nested | Table | A nested table. |
join |
Sql |
The join operation type. |
key |
Relation |
An array of columns relations. |
#Returns
Type | Description |
---|---|
Join | A relation between two data tables. |
See Also