Collection of a generic implementation of Entity Framework Core for .NET 10 mostly used in my private and/or work projects thus avoiding the duplication of repetitive code.
The Entity Framework Core Generic Repository is a design pattern that provides a generic implementation of the repository pattern using Entity Framework Core. It allows developers to perform CRUD (Create, Read, Update, Delete) operations on entities without having to write repetitive code for each entity type.
- .NET 10.0 SDK (latest version)
The package is available on NuGet, using the following command in the .NET CLI:
dotnet add package NET10Library.EFCoreTo get started with the Entity Framework Core Generic Repository, follow these steps:
1 - Register the repository in your dependency injection container
services.AddRepositoryRegistration<YourDbContext>();This project is licensed under the MIT License - see the LICENSE file for details.
Don't forget that if you find this project helpful, please give it a ⭐ on GitHub to show your support and help others discover it.
Contributions are always welcome. Feel free to report issues and submit pull requests to the repository, following the steps below:
- Fork the repository
- Create a feature branch (starting from the develop branch)
- Make your changes
- Submit a pull requests (targeting develop)