<?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 : Errors compiling QueryExplorer Sample</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2009 : Errors compiling QueryExplorer Sample</description>
  <pubDate>Tue, 28 Apr 2026 00:13:36 -700</pubDate>
  <lastBuildDate>Mon, 01 Dec 2008 13:47:29 -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=1008</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>Errors compiling QueryExplorer Sample : Thanks, Greg. One good thing about...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1008&amp;PID=3666#3666</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=269" rel="nofollow">thecotton</a><br /><strong>Subject:</strong> 1008<br /><strong>Posted:</strong> 01-Dec-2008 at 1:47pm<br /><br />Thanks, Greg. One good thing about us as software developers -&nbsp;we are flexible and can take those whips and chains with gusto. I don't envy you guys having to fight battles out on the cutting edge. It's tough enough with you as a buffer between me and Microsoft...]]>
   </description>
   <pubDate>Mon, 01 Dec 2008 13:47:29 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1008&amp;PID=3666#3666</guid>
  </item> 
  <item>
   <title>Errors compiling QueryExplorer Sample : Those five errors result from...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1008&amp;PID=3665#3665</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> 1008<br /><strong>Posted:</strong> 01-Dec-2008 at 12:32pm<br /><br /><DIV>Those five errors result from design changes to the Entity Framework between beta 3 and the release version. </DIV><DIV>&nbsp;</DIV><DIV>The first thing to know is that the QueryExplorer will run just fine even though these errors are generated. The .NET version of the Entity Data Model still compiles just fine.</DIV><DIV>&nbsp;</DIV><DIV>Now for the gory details.</DIV><DIV>&nbsp;</DIV><DIV>Regarding the errors referencing ComplexTypes and the Address Property (which is modelled as a ComplexType):</DIV><DIV>&nbsp;</DIV><DIV>Although the EDM itself supports complex types, the EDM designer has never supported them. Previously this was accepted as a fact of life, but I guess Microsoft got the designer to the point where they felt people should be able to depend on it for serious work, so they started generating the compiler error about complex types.&nbsp; This error was new with the release version.</DIV><DIV>&nbsp;</DIV><DIV>Regarding the errors referencing the conditions on the OrderDetails primary key:<BR></DIV><DIV>The referenced condition occurs on AssociationSetMappings between OrderDetails, and Order and Product, respectively. I don't really know details except that the statements that impose the conditions can re commented out without any apparent effect except to get rid of the error. I conclude that they were needed or at least considered appropriate by the compiler in earlier releases, but not any more.</DIV><DIV>&nbsp;</DIV><DIV>Our original objective with the QueryExplorer was to use DevForceEF queries against exactly the same Entity Data Model provided by Microsoft - which objective we accomplished. Unfortunately, Microsoft never updated the NorthwindEF model to work without errors against the release version of EF, so we now have a choice between diverging from the Microsoft model, or using it with errors. For the moment we're doing the latter, but if they don't release something before too much longer we'll probably just try to produce a version of the same model that supports all (or as many as possible) of the queries defined in the Query Explorer, but doesn't generate errors and does display in the EDM designer.</DIV><DIV>&nbsp;</DIV><DIV>Greg</DIV><DIV><BR>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 01 Dec 2008 12:32:12 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1008&amp;PID=3665#3665</guid>
  </item> 
  <item>
   <title>Errors compiling QueryExplorer Sample : When I try to compile QueryExplorer...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1008&amp;PID=3658#3658</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=269" rel="nofollow">thecotton</a><br /><strong>Subject:</strong> 1008<br /><strong>Posted:</strong> 27-Nov-2008 at 7:53pm<br /><br /><DIV>When I try to compile QueryExplorer sample, I get the following 5 errors:</DIV><DIV>Error 11005: ComplexType elements are not supported in the Entity Designer.&nbsp;D:\DevForce EF Samples\Learning Units\200 Intermediate\LINQ, Entity SQL, Deployment Tester\02 Tutorials\Query Explorer\CS\Completed_Pt1\NorthwindEFServer\NorthwindEFServer.edmx&nbsp;10&nbsp;7&nbsp;NorthwindEFServer<BR></DIV><DIV>Error 11009: Property 'Address' is not mapped.&nbsp;D:\DevForce EF Samples\Learning Units\200 Intermediate\LINQ, Entity SQL, Deployment Tester\02 Tutorials\Query Explorer\CS\Completed_Pt1\NorthwindEFServer\NorthwindEFServer.edmx&nbsp;128&nbsp;11&nbsp;NorthwindEFServer<BR></DIV><DIV>Error 11009: Property 'Address' is not mapped.&nbsp;D:\DevForce EF Samples\Learning Units\200 Intermediate\LINQ, Entity SQL, Deployment Tester\02 Tutorials\Query Explorer\CS\Completed_Pt1\NorthwindEFServer\NorthwindEFServer.edmx&nbsp;159&nbsp;11&nbsp;NorthwindEFServer<BR></DIV><DIV>Error 11012: Entity type 'OrderDetails' contains a condition on its primary key. Please remove the condition from the mapping.&nbsp;D:\DevForce EF Samples\Learning Units\200 Intermediate\LINQ, Entity SQL, Deployment Tester\02 Tutorials\Query Explorer\CS\Completed_Pt1\NorthwindEFServer\NorthwindEFServer.edmx&nbsp;753&nbsp;13&nbsp;NorthwindEFServer<BR></DIV><DIV>Error 11012: Entity type 'OrderDetails' contains a condition on its primary key. Please remove the condition from the mapping.&nbsp;D:\DevForce EF Samples\Learning Units\200 Intermediate\LINQ, Entity SQL, Deployment Tester\02 Tutorials\Query Explorer\CS\Completed_Pt1\NorthwindEFServer\NorthwindEFServer.edmx&nbsp;788&nbsp;13&nbsp;NorthwindEFServer<BR></DIV><DIV>Using DevForce EF V4.2.1.6, VS2008 SP1, and Framework 3.5 SP1. </DIV><DIV>&nbsp;</DIV><DIV>Any ideas what is not installed correctly?</DIV>]]>
   </description>
   <pubDate>Thu, 27 Nov 2008 19:53:17 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1008&amp;PID=3658#3658</guid>
  </item> 
 </channel>
</rss>