SettingsUnitTransactionParameter - класс

Parameter for executing a settings unit transaction.

Definition

Пространство имён: Tessa.SettingsUnits
Сборка: Tessa (в Tessa.dll) Версия: 4.2.0+ffad8363f63902f18b3b3f4cfa533a14b2fb19a6
C#
public sealed class SettingsUnitTransactionParameter : TransactionParameter
Inheritance
Object    TransactionParameter    SettingsUnitTransactionParameter

Конструкторы

SettingsUnitTransactionParameter Parameter for executing a settings unit transaction.

Свойства

CancellationToken Область видимости объекта [Tessa.Platform.Data.DbManager], внутри которой выполняется транзакция. Обращение к свойствам объекта может привести к фактическому созданию соединения с базой данных, если эмулируется отсутствие транзакции. Гарантируется, что такое соединение будет корректно закрыто.
(Унаследован от TransactionParameter)
DbScope Область видимости объекта [Tessa.Platform.Data.DbManager], внутри которой выполняется транзакция. Обращение к свойствам объекта может привести к фактическому созданию соединения с базой данных, если эмулируется отсутствие транзакции. Гарантируется, что такое соединение будет корректно закрыто.
(Унаследован от TransactionParameter)
ID The unique identifier of the settings unit for which the transaction is executed.
ReportError Устанавливает или возвращает признак того, что при выполнении транзакции возникла ошибка. Если была открыта транзакция, то её следует откатить. Если при выполнении транзакции возникает исключение, то она откатывается автоматически. По умолчанию возвращает значение false.
(Унаследован от TransactionParameter)
ShouldExist Indicates the expected existence of the settings unit in the system.
  • – The unit must exist
  • – The unit must not exist
  • – Existence doesn't matter
ValidationResultРезультат валидации, связанный с открытой транзакцией.
(Унаследован от TransactionParameter)
VersionIfExists The version number of the settings unit for which the transaction should be opened.
  • > 0 – Check the version number only if the unit is expected to exist (ShouldExist is not )
  • <= 0 – The version number is ignored; only existence checks may be performed depending on ShouldExist

Методы

EqualsDetermines whether the specified object is equal to the current object.
(Унаследован от Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Унаследован от Object)
GetHashCodeServes as the default hash function.
(Унаследован от Object)
GetTypeGets the Type of the current instance.
(Унаследован от Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Унаследован от Object)
ToStringReturns a string that represents the current object.
(Унаследован от Object)

См. также