SQL..::..BeginTransaction Method (Boolean)
Starts a new transaction.
Namespace:
AdvantageCMS.DataAssembly: AdvantageCMS.Data (in AdvantageCMS.Data.dll)
Syntax
Parameters
- initiatePersistentConnection
- Type: Boolean
Should a new persistent connection be used or access the existing one.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | A persistent connection already exists |
InvalidOperationException | A transaction already exists |