Skip to main content

MasterDetailInfo(String, String, String, String) Constructor

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

Namespace: DevExpress.DataAccess.Sql

Assembly: DevExpress.DataAccess.v23.2.dll

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

Declaration

public MasterDetailInfo(
    string masterQueryName,
    string detailQueryName,
    string masterKeyColumn,
    string detailKeyColumn
)

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.

masterKeyColumn String

A RelationColumnInfo object. This value is assigned to the MasterDetailInfo.KeyColumns property.

detailKeyColumn String

A RelationColumnInfo object. This value is assigned to the MasterDetailInfo.KeyColumns property.

See Also