EntityFrameworkContextWrapper 1.1.0
dotnet add package EntityFrameworkContextWrapper --version 1.1.0
NuGet\Install-Package EntityFrameworkContextWrapper -Version 1.1.0
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="EntityFrameworkContextWrapper" Version="1.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EntityFrameworkContextWrapper --version 1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: EntityFrameworkContextWrapper, 1.1.0"
#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 EntityFrameworkContextWrapper as a Cake Addin #addin nuget:?package=EntityFrameworkContextWrapper&version=1.1.0 // Install EntityFrameworkContextWrapper as a Cake Tool #tool nuget:?package=EntityFrameworkContextWrapper&version=1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Wraps calls to EF Context in a using statement for easier disposing. This code can also help to isolate the use of Entity Framework in unit tests because it gives one more level of interface mocking before having to directly deal with EF in unit tests.
Product | Versions 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.
-
- EntityFramework (>= 6.1.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.