13 ms·
I believe the above poster was saying that you can have your cake and eat it too by making sure that the type is passed at the time of the DAO construction so t
by lenkite 10y ago
I believe the above poster was saying that you can have your cake and eat it too by making sure that the type is passed at the time of the DAO construction so to avoid the need of specifying the type at every method. You can still use a common interface and you don't need to follow a 'bloated active record' style for just doing this.
- gnaritas 10y agoCorrect, glad someone understood it.