<?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 : Multiple table references</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Multiple table references</description>
  <pubDate>Wed, 13 May 2026 14:12:35 -700</pubDate>
  <lastBuildDate>Wed, 21 Dec 2011 14:28:20 -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=3171</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>Multiple table references :    Lawrence,Regarding the first...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3171&amp;PID=12296#12296</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=892" rel="nofollow">sbelini</a><br /><strong>Subject:</strong> 3171<br /><strong>Posted:</strong> 21-Dec-2011 at 2:28pm<br /><br />Lawrence,<div>&nbsp;</div><div>Regarding the first item, do you want to have two associations between&nbsp;tblBills and tblBillDetails? </div><div>The First association appears to be a clear one-to-many association (as in Orders_OrderDetails in NorthwindIB) and there shouldn't be issues there. </div><div>The second association is not clear to me. I'm not familiar with your business logic, and can't think of a case for a second relation either.</div><div>&nbsp;</div><div>For the second item, I still think that my suggestion is still valid (i.e. having a base class for tblBills, tblInvoice, etc. where intTransactionID would be located.</div><div>&nbsp;</div><div>Silvio.</div><span style="font-size:10px"><br /><br />Edited by sbelini - 21-Dec-2011 at 2:36pm</span>]]>
   </description>
   <pubDate>Wed, 21 Dec 2011 14:28:20 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3171&amp;PID=12296#12296</guid>
  </item> 
  <item>
   <title>Multiple table references : Hi Silvio,It&amp;#039;s not actually...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3171&amp;PID=12291#12291</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1247" rel="nofollow">wackywhizz</a><br /><strong>Subject:</strong> 3171<br /><strong>Posted:</strong> 20-Dec-2011 at 7:39pm<br /><br />Hi Silvio,<div><br></div><div>It's not actually an issue but more of a question.. We're currently normalizing our db and we've found difficulties controlling them in EF/DevForce, so what I was asking is if there could be a better approach on our scenarios, whether it be change our schema or handle things in DevForce. I've list down our scenarios below..<br><br></div><div><br></div><div>- A single table with multiple associations to another table. Say we have a tblBills and tblBillDetails. The first association is the intBillID which is taken automatically. The second one is a 'strOriginalBillNumber' field on tblBills that is associated to tblBillDetails' 'strOriginalNumber' field. We're having problems as to how to associate multiple fields between tables..</div><div><br></div><div>- A single column within a table with an association to multiple tables. This is what I was asking on my earlier post. We record all transaction taxes on 'tblTransactionTaxes' that was created from different types of transactions. Different transactions records lie on different tables (tblBills, tblOrders, tblInvoices, etc..) We have a column (intTransactionID) in tblTransactionTaxes that we'd like to link on these tables. Together with another column (strTransactionType) we'd like to link them up on these several tables.</div><div><br></div><div><br></div><div>Thanks,</div><div>Lawrence</div>]]>
   </description>
   <pubDate>Tue, 20 Dec 2011 19:39:55 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3171&amp;PID=12291#12291</guid>
  </item> 
  <item>
   <title>Multiple table references :   Hi Lawrence, What exactly...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3171&amp;PID=12285#12285</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=892" rel="nofollow">sbelini</a><br /><strong>Subject:</strong> 3171<br /><strong>Posted:</strong> 20-Dec-2011 at 11:41am<br /><br />Hi Lawrence,<div> </div><div>What exactly is the issue you are coming across?</div><div> </div><div>Maybe having a base class for tblBills, tblInvoice, etc. where intTransactionID would be. (i.e. in case you want tblTransactionTaxes to reference only one entity)</div><div> </div><div>Silvio.</div>]]>
   </description>
   <pubDate>Tue, 20 Dec 2011 11:41:34 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3171&amp;PID=12285#12285</guid>
  </item> 
  <item>
   <title>Multiple table references : Hi there,I have a table whose...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3171&amp;PID=12281#12281</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1247" rel="nofollow">wackywhizz</a><br /><strong>Subject:</strong> 3171<br /><strong>Posted:</strong> 20-Dec-2011 at 12:48am<br /><br />Hi there,<div><br></div><div>I have a table whose 1 column is supposedly a foreign key from multiple tables.. This is my scenario. I have a 'tblTransactionTaxes' table which has an 'intReferenceID' foreign column. Then I have several transactional tables such as tblBills, tblInvoice, etc.. all of which has an intTransactionID column that i'd like to map to the intReferenceID column on tblTransactionTaxes. I'm having a lot of difficutlies on this. How should I handle these instances on my model using DevForce?</div><div><br></div><div>Thanks,</div><div>Lawrence</div>]]>
   </description>
   <pubDate>Tue, 20 Dec 2011 00:48:54 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3171&amp;PID=12281#12281</guid>
  </item> 
 </channel>
</rss>