C# Class Mono.Data.Sqlite.SqliteTransaction

Sqlite implementation of DbTransaction.
Inheritance: System.Data.Common.DbTransaction
ファイルを表示 Open project: rubenv/tripod Class Usage Examples

Public Methods

Method Description
Commit ( ) : void

Commits the current transaction.

Rollback ( ) : void

Rolls back the active transaction.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Disposes the transaction. If it is currently active, any changes are rolled back.

Private Methods

Method Description
IsValid ( bool throwError ) : bool
SqliteTransaction ( SqliteConnection connection, bool deferredLock ) : System

Constructs the transaction object, binding it to the supplied connection

Method Details

Commit() public method

Commits the current transaction.
public Commit ( ) : void
return void

Dispose() protected method

Disposes the transaction. If it is currently active, any changes are rolled back.
protected Dispose ( bool disposing ) : void
disposing bool
return void

Rollback() public method

Rolls back the active transaction.
public Rollback ( ) : void
return void