<?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 : Relations with more than one entity in between?</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : Relations with more than one entity in between?</description>
  <pubDate>Wed, 10 Jun 2026 22:21:56 -700</pubDate>
  <lastBuildDate>Sat, 20 Sep 2008 12:14:54 -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=943</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>Relations with more than one entity in between? : I believe this should work (in...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=943&amp;PID=3411#3411</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=4" rel="nofollow">GregD</a><br /><strong>Subject:</strong> 943<br /><strong>Posted:</strong> 20-Sep-2008 at 12:14pm<br /><br />I believe this should work (in the Household class):<DIV><FONT size=2></FONT><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>&nbsp;&nbsp;&nbsp; public EntityList&lt;EventTicketSale&gt; TicketSales {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; get {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PersistenceManager pm = this.PersistenceManager;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; EntityList&lt;LineItem&gt;&nbsp;lineItems = <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pm.GetChildren&lt;LineItem&gt;(this.Transactions, EntityRelations.Transaction_LineItem, QueryStrategy.Normal);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; EntityList&lt;TicketSale&gt;&nbsp;ticketSales = <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pm.GetChildren&lt;TicketSale&gt;(lineItems, EntityRelations.LineItem_TicketSale, QueryStrategy.Normal);</FONT></DIV><DIV><FONT size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return ticketSales;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<BR>&nbsp;&nbsp;&nbsp; }<BR></FONT></DIV><DIV><FONT size=2>Greg Dunn</DIV></FONT>]]>
   </description>
   <pubDate>Sat, 20 Sep 2008 12:14:54 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=943&amp;PID=3411#3411</guid>
  </item> 
  <item>
   <title>Relations with more than one entity in between? : Hi, I reviewed the video tutorial...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=943&amp;PID=3409#3409</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=92" rel="nofollow">HFloyd</a><br /><strong>Subject:</strong> 943<br /><strong>Posted:</strong> 19-Sep-2008 at 10:24pm<br /><br />Hi, <br><br>I reviewed the video tutorial on Many-to-Many relations, but can't figure out how to apply it to a relationship that has more than a single entity between the two entities. <br><br>Here is my case:<br><br>I have a Household Entity, which can have many Transactions (like Orders). Each Transaction has many LineItems (like Orderdetail), certain of those LineItems could be for tickets to an event, in which case, related records are added to EventTicketSales (generally including the names of the guests attending the event), so for a LineItem of "Event Tickets Qty = 4", four separate EventTicketSales would be created.<br><br>Here is a diagram of the relations:<br>Household --&gt; Transaction --&gt; LineItem --&gt; EventTicketSale<br><br>I was able to follow the tutorial to create a relation property in Transaction for "EventTicketSales", but an unsure how to create a relation property in Household for "EventTicketSales" since&nbsp; "EntityRelations.Transaction_EventTicketSale" doesn't exist.<br><br>Is there some way to accomplish this?<br><br>Thank you!<br><br>Heather<br>]]>
   </description>
   <pubDate>Fri, 19 Sep 2008 22:24:28 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=943&amp;PID=3409#3409</guid>
  </item> 
 </channel>
</rss>