Skip to content

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.

License

Notifications You must be signed in to change notification settings

AngeloDotNet/EFCore-GenericRepository

Repository files navigation

Entity Framework Core Generic Repository

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.

🏷️ Introduction

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.

🛠️ Installation

Prerequisites

  • .NET 10.0 SDK (latest version)

Setup

The package is available on NuGet, using the following command in the .NET CLI:

dotnet add package NET10Library.EFCore

🚀 Getting Started

To get started with the Entity Framework Core Generic Repository, follow these steps:

1 - Register the repository in your dependency injection container

services.AddRepositoryRegistration<YourDbContext>();

📜 License

This project is licensed under the MIT License - see the LICENSE file for details.

⭐ Give a Star

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.

🤝 Contributing

Contributions are always welcome. Feel free to report issues and submit pull requests to the repository, following the steps below:

  1. Fork the repository
  2. Create a feature branch (starting from the develop branch)
  3. Make your changes
  4. Submit a pull requests (targeting develop)

🩺 Testing

image

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •  

Languages