Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 1.42 KB

TransactionSettingsAttribute.md

File metadata and controls

23 lines (17 loc) · 1.42 KB

TransactionSettingsAttribute class

namespace: Serenity.Data   assemblySerenity.Net.Data

Determines the transaction isolation level and defer start flag used for a service endpoint action use when creating the UnitOfWork class

[AttributeUsage(AttributeTargets.All)]
public class TransactionSettingsAttribute : Attribute

Public Members

name description
TransactionSettingsAttribute() Initializes a new instance of the attribute.
TransactionSettingsAttribute(…) Initializes a new instance of the attribute.
DeferStart { get; set; } Gets / sets if the transaction start should be deferred if possible (generally until the connection property of unit of work object is read). This might have undesired side effects so use with care.
HasDeferStart { get; } Gets if DeferStart property is set
IsolationLevel { get; } Gets the isolation level.

See Also