SqlServerTransactionalDataSource Constructor (SqlServerDataSource, Nullable<(Of <(<'String>)>)>, Nullable<(Of <(<'IsolationLevel>)>)>, Boolean)
Initializes a new instance of the SqlServerTransactionalDataSource class.
Namespace:
Tortuga.Chain.SqlServerAssembly: Tortuga.Chain.SqlServer.MDS (in Tortuga.Chain.SqlServer.MDS.dll)
Syntax
public SqlServerTransactionalDataSource( SqlServerDataSource dataSource, Nullable<string> transactionName, Nullable<IsolationLevel> isolationLevel, bool forwardEvents )
Public Sub New ( _ dataSource As SqlServerDataSource, _ transactionName As Nullable(Of String), _ isolationLevel As Nullable(Of IsolationLevel), _ forwardEvents As Boolean _ )
public: SqlServerTransactionalDataSource( SqlServerDataSource^ dataSource, Nullable<String^> transactionName, Nullable<IsolationLevel^> isolationLevel, bool^ forwardEvents )
Parameters
- dataSource
- Type: Tortuga.Chain..::..SqlServerDataSource
The parent connection.
- isolationLevel
- Type: Nullable<(Of <(<'IsolationLevel>)>)>
The isolation level. If not supplied, will use the database default.
- forwardEvents
- Type: Boolean
If true, logging events are forwarded to the parent connection.