Interface IEmbeddedObject
Base interface for any embedded object that can be persisted in a Realm.
Inherited Members
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 SourceParent
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. |