IndicesAttribute(String, String) Constructor
Initializes a new instance of IndicesAttribute, and specifies the properties participating in the creation of two database indices.
Namespace: DevExpress.Xpo
Assembly: DevExpress.Xpo.v24.1.dll
NuGet Packages: DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap, DevExpress.Xpo
NuGet Package: DevExpress.Xpo
Declaration
Parameters
Name | Type | Description |
---|---|---|
index1 | String | A string containing a list of the properties participating in the creation of the first database index, separated by a semicolon. This parameter value is used to initialize the IndicesAttribute.Indices collection. |
index2 | String | A string containing a list of the properties participating in the creation of the second database index, separated by a semicolon. This parameter value is used to initialize the IndicesAttribute.Indices collection. |
Remarks
To see an example of using the IndicesAttribute, refer to the IndicesAttribute description.
Note
XPO does not support tables with multi-column (compound) keys or indexes in ASE databases. To avoid exceptions when connecting to ASE databases containing these tables, use one-column keys or indexes.