Search Results for

    Show / Hide Table of Contents

    Interface IAsymmetricObject

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

    Inherited Members
    IRealmObjectBase.Accessor
    IRealmObjectBase.IsManaged
    IRealmObjectBase.IsValid
    IRealmObjectBase.IsFrozen
    IRealmObjectBase.Realm
    IRealmObjectBase.ObjectSchema
    IRealmObjectBase.DynamicApi
    IRealmObjectBase.BacklinksCount
    ISettableManagedAccessor.SetManagedAccessor(IRealmAccessor, IRealmObjectHelper, Boolean, Boolean)
    Namespace: Realms
    Assembly: Realm.dll
    Syntax
    public interface 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.

    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