Click here to Skip to main content
16,018,949 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Entity Framework : Too slow when executing the first query Pin
Mycroft Holmes25-May-15 19:38
professionalMycroft Holmes25-May-15 19:38 
GeneralRe: Entity Framework : Too slow when executing the first query Pin
satc25-May-15 19:42
satc25-May-15 19:42 
GeneralRe: Entity Framework : Too slow when executing the first query Pin
Mycroft Holmes25-May-15 19:46
professionalMycroft Holmes25-May-15 19:46 
GeneralRe: Entity Framework : Too slow when executing the first query Pin
Sascha Lefèvre3-Jun-15 15:41
professionalSascha Lefèvre3-Jun-15 15:41 
GeneralRe: Entity Framework : Too slow when executing the first query Pin
Mycroft Holmes3-Jun-15 16:08
professionalMycroft Holmes3-Jun-15 16:08 
GeneralRe: Entity Framework : Too slow when executing the first query Pin
Sascha Lefèvre3-Jun-15 16:25
professionalSascha Lefèvre3-Jun-15 16:25 
AnswerRe: Entity Framework : Too slow when executing the first query Pin
satc25-May-15 16:47
satc25-May-15 16:47 
AnswerRe: Entity Framework : Too slow when executing the first query Pin
Sascha Lefèvre25-May-15 17:17
professionalSascha Lefèvre25-May-15 17:17 
Not all problems can be identified or diagnosed in a couple of forum posts. Any maybe your problem is rather uncommon so maybe no one here has experienced it himself yet or the right person to answer your question hasn't visited this forum yet. You'll either need to be more patient or conduct some research yourself: You could make a backup of your project and database and strip things out one by one in order to identify the relevant factors.

edit:
Theoretically it could also be not directly related to EF but some of your code that for whatever reason gets executed too for every first query. I assume you haven't profiled your code yet - get some profiler and take a look at your query execution:
https://www.google.com/search?q=c%23+performance+profiler&ie=utf-8&oe=utf-8[^]
If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson


modified 26-May-15 0:18am.

QuestionToolTop Control Pin
Helium9921-May-15 19:35
Helium9921-May-15 19:35 
AnswerRe: ToolTop Control Pin
Eddy Vluggen22-May-15 2:14
professionalEddy Vluggen22-May-15 2:14 
GeneralRe: ToolTop Control Pin
Helium9923-Jun-15 16:25
Helium9923-Jun-15 16:25 
GeneralRe: ToolTop Control Pin
Eddy Vluggen23-Jun-15 22:26
professionalEddy Vluggen23-Jun-15 22:26 
GeneralRe: ToolTop Control Pin
Helium9923-Jun-15 22:36
Helium9923-Jun-15 22:36 
GeneralRe: ToolTop Control Pin
Eddy Vluggen23-Jun-15 22:52
professionalEddy Vluggen23-Jun-15 22:52 
QuestionAn universal way to backup / Restore database to SQL server from vb.net Pin
satc21-May-15 19:33
satc21-May-15 19:33 
AnswerRe: An universal way to backup / Restore database to SQL server from vb.net Pin
Chris Quinn21-May-15 20:40
Chris Quinn21-May-15 20:40 
GeneralRe: An universal way to backup / Restore database to SQL server from vb.net Pin
satc21-May-15 20:49
satc21-May-15 20:49 
GeneralRe: An universal way to backup / Restore database to SQL server from vb.net Pin
Chris Quinn21-May-15 22:16
Chris Quinn21-May-15 22:16 
AnswerRe: An universal way to backup / Restore database to SQL server from vb.net Pin
Eddy Vluggen22-May-15 2:13
professionalEddy Vluggen22-May-15 2:13 
GeneralRe: An universal way to backup / Restore database to SQL server from vb.net Pin
satc22-May-15 10:37
satc22-May-15 10:37 
GeneralRe: An universal way to backup / Restore database to SQL server from vb.net Pin
Eddy Vluggen23-May-15 4:56
professionalEddy Vluggen23-May-15 4:56 
GeneralRe: An universal way to backup / Restore database to SQL server from vb.net Pin
satc23-May-15 18:03
satc23-May-15 18:03 
GeneralRe: An universal way to backup / Restore database to SQL server from vb.net Pin
Eddy Vluggen24-May-15 0:48
professionalEddy Vluggen24-May-15 0:48 
GeneralRe: An universal way to backup / Restore database to SQL server from vb.net Pin
satc24-May-15 8:19
satc24-May-15 8:19 
GeneralRe: An universal way to backup / Restore database to SQL server from vb.net Pin
Eddy Vluggen24-May-15 8:46
professionalEddy Vluggen24-May-15 8:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.