forked from NEventStore/NEventStore
-
Notifications
You must be signed in to change notification settings - Fork 0
Transaction Support
bartelink edited this page Jul 9, 2014
·
3 revisions
For those storage engines and message systems that support and participate in two-phase commits, there now exists the ability to specify a TransactionScopeOption of Required. Simply indicate this using EnlistInAmbientTransaction in your Wireup chain:-
var store = Wireup.Init()
.UsingSqlPersistence("connection-name-here")
.EnlistInAmbientTransaction();
It is highly discouraged to use transactions to write to more than one stream at time
- It breaks the consistency boundary that a stream represents and indicates poor domain modelling.
- May result in deadlocks in the SQL engines under load.
- Home
- Quick Start
- Architecture
- [Overview](Architectural Overview)
- Transactional Integrity
- Supported Persistence Engines