C# Class Mono.Data.Sqlite.SqliteTransaction

Sqlite implementation of DbTransaction.
Inheritance: System.Data.Common.DbTransaction
Afficher le fichier Open project: rubenv/tripod Class Usage Examples

Méthodes publiques

Méthode Description
Commit ( ) : void

Commits the current transaction.

Rollback ( ) : void

Rolls back the active transaction.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

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

Private Methods

Méthode 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 méthode

Commits the current transaction.
public Commit ( ) : void
Résultat void

Dispose() protected méthode

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

Rollback() public méthode

Rolls back the active transaction.
public Rollback ( ) : void
Résultat void