EDennis.EFBase
1.0.1
See the version list below for details.
dotnet add package EDennis.EFBase --version 1.0.1
NuGet\Install-Package EDennis.EFBase -Version 1.0.1
<PackageReference Include="EDennis.EFBase" Version="1.0.1" />
paket add EDennis.EFBase --version 1.0.1
#r "nuget: EDennis.EFBase, 1.0.1"
// Install EDennis.EFBase as a Cake Addin #addin nuget:?package=EDennis.EFBase&version=1.0.1 // Install EDennis.EFBase as a Cake Tool #tool nuget:?package=EDennis.EFBase&version=1.0.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,213 | 1/16/2019 |
2.2.0 | 1,719 | 11/8/2018 |
2.1.9 | 1,694 | 10/22/2018 |
2.1.8 | 1,835 | 8/17/2018 |
2.1.7 | 1,712 | 7/30/2018 |
2.1.6 | 1,811 | 7/30/2018 |
1.3.4 | 1,744 | 7/23/2018 |
1.3.3 | 2,025 | 7/12/2018 |
1.3.2 | 1,805 | 7/12/2018 |
1.3.1 | 1,826 | 7/11/2018 |
1.3.0 | 1,835 | 6/6/2018 |
1.2.8 | 1,904 | 4/30/2018 |
1.2.7 | 1,924 | 4/26/2018 |
1.2.6 | 1,863 | 4/24/2018 |
1.2.5 | 1,795 | 4/23/2018 |
1.2.4 | 1,789 | 4/23/2018 |
1.2.3 | 1,853 | 4/22/2018 |
1.2.2 | 1,909 | 4/21/2018 |
1.2.1 | 1,712 | 3/22/2018 |
1.2.0 | 1,882 | 3/22/2018 |
1.1.2 | 1,964 | 3/13/2018 |
1.1.1 | 1,931 | 3/13/2018 |
1.1.0 | 1,878 | 3/12/2018 |
1.0.2 | 2,662 | 3/12/2018 |
1.0.1 | 3,401 | 3/12/2018 |
1.0.0 | 3,528 | 3/12/2018 |
0.1.2 | 1,772 | 3/10/2018 |
0.1.1 | 1,958 | 3/10/2018 |
0.1.0 | 1,745 | 3/10/2018 |
0.0.5-alpha | 857 | 3/8/2018 |
0.0.4-alpha | 870 | 2/13/2018 |
0.0.3-alpha | 867 | 1/22/2018 |
Fixed package description