Specifies the transaction spawning behaviour for a specific Context.
| Member Name | Description |
|---|---|
| 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. |
Namespace: TechTalk.Genome
Assembly: TechTalk.Genome (in TechTalk.Genome.dll)
Version: 4.2.4.4
Editions: Professional, Evaluation, Express
Database Platforms: Microsoft SQL Server 2000, Microsoft SQL Server 2005, Orcale 9i Release 2, Oracle 10g Release 2
TechTalk.Genome Namespace | !:ShortRunningTransactionContext.Create(IsolationLevel, TransactionSpawnMethod) | !:ShortRunningTransactionContext.Create(Context, IsolationLevel, TransactionSpawnMethod, LockingSemanticsBindings) | !:ShortRunningTransactionContext.Create(Context, IsolationLevel, TransactionSpawnMethod, LockingSemanticsBindings, CacheConfiguration)