Click or drag to resize

ControllerBaseDoInTransaction Method (ControllerBaseActionWithNoResult)

Executes an action (that doesn't return a result) in a transaction. If no current connection and/or transaction exists, it will establish it and commit and close it afterwards. An existing connection/transaction will be reused. Inside the action, the connection is available as DbConnection and the transaction as DbTransaction.

Namespace:  Omada.OE.AppLogic
Assembly:  Omada.OE.AppLogic (in Omada.OE.AppLogic.dll) Version: 15.0.0.0
Syntax
C#
public virtual void DoInTransaction(
	ControllerBaseActionWithNoResult action
)

Parameters

action
Type: Omada.OE.AppLogicControllerBaseActionWithNoResult
The action to execute
See Also