Skip to main content

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

Adds the specified master-detail relation to the collection.

Namespace: DevExpress.DataAccess.Sql

Assembly: DevExpress.DataAccess.v23.2.dll

NuGet Packages: DevExpress.DataAccess, DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap

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