SharedCode.Data.EntityFramework
7.2.0
dotnet add package SharedCode.Data.EntityFramework --version 7.2.0
NuGet\Install-Package SharedCode.Data.EntityFramework -Version 7.2.0
<PackageReference Include="SharedCode.Data.EntityFramework" Version="7.2.0" />
paket add SharedCode.Data.EntityFramework --version 7.2.0
#r "nuget: SharedCode.Data.EntityFramework, 7.2.0"
// Install SharedCode.Data.EntityFramework as a Cake Addin #addin nuget:?package=SharedCode.Data.EntityFramework&version=7.2.0 // Install SharedCode.Data.EntityFramework as a Cake Tool #tool nuget:?package=SharedCode.Data.EntityFramework&version=7.2.0
Shared Code Data Library for Entity Framework
A library of code shared for free use to help with common data access scenarios using Entity Framework.
To use these, search NuGet for SharedCode.Data.EntityFramework
This specifically targets Entity Framework Core. There were some legacy Entity Framework helpers in old versions of the shared libraries, which can be found in older NuGet packages and in the git history. If someone wants to step up to maintain those I would happily take pull requests for adding them to the new solution as separate project(s).
Reference Notes
Resilient database context setup example:
services.AddDbContext<CatalogContext>(
options =>
{
options.UseSqlServer(Configuration["ConnectionString"],
sqlServerOptionsAction: sqlOptions =>
{
sqlOptions.EnableRetryOnFailure(
maxRetryCount: 10,
maxRetryDelay: TimeSpan.FromSeconds(30),
errorNumbersToAdd: null);
});
});
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. 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. |
-
net8.0
- Microsoft.EntityFrameworkCore (>= 8.0.0)
- SharedCode.Core (>= 7.2.0)
- System.Collections.Immutable (>= 8.0.0)
- System.Interactive (>= 6.0.1)
- System.Interactive.Async (>= 6.0.1)
- System.Interactive.Async.Providers (>= 6.0.1)
- System.Interactive.Providers (>= 6.0.1)
- System.Linq.Async (>= 6.0.1)
- System.Linq.Async.Queryable (>= 6.0.1)
- System.Reactive (>= 6.0.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 |
---|---|---|
7.2.0 | 230 | 11/26/2023 |
7.0.12 | 314 | 12/11/2022 |
7.0.11 | 296 | 12/11/2022 |
7.0.9 | 313 | 12/11/2022 |
7.0.8 | 294 | 12/11/2022 |
7.0.7 | 370 | 10/5/2022 |
7.0.6 | 350 | 10/3/2022 |
7.0.5 | 398 | 10/2/2022 |
7.0.4 | 387 | 10/2/2022 |
7.0.3 | 394 | 10/2/2022 |
7.0.2 | 434 | 9/17/2022 |
7.0.1 | 396 | 9/11/2022 |
7.0.0 | 417 | 8/31/2022 |
6.0.8212.3335 | 444 | 6/26/2022 |
6.0.8211.37412 | 418 | 6/25/2022 |
6.0.8211.37390 | 416 | 6/25/2022 |
6.0.8211.37380 | 402 | 6/25/2022 |
6.0.8211.37366 | 412 | 6/25/2022 |
6.0.8211.37364 | 429 | 6/25/2022 |
6.0.8171.627 | 422 | 5/16/2022 |
6.0.8171.497 | 427 | 5/16/2022 |
6.0.8171.457 | 419 | 5/16/2022 |
6.0.8163.2722 | 425 | 5/8/2022 |
6.0.8163.2411 | 423 | 5/8/2022 |
6.0.8163.2246 | 404 | 5/8/2022 |
6.0.0.1 | 504 | 5/7/2022 |
6.0.0 | 729 | 11/21/2021 |
5.0.7 | 408 | 8/31/2022 |
5.0.6 | 382 | 8/31/2022 |
5.0.5 | 369 | 8/31/2022 |
5.0.4 | 406 | 8/13/2022 |
5.0.3 | 426 | 6/26/2022 |
1.0.0 | 357 | 9/4/2021 |