Search Results for

    Show / Hide Table of Contents

    Class AsymmetricObject

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

    Inheritance
    object
    RealmObjectBase
    AsymmetricObject
    Implements
    INotifyPropertyChanged
    IReflectableType
    IAsymmetricObject
    IRealmObjectBase
    Inherited Members
    RealmObjectBase.PropertyChanged
    RealmObjectBase.IsManaged
    RealmObjectBase.DynamicApi
    RealmObjectBase.IsValid
    RealmObjectBase.IsFrozen
    RealmObjectBase.Realm
    RealmObjectBase.ObjectSchema
    RealmObjectBase.BacklinksCount
    RealmObjectBase.ToString()
    RealmObjectBase.RaisePropertyChanged(string)
    RealmObjectBase.OnPropertyChanged(string)
    RealmObjectBase.OnManaged()
    Namespace: Realms
    Assembly: Realm.dll
    Syntax
    public class AsymmetricObject : RealmObjectBase, INotifyPropertyChanged, IReflectableType, IAsymmetricObject, IRealmObjectBase
    Remarks

    The benefit of using AsymmetricObject is that the performance of each sync operation is much higher. The drawback is that an AsymmetricObject is synced unidirectionally, so it cannot be queried. You should use this base when you have a write-heavy use case. If, instead you want to persist an object that you can also query against, use RealmObject instead. RealmObjects and EmbeddedObjects can't link (or backlink) to AsymmetricObjects. AsymmetricObjects can only link to EmbeddedObjects.

    Implements

    INotifyPropertyChanged
    IReflectableType
    IAsymmetricObject
    IRealmObjectBase

    Extension Methods

    FrozenObjectsExtensions.Freeze<T>(T)

    See Also

    https://www.mongodb.com/docs/realm/sdk/dotnet/data-types/asymmetric-objects/
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2020-2024 Realm
    Generated by DocFX