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.9.0.0 (5.9.0)
Syntax protected 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.DataIsolationLevel
IsolationLevel to use in the transaction - name
- Type: SystemString
The name of the transaction to use. - connectionString
- Type: SystemString
Connection string to use in this transaction - startImmediately
- Type: SystemBoolean
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: SystemBoolean
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