C# Class DDDPPP.Chap21.MicroORM.Application.Infrastructure.UnitOfWork

Inheritance: IUnitOfWork
Exibir arquivo Open project: elbandit/PPPDDD Class Usage Examples

Public Methods

Method Description
Clear ( ) : void
Commit ( ) : void
RegisterAmended ( IAggregateDataModel entity, IUnitOfWorkRepository unitofWorkRepository ) : void
RegisterNew ( IAggregateDataModel entity, IUnitOfWorkRepository unitofWorkRepository ) : void
UnitOfWork ( ) : System

Method Details

Clear() public method

public Clear ( ) : void
return void

Commit() public method

public Commit ( ) : void
return void

RegisterAmended() public method

public RegisterAmended ( IAggregateDataModel entity, IUnitOfWorkRepository unitofWorkRepository ) : void
entity IAggregateDataModel
unitofWorkRepository IUnitOfWorkRepository
return void

RegisterNew() public method

public RegisterNew ( IAggregateDataModel entity, IUnitOfWorkRepository unitofWorkRepository ) : void
entity IAggregateDataModel
unitofWorkRepository IUnitOfWorkRepository
return void

UnitOfWork() public method

public UnitOfWork ( ) : System
return System