Search Results for

    Show / Hide Table of Contents

    Namespace Realms

    Classes

    AsymmetricObject

    Base for any object that can be persisted in a Realm but that cannot retrieved, hence cannot modified.

    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.

    CollectionExtensions

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

    DictionaryChangeSet

    A DictionaryChangeSet describes the changes inside a IDictionary<TKey,TValue> since the last time the notification callback was invoked.

    EmbeddedObject

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

    ErrorEventArgs

    Provides error information for the Error event.

    ExplicitAttribute

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

    FrozenObjectsExtensions

    A set of extension methods on top of RealmObjectBase.

    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.

    ManagedAccessor

    Represents the base class for an accessor to be used with a managed object.

    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.

    Realm.Dynamic

    A class that exposes the dynamic API for a Realm instance.

    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.

    RealmObjectBase

    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.Dictionary<TValue>

    A reference to a IDictionary<TKey,TValue> intended to be passed between threads.

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

    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 ResolveReference<T>(ThreadSafeReference.List<T>).

    ThreadSafeReference.Object<T>

    A reference to a RealmObject or an EmbeddedObject intended to be passed between threads.

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

    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 ResolveReference<T>(ThreadSafeReference.Query<T>).

    ThreadSafeReference.Set<T>

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

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

    Transaction

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

    UnmanagedAccessor

    Represents the base class for an accessor to be used with an unmanaged object.

    Structs

    ChangeSet.Move

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

    DynamicObjectApi

    A class that exposes a set of API to access the data in a managed RealmObject dynamically.

    RealmInteger<T>

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

    RealmValue

    A type that can represent any valid Realm data type. It is a valid type in and of itself, which means that it can be used to declare a property of type RealmValue. Please note that a RealmValue property in a managed realm object cannot contain an embedded object or an asymmetric object.

    Interfaces

    IAsymmetricObject

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

    IEmbeddedObject

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

    IRealmAccessor

    Represents an accessor that encapsulates the methods and properties necessary for interfacing with the associated Realm object.

    IRealmCollection<T>

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

    IRealmObject

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

    IRealmObjectBase

    An interface that is implemented by all objects that can be persisted in Realm. This interface is used only internally for now.

    ISettableManagedAccessor

    Represents an object whose managed accessor can be set. This interface is used only internally for now.

    Enums

    RealmValueType

    Represents the type of a value stored in a RealmValue property.

    TransactionState

    Represents the state of a Transaction.

    Delegates

    DictionaryNotificationCallbackDelegate<T>

    A callback that will be invoked each time the contents of a IDictionary<TKey,TValue> have changed.

    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.

    In This Article
    Back to top Copyright © 2020 Realm
    Generated by DocFX