PrettyUOW 1.0.0
See the version list below for details.
dotnet add package PrettyUOW --version 1.0.0
NuGet\Install-Package PrettyUOW -Version 1.0.0
<PackageReference Include="PrettyUOW" Version="1.0.0" />
paket add PrettyUOW --version 1.0.0
#r "nuget: PrettyUOW, 1.0.0"
// 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
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 :
How is Pretty UOW work ?
At first
Install-Package PrettyUOW
Then
using PrettyUOW.lib;
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 | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net is compatible. |
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.
Release