Method sqlite.Transaction
Overload
Returns new SLTransaction(this, sql, sqlOfDispose).
See SLTransaction.SLTransaction.
public SLTransaction Transaction(string sql = "BEGIN", string sqlOfDispose = "ROLLBACK")
Parameters
|
sql (string)
SQL to execute now. Default |
|
sqlOfDispose (string)
SQL to execute when disposing the SLTransaction variable if not called SLTransaction.Commit or SLTransaction.Rollback.
Default |
Returns
Exceptions
|
SLException
Failed to execute sql. |