New Posts New Posts RSS Feed: Precompiling EF views for DevForce
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Precompiling EF views for DevForce

 Post Reply Post Reply
Author
katit View Drop Down
Senior Member
Senior Member


Joined: 09-Sep-2011
Posts: 146
Post Options Post Options   Quote katit Quote  Post ReplyReply Direct Link To This Post Topic: Precompiling EF views for DevForce
    Posted: 10-Apr-2012 at 4:38pm
Excellent. I started to read articles but never got around to actually use command-line tools. Will give it another try!
Back to Top
DenisK View Drop Down
IdeaBlade
IdeaBlade


Joined: 25-Aug-2010
Posts: 715
Post Options Post Options   Quote DenisK Quote  Post ReplyReply Direct Link To This Post Posted: 10-Apr-2012 at 4:04pm
In case anyone is interested, EF Power Tools, which is the tool being used to pre-compile views for Code First, now has the same pre-compile views command for database first and model first.

Back to Top
DenisK View Drop Down
IdeaBlade
IdeaBlade


Joined: 25-Aug-2010
Posts: 715
Post Options Post Options   Quote DenisK Quote  Post ReplyReply Direct Link To This Post Posted: 30-Mar-2012 at 6:19pm
Hi katit;

That topic is intended mainly for Code First. Please see http://drc.ideablade.com/xwiki/bin/view/Documentation/query-performance#HEntityFrameworkperformancetips if you want to pre-compile views for non Code First model.
Back to Top
katit View Drop Down
Senior Member
Senior Member


Joined: 09-Sep-2011
Posts: 146
Post Options Post Options   Quote katit Quote  Post ReplyReply Direct Link To This Post Posted: 30-Mar-2012 at 9:30am
I'm reading this article and looks like I'm missing something..
 
 
 
I'm not using Code First. And I can't locate DbContext object. All I have is Model.IB.Designer.cs generated by DevForce.
 
How do I precompile views in this case?
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down