Defines the time at which the transaction shall be startet.

Namespace:  NHibernate.BusinessObjects
Assembly:  NHibernate.BusinessObjects (in NHibernate.BusinessObjects.dll)

Syntax

Visual Basic
Public Enumeration ETransactionStart
C#
public enum ETransactionStart
Visual C++
public enum class ETransactionStart
JavaScript
NHibernate.BusinessObjects.ETransactionStart = function();
NHibernate.BusinessObjects.ETransactionStart.createEnum('NHibernate.BusinessObjects.ETransactionStart', false);

Members

Member nameValueDescription
Immediate0 Starts the transaction immediately.
Automatic1 Starts the transaction when it is needed. That can be either on commit or when a select could return inserted data.
OnCommit2 Starts the transaction directly before a commit or rollback. Queries that get executed within a business transaction may not return new records that have been inserted within the same session.

See Also