Skip to main content

DBPrimaryKey(String, ICollection) Constructor

Initializes a new instance of the DBPrimaryKey class with the specified name and columns that function as primary keys for a table.

Namespace: DevExpress.Xpo.DB

Assembly: DevExpress.Data.v23.2.dll

NuGet Package: DevExpress.Data

Declaration

public DBPrimaryKey(
    string name,
    ICollection columns
)

Parameters

Name Type Description
name String

A String value that is assigned to the DBTableMultiColumnGadget.Name property.

columns ICollection

A collection of strings that identify columns that function as primary keys for a table. This value is assigned to the DBTableMultiColumnGadget.Columns property.

See Also