Ninject.Extensions.UnitOfWork
1.0.1
.NET Framework 4.5
dotnet add package Ninject.Extensions.UnitOfWork --version 1.0.1
NuGet\Install-Package Ninject.Extensions.UnitOfWork -Version 1.0.1
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="Ninject.Extensions.UnitOfWork" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Ninject.Extensions.UnitOfWork --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Ninject.Extensions.UnitOfWork, 1.0.1"
#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 Ninject.Extensions.UnitOfWork as a Cake Addin
#addin nuget:?package=Ninject.Extensions.UnitOfWork&version=1.0.1
// Install Ninject.Extensions.UnitOfWork as a Cake Tool
#tool nuget:?package=Ninject.Extensions.UnitOfWork&version=1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Extension that enables the usage of unit-of-work patterns in non-web applications.
You could look at this as being the equivalent of InRequestScope from web environments in console applications and services.
The unit-of-work scopes are kept consistent across async calls and tasks.
Setup:
_kernel.Bind<IService>().To<Service>().InUnitOfWorkScope();
Usage:
using(UnitOfWorkScope.Create()){
// resolves, async/await, manual TPL ops, etc
}
Product | Versions |
---|---|
.NET Framework | net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48 net481 |
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
-
- Ninject (>= 3.2.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.