<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : Object Graph Navigation</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : Object Graph Navigation</description>
  <pubDate>Tue, 14 Apr 2026 16:28:55 -700</pubDate>
  <lastBuildDate>Wed, 18 Jul 2007 09:14:21 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=311</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>Object Graph Navigation : There is nothing wrong with either...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=311&amp;PID=718#718</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=23" rel="nofollow">davidklitzke</a><br /><strong>Subject:</strong> 311<br /><strong>Posted:</strong> 18-Jul-2007 at 9:14am<br /><br /><P>There is nothing wrong with either requerying the PersistenceManager or iterating through the list of child entities one by one.&nbsp; In some cases. this may be the best strategy, but often the best strategy is to use an EntityListManager and a predicate to filter your child entities.&nbsp; This is especially effective when you want your list of child entities to dynamically change without requerying the PersistenceManager.</P><DIV>Read about the EntityListManager in the Developer's Guide and/or study the EntityListManager tutorial (under the BindableList section of the Intermediate tutorials).&nbsp; There is also a nice example of an EntityListManager in both FunHouse and Cabana.</DIV>]]>
   </description>
   <pubDate>Wed, 18 Jul 2007 09:14:21 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=311&amp;PID=718#718</guid>
  </item> 
  <item>
   <title>Object Graph Navigation : A quick question regarding the...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=311&amp;PID=712#712</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=77" rel="nofollow">jozza</a><br /><strong>Subject:</strong> 311<br /><strong>Posted:</strong> 17-Jul-2007 at 9:44pm<br /><br />A quick question regarding the navigation of the object graph: <DIV>&nbsp;</DIV><DIV>Say that I have an object, User. And from that object there is a relation to a collection of objects of type say, Preference. So given this you can do the following:</DIV><DIV>&nbsp;</DIV><DIV>User user = PersistenceManager.DefaultManager.GetEntity&lt;User&gt;(...some query)</DIV><DIV>&nbsp;</DIV><DIV>... And from there you can:</DIV><DIV>&nbsp;</DIV><DIV>user.Preferences which returns&nbsp;a ReadOnlyEntityList&lt;Preference&gt;</DIV><DIV>&nbsp;</DIV><DIV>... Now, my question is, is there anyway that you can then search this list on the key provided in the Preference Table? Or do you have to go back and use the PersistenceManager with a different more specific query to return the data you want? And if so, how would one formulate such a query?</DIV><DIV>&nbsp;</DIV><DIV>I may be missing some vital concept (which I'm pretty sure that I am), but it would seem that the user.Preferences List is only useful if you want to bind the list to something. I on the other hand, would like to be able to navigate via code to the Preferences List and then perform some logic on specific items in the list. It is possible to iterate through the list and find the items of interest, but that just doesn't seem right.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Thanks.</DIV><DIV>&nbsp;</DIV><span style="font-size:10px"><br /><br />Edited by jozza - 17-Jul-2007 at 11:49pm</span>]]>
   </description>
   <pubDate>Tue, 17 Jul 2007 21:44:22 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=311&amp;PID=712#712</guid>
  </item> 
 </channel>
</rss>