SelectQuery.AddRelation(Table, Table, String, String) Method
Creates a relation between two data tables using an inner join operation.
Namespace: DevExpress.DataAccess.Sql
Assembly: DevExpress.DataAccess.v24.1.dll
NuGet Packages: DevExpress.DataAccess, DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap
Declaration
public Join AddRelation(
Table parent,
Table nested,
string parentKeyColumn,
string nestedKeyColumn
)
Parameters
Name | Type | Description |
---|---|---|
parent | Table | A Table object, specifying the parent table. |
nested | Table | A Table object, specifying the nested table. |
parentKeyColumn | String | A String value, specifying the parent key column name. |
nestedKeyColumn | String | A String value, specifying the nested key column name. |
Returns
Type | Description |
---|---|
Join | A Join object. |
See Also