EasyAF.Business.EFCore
4.2.0
Prefix Reserved
dotnet add package EasyAF.Business.EFCore --version 4.2.0
NuGet\Install-Package EasyAF.Business.EFCore -Version 4.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="EasyAF.Business.EFCore" Version="4.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="EasyAF.Business.EFCore" Version="4.2.0" />
<PackageReference Include="EasyAF.Business.EFCore" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add EasyAF.Business.EFCore --version 4.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: EasyAF.Business.EFCore, 4.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.
#:package EasyAF.Business.EFCore@4.2.0
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=EasyAF.Business.EFCore&version=4.2.0
#tool nuget:?package=EasyAF.Business.EFCore&version=4.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
EasyAF.Business.EFCore
Entity managers for Entity Framework Core: CRUD, audit fields, and lifecycle hooks.
Install
dotnet add package EasyAF.Business.EFCore
Usage
public class UserManager : EntityManager<MyDbContext, User>
{
public UserManager(MyDbContext context, IMessagePublisher publisher)
: base(context, publisher) { }
public override async Task OnInsertingAsync(User entity)
{
await base.OnInsertingAsync(entity); // audit fields
entity.IsActive = true;
}
}
Also includes IdentifiableEntityManager, StatusEntityManager, and StateMachineEntityManager. For EF6, use EasyAF.Business.EF6.
On .NET 11, DirectUpdate / DirectDelete are stubbed until Z.EntityFramework.Plus ships an EF Core 11 package.
Requires EasyAF.Data.EFCore.
Documentation
License
MIT © CloudNimble, Inc.
| 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. net9.0 is compatible. 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. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. net11.0 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Ben.TypeDictionary (>= 0.1.4 && < 2.0.0)
- EasyAF.Core (>= 4.2.0)
- Microsoft.EntityFrameworkCore (>= 10.0.12 && < 12.0.0)
- SimpleMessageBus.Publish (>= 6.0.0 && < 7.0.0)
- Z.EntityFramework.Plus.EFCore (>= 10.105.8.1 && < 12.0.0)
-
net11.0
- Ben.TypeDictionary (>= 0.1.4 && < 2.0.0)
- EasyAF.Core (>= 4.2.0)
- Microsoft.EntityFrameworkCore (>= 11.0.0-rc.1.26425.128 && < 12.0.0)
- SimpleMessageBus.Publish (>= 6.0.0 && < 7.0.0)
-
net8.0
- Ben.TypeDictionary (>= 0.1.4 && < 2.0.0)
- EasyAF.Core (>= 4.2.0)
- Microsoft.EntityFrameworkCore (>= 8.0.31 && < 12.0.0)
- SimpleMessageBus.Publish (>= 6.0.0 && < 7.0.0)
- Z.EntityFramework.Plus.EFCore (>= 8.105.8.1 && < 12.0.0)
-
net9.0
- Ben.TypeDictionary (>= 0.1.4 && < 2.0.0)
- EasyAF.Core (>= 4.2.0)
- Microsoft.EntityFrameworkCore (>= 9.0.20 && < 12.0.0)
- SimpleMessageBus.Publish (>= 6.0.0 && < 7.0.0)
- Z.EntityFramework.Plus.EFCore (>= 9.105.8.1 && < 12.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 |
|---|---|---|
| 4.2.0 | 124 | 9/14/2026 |
| 4.1.0 | 1,787 | 4/6/2026 |
| 4.0.2-CI-20260303-151859 | 346 | 3/3/2026 |