Skip to content

Initial solution and project scaffolding for EfCoreKit#1

Merged
Clifftech123 merged 5 commits into
masterfrom
develop
Mar 29, 2026
Merged

Initial solution and project scaffolding for EfCoreKit#1
Clifftech123 merged 5 commits into
masterfrom
develop

Conversation

@Clifftech123
Copy link
Copy Markdown
Owner

Add modular .NET solution with core, abstractions, bulk ops, and provider projects (SQL Server, PostgreSQL, MySQL, SQLite). Set up centralized build/package management, base exception types, and test projects for unit, integration, and benchmarks. Includes NuGet metadata and README packaging.

Add modular .NET solution with core, abstractions, bulk ops, and provider projects (SQL Server, PostgreSQL, MySQL, SQLite).
Set up centralized build/package management, base exception types, and test projects for unit, integration, and benchmarks.
Includes NuGet metadata and README packaging.
- Refactored base exception and added custom exceptions for concurrency, not found, and tenant mismatch scenarios.
- Introduced entity interfaces for auditing, concurrency, soft delete, multi-tenancy, and specification pattern.
- Added models for bulk operations, dynamic filtering/sorting, and both offset and keyset pagination.
- Improves modularity and extensibility for advanced EF Core scenarios.
- Refactored and documented all custom exception classes for clarity and maintainability.
- Introduced IBulkExecutor interface for provider-agnostic bulk insert, update, delete, and upsert operations.
- Added internal TableMapping and ColumnMapping classes to encapsulate EF Core entity-to-table/column metadata.
- Updated project and package references to include Microsoft.EntityFrameworkCore.Relational for advanced metadata support.
- Lays foundation for robust, efficient bulk operations in EfCoreKit.
Introduce modular core with soft delete, audit, multi-tenancy, and bulk ops support. Add EfCoreKitDbContext<TContext>, fluent options, DI registration, and extension methods for DbSet/IQueryable. Stub out interceptors, filters, and provider-specific bulk executors. Add internal helpers and global usings. Most logic is scaffolded with TODOs for future implementation.
Added BulkOperationHelper with utility stubs for EF Core bulk operations. Introduced async projection extension methods to QueryableExtensions for list, single, paged, and distinct queries. Added Program.cs as the entry point for running benchmarks with BenchmarkDotNet.
@Clifftech123 Clifftech123 merged commit 3b0f72b into master Mar 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant