AdvantageCMS.Core.Common.BaseClasses Namespace
Advantage CSP

SQL..::..BeginTransaction Method (Boolean)

Starts a new transaction.

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

Syntax


public void BeginTransaction(
	bool initiatePersistentConnection
)

Parameters

initiatePersistentConnection
Type: Boolean
Should a new persistent connection be used or access the existing one.

Exceptions


ExceptionCondition
InvalidOperationExceptionA persistent connection already exists
InvalidOperationExceptionA transaction already exists