Realm Xamarin  v0.81.0
Realm for Xamarin
Properties | List of all members
Realms.Migration Class Reference

This class is given to you when you migrate your database from one version to another. It contains two properties: OldRealm and NewRealm. The NewRealm is the one you should make sure is up to date. It will contain models corresponding to the configuration you've supplied. You can read from the old realm and access properties that have been removed from the classes by using the dynamic API. See more in the migrations section in the documentation. More...

Properties

Realm NewRealm [get]
 Gets the realm that you should modify and make sure is up to date. More...
 
Realm OldRealm [get]
 Gets the realm as it was before migrating. Use the dynamic API to access it. More...
 

Detailed Description

This class is given to you when you migrate your database from one version to another. It contains two properties: OldRealm and NewRealm. The NewRealm is the one you should make sure is up to date. It will contain models corresponding to the configuration you've supplied. You can read from the old realm and access properties that have been removed from the classes by using the dynamic API. See more in the migrations section in the documentation.

Property Documentation

§ NewRealm

Realm Realms.Migration.NewRealm
get

Gets the realm that you should modify and make sure is up to date.

§ OldRealm

Realm Realms.Migration.OldRealm
get

Gets the realm as it was before migrating. Use the dynamic API to access it.