Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
OleDbTransaction
This class encapsulates a client-initiated database transaction. If
you have an open connection, you can start a transaction by calling
the OleDbConnection.BeginTransaction( ) method,
which returns an OleDbTransaction object. The
OleDbTransaction class implements the
System.Data.IDbTransaction interface, and its
members are described in that section of the reference.
You can also use the Begin( ) method to start a
nested transaction (a transaction within the bounds of another
transaction). This returns a second
OleDbTransaction instance, which can be used to
manage the nested transaction. The actions in the nested transaction
can be committed or rolled back independently; however, if you roll
back the parent transaction, the actions in the nested transaction
are also rolled back (even if you committed the nested transaction).