Realm Xamarin  v0.78.0
Realm for Xamarin
Properties | List of all members
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]
 This is the realm that you should modify and make sure is up to date. More...
 
Realm OldRealm [get]
 This is the realm as it was before migrating. Use the dnyamic 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 NewRealm
get

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

§ OldRealm

Realm OldRealm
get

This is the realm as it was before migrating. Use the dnyamic API to access it