DBIndex(ICollection, Boolean) Constructor
In This Article
Initializes a new instance of the DBIndex class with the specified settings.
Namespace: DevExpress.Xpo.DB
Assembly: DevExpress.Data.v24.2.dll
NuGet Package: DevExpress.Data
#Declaration
public DBIndex(
ICollection columns,
bool isUnique
)
#Parameters
Name | Type | Description |
---|---|---|
columns | ICollection | A collection of strings that identify the columns that function as primary keys for a table. This value is assigned to the DBTable |
is |
Boolean | true if the index must be unique; otherwise, false. This value is assigned to the DBIndex. |
See Also