DotEmilu.EntityFrameworkCore
1.0.1
See the version list below for details.
dotnet add package DotEmilu.EntityFrameworkCore --version 1.0.1
NuGet\Install-Package DotEmilu.EntityFrameworkCore -Version 1.0.1
<PackageReference Include="DotEmilu.EntityFrameworkCore" Version="1.0.1" />
paket add DotEmilu.EntityFrameworkCore --version 1.0.1
#r "nuget: DotEmilu.EntityFrameworkCore, 1.0.1"
// Install DotEmilu.EntityFrameworkCore as a Cake Addin #addin nuget:?package=DotEmilu.EntityFrameworkCore&version=1.0.1 // Install DotEmilu.EntityFrameworkCore as a Cake Tool #tool nuget:?package=DotEmilu.EntityFrameworkCore&version=1.0.1
DotEmilu EF Core
A simple, easy-to-use .NET library designed for EF Core interceptors, auditable entities.
Features
- Supports CREATE, UPDATE, DELETE tracking.
- Provides properties for base entities.
- Provides a contract to implement http user context information.
How to Use
Follow these simple steps to get started:
Define Your Database Entities
Create your database entities as needed for your application.//To track inherit from BaseAuditableEntity public class Person : BaseAuditableEntity { public string? Name { get; set; } public string? Surname { get; set; } }
Implement Context User Information
Create an implementation to retrieve user context information (e.g., user ID, roles).//Feel free to inject your necessary dependencies to provide user information. public class ContextUser : IContextUser { public Guid Id => Guid.NewGuid(); }
Register the Interceptor
Add your custom interceptor to the dependency injection container in your application.builder.Services .AddDotEmiluInterceptors<ContextUser>();
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 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. |
-
net8.0
- Microsoft.EntityFrameworkCore (>= 8.0.12)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Updated Microsoft.EntityFrameworkCore to version 8.0.12 for the latest improvements and bug fixes.