BeginTransaction

concerns

Calling the BeginTransaction attribute function marks all subsequent actions, such as inserts, updates, or deletes, as related actions. Only when the CommitTransaction attribute function is called all actions will be performed together in the database. By calling the RollbackTransaction attribute function, all actions since begin transaction can be discarded together.

 

Syntax

BeginTransaction()

Return value

Type

Description

Long

Describes the level of nested transactions

Parameter

None