DomainObjects Class Library |
|
DomainObjects.Facade.Transaction Namespace
The DomainObjects.Facade.Transaction namespace provides classes that define and manage the scope and execution of object and database transactions.
Namespace hierarchy
Classes
Class |
Description |
BindUtil
|
Enables callers to bind a persistable object to the current transaction. |
Service<ServiceSubClass>
|
|
ServiceActivator
|
|
SingleThreadedUnitOfWork
|
Defines the duration that a call context will hold a reference to a set of persistable objects. Use this class inside of a 'using' statement to indicate when DomainObjects should release references to objects queried within the unit of work. Prevents memory leaks in applications, for example, that start a single thread and run that thread in a while loop. |
TransactionAttribute
|
|
Interfaces
Interface |
Description |
IExecutionAware
|
A persistable object should implement this interface to receive callbacks from DomainObjects when DomainObjects attempts to execute a sentece to persist the object transaction. |
IService
|
|
ITransactionAware
|
A persistable object should implement this interface to receive callbacks from DomainObjects when the object is bound to a transaction and DomainObjects attempts to commit or abort the transaction. |
ITransactionSetAware
|
To receive a callback from DomainObjects before an attempt to commit, after a successful commit and after an abort, implement this interface and pass the Type of the implementing class to the TransactionAttribute constructor. |
Enumerations