PrettyUOW 1.0.0

Pretty UOW

There is a newer version of this package available.
See the version list below for details.
Install-Package PrettyUOW -Version 1.0.0
dotnet add package PrettyUOW --version 1.0.0
<PackageReference Include="PrettyUOW" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PrettyUOW --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: PrettyUOW, 1.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. 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.0

// Install PrettyUOW as a Cake Tool
#tool nuget:?package=PrettyUOW&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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

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

Release Notes

Release

Dependencies

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 History

Version Downloads Last updated
1.0.2 588 4/3/2018
1.0.0 506 4/3/2018