Skip to main content

RelationInfo(String, String, String, String) Constructor

Initializes a new instance of the RelationInfo class with the specified tables and their key columns.

Namespace: DevExpress.DataAccess.Sql

Assembly: DevExpress.DataAccess.v24.1.dll

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

Declaration

public RelationInfo(
    string parentTable,
    string nestedTable,
    string parentKeyColumn,
    string nestedKeyColumn
)

Parameters

Name Type Description
parentTable String

A String value, specifying the parent table name. This value is assigned to the RelationInfo.ParentTable property.

nestedTable String

A String value, specifying the nested table name. This value is assigned to the RelationInfo.NestedTable property.

parentKeyColumn String

A collection of RelationColumnInfo objects, specifying the parent column keys. This value is assigned to the RelationInfo.KeyColumns property.

nestedKeyColumn String

A collection of RelationColumnInfo objects, specifying the nested column keys. This value is assigned to the RelationInfo.KeyColumns property.

See Also