Skip to content

TransactionAttribute Properties

The TransactionAttribute attribute is used to mark methods that start and join transactions.

ReadOnly

getset
View source
[System.Obsolete(Use [ReadOnly] attribute instead.)]
public bool ReadOnly
Gets or sets a value indicating whether the transaction permits read operations only.

Requirement

get
View source
public TransactionOption Requirement
Gets the transaction behavior required by the attributed method.