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
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SharedCode.Data.EntityFramework" Version="7.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SharedCode.Data.EntityFramework --version 7.2.0
#r "nuget: SharedCode.Data.EntityFramework, 7.2.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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 187 11/26/2023
7.0.12 287 12/11/2022
7.0.11 270 12/11/2022
7.0.9 283 12/11/2022
7.0.8 266 12/11/2022
7.0.7 343 10/5/2022
7.0.6 324 10/3/2022
7.0.5 365 10/2/2022
7.0.4 360 10/2/2022
7.0.3 367 10/2/2022
7.0.2 401 9/17/2022
7.0.1 369 9/11/2022
7.0.0 385 8/31/2022
6.0.8212.3335 413 6/26/2022
6.0.8211.37412 390 6/25/2022
6.0.8211.37390 388 6/25/2022
6.0.8211.37380 375 6/25/2022
6.0.8211.37366 400 6/25/2022
6.0.8211.37364 403 6/25/2022
6.0.8171.627 408 5/16/2022
6.0.8171.497 398 5/16/2022
6.0.8171.457 408 5/16/2022
6.0.8163.2722 400 5/8/2022
6.0.8163.2411 396 5/8/2022
6.0.8163.2246 380 5/8/2022
6.0.0.1 480 5/7/2022
6.0.0 702 11/21/2021
5.0.7 380 8/31/2022
5.0.6 352 8/31/2022
5.0.5 343 8/31/2022
5.0.4 375 8/13/2022
5.0.3 398 6/26/2022
1.0.0 332 9/4/2021