EDennis.EFBase
1.1.1
See the version list below for details.
dotnet add package EDennis.EFBase --version 1.1.1
NuGet\Install-Package EDennis.EFBase -Version 1.1.1
<PackageReference Include="EDennis.EFBase" Version="1.1.1" />
paket add EDennis.EFBase --version 1.1.1
#r "nuget: EDennis.EFBase, 1.1.1"
// Install EDennis.EFBase as a Cake Addin #addin nuget:?package=EDennis.EFBase&version=1.1.1 // Install EDennis.EFBase as a Cake Tool #tool nuget:?package=EDennis.EFBase&version=1.1.1
The EFBase package provides a SqlServerRepo and SqlServerContext for Entity Framework targeting SQL Server 2016+. The SqlServerRepo class includes methods for creating, reading (by PK), updating, and deleting -- both synchronously and asynchronously. The SqlServerRepo class also includes methods for returning JSON from a valid FOR JSON SQL Server SELECT statement. Finally, SqlServerRepo supports auto-rollback transactions and sequence-resetting, which are useful for testing. To use SqlServerRepo, be sure to extend both SqlServerRepo (for all of your repository classes) and SqlServerContext (for all of your DbContext subclasses). The following classes are included:
- SqlServerContext -- which extends DbContext to provide support for FOR JSON queries.
- SqlServerRepo -- which provides the base repository class. This class support auto-rollback transactions (for testing purposes).
- SequenceResetter-- which provides a method for resetting all sequences in a database.
- SqlExecutor -- which provides methods for executing multiple SQL statement blocks separated by GO.
- SqlJson -- which allows Entity Framework to return FOR JSON statements from SQL Server.](https://github.com/denmitchell/efbase/wiki/SqlJson)** -- which allows Entity Framework to return FOR JSON statements from SQL Server.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 is compatible. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
-
.NETCoreApp 2.0
- Microsoft.AspNetCore.All (>= 2.0.5)
- Microsoft.SqlServer.SqlManagementObjects (>= 140.17218.0)
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 |
---|---|---|
2.3.0 | 1,214 | 1/16/2019 |
2.2.0 | 1,720 | 11/8/2018 |
2.1.9 | 1,695 | 10/22/2018 |
2.1.8 | 1,836 | 8/17/2018 |
2.1.7 | 1,713 | 7/30/2018 |
2.1.6 | 1,812 | 7/30/2018 |
1.3.4 | 1,745 | 7/23/2018 |
1.3.3 | 2,026 | 7/12/2018 |
1.3.2 | 1,806 | 7/12/2018 |
1.3.1 | 1,827 | 7/11/2018 |
1.3.0 | 1,836 | 6/6/2018 |
1.2.8 | 1,905 | 4/30/2018 |
1.2.7 | 1,925 | 4/26/2018 |
1.2.6 | 1,864 | 4/24/2018 |
1.2.5 | 1,796 | 4/23/2018 |
1.2.4 | 1,790 | 4/23/2018 |
1.2.3 | 1,854 | 4/22/2018 |
1.2.2 | 1,910 | 4/21/2018 |
1.2.1 | 1,713 | 3/22/2018 |
1.2.0 | 1,883 | 3/22/2018 |
1.1.2 | 1,965 | 3/13/2018 |
1.1.1 | 1,932 | 3/13/2018 |
1.1.0 | 1,879 | 3/12/2018 |
1.0.2 | 2,663 | 3/12/2018 |
1.0.1 | 3,402 | 3/12/2018 |
1.0.0 | 3,529 | 3/12/2018 |
0.1.2 | 1,773 | 3/10/2018 |
0.1.1 | 1,959 | 3/10/2018 |
0.1.0 | 1,746 | 3/10/2018 |
0.0.5-alpha | 858 | 3/8/2018 |
0.0.4-alpha | 871 | 2/13/2018 |
0.0.3-alpha | 868 | 1/22/2018 |
Fixed subtle bug with SequenceResetter