Skip to main content
net10.0net11.0

Package Description

Published
Oct 17, 2026
2d ago
Total Downloads
2.3K
2,269

Install

dotnet add package EasyAF.Business.EFCore --version 5.0.0-preview.2
ProductVersions
.NET
net10.0net11.0

README

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.

Requires EasyAF.Data.EFCore.

Documentation

License

MIT © CloudNimble, Inc.

Changes from Previous Version

No structural changes between v5.0.0-preview.1 and v5.0.0-preview.2.

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

This version is marked prerelease. Validate its API and upgrade path before production use.Compatibility metadata lists 2 target frameworks; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.