<?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 Models</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : Multiple Models</description>
  <pubDate>Wed, 15 Apr 2026 19:58:53 -700</pubDate>
  <lastBuildDate>Mon, 09 Jun 2008 07:00:07 -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=834</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 Models : THe application that I am creating...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=834&amp;PID=3049#3049</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=90" rel="nofollow">DataMan</a><br /><strong>Subject:</strong> 834<br /><strong>Posted:</strong> 09-Jun-2008 at 7:00am<br /><br /><P>THe application that I am creating can be sold to companies using different ERP systems like Microsoft GP, Axapta, and Standalone.&nbsp; I have built three seperate models in different visual studio projects and depending on which backend ERP system the user has I simply send them the install files that has the proper&nbsp;model.dll file for their backend.</P><DIV>I'm trying to limit the amount of work that it takes to modify those 3 model projects.&nbsp; Currently any changes I make in one I have to make sure I make in all of them.</DIV><DIV>&nbsp;</DIV><DIV>There are only 4 classes/tables that are different in each backend database type and the other 20 or so are the same.&nbsp; I was thinking I would split the 20 tables into a single model file and the different tables would stay in three other model files.&nbsp; Then I can change the 20 all I want and I wouldn't have to worry about syncing them up.</DIV><DIV>&nbsp;</DIV><DIV>So I would have:</DIV><DIV>App_base_model&nbsp; contains 20 tables A,B,C etc</DIV><DIV>App_GP_Model&nbsp; contains 4 tables&nbsp; w1,x1,y1,z1</DIV><DIV>App_StandAlone_Model contains 4 tables&nbsp; w2,x2,y2,z2</DIV><DIV>App_AX_Model contains 4 tables&nbsp; w3,x3,y3,z3</DIV><DIV>&nbsp;</DIV><DIV>The first issue that I can see is relationships between the two models.&nbsp; Can you programtically create a relationship between 2 different model files?&nbsp; i.e. a relationship between A -&gt;w1?&nbsp; I know that you can create relationships in code but this would be a relationship between 2 different models.</DIV><DIV>&nbsp;</DIV><DIV>Are there any other issues with the persistance manager that would need to be addressed?</DIV><DIV>&nbsp;</DIV><DIV>Any thoughts would be appreciated.</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 09 Jun 2008 07:00:07 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=834&amp;PID=3049#3049</guid>
  </item> 
 </channel>
</rss>