Show / Hide Table of Contents

    Namespace Realms

    Classes

    BacklinkAttribute

    An attribute that indicates that the property it decorates is the inverse end of a relationship.

    ChangeSet

    A ChangeSet describes the changes inside a IRealmCollection<T> since the last time the notification callback was invoked.

    CollectionNotificationsExtensions

    A set of extensions methods exposing notification-related functionality over collections.

    ErrorEventArgs

    Provides error information for the Error event.

    ExplicitAttribute

    An attribute that prevents the decorated class from being included in Realm's default schema.

    IgnoredAttribute

    An attribute that indicates an ignored property. Ignored properties will not be persisted in the Realm.

    IndexedAttribute

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

    InMemoryConfiguration

    A Realm configuration specifying settings for an in-memory Realm. When all in-memory instances with the same identifier are disposed or go out of scope, all data in that Realm is deleted.

    MapToAttribute

    An attribute that indicates that a property should be persisted under a different name.

    Migration

    This class is given to you when you migrate your database from one version to another. It contains two properties: OldRealm and NewRealm. The NewRealm is the one you should make sure is up to date. It will contain models corresponding to the configuration you've supplied. You can read from the OldRealm and access properties that have been removed from the classes by using the dynamic API.

    PrimaryKeyAttribute

    An attribute that indicates the primary key property. It allows quick lookup of objects and enforces uniqueness of the values stored. It may only be applied to a single property in a class.

    Realm

    A Realm instance (also referred to as a Realm) represents a Realm database.

    RealmConfiguration

    Realm configuration specifying settings that affect the Realm's behavior.

    RealmConfigurationBase

    Base class for specifying configuration settings that affect the Realm's behavior.

    RealmObject

    Base for any object that can be persisted in a Realm.

    RequiredAttribute

    An attribute that indicates a required property. When persisting, the Realm will validate that the value of the property is not null.

    StringExtensions

    A set of extensions methods over strings, useable in LINQ queries.

    ThreadSafeReference

    An object intended to be passed between threads containing a thread-safe reference to its thread-confined object.

    To resolve a thread-safe reference on a target Realm on a different thread, pass it to Realm.ResolveReference.

    ThreadSafeReference.List<T>

    A reference to a IList<T> intended to be passed between threads.

    To resolve a thread-safe reference on a target Realm on a different thread, pass it to Realm.ResolveReference(ThreadSafeReference.List).

    ThreadSafeReference.Object<T>

    A reference to a RealmObject intended to be passed between threads.

    To resolve a thread-safe reference on a target Realm on a different thread, pass it to Realm.ResolveReference(ThreadSafeReference.Object).

    ThreadSafeReference.Query<T>

    A reference to a IQueryable<T> intended to be passed between threads.

    To resolve a thread-safe reference on a target Realm on a different thread, pass it to Realm.ResolveReference(ThreadSafeReference.Query).

    Transaction

    Provides a scope to safely read and write to a Realm. Must use explicitly via BeginWrite().

    WovenAssemblyAttribute

    An attribute that indicates that the assembly has been woven. It is applied automatically by the RealmWeaver and should not be used manually.

    Structs

    ChangeSet.Move

    A ChangeSet.Move contains information about objects that moved within the same IRealmCollection<T>.

    RealmInteger<T>

    A structure representing an integer value in the database. It offers API to increment the value, which produces correct merges during conflicts.

    Interfaces

    IRealmCollection<T>

    Iterable, sortable collection of one kind of RealmObject resulting from All<T>() or from a LINQ query expression.

    ISchemaSource

    An object describing its properties in terms of a ObjectSchema.

    Delegates

    NotificationCallbackDelegate<T>

    A callback that will be invoked each time the contents of a IRealmCollection<T> have changed.

    Realm.RealmChangedEventHandler

    Handler type used by RealmChanged

    RealmConfiguration.MigrationCallbackDelegate

    In order to handle manual migrations, you need to supply a migration callback to your RealmConfiguration. It will be called with a Migration instance containing the pre- and the post-migration Realm. You should make sure that the NewRealm property on it contains a database that is up to date when returning. The oldSchemaVersion parameter will tell you which SchemaVersion the user is migrating from. They should always be migrating to the current SchemaVersion.

    RealmConfiguration.ShouldCompactDelegate

    A callback, invoked when opening a Realm for the first time during the life of a process to determine if it should be compacted before being returned to the user.

    Back to top Copyright © 2019 Realm
    Generated by DocFX