Tortuga.Chain Namespace
Tortuga.Chain.CommandBuilders Namespace
Tortuga.Chain.Metadata Namespace

OleDbSqlServerTransactionalDataSource Constructor (OleDbSqlServerDataSource, Nullable<(Of <(<'String>)>)>, Nullable<(Of <(<'IsolationLevel>)>)>, Boolean)

Initializes a new instance of the OleDbSqlServerTransactionalDataSource class.

Namespace:  Tortuga.Chain.SqlServer
Assembly:  Tortuga.Chain.SqlServer.OleDb (in Tortuga.Chain.SqlServer.OleDb.dll)

Syntax


public OleDbSqlServerTransactionalDataSource(
	OleDbSqlServerDataSource dataSource,
	Nullable<string> transactionName,
	Nullable<IsolationLevel> isolationLevel,
	bool forwardEvents
)
Public Sub New ( _
	dataSource As OleDbSqlServerDataSource, _
	transactionName As Nullable(Of String), _
	isolationLevel As Nullable(Of IsolationLevel), _
	forwardEvents As Boolean _
)
public:
OleDbSqlServerTransactionalDataSource(
	OleDbSqlServerDataSource^ dataSource, 
	Nullable<String^> transactionName, 
	Nullable<IsolationLevel^> isolationLevel, 
	bool^ forwardEvents
)

Parameters

dataSource
Type: Tortuga.Chain..::..OleDbSqlServerDataSource
The parent connection.
transactionName
Type: Nullable<(Of <(<'String>)>)>
Name of the transaction.
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.