SelectQuery.AddRelation(Table, Table, RelationColumnInfo[]) Method
In This Article
Creates a relation between two data tables using an inner join operation.
Namespace: DevExpress.DataAccess.Sql
Assembly: DevExpress.DataAccess.v24.2.dll
NuGet Package: DevExpress.DataAccess
#Declaration
public Join AddRelation(
Table parent,
Table nested,
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. |
key |
Relation |
An array of Relation |
#Returns
Type | Description |
---|---|
Join | A Join object. |
See Also