Data Access Using a Generic Repository in C#
The repository pattern is an abstraction layer which provides a well-organised approach to maintaining a separation between an applications data access and business logic layers. This gives us the important advantages of making code more maintainable and readable and improving the testability of our code. It also works great with dependency injection! When I started [...]