EDennis.EFBase
1.3.4
See the version list below for details.
dotnet add package EDennis.EFBase --version 1.3.4
NuGet\Install-Package EDennis.EFBase -Version 1.3.4
<PackageReference Include="EDennis.EFBase" Version="1.3.4" />
paket add EDennis.EFBase --version 1.3.4
#r "nuget: EDennis.EFBase, 1.3.4"
// Install EDennis.EFBase as a Cake Addin #addin nuget:?package=EDennis.EFBase&version=1.3.4 // Install EDennis.EFBase as a Cake Tool #tool nuget:?package=EDennis.EFBase&version=1.3.4
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.1 is compatible. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
-
.NETCoreApp 2.1
- Microsoft.AspNetCore.All (>= 2.1.2)
- Microsoft.SqlServer.SqlManagementObjects (>= 140.17279.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,224 | 1/16/2019 |
2.2.0 | 1,729 | 11/8/2018 |
2.1.9 | 1,706 | 10/22/2018 |
2.1.8 | 1,847 | 8/17/2018 |
2.1.7 | 1,724 | 7/30/2018 |
2.1.6 | 1,823 | 7/30/2018 |
1.3.4 | 1,758 | 7/23/2018 |
1.3.3 | 2,037 | 7/12/2018 |
1.3.2 | 1,817 | 7/12/2018 |
1.3.1 | 1,838 | 7/11/2018 |
1.3.0 | 1,847 | 6/6/2018 |
1.2.8 | 1,918 | 4/30/2018 |
1.2.7 | 1,936 | 4/26/2018 |
1.2.6 | 1,875 | 4/24/2018 |
1.2.5 | 1,807 | 4/23/2018 |
1.2.4 | 1,803 | 4/23/2018 |
1.2.3 | 1,865 | 4/22/2018 |
1.2.2 | 1,921 | 4/21/2018 |
1.2.1 | 1,724 | 3/22/2018 |
1.2.0 | 1,894 | 3/22/2018 |
1.1.2 | 1,978 | 3/13/2018 |
1.1.1 | 1,945 | 3/13/2018 |
1.1.0 | 1,890 | 3/12/2018 |
1.0.2 | 2,674 | 3/12/2018 |
1.0.1 | 3,413 | 3/12/2018 |
1.0.0 | 3,540 | 3/12/2018 |
0.1.2 | 1,784 | 3/10/2018 |
0.1.1 | 1,970 | 3/10/2018 |
0.1.0 | 1,757 | 3/10/2018 |
0.0.5-alpha | 865 | 3/8/2018 |
0.0.4-alpha | 878 | 2/13/2018 |
0.0.3-alpha | 875 | 1/22/2018 |
Updated to Microsoft.AspNetCore.All 2.1.2