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

    | Edit this page View Source

    Parent

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

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

    The parent object that owns this IEmbeddedObject.

    Extension Methods

    FrozenObjectsExtensions.Freeze<T>(T)
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2020-2024 Realm
    Generated by DocFX