Initial solution and project scaffolding for EfCoreKit#1
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.