Articles → .NET DESIGN PATTERN → Repository Pattern In C#
Repository Pattern In C#
What Is A Repository Pattern?
- Identify the entities like employee, department, salary etc.
- Create a class of the entities.
- Create an interface with all the basic operations i.e. Add, Update, Delete, GetById, GetAll.
- Implement the repository interface.