Skip to main content
A newer version of this page is available. .

MasterDetailInfoCollection.Add(String, String, IEnumerable<RelationColumnInfo>) Method

Adds the specified master-detail relation to the collection.

Namespace: DevExpress.DataAccess.Sql

Assembly: DevExpress.DataAccess.v18.2.dll

Declaration

public void Add(
    string masterQueryName,
    string detailQueryName,
    IEnumerable<RelationColumnInfo> keyColumns
)

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.

keyColumns IEnumerable<RelationColumnInfo>

A collection of RelationColumnInfo objects.

See Also