DomainObjects Class Library

SingleThreadedUnitOfWork Class

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.

For a list of all members of this type, see SingleThreadedUnitOfWork Members.

System.Object
   SingleThreadedUnitOfWork

public class SingleThreadedUnitOfWork : IDisposable

Requirements

Namespace: DomainObjects.Facade.Transaction

Assembly: DomainObjects.Core (in DomainObjects.Core.dll)

See Also

SingleThreadedUnitOfWork Members | DomainObjects.Facade.Transaction Namespace