Skip to main content

MasterDetailInfoCollection.Add(String, String, String, String) Method

Adds the specified master-detail relation to the collection.

Namespace: DevExpress.DataAccess.Sql

Assembly: DevExpress.DataAccess.v24.2.dll

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.

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.

See Also