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

OleDbSqlServerDataSource..::..BeginTransaction Method

Creates a new transaction

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

Syntax


public virtual OleDbSqlServerTransactionalDataSource BeginTransaction(
	Nullable<string> transactionName,
	Nullable<IsolationLevel> isolationLevel,
	bool forwardEvents
)
Public Overridable Function BeginTransaction ( _
	transactionName As Nullable(Of String), _
	isolationLevel As Nullable(Of IsolationLevel), _
	forwardEvents As Boolean _
) As OleDbSqlServerTransactionalDataSource
public:
virtual OleDbSqlServerTransactionalDataSource^ BeginTransaction(
	Nullable<String^> transactionName, 
	Nullable<IsolationLevel^> isolationLevel, 
	bool^ forwardEvents
)

Parameters

transactionName
Type: Nullable<(Of <(<'String>)>)>
optional 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.

Return Value

Remarks


the caller of this function is responsible for closing the transaction.