SettingsUnitTransactionStrategy - конструктор

The default strategy that ensures transactional operations for a settings units and their fragments and manages reader/writer locks. A SQL transaction is opened only if there is no other active transaction on this database connection.

Definition

Пространство имён: Tessa.SettingsUnits
Сборка: Tessa (в Tessa.dll) Версия: 4.2.0+ffad8363f63902f18b3b3f4cfa533a14b2fb19a6
C#
public SettingsUnitTransactionStrategy(
	IDbScope dbScope,
	ITransactionScope transactionScope,
	ISettingsUnitLockingStrategy settingsUnitLockingStrategy
)

Параметры

dbScope  IDbScope
Объект для взаимодействия с базой данных. Определяет область видимости объекта DbManager.
transactionScope  ITransactionScope
Объект для управления областью выполнения транзакции.
settingsUnitLockingStrategy  ISettingsUnitLockingStrategy
A strategy for managing read and write locks for a settings units and their fragments. Incorrect use of the methods in this interface may lead to "hanging" locks — use with caution.

См. также