Realm Xamarin
v0.77.1
Realm for Xamarin
|
Base for any object that can be persisted in a Realm. More...
Inherited by DynamicRealmObject.
Public Member Functions | |
override bool | Equals (object obj) |
Compare objects with identity query for persistent objects. More... | |
Public Attributes | |
bool | IsManaged => _realm != null |
Allows you to check if the object has been associated with a Realm, either at creation or via Realm.Manage. More... | |
bool | IsValid => _rowHandle?.IsAttached != false |
Returns true if this object is managed and represents a row in the database. If a managed object has been removed from the Realm, it is no longer valid and accessing properties on it will throw an exception. Unmanaged objects are always considered valid. More... | |
Schema.ObjectSchema | ObjectSchema => _metadata?.Schema |
The Schema.ObjectSchema instance that describes how the Realm this object belongs to sees it. More... | |
Realm | Realm => _realm |
The Realm instance this object belongs to, or More... | |
Base for any object that can be persisted in a Realm.
override bool Equals | ( | object | obj | ) |
Compare objects with identity query for persistent objects.
Persisted RealmObjects map their properties directly to the realm with no caching so multiple instances of a given object always refer to the same store.
obj |
bool IsManaged => _realm != null |
Allows you to check if the object has been associated with a Realm, either at creation or via Realm.Manage.
bool IsValid => _rowHandle?.IsAttached != false |
Returns true if this object is managed and represents a row in the database. If a managed object has been removed from the Realm, it is no longer valid and accessing properties on it will throw an exception. Unmanaged objects are always considered valid.
Schema.ObjectSchema ObjectSchema => _metadata?.Schema |
The Schema.ObjectSchema instance that describes how the Realm this object belongs to sees it.