Skip to main content

DBPrimaryKey(ICollection) Constructor

In This Article

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

Namespace: DevExpress.Xpo.DB

Assembly: DevExpress.Data.v24.2.dll

NuGet Package: DevExpress.Data

#Declaration

public DBPrimaryKey(
    ICollection columns
)

#Parameters

Name Type Description
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