DBIndex(String, ICollection, Boolean) Constructor

Initializes a new instance of the DBIndex class with the specified settings.

Namespace: DevExpress.Xpo.DB

Assembly: DevExpress.Data.v20.2.dll

Declaration

public DBIndex(
    string name,
    ICollection columns,
    bool isUnique
)
Public Sub New(
    name As String,
    columns As ICollection,
    isUnique As Boolean
)

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.

isUnique Boolean

true if the index must be unique; otherwise, false. This value is assigned to the DBIndex.IsUnique property.

See Also