<?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 across Multiple Assemblies</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Multiple Models across Multiple Assemblies</description>
  <pubDate>Tue, 14 Apr 2026 21:07:19 -700</pubDate>
  <lastBuildDate>Tue, 20 Jul 2010 19:52:23 -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=1984</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 across Multiple Assemblies : We did design DevForce to work...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1984&amp;PID=7711#7711</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=477" rel="nofollow">ting</a><br /><strong>Subject:</strong> 1984<br /><strong>Posted:</strong> 20-Jul-2010 at 7:52pm<br /><br />We did design DevForce to work with multiple entity models, but a single EntityManager cannot work with multiple models that are in different assemblies.&nbsp; Using multiple EntityManagers is not uncommon, but I'm not sure that would be a great solution since conceptually all your entities are sourced from the same database.<DIV>&nbsp;</DIV><DIV>If each module is independent, then you could include the core model in all the assemblies and that would promote both code reuse and good integration between the entities.&nbsp; If the modules overlap,&nbsp;there will be a little redundancy and you will have to make sure to import the correct entities when passing information between modules.</DIV><DIV><BR>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 20 Jul 2010 19:52:23 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1984&amp;PID=7711#7711</guid>
  </item> 
  <item>
   <title>Multiple Models across Multiple Assemblies : Hi We are thinking of architecting...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1984&amp;PID=7708#7708</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> 1984<br /><strong>Posted:</strong> 20-Jul-2010 at 5:40pm<br /><br />Hi<DIV>We are thinking of architecting a modularized solution for the new version of our product. What we would like to do is implement a "Core" data model that contains the data required to run the core of our product. Clients can then purchase additional modules, and each module has it's own specific data model and should be able to interact with the data model in the core. How would one go about this using devforce? Is it even possible?</DIV><DIV>&nbsp;</DIV><DIV>So in short we have two assemblies:</DIV><DIV>&nbsp;</DIV><DIV>Data.Core &gt;&gt; Contains for example the personnel records.</DIV><DIV>Data.Attendance &gt;&gt; Contains a bunch of other entities some of which need a reference to personnel.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>I've tried creating a linked file to get the Core Model into the "Attendance" assembly and then trying to set the Entity Manager name to the same in both edmx files, but it still generates constructors in both assemblies for the Entity Manager and the one in core only has the core tables (which you would expect) but the enity manager in the attendance assembly only has the tables for attendance and not the ones that are in the core.</DIV><DIV>&nbsp;</DIV><DIV>Any advice is greatly appreciated. Thanks.</DIV><DIV>&nbsp;</DIV><DIV>Jacob</DIV>]]>
   </description>
   <pubDate>Tue, 20 Jul 2010 17:40:44 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1984&amp;PID=7708#7708</guid>
  </item> 
 </channel>
</rss>