예제 #1
0
 internal RealmUsage(RealmContextFactory factory)
 {
     active_usages.Value++;
     Factory = factory;
     Realm   = factory.createContext();
 }
예제 #2
0
 internal RealmWriteUsage(RealmContextFactory factory)
     : base(factory)
 {
     transaction = Realm.BeginWrite();
 }
예제 #3
0
 static void endBlockingSection(RealmContextFactory factory)
 {
     factory.blockingLock.Release();
     Logger.Log(@"Restoring realm operations.", LoggingTarget.Database);
 }