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