How I keep my repositories DRY and simple
A couple of weeks ago, my friend and colleague, Jonas, wrote an article about keeping your project and repositories DRY (Don’t Repeat Yourself). Instead of having a repository for each POCO object within your project, he created a IRepository. A repository each object could use to get the most used methods: GetById() GetAll() Insert() Delete() [...]


Recent Comments