AdvantageCMS.Core.Common.BaseClasses Namespace
Advantage CSP

Transaction..::..BeginTransaction Method (TransactionOption, TransactionIsolationLevel, String, String)

Creates a transaction scope with the following Settings Tracking Enabled

Namespace:  AdvantageCMS.Data
Assembly:  AdvantageCMS.Data (in AdvantageCMS.Data.dll)

Syntax


public void BeginTransaction(
	TransactionOption transactionOption,
	TransactionIsolationLevel transactionIsolationLevel,
	string appName,
	string componentName
)

Parameters

transactionOption
Type: TransactionOption
Indication how transactions are used in the enclosed scope
transactionIsolationLevel
Type: TransactionIsolationLevel
Isolation level of the transaction
appName
Type: String
Text string that corresponds to the application ID under which tracking information is reported
componentName
Type: String
Text string that corresponds to the context name under which tracking information is reported