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

Adds the specified master-detail relation to the collection.

Namespace: DevExpress.DataAccess.Sql

Assembly: DevExpress.DataAccess.v20.2.dll

Declaration

public void Add(
    string masterQueryName,
    string detailQueryName,
    IEnumerable<RelationColumnInfo> keyColumns
)
Public Sub Add(
    masterQueryName As String,
    detailQueryName As String,
    keyColumns As IEnumerable(Of RelationColumnInfo)
)

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