Represents a transaction to be performed at a data source, and is implemented by .NET Framework data providers that access relational databases.

See Also: IDbTransaction Members


public interface IDbTransaction : IDisposable


The System.Data.IDbTransaction interface allows an inheriting class to implement a Transaction class, which represents the transaction to be performed at a data source. For more information about Transaction classes, see [<topic://cpconperformingtransactions>].

An application does not create an instance of the System.Data.IDbTransaction interface directly, but creates an instance of a class that inherits System.Data.IDbTransaction.

Classes that inherit System.Data.IDbTransaction must implement the inherited members, and typically define additional members to add provider-specific functionality. For example, the System.Data.IDbTransaction interface defines the IDbTransaction.Commit method. In turn, the System.Data.OleDb.OleDbTransaction class inherits this property, and also defines the System.Data.OleDb.OleDbTransaction.Begin(IsolationLevel) method.


Namespace: System.Data
Assembly: System.Data (in System.Data.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0,