If the DBTransaction is not null, then this method permorms a RollBack on the active SQL Transaction held in DBTransaction member variable, and then Disposes the transaction object, closes the connection object and sets it to null.
Effective version 3.x this method has been marked virtual and hence can be overridden by any of the inheriting classes.
| C# | |
|---|---|
public virtual void Dispose() | |
Target Platforms: .NET Framework 1.1 or .NET Framework 2.0