MasterDetailInfoCollection.Add(String, String, String, String) Method
Adds the specified master-detail relation to the collection.
Namespace: DevExpress.DataAccess.Sql
Assembly: DevExpress.DataAccess.v24.1.dll
NuGet Packages: DevExpress.DataAccess, DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap
Declaration
public void Add(
string masterQueryName,
string detailQueryName,
string masterKeyColumn,
string detailKeyColumn
)
Parameters
Name | Type | Description |
---|---|---|
masterQueryName | String | A String value, specifying the name of the master query. |
detailQueryName | String | A String value, specifying the name of the detail query. |
masterKeyColumn | String | A String value, specifying the key column of the master query. |
detailKeyColumn | String | A String value, specifying the key column of the detail query. |
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Add(String, String, String, String) method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.