TechTalk Genome v4.2

TransactionSpawnMethod Enumeration

Specifies the transaction spawning behaviour for a specific Context.

public enum TransactionSpawnMethod

Members

Member NameDescription
Default The caller doesn't require any special treatment from transaction management. This value is equivalent with FirstRead for all isolation levels.
FirstRead A new physical transaction will be started when the database is read or updated for the first time within the logical transaction and any further read and update operations will also use this transaction.
FirstWrite Before the first update a new database connection without an explicit transaction will be created for each read operation. At the first update a new physical transaction will be started and any further read and update operations will use this transaction. FirstWrite is compatible with isolation levels !:IsolationLevel and !:IsolationLevel only. If the isolation level is set to !:IsolationLevel or !:IsolationLevel", Genome will throw a GenomeException.

Requirements

Namespace: TechTalk.Genome

Assembly: TechTalk.Genome (in TechTalk.Genome.dll)

Version: 4.2.11.59

Editions: Professional, Evaluation, Express

Database Platforms: Microsoft SQL Server 2000, Microsoft SQL Server 2005, Orcale 9i Release 2, Oracle 10g Release 2

See Also

TechTalk.Genome Namespace | !:ShortRunningTransactionContext.Create(IsolationLevel, TransactionSpawnMethod) | !:ShortRunningTransactionContext.Create(Context, IsolationLevel, TransactionSpawnMethod, LockingSemanticsBindings) | !:ShortRunningTransactionContext.Create(Context, IsolationLevel, TransactionSpawnMethod, LockingSemanticsBindings, CacheConfiguration)