<?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 : DF EDM not seen in Domain Service Class</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : DF EDM not seen in Domain Service Class</description>
  <pubDate>Wed, 29 Jul 2026 14:04:07 -700</pubDate>
  <lastBuildDate>Sat, 15 Jan 2011 19:37:39 -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=2441</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>DF EDM not seen in Domain Service Class : Thanks again for the fast &amp;amp;...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2441&amp;PID=9664#9664</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1048" rel="nofollow">tscheffel</a><br /><strong>Subject:</strong> 2441<br /><strong>Posted:</strong> 15-Jan-2011 at 7:37pm<br /><br />Thanks again for the fast &amp; informative reply.&nbsp; Deleting the file link did indeed solve the problem.<DIV>&nbsp;</DIV><DIV>I agree that DF should clean up the link when DF removes the file&nbsp;as part of good garbage collection (how this hasn't been previously identified as a problem puzzles me).</DIV><DIV>&nbsp;</DIV><DIV>Finally, I&nbsp;vote for the future enhancement that DF should add a custom DevForce Entity Data Model item template instead of&nbsp;quietly modifying the existing VS template.&nbsp; Thus, any templates that DevForce adds/modifies should clearly be labeled as DevForce XXX, in my humble opinion.&nbsp; This will help prevent confusion and let we developers know what DF has messed with.</DIV><DIV>&nbsp;</DIV><DIV>Thanks &amp; take care.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Sat, 15 Jan 2011 19:37:39 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2441&amp;PID=9664#9664</guid>
  </item> 
  <item>
   <title>DF EDM not seen in Domain Service Class : You&amp;#039;re getting that error...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2441&amp;PID=9663#9663</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 2441<br /><strong>Posted:</strong> 15-Jan-2011 at 6:58pm<br /><br />You're getting that error because the Silverlight project is still trying to link to the Model1.IB.Designer.cs file, which no longer exists.&nbsp;&nbsp; We don't do cleanup of links when the file is removed (and maybe we should ...).&nbsp; If you remove the file from the SL project that will fix the error.<DIV>&nbsp;</DIV><DIV>Why did we not add a DevForce EDM template?&nbsp; Well, we like all the wizardry of the Add Entity Model wizard and EDM designer.&nbsp;&nbsp; DevForce "enabled" means we add several additional properties and custom code generation, but we still rely on all the features built into EF.&nbsp; Could we hijack their template and provide a customized DevForce EDM project item template?&nbsp; Possibly.&nbsp; It's an interesting idea and&nbsp;might be something worth looking into.</DIV>]]>
   </description>
   <pubDate>Sat, 15 Jan 2011 18:58:32 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2441&amp;PID=9663#9663</guid>
  </item> 
  <item>
   <title>DF EDM not seen in Domain Service Class : First, many thanks for your informative...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2441&amp;PID=9662#9662</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1048" rel="nofollow">tscheffel</a><br /><strong>Subject:</strong> 2441<br /><strong>Posted:</strong> 15-Jan-2011 at 6:42pm<br /><br />First, many thanks for your informative reply!<DIV>&nbsp;</DIV><DIV>Regarding option (1) - Disabling IB OM DE via the Extension Manager does the trick, albeit requiring a VS restart.</DIV><DIV>&nbsp;</DIV><DIV>Regarding option (2) - When I set the EDM's DevForce Enabled property to False, I can indeed add a Domain Service Class that sees the EDM.&nbsp; However, when I&nbsp;recompile the app I receive&nbsp;an error:&nbsp;&#091;Source file 'C:\...\Models\Model1.IB.Designer.cs' could not be opened ('Unspecified error ')&#093;.&nbsp; <strong>This error happens whether or not I add the Domain Service Class</strong>. When I set it back to True (and delete the DSC, if added) &amp; recompile, no error is encountered (but then I can't add a DSC).&nbsp; Any thoughts?</DIV><DIV>&nbsp;</DIV><DIV>A question you probably can't answer is why the heck didn't they just add a "DevForce EDM" template instead of hijacking the existing ADO.Net EDM template?&nbsp; This would be akin to&nbsp;adding other custom DevForce&nbsp;templates, e.g. DevForce Silverlight Application.</DIV><DIV>&nbsp;</DIV><DIV>Again, thanks for your reply.</DIV>]]>
   </description>
   <pubDate>Sat, 15 Jan 2011 18:42:35 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2441&amp;PID=9662#9662</guid>
  </item> 
  <item>
   <title>DF EDM not seen in Domain Service Class : The DevForce OM Designer Extension...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2441&amp;PID=9660#9660</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 2441<br /><strong>Posted:</strong> 15-Jan-2011 at 5:16pm<br /><br />The DevForce OM Designer Extension is what's causing your EDM to be generated as a DevForce model.&nbsp; You can turn it off in two ways:&nbsp; 1) disable the extension in VS&nbsp;- go to Tools | Extension Manager, then select the extension and hit the disable button, or 2) set the "DevForce Enabled" flag to false in the EDM Properties window shown when the designer is open and the model itself is selected.<DIV>&nbsp;</DIV><DIV>The Domain Service wizard is looking for an EF Object Context (or Linq to SQL DataContext).&nbsp; When the model is generated by DevForce there's only the DF EntityManager, which RIA doesn't recognize.&nbsp;</DIV>]]>
   </description>
   <pubDate>Sat, 15 Jan 2011 17:16:46 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2441&amp;PID=9660#9660</guid>
  </item> 
  <item>
   <title>DF EDM not seen in Domain Service Class : I am using DevForce Universal...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2441&amp;PID=9657#9657</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1048" rel="nofollow">tscheffel</a><br /><strong>Subject:</strong> 2441<br /><strong>Posted:</strong> 14-Jan-2011 at 6:28pm<br /><br /><DIV>I am using DevForce Universal 6.0.7 Express via VS2010 Pro on a WIN XP Pro&nbsp;machine in order to reevaluate Silverlight (I looked at version 2 and quickly ran away) and also to weigh using DF vs. RIA Services.&nbsp; I've gone through quite a few tutorials, both standard SL and DF SL.</DIV><P>Now the problem: When I&nbsp;create a new (non-DF) Silverlight 4 Business Application project in VS2010 and add an ADO.Net Entity Data Model to the web project, the project template adds 3 IdeaBlade DLLs to the web and SL projects (plus the .tt and other files).&nbsp; When I then try to add a Domain Service Class to the web project, the wizard is unable to see the newly-created&nbsp;entities (I've built the solution and even rebooted/restarted VS, per Googled suggestions).</P><DIV>Thus my questions:</DIV><DIV>1) How do I add a plain old (non-DevForce/IdeaBlade) ADO.Net EDM to my project via VS2010?</DIV><DIV>2) Even with the (DF/IB) EDM added to the project, why is the Domain Service Class wizard unable to see the entities? Does the EDM being DF-related affect its visibility to the DSC wizard?&nbsp; I assume not--I'm probably just making a non-obvious stupid mistake or I'm mixing apples with oranges.</DIV><DIV>&nbsp;</DIV><DIV>Since the EDM template seems to have been hijacked by DF/IB, I'm posting the query here.&nbsp; Thanks for your time and attention.</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 14 Jan 2011 18:28:14 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2441&amp;PID=9657#9657</guid>
  </item> 
 </channel>
</rss>