DatabaseRunInTransaction Method |
Runs the delegate within a transaction. If the delegate returns false,
the transaction is rolled back.
Namespace:
Couchbase.Lite
Assembly:
Couchbase.Lite (in Couchbase.Lite.dll) Version: 1.4.1-b107
Syntax public bool RunInTransaction(
RunInTransactionDelegate transactionDelegate
)
Parameters
- transactionDelegate
- Type: Couchbase.LiteRunInTransactionDelegate
The delegate to run within a transaction.
Return Value
Type:
BooleanTrue if the transaction was committed, otherwise false.
See Also