title: Why are my EF Code First pregenerated views having no effect?
body: <p>I have ~300 DbSets in my context and the first query after app load (a FirstOrDefault() where on an indexed field) takes ~40 seconds.</p>
  
  <p>To improve this, I am attempting to use pregenerated views in EF 4.3.1 Code First using the T4 template here:</p>
  
  <p><a href="http://blog.3d-logic.com/2012/06/13/entity-framework-codefirst-view-generation-templates-on-visual-studio-code-gallery/">http://blog.3d-logic.com/2012/06/13/entity-framework-codefirst-view-generation-templates-on-visual-studio-code-gallery/</a></p>
  
  <p>I compile it in, but I see no performance difference.  I was hoping/assuming it would help the painful slow startup I am experiencing, but no luck.  </p>
  
  <p>Should it help?  If not, what exactly are pregenerated views used for?  And, is there anything I <em>can</em> do to improve startup time?  Splitting my context up is painful to say the least.</p>