Method | Description | |
---|---|---|
CreateSavepoint ( this transaction ) : string |
Saves a point in a transaction using a random name.
|
|
CreateSavepoint ( this transaction, string savepoint ) : void |
Saves a point in a transaction using the given savepoint name.
|
|
Matches ( this column, string match ) : bool | ||
ReleaseSavepoint ( this transaction, string savepoint ) : void |
This causes all savepoints back to and including the most recent savepoint with a matching name to be removed from the transaction stack. It does not cause any changes to be written to the database file, but merely removes savepoints from the transaction stack such that it is no longer possible to rollback to those savepoints.
|
|
RollbackSavepoint ( this transaction, string savepoint ) : void |
Reverts the state of the database back to what it was just after the corresponding savepoint. This does not cancel the transaction, but all intervening savepoints are canceled.
|
Method | Description | |
---|---|---|
EnsureInProgress ( SqliteTransaction transaction ) : void |
public static CreateSavepoint ( this transaction ) : string | ||
transaction | this | |
return | string |
public static CreateSavepoint ( this transaction, string savepoint ) : void | ||
transaction | this | |
savepoint | string | /// The savepoint name to use. /// |
return | void |
public static Matches ( this column, string match ) : bool | ||
column | this | |
match | string | |
return | bool |
public static ReleaseSavepoint ( this transaction, string savepoint ) : void | ||
transaction | this | |
savepoint | string | /// The savepoint name to release. /// |
return | void |
public static RollbackSavepoint ( this transaction, string savepoint ) : void | ||
transaction | this | |
savepoint | string | The savepoint name to rollback to. |
return | void |