Search Results for

    Show / Hide Table of Contents

    Class IndexedAttribute

    An attribute that indicates an indexed property. Indexed properties slightly slow down insertions, but can greatly speed up queries.

    Inheritance
    object
    Attribute
    IndexedAttribute
    Namespace: Realms
    Assembly: Realm.dll
    Syntax
    [AttributeUsage(AttributeTargets.Property)]
    public class IndexedAttribute : Attribute

    Constructors

    | Edit this page View Source

    IndexedAttribute()

    Initializes a new instance of the IndexedAttribute class.

    Declaration
    public IndexedAttribute()
    | Edit this page View Source

    IndexedAttribute(IndexType)

    Initializes a new instance of the IndexedAttribute class.

    Declaration
    public IndexedAttribute(IndexType mode)
    Parameters
    Type Name Description
    IndexType mode

    The type of index that will be created.

    Properties

    | Edit this page View Source

    Type

    Gets a value indicating the type of indexing that the database will perform. Default is General.

    Declaration
    public IndexType Type { get; }
    Property Value
    Type Description
    IndexType

    The index mode for the property.

    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2020-2024 Realm
    Generated by DocFX