C开发者_JAVA百科an anyone point or sketch a VERY BASIC data Mapper Example on CRUD operations, considering that, we have at least two tables related with a foreign key ?
Just trying to follow (and adapt) the quick-start guide with no success so far, so I was wondering if someone could explain a CRUD application using data mapper, better.
I've recently followed along with this one which was great - up to a point: http://survivethedeepend.com/
And there's a few others out there that give this one a nod as inspiration. However, it's not complete and the biggest problem is that it doesn't cover how to retrieve objects by non-ID selection criteria.
That question is actually why I just signed up. :)
Good luck, please let me know if you find a good and complete resource!
精彩评论