What is the difference between DAO and Repository patterns?OK, think I can explain better what I've put in comments :). So, basically, you can see both those as the same, though DAO is a more flexible pattern than Repository. If you want to use both, you would use the Repository in your DAO-s.https://stackoverflow.com/questions/8550124/what-is-the-difference-between-dao-and-repository-patterns