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 IndexAttribute

    Base class for index attributes supported by the database.

    Inheritance
    object
    Attribute
    IndexAttribute
    HashIndexAttribute
    SortedIndexAttribute
    Inherited Members
    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.MemberwiseClone()
    object.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    Namespace: VeloxDB.ObjectInterface
    Assembly: vlxdb.dll
    Syntax
    public abstract class IndexAttribute : Attribute

    Constructors

    IndexAttribute(string, bool, params string[])

    Declaration
    public IndexAttribute(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.

    IndexAttribute(string, string, bool, bool)

    Declaration
    public IndexAttribute(string name, string cultureName, bool caseSensitive, bool isUnique)
    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.

    Properties

    CaseSensitive

    Indicates whether string comparisons inside the index are case sensitive.

    Declaration
    public bool CaseSensitive { get; }
    Property Value
    Type Description
    bool

    CultureName

    Name of the culture used to compare strings in the index.

    Declaration
    public string CultureName { get; }
    Property Value
    Type Description
    string

    IsUnique

    Gets if hash index has unique constraint.

    Declaration
    public bool IsUnique { get; }
    Property Value
    Type Description
    bool

    Name

    Gets the name.

    Declaration
    public string Name { get; }
    Property Value
    Type Description
    string
    In this article
    © 2025 Copyright: VeloxDB