Search Results for

    Show / Hide Table of Contents
    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.

    Inheritance
    object
    Attribute
    IndexAttribute
    SortedIndexAttribute
    Inherited Members
    IndexAttribute.Name
    IndexAttribute.CultureName
    IndexAttribute.CaseSensitive
    IndexAttribute.IsUnique
    Attribute.GetCustomAttributes(MemberInfo, Type)
    Attribute.GetCustomAttributes(MemberInfo, Type, bool)
    Attribute.GetCustomAttributes(MemberInfo)
    Attribute.GetCustomAttributes(MemberInfo, bool)
    Attribute.IsDefined(MemberInfo, Type)
    Attribute.IsDefined(MemberInfo, Type, bool)
    Attribute.GetCustomAttribute(MemberInfo, Type)
    Attribute.GetCustomAttribute(MemberInfo, Type, bool)
    Attribute.GetCustomAttributes(ParameterInfo)
    Attribute.GetCustomAttributes(ParameterInfo, Type)
    Attribute.GetCustomAttributes(ParameterInfo, Type, bool)
    Attribute.GetCustomAttributes(ParameterInfo, bool)
    Attribute.IsDefined(ParameterInfo, Type)
    Attribute.IsDefined(ParameterInfo, Type, bool)
    Attribute.GetCustomAttribute(ParameterInfo, Type)
    Attribute.GetCustomAttribute(ParameterInfo, Type, bool)
    Attribute.GetCustomAttributes(Module, Type)
    Attribute.GetCustomAttributes(Module)
    Attribute.GetCustomAttributes(Module, bool)
    Attribute.GetCustomAttributes(Module, Type, bool)
    Attribute.IsDefined(Module, Type)
    Attribute.IsDefined(Module, Type, bool)
    Attribute.GetCustomAttribute(Module, Type)
    Attribute.GetCustomAttribute(Module, Type, bool)
    Attribute.GetCustomAttributes(Assembly, Type)
    Attribute.GetCustomAttributes(Assembly, Type, bool)
    Attribute.GetCustomAttributes(Assembly)
    Attribute.GetCustomAttributes(Assembly, bool)
    Attribute.IsDefined(Assembly, Type)
    Attribute.IsDefined(Assembly, Type, bool)
    Attribute.GetCustomAttribute(Assembly, Type)
    Attribute.GetCustomAttribute(Assembly, Type, bool)
    Attribute.Equals(object)
    Attribute.GetHashCode()
    Attribute.Match(object)
    Attribute.IsDefaultAttribute()
    Attribute.TypeId
    object.GetType()
    object.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    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.

    See Also

    VeloxDB The definitive guide: Sorted indexes
    SortedIndexReader<T, TKey1>
    SortedIndexReader<T, TKey1, TKey2>
    SortedIndexReader<T, TKey1, TKey2>
    SortedIndexReader<T, TKey1, TKey2, TKey3>
    SortedIndexReader<T, TKey1, TKey2, TKey3, TKey4>
    In this article
    © 2025 Copyright: VeloxDB