Realm Xamarin
v0.74.1
Realm for Xamarin
|
Provides a scope to safely read and write to a Realm. Must use explicitly via Realm.BeginWrite. More...
Inherits IDisposable.
Public Member Functions | |
void | Commit () |
Use to save the changes to the realm. If transaction is declared in a using block, must be used before the end of that block. More... | |
void | Dispose () |
Will automatically Rollback the transaction on existing scope, if not explicitly Committed. More... | |
void | Rollback () |
Use explicitly to undo the changes in a transaction, otherwise it is automatically invoked by exiting the block. More... | |
Provides a scope to safely read and write to a Realm. Must use explicitly via Realm.BeginWrite.
All access to a Realm occurs within a Transaction. Read transactions are created implicitly.
void Commit | ( | ) |
Use to save the changes to the realm. If transaction is declared in a using
block, must be used before the end of that block.
Referenced by Transaction.Dispose().
void Dispose | ( | ) |
Will automatically Rollback
the transaction on existing scope, if not explicitly Committed.
References Transaction.Commit(), and Transaction.Rollback().
void Rollback | ( | ) |
Use explicitly to undo the changes in a transaction, otherwise it is automatically invoked by exiting the block.
Referenced by Transaction.Dispose().