SelectQuery.AddRelation(Table, Table, JoinType, RelationColumnInfo[]) Method
In This Article
OBSOLETE
This overload is obsolete now. Use Add
Creates a relation between two data tables using a specified join operation.
Namespace: DevExpress.DataAccess.Sql
Assembly: DevExpress.DataAccess.v24.2.dll
NuGet Package: DevExpress.DataAccess
#Declaration
[Obsolete("This overload is obsolete now. Use AddRelation(Table parent, Table nested, SqlJoinType joinType, params RelationColumnInfo[] keyColumns) instead.")]
public Join AddRelation(
Table parent,
Table nested,
JoinType joinType,
params RelationColumnInfo[] keyColumns
)
#Parameters
Name | Type | Description |
---|---|---|
parent | Table | A Table object, specifying the parent table. |
nested | Table | A Table object, specifying the nested table. |
join |
Join |
A Join |
key |
Relation |
An array of Relation |
#Returns
Type | Description |
---|---|
Join | A Join object. |
See Also