@TomB In the Entity class you created in the book you coauthored with Kevin Yank , I discovered that when you created the Author class on page 555 of the book, instead of creating a function to get all authors, you created a function that retrieve jokes based on authors and in the joke entity class, you created a function that retrieves all authors based on their jokes and from it I could deduce from it that the entity class should be used to create an inverse class.
Now, supposing am creating a forum site and I have 2 classes, one called POST or THREAD class and the other called COMMENT class, does that mean now that to retrieve all comments of a post or thread, I have to do that in the POST/THREAD class and to retrieve a post for all comments, I have to do that in the COMMENT class?
The reason why I asked the question is because, I thought, each class should be concern with its own model i.e. a POST/THREAD class should just retrieve post alone and so also with the comment class.
If it should be inverse, like I deduce from your example in the book, how then are we going to code a class like the PROFILE class which will in itself contain other classes like the POST/THREAD class, the COMMENT class, the STATUS class, the VOTES class etc.
I hope you get my question and I eagerly await your answer.