TransactionBase Constructor (IsolationLevel, String, String, Boolean, Boolean) |
CTor.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.8.0.0 (5.8.21.0111)
Syntaxprotected TransactionBase(
IsolationLevel transactionIsolationLevel,
string name,
string connectionString,
bool startImmediately,
bool performsPersistenceLogic
)
Protected Sub New (
transactionIsolationLevel As IsolationLevel,
name As String,
connectionString As String,
startImmediately As Boolean,
performsPersistenceLogic As Boolean
)
Parameters
- transactionIsolationLevel
- Type: System.Data.IsolationLevel
IsolationLevel to use in the transaction - name
- Type: System.String
The name of the transaction to use. - connectionString
- Type: System.String
Connection string to use in this transaction - startImmediately
- Type: System.Boolean
If true (default), the connection and transaction are opened immediately at creation. If false, the
connection has to be opened explicitly using OpenConnection() and the transaction has to be started explicitly using Start() - performsPersistenceLogic
- Type: System.Boolean
If true, it's assumed the entities gathered through e.g. auditors can persist themselves. Set to true in
selfservicing, set to false in adapter
See Also