![]() |
VOOZH | about |
dotnet add package Wangkanai.EntityFramework --version 3.7.0
NuGet\Install-Package Wangkanai.EntityFramework -Version 3.7.0
<PackageReference Include="Wangkanai.EntityFramework" Version="3.7.0" />
<PackageVersion Include="Wangkanai.EntityFramework" Version="3.7.0" />Directory.Packages.props
<PackageReference Include="Wangkanai.EntityFramework" />Project file
paket add Wangkanai.EntityFramework --version 3.7.0
#r "nuget: Wangkanai.EntityFramework, 3.7.0"
#:package Wangkanai.EntityFramework@3.7.0
#addin nuget:?package=Wangkanai.EntityFramework&version=3.7.0Install as a Cake Addin
#tool nuget:?package=Wangkanai.EntityFramework&version=3.7.0Install as a Cake Tool
๐ .NET
๐ Quality Gate Status
๐ Open Collective
๐ Patreon
๐ GitHub
Welcome to the Wangkanai Domain repository - a comprehensive collection of domain-driven design patterns, auditing capabilities, and Entity Framework utilities for .NET applications.
This repository produces three NuGet packages:
๐ NuGet Version
๐ NuGet Pre Release
Core domain-driven design patterns and building blocks for .NET applications. Provides base classes, interfaces, and utilities for implementing clean domain models.
Features:
๐ NuGet Version
๐ NuGet Pre Release
Comprehensive auditing capabilities for tracking changes and maintaining data history in your applications.
Features:
๐ NuGet Version
๐ NuGet Pre Release
Entity Framework Core utilities and extensions to enhance database operations and development productivity.
Features:
Install the packages you need via NuGet Package Manager:
# Core domain patterns
dotnet add package Wangkanai.Domain
# Auditing capabilities
dotnet add package Wangkanai.Audit
# Entity Framework utilities
dotnet add package Wangkanai.EntityFramework
using Wangkanai.Domain;
public class Customer : Entity<int>
{
public string Name { get; private set; }
public string Email { get; private set; }
public Customer(string name, string email)
{
Name = name;
Email = email;
}
}
using Wangkanai.Audit;
using Microsoft.EntityFrameworkCore;
public class ApplicationDbContext : AuditDbContext
{
public DbSet<Customer> Customers { get; set; }
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
{
// Configure audit tracking
optionsBuilder.EnableAuditing();
}
}
using Wangkanai.EntityFramework;
public void ConfigureServices(IServiceCollection services)
{
services.AddDbContext<ApplicationDbContext>(options =>
options.UseSqlServer(connectionString));
}
public void Configure(IApplicationBuilder app)
{
// Ensure database exists
app.CreateDatabase<ApplicationDbContext>();
}
This repository follows a clean architecture approach with the following structure:
src/
โโโ Domain/ # Core domain patterns and entities
โโโ Audit/ # Auditing and change tracking
โโโ EntityFramework/ # EF Core utilities and extensions
tests/
โโโ Domain/ # Domain module tests
โโโ Audit/ # Audit module tests
โโโ EntityFramework/ # EntityFramework module tests
benchmark/
โโโ Domain/ # Performance benchmarks
โโโ Audit/ # Audit performance tests
โโโ EntityFramework/ # EF utilities benchmarks
Run all tests with coverage:
dotnet test --collect:"XPlat Code Coverage"
Run benchmarks:
dotnet run --project benchmark/Domain --configuration Release
dotnet run --project benchmark/Audit --configuration Release
dotnet run --project benchmark/EntityFramework --configuration Release
We welcome contributions! Please see our for details.
This project is licensed under the - see the LICENSE file for details.
If this project has helped you, please consider:
For detailed documentation, examples, and API references, visit our Documentation.
Built with โค๏ธ by Sarin Na Wangkanai and the community.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 4 NuGet packages that depend on Wangkanai.EntityFramework:
| Package | Downloads |
|---|---|
|
Wangkanai.EntityFramework.Sqlite
Package Description |
|
|
Wangkanai.EntityFramework.MySql
Package Description |
|
|
Wangkanai.EntityFramework.Postgres
Package Description |
|
|
Wangkanai.EntityFramework.SqlServer
Package Description |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 3.7.0 | 253 | 9/5/2025 |
| 3.6.0 | 381 | 7/17/2025 |
| 3.5.0 | 289 | 6/19/2025 |
| 3.4.0 | 236 | 6/8/2025 |
| 3.3.0 | 296 | 5/19/2025 |
| 3.2.0 | 332 | 5/12/2024 |
| 3.1.0 | 255 | 4/28/2024 |
| 3.0.0 | 271 | 3/21/2024 |
| 2.8.0 | 233 | 11/27/2023 |
| 2.7.0 | 224 | 11/23/2023 |
| 2.6.0 | 230 | 11/17/2023 |
| 2.5.0 | 211 | 11/15/2023 |
| 2.4.0 | 159 | 11/1/2023 |
| 2.3.0 | 165 | 10/22/2023 |
| 2.2.0 | 166 | 9/28/2023 |
| 2.1.0 | 162 | 9/21/2023 |
| 2.0.0 | 222 | 7/20/2023 |
| 1.1.0 | 317 | 7/1/2023 |
| 1.0.0 | 299 | 6/28/2023 |
| 0.1.0-alpha-01 | 129 | 9/13/2025 |