title: Entity Framework 4: Why can't I get an ObjectSet of derived entities rather than an ObjectQuery?
body: <p>I have an "Investment" entity that is derived from "BaseEntity".</p>
  
  <p>With <code>_container.BaseEntities.OfType&lt;Investment&gt;()</code> I get an ObjectQuery that always queries the database.</p>
  
  <p>Therefore I would rather have an <code>ObjectSet&lt;Investment&gt;</code>.</p>
  
  <p>I can't understand why EF doesn't support this for derived entities... Or does it? ;)</p>
  
  <p>If I would go ahead and create a "root entity" in EF (which would be silly) that has associations to all my derived entities, I would get EntityCollections for those entities through the navigation properties of that one root-entity. But there must be another way...</p>
  
  <p>Cheers</p>