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 | 228 | 11/26/2023 |
7.0.12 | 312 | 12/11/2022 |
7.0.11 | 294 | 12/11/2022 |
7.0.9 | 311 | 12/11/2022 |
7.0.8 | 292 | 12/11/2022 |
7.0.7 | 368 | 10/5/2022 |
7.0.6 | 348 | 10/3/2022 |
7.0.5 | 396 | 10/2/2022 |
7.0.4 | 385 | 10/2/2022 |
7.0.3 | 392 | 10/2/2022 |
7.0.2 | 432 | 9/17/2022 |
7.0.1 | 394 | 9/11/2022 |
7.0.0 | 415 | 8/31/2022 |
6.0.8212.3335 | 442 | 6/26/2022 |
6.0.8211.37412 | 416 | 6/25/2022 |
6.0.8211.37390 | 414 | 6/25/2022 |
6.0.8211.37380 | 400 | 6/25/2022 |
6.0.8211.37366 | 410 | 6/25/2022 |
6.0.8211.37364 | 427 | 6/25/2022 |
6.0.8171.627 | 420 | 5/16/2022 |
6.0.8171.497 | 425 | 5/16/2022 |
6.0.8171.457 | 417 | 5/16/2022 |
6.0.8163.2722 | 423 | 5/8/2022 |
6.0.8163.2411 | 421 | 5/8/2022 |
6.0.8163.2246 | 402 | 5/8/2022 |
6.0.0.1 | 502 | 5/7/2022 |
6.0.0 | 727 | 11/21/2021 |
5.0.7 | 406 | 8/31/2022 |
5.0.6 | 380 | 8/31/2022 |
5.0.5 | 367 | 8/31/2022 |
5.0.4 | 404 | 8/13/2022 |
5.0.3 | 424 | 6/26/2022 |
1.0.0 | 355 | 9/4/2021 |