note
VeloxDB is still in beta and APIs are subject to change. We are in the process of completing the documentation, so some sections may be incomplete or empty at this time.
Class SortedIndexAttribute
Apply this attribute to a DatabaseObject class to define a sorted index.
Inherited Members
Namespace: VeloxDB.ObjectInterface
Assembly: vlxdb.dll
Syntax
public sealed class SortedIndexAttribute : IndexAttribute
Constructors
SortedIndexAttribute(string, bool, string, SortOrder)
Declaration
public SortedIndexAttribute(string name, bool isUnique, string name1, SortOrder sortOrder1)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Index's name |
| bool | isUnique | If true, VeloxDB will enforce hash index uniqueness. |
| string | name1 | Name of the key property. |
| SortOrder | sortOrder1 | Sort order of the key property. |
SortedIndexAttribute(string, bool, string, SortOrder, string, SortOrder)
Declaration
public SortedIndexAttribute(string name, bool isUnique, string name1, SortOrder sortOrder1, string name2, SortOrder sortOrder2)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Index's name |
| bool | isUnique | If true, VeloxDB will enforce hash index uniqueness. |
| string | name1 | Name of the first key property. |
| SortOrder | sortOrder1 | Sort order of the first key property. |
| string | name2 | Name of the second key property. |
| SortOrder | sortOrder2 | Sort order of the second key property. |
SortedIndexAttribute(string, bool, string, SortOrder, string, SortOrder, string, SortOrder)
Declaration
public SortedIndexAttribute(string name, bool isUnique, string name1, SortOrder sortOrder1, string name2, SortOrder sortOrder2, string name3, SortOrder sortOrder3)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Index's name |
| bool | isUnique | If true, VeloxDB will enforce hash index uniqueness. |
| string | name1 | Name of the first key property. |
| SortOrder | sortOrder1 | Sort order of the first key property. |
| string | name2 | Name of the second key property. |
| SortOrder | sortOrder2 | Sort order of the second key property. |
| string | name3 | Name of the third key property. |
| SortOrder | sortOrder3 | Sort order of the third key property. |
SortedIndexAttribute(string, bool, string, SortOrder, string, SortOrder, string, SortOrder, string, SortOrder)
Declaration
public SortedIndexAttribute(string name, bool isUnique, string name1, SortOrder sortOrder1, string name2, SortOrder sortOrder2, string name3, SortOrder sortOrder3, string name4, SortOrder sortOrder4)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Index's name |
| bool | isUnique | If true, VeloxDB will enforce hash index uniqueness. |
| string | name1 | Name of the first key property. |
| SortOrder | sortOrder1 | Sort order of the first key property. |
| string | name2 | Name of the second key property. |
| SortOrder | sortOrder2 | Sort order of the second key property. |
| string | name3 | Name of the third key property. |
| SortOrder | sortOrder3 | Sort order of the third key property. |
| string | name4 | Name of the fourth key property. |
| SortOrder | sortOrder4 | Sort order of the fourth key property. |
SortedIndexAttribute(string, bool, params string[])
Declaration
public SortedIndexAttribute(string name, bool isUnique, params string[] properties)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Index's name |
| bool | isUnique | If true, VeloxDB will enforce hash index uniqueness. |
| string[] | properties | Names of the properties that hash index should include. |
SortedIndexAttribute(string, string, bool, bool, string, SortOrder)
Declaration
public SortedIndexAttribute(string name, string cultureName, bool caseSensitive, bool isUnique, string name1, SortOrder sortOrder1)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Index's name |
| string | cultureName | The name of the culture to use to compare strings inside the index. |
| bool | caseSensitive | Indicates whether string comparisons inside the index are case sensitive. |
| bool | isUnique | If true, VeloxDB will enforce hash index uniqueness. |
| string | name1 | Name of the key property. |
| SortOrder | sortOrder1 | Sort order of the key property. |
SortedIndexAttribute(string, string, bool, bool, string, SortOrder, string, SortOrder)
Declaration
public SortedIndexAttribute(string name, string cultureName, bool caseSensitive, bool isUnique, string name1, SortOrder sortOrder1, string name2, SortOrder sortOrder2)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Index's name |
| string | cultureName | The name of the culture to use to compare strings inside the index. |
| bool | caseSensitive | Indicates whether string comparisons inside the index are case sensitive. |
| bool | isUnique | If true, VeloxDB will enforce hash index uniqueness. |
| string | name1 | Name of the first key property. |
| SortOrder | sortOrder1 | Sort order of the first key property. |
| string | name2 | Name of the second key property. |
| SortOrder | sortOrder2 | Sort order of the second key property. |
SortedIndexAttribute(string, string, bool, bool, string, SortOrder, string, SortOrder, string, SortOrder)
Declaration
public SortedIndexAttribute(string name, string cultureName, bool caseSensitive, bool isUnique, string name1, SortOrder sortOrder1, string name2, SortOrder sortOrder2, string name3, SortOrder sortOrder3)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Index's name |
| string | cultureName | The name of the culture to use to compare strings inside the index. |
| bool | caseSensitive | Indicates whether string comparisons inside the index are case sensitive. |
| bool | isUnique | If true, VeloxDB will enforce hash index uniqueness. |
| string | name1 | Name of the first key property. |
| SortOrder | sortOrder1 | Sort order of the first key property. |
| string | name2 | Name of the second key property. |
| SortOrder | sortOrder2 | Sort order of the second key property. |
| string | name3 | Name of the third key property. |
| SortOrder | sortOrder3 | Sort order of the third key property. |
SortedIndexAttribute(string, string, bool, bool, string, SortOrder, string, SortOrder, string, SortOrder, string, SortOrder)
Declaration
public SortedIndexAttribute(string name, string cultureName, bool caseSensitive, bool isUnique, string name1, SortOrder sortOrder1, string name2, SortOrder sortOrder2, string name3, SortOrder sortOrder3, string name4, SortOrder sortOrder4)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Index's name |
| string | cultureName | The name of the culture to use to compare strings inside the index. |
| bool | caseSensitive | Indicates whether string comparisons inside the index are case sensitive. |
| bool | isUnique | If true, VeloxDB will enforce hash index uniqueness. |
| string | name1 | Name of the first key property. |
| SortOrder | sortOrder1 | Sort order of the first key property. |
| string | name2 | Name of the second key property. |
| SortOrder | sortOrder2 | Sort order of the second key property. |
| string | name3 | Name of the third key property. |
| SortOrder | sortOrder3 | Sort order of the third key property. |
| string | name4 | Name of the fourth key property. |
| SortOrder | sortOrder4 | Sort order of the fourth key property. |
SortedIndexAttribute(string, string, bool, bool, params string[])
Declaration
public SortedIndexAttribute(string name, string cultureName, bool caseSensitive, bool isUnique, params string[] properties)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Index's name |
| string | cultureName | The name of the culture to use to compare strings inside the index. |
| bool | caseSensitive | Indicates whether string comparisons inside the index are case sensitive. |
| bool | isUnique | If true, VeloxDB will enforce hash index uniqueness. |
| string[] | properties | Names of the properties that hash index should include. |