PrettyUOW 1.0.2

dotnet add package PrettyUOW --version 1.0.2
NuGet\Install-Package PrettyUOW -Version 1.0.2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="PrettyUOW" Version="1.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PrettyUOW --version 1.0.2
#r "nuget: PrettyUOW, 1.0.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install PrettyUOW as a Cake Addin
#addin nuget:?package=PrettyUOW&version=1.0.2

// Install PrettyUOW as a Cake Tool
#tool nuget:?package=PrettyUOW&version=1.0.2

Pretty UOW

Pretty UOW is a fully generic unit of work , which include a generic repository.

Whats Unit Of Work Pattern?

The Unit of Work pattern is used to group one or more operations (usually database operations) into a single transaction or “unit of work”, so that all operations either pass or fail as one.

For more about unit of work please visit :

https://docs.microsoft.com/en-us/aspnet/mvc/overview/older-versions/getting-started-with-ef-5-using-mvc-4/implementing-the-repository-and-unit-of-work-patterns-in-an-asp-net-mvc-application

How is Pretty UOW work ?

  1. At first Install-Package PrettyUOW

  2. Then using PrettyUOW.lib;

  3. Implementation

private IUOW<MyModel> unit;

public mycontroller() { unit = new UOW<MyModel>(database context ); }

public ActionResult Action() { unit.DoWork.List(); unit.DoWork.Create(); unit.DoWork.Edit(); unit.DoWork.......... }

Thank you ...

Best Regards ...

Ahmed Tayel

Product Compatible and additional computed target framework versions.
.NET Framework net is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.2 1,018 4/3/2018
1.0.0 904 4/3/2018

Release