EfCore.GenericBizRunner
4.1.0
dotnet add package EfCore.GenericBizRunner --version 4.1.0
NuGet\Install-Package EfCore.GenericBizRunner -Version 4.1.0
<PackageReference Include="EfCore.GenericBizRunner" Version="4.1.0" />
paket add EfCore.GenericBizRunner --version 4.1.0
#r "nuget: EfCore.GenericBizRunner, 4.1.0"
// Install EfCore.GenericBizRunner as a Cake Addin #addin nuget:?package=EfCore.GenericBizRunner&version=4.1.0 // Install EfCore.GenericBizRunner as a Cake Tool #tool nuget:?package=EfCore.GenericBizRunner&version=4.1.0
EfCore.GenericBizRunner
NOTE: Version 4.1.0 now requires you to install the NuGet package GenericServices.StatusGeneric in any of your assemblies that needs to interact with the GenericBizRunner's status.
EfCore.GenericBizRunner (shortened to GenericBizRunner) is a framework to help build and run business logic when you are using Entity Framework Core for database accesses. Its aim is to totally isolate the business logic from other parts of the application, especially the user presentation/UI layers. It provides the following features:
- A standard pattern for writing business logic, including helper classes.
- An anti-corruption layer feature that act as a barrier between the business logic and the user presentation/UI layers.
- The BizRunner handles the call to EF Core's
SaveChanges
, with optional validation. - A service, known as a BizRunner, that runs your business logic.
- Very good use of Dependency Injection (DI), making calls to business logic very easy.
EfCore.GenericBizRunner is available as a NuGet package, and on the EfCore.GenericBizRunner GitHub repo. It is an open-source project under the MIT license.
NOTE: Version 4 of GenericBizRunner supports both EF Core >=2.1 and EF Core >=3.0 via NetStandard2.0 and NetStandard2.1 versions.
NOTE: Version 3 of GenericBizRunner changed the way it handles DTOs to make the library more useful in Web APIs - see upgrade guide.
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 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- AutoMapper (>= 9.0.0)
- GenericServices.StatusGeneric (>= 1.0.1)
- Microsoft.EntityFrameworkCore (>= 2.1.0)
-
.NETStandard 2.1
- AutoMapper (>= 9.0.0)
- GenericServices.StatusGeneric (>= 1.0.1)
- Microsoft.EntityFrameworkCore (>= 3.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on EfCore.GenericBizRunner:
Package | Downloads |
---|---|
EfCore.GenericServices.AspNetCore
A support library to the EfCore.GenericServices and EfCore.GenericBizRunner libraries. It converts IStatusGeneric into ASP.NET Core's ModelState or Web API response |
GitHub repositories
This package is not used by any popular GitHub repositories.
- Update: Swapped to using GenericServices.StatusGeneric for status. This provides common status handling across my Generic libraries.
NOTE: You will need to install GenericServices.StatusGeneric NuGet packages in your biz logic etc.