Search Results for

    Show / Hide Table of Contents

    Interface IEmbeddedObject

    Base interface for any embedded 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
    Namespace: Realms
    Assembly: Realm.dll
    Syntax
    public interface IEmbeddedObject : IRealmObjectBase
    Remarks

    This interface will be implemented automatically by the Realm source generator as long as your model class is declared as partial.

    Examples
    public partial class Address : IEmbeddedObject
    {
        public string? City { get; set; }
    
        public string? Country { get; set; }
    }

    Properties

    | Improve this Doc View Source

    Parent

    Gets the parent of the embedded object. It can be either another embedded object, a standalone realm object, or an asymmetric object.

    Declaration
    IRealmObjectBase? Parent { get; }
    Property Value
    Type Description
    IRealmObjectBase

    The parent object that owns this IEmbeddedObject.

    Remarks

    This interface will be implemented automatically by the Realm source generator as long as your model class is declared as partial.

    Extension Methods

    FrozenObjectsExtensions.Freeze<T>(T)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2020-2023 Realm
    Generated by DocFX