<?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 : Possible Bug?</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Possible Bug?</description>
  <pubDate>Sat, 11 Apr 2026 11:19:36 -700</pubDate>
  <lastBuildDate>Wed, 23 Jun 2010 18:19:31 -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=1906</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>Possible Bug? : Bevery careful with inheritance...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1906&amp;PID=7397#7397</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> 1906<br /><strong>Posted:</strong> 23-Jun-2010 at 6:19pm<br /><br />Be&nbsp;very careful with inheritance in the Entity Framework.&nbsp; If you have many subclasses for a common base table, the performance can be extremely bad.<DIV>&nbsp;</DIV><DIV>(For others reading this thread, note that this is different from an injected base class, which is purely a&nbsp;.NET&nbsp;object model concept that is independent from the data store - and works&nbsp;just fine.)</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 23 Jun 2010 18:19:31 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1906&amp;PID=7397#7397</guid>
  </item> 
  <item>
   <title>Possible Bug? : Nico, thanks for you reply. I&amp;#039;d...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1906&amp;PID=7390#7390</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=443" rel="nofollow">msosa</a><br /><strong>Subject:</strong> 1906<br /><strong>Posted:</strong> 23-Jun-2010 at 11:09am<br /><br />Nico, thanks for you reply. I'd tried what you suggested and you are correct! I had to change the thinks a little bit, but it worked. <br /><br />I was using a Query so:<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var query = mgr.Persons.Where(p =&gt; p is User).Select(p =&gt; p as User);<br /><br />That gave me what I needed.<br /><br />Thanks a lot.<br /><br /><br />]]>
   </description>
   <pubDate>Wed, 23 Jun 2010 11:09:20 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1906&amp;PID=7390#7390</guid>
  </item> 
  <item>
   <title>Possible Bug? : Hi,  What i have noticed during...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1906&amp;PID=7388#7388</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=822" rel="nofollow">NicoS</a><br /><strong>Subject:</strong> 1906<br /><strong>Posted:</strong> 23-Jun-2010 at 6:51am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>What i have noticed during my evaluation of DevForce is that the Person entityquery in your case&nbsp;can return all derived classes of Person.</DIV><DIV>To retrieve the User objects i used a query something like this:</DIV><DIV>&nbsp;</DIV><DIV>var q = from p in manager.Persons</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; where p is User</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; select p;</DIV><DIV>&nbsp;</DIV><DIV>I couldnt find OfType linq support.</DIV><DIV>I didnt test if all Person objects where transfed over the wire or that only Users where transferd.</DIV><DIV>&nbsp;</DIV><DIV>Correct me if im wrong, im a newbie.</DIV><DIV>&nbsp;</DIV><DIV>Hth, best regagrds,</DIV><DIV>Nico Schoemaker</DIV>]]>
   </description>
   <pubDate>Wed, 23 Jun 2010 06:51:26 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1906&amp;PID=7388#7388</guid>
  </item> 
  <item>
   <title>Possible Bug? : Hi, Im having a problem with the...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1906&amp;PID=7376#7376</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=443" rel="nofollow">msosa</a><br /><strong>Subject:</strong> 1906<br /><strong>Posted:</strong> 22-Jun-2010 at 2:46pm<br /><br />Hi, Im having a problem with the model generation. For example if I create an entity (named Person) and then another derived (via Add/Inheritance, named User), I only get an entityquery for Person, not for User.How can I retrieve all the Users only? <br />Im using the latest trial of devforce for SL.<br /><br />Thanks.]]>
   </description>
   <pubDate>Tue, 22 Jun 2010 14:46:10 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1906&amp;PID=7376#7376</guid>
  </item> 
 </channel>
</rss>