Zahasoft.Persist

Algorithms used to persist object state - abstractions


Keywords
repository, persistence, unit, of, work
License
MIT
Install
Install-Package Zahasoft.Persist -Version 1.0.3

Documentation

persist Build License

Algorithms used to persist objects state.

Nuget

  • Persist Version Downloads Reference
  • Persist Shared Version Downloads Reference
  • Persist EntityFramework Version Downloads Reference

Usage

using (var uow = new EntityFrameworkUnitOfWork(commandContext, queryContext, persistFactory))
{
    uow.BeginTransaction();
    uow.Command<Entity>().Insert(new Entity());
    uow.Command<OtherEntity>().Update(new OtherEntity());
    uow.CommitTransaction()
}