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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.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 245 11/26/2023
7.0.12 320 12/11/2022
7.0.11 302 12/11/2022
7.0.9 319 12/11/2022
7.0.8 300 12/11/2022
7.0.7 378 10/5/2022
7.0.6 358 10/3/2022
7.0.5 406 10/2/2022
7.0.4 395 10/2/2022
7.0.3 402 10/2/2022
7.0.2 442 9/17/2022
7.0.1 404 9/11/2022
7.0.0 425 8/31/2022
6.0.8212.3335 452 6/26/2022
6.0.8211.37412 426 6/25/2022
6.0.8211.37390 424 6/25/2022
6.0.8211.37380 410 6/25/2022
6.0.8211.37366 420 6/25/2022
6.0.8211.37364 437 6/25/2022
6.0.8171.627 430 5/16/2022
6.0.8171.497 435 5/16/2022
6.0.8171.457 427 5/16/2022
6.0.8163.2722 433 5/8/2022
6.0.8163.2411 431 5/8/2022
6.0.8163.2246 412 5/8/2022
6.0.0.1 512 5/7/2022
6.0.0 737 11/21/2021
5.0.7 418 8/31/2022
5.0.6 390 8/31/2022
5.0.5 377 8/31/2022
5.0.4 414 8/13/2022
5.0.3 434 6/26/2022
1.0.0 365 9/4/2021