C# Class Realms.Migration

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 OldRealm and access properties that have been removed from the classes by using the dynamic API.
ファイルを表示 Open project: realm/realm-dotnet Class Usage Examples

Private Methods

Method Description
Execute ( Realm oldRealm, Realm newRealm ) : bool
Migration ( )
Migration ( RealmConfiguration configuration, RealmSchema schema ) : System
MigrationCallback ( IntPtr oldRealmPtr, IntPtr newRealmPtr, Native oldSchema, ulong schemaVersion, IntPtr managedMigrationHandle ) : bool
PopulateConfiguration ( Native &configuration ) : void