SqliteTransaction Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a transaction made against a SQLite database.
public class SqliteTransaction : System.Data.Common.DbTransaction
type SqliteTransaction = class
inherit DbTransaction
Public Class SqliteTransaction
Inherits DbTransaction
- Inheritance
-
SqliteTransaction
Properties
Connection |
Gets the connection associated with the transaction. |
DbConnection |
Gets the connection associated with the transaction. |
IsolationLevel |
Gets the isolation level for the transaction. |
SupportsSavepoints | Gets a value that indicates whether this DbTransaction instance supports database savepoints.
If |
Methods
Commit() |
Applies the changes made in the transaction. |
Dispose(Boolean) |
Releases any resources used by the transaction and rolls it back. |
Release(String) |
Destroys a savepoint previously defined in the current transaction. This allows the system to reclaim some resources before the transaction ends. |
Rollback() |
Reverts the changes made in the transaction. |
Rollback(String) |
Rolls back all commands that were executed after the specified savepoint was established. |
Save(String) |
Creates a savepoint in the transaction. This allows all commands that are executed after the savepoint was established to be rolled back, restoring the transaction state to what it was at the time of the savepoint. |