C# Class Infrastructure.InMemoryUnitOfWork

Normally a real unit of work would track changes to our persistence store and handle actual transactions.
Inheritance: IUnitOfWork
Exibir arquivo Open project: AdrianFreemantle/DDD Class Usage Examples

Public Methods

Method Description
Commit ( ) : void
InMemoryUnitOfWork ( ) : Domain.Core.Infrastructure
InMemoryUnitOfWork ( IRepository repository ) : Domain.Core.Infrastructure
InMemoryUnitOfWork ( InMemoryRepository repository ) : Domain.Core.Infrastructure
Rollback ( ) : void

Method Details

Commit() public method

public Commit ( ) : void
return void

InMemoryUnitOfWork() public method

public InMemoryUnitOfWork ( ) : Domain.Core.Infrastructure
return Domain.Core.Infrastructure

InMemoryUnitOfWork() public method

public InMemoryUnitOfWork ( IRepository repository ) : Domain.Core.Infrastructure
repository IRepository
return Domain.Core.Infrastructure

InMemoryUnitOfWork() public method

public InMemoryUnitOfWork ( InMemoryRepository repository ) : Domain.Core.Infrastructure
repository InMemoryRepository
return Domain.Core.Infrastructure

Rollback() public method

public Rollback ( ) : void
return void