Repository design pattern - should there be one repo for every Dao?
问题 i have a few DAOs in my app which access a database for CRUD operations. Lets say there News, weather and , sports DAO. So im confused on how many Repositories i would need. should i just use one repository say DataRepository and let me hold my database and all dao's. and encapsulate methods for the CRUD operations in it ? or should each DAO have its own repository ? I mean a repository should return only data objects that the calling layer understands. so its like a encapsulation over the