Where do I implement the fetch for a child of a child.

Where do I implement the fetch for a child of a child.

Old forum URL: forums.lhotka.net/forums/t/3978.aspx


SethSpearman posted on Monday, December 03, 2007

Hello...for you experienced guys I think this is a simple question.

I have a root object - meeting.  In that I have a list - AgendaItems.  Each AgendaItem in the AgendaItems list has a PersonsResponsible list of type PersonResponsible. 

In other words...my child objects have child object.

My question is this.  Am I correct in assuming that there is no way to do a fetch from MEETING that fetches the children of the child.  In other words, in my example, do I have to implement a call to the database in the AgendaItem object. 

I know this is a simple question.  I have used the CodeSmith templates to learn how it all works and there is no way to recreate this example from the templates.  And I believe that rocky does not implement anything like this in the Project Manager.  An example would be great to see.

Thanks.  You guys make this a great forum.

Seth B Spearman

SethSpearman replied on Monday, December 03, 2007

I had tried to google the forum before but finally hit the sweet spot with the search string.

 

This question is asked a lot apparently and I found this previous thread.  So I answered my own question.

http://forums.lhotka.net/forums/thread/8542.aspx

 

Thanks.

Seth

Copyright (c) Marimer LLC