Repository Tip - Encapsulate Query Logic

Weekly Dev Tips - A podcast by Steve Smith (@ardalis)

Categories:

The Repository design pattern is one of the most popular patterns in .NET development today. However, depending on its specific implementation, its benefits to the system's design may vary. One thing to watch out for is query logic leaking out of the repository implementation.