Click or drag to resize
IUnitOfWork Interface
Unit of work pattern for use with an ORM

Namespace: AccidentalFish.ApplicationSupport.Core.Repository
Assembly: AccidentalFish.ApplicationSupport.Core (in AccidentalFish.ApplicationSupport.Core.dll) Version: 1.0.4.0 (1.0.4.0)
Syntax
public interface IUnitOfWork : IDisposable

The IUnitOfWork type exposes the following members.

Methods
  NameDescription
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodGetRepositoryT
Retrieve a repository that acts within the unit of work
Public methodSave
Save all changes made within the unit of work
Top
See Also