New to Entity framework.
I am using EF4 and I have implemented for now Database first using Stored procedures.
I have noticed that when I launch the application and regardless which stored procedure is invoked it takes 6 seconds .After that even if call another stored procedure that has never been called before the response is fast.
Is there a trick when you create entity context for the first time?
Has anybody experiencied the same?
thanks a lot
This looks like the view generation is performed, and it takes the most of the time.
Take a look at this article, these recommendations should improve the situation.
More information about EF performance is available here.