-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
-
3 - M (<= 1 month)
-
1649
Manually checking everywhere if realm is already in transaction leading to dirty code. There would be nice to use them recursively like the lock construction:
using(var transaction=realm.BeginWrite()) { realm.Write(()=>{/*some writes*/}); }
or
using(var transaction=realm.BeginWrite()) { //some writes SomeSharedCode(realm); } public void SomeSharedCode () { var realm=Realm.GetInstance(); realm.Write(()=>{/*some writes*/}); }
- depends on
-
RCORE-78 Nested Transactions
- Backlog