CQRS.NET  2.1
A lightweight enterprise framework to write CQRS, event-sourced and micro-service applications in hybrid multi-datacentre, on-premise and Azure environments.
Cqrs.Domain.IUnitOfWork< TAuthenticationToken > Interface Template Reference

This is a Unit of Work More...

+ Inheritance diagram for Cqrs.Domain.IUnitOfWork< TAuthenticationToken >:

Public Member Functions

void Add< TAggregateRoot > (TAggregateRoot aggregate)
 Add an item into the IUnitOfWork<TAuthenticationToken> ready to be committed. More...
 
TAggregateRoot Get< TAggregateRoot > (Guid id, int? expectedVersion=null)
 Get an item from the IUnitOfWork<TAuthenticationToken> if it has already been loaded. More...
 
void Commit ()
 Commit any changed AggregateRoot<TAuthenticationToken> added to this IUnitOfWork<TAuthenticationToken> via Add<T> More...
 

Detailed Description

This is a Unit of Work