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.v20.1.dll

Declaration

public DBPrimaryKey(
    string name,
    ICollection columns
)
Public Sub New(
    name As String,
    columns As ICollection
)

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