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

Adds the specified master-detail relation to the collection.

Namespace: DevExpress.DataAccess.Sql

Assembly: DevExpress.DataAccess.v21.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