Skip to main content

MasterDetailInfo(String, String, IEnumerable<RelationColumnInfo>) Constructor

Initializes a new instance of the MasterDetailInfo class with the specified settings.

Namespace: DevExpress.DataAccess.Sql

Assembly: DevExpress.DataAccess.v24.1.dll

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

Declaration

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

Parameters

Name Type Description
masterQueryName String

A String value, specifying the master query name. This value is assigned to the MasterDetailInfo.MasterQueryName property.

detailQueryName String

A String value, specifying the detail query name. This value is assigned to the MasterDetailInfo.DetailQueryName property.

keyColumns IEnumerable<RelationColumnInfo>

A collection of RelationColumnInfo objects. This value is assigned to the MasterDetailInfo.KeyColumns property.

See Also