Search Results for

    Show / Hide Table of Contents

    Class AsymmetricObject

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

    Inheritance
    Object
    RealmObjectBase
    AsymmetricObject
    Implements
    INotifyPropertyChanged
    IReflectableType
    IAsymmetricObject
    IRealmObjectBase
    ISettableManagedAccessor
    Inherited Members
    RealmObjectBase.PropertyChanged
    RealmObjectBase.IRealmObjectBase.Accessor
    RealmObjectBase.IsManaged
    RealmObjectBase.DynamicApi
    RealmObjectBase.IsValid
    RealmObjectBase.IsFrozen
    RealmObjectBase.Realm
    RealmObjectBase.ObjectSchema
    RealmObjectBase.BacklinksCount
    RealmObjectBase.ISettableManagedAccessor.SetManagedAccessor(IRealmAccessor, IRealmObjectHelper, Boolean, Boolean)
    RealmObjectBase.ToString()
    RealmObjectBase.RaisePropertyChanged(String)
    RealmObjectBase.OnPropertyChanged(String)
    RealmObjectBase.OnManaged()
    Namespace: Realms
    Assembly: Realm.dll
    Syntax
    public class AsymmetricObject : RealmObjectBase, INotifyPropertyChanged, IReflectableType, IAsymmetricObject, IRealmObjectBase, ISettableManagedAccessor
    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

    System.ComponentModel.INotifyPropertyChanged
    System.Reflection.IReflectableType
    IAsymmetricObject
    IRealmObjectBase
    ISettableManagedAccessor

    Extension Methods

    FrozenObjectsExtensions.Freeze<T>(T)

    See Also

    https://www.mongodb.com/docs/realm/sdk/dotnet/data-types/asymmetric-objects/
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2020 Realm
    Generated by DocFX