Commits the active SQL Transaction held in DBTransaction member variable, and then Disposes the transaction object, closes the connection object and sets it to null.
NOTE: This however does not affect your ability to run more commands to the underlying database using the same instance of the database object instance as the database object creates a new connection when trying to run a new command after the earlier connection has been closed.
| C# | |
|---|---|
public void CommitTransaction() | |
Target Platforms: .NET Framework 1.1 or .NET Framework 2.0