C# 클래스 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.
파일 보기 프로젝트 열기: realm/realm-dotnet 1 사용 예제들

비공개 메소드들

메소드 설명
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