Click here to Skip to main content
15,914,070 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Entity Framework : Too slow when executing the first query Pin
Mycroft Holmes25-May-15 15:45
professionalMycroft Holmes25-May-15 15:45 
GeneralRe: Entity Framework : Too slow when executing the first query Pin
Dave Kreskowiak25-May-15 16:16
mveDave Kreskowiak25-May-15 16:16 
GeneralRe: Entity Framework : Too slow when executing the first query Pin
Mycroft Holmes25-May-15 17:03
professionalMycroft Holmes25-May-15 17:03 
GeneralRe: Entity Framework : Too slow when executing the first query Pin
satc25-May-15 17:30
satc25-May-15 17:30 
GeneralRe: Entity Framework : Too slow when executing the first query Pin
Mycroft Holmes25-May-15 19:43
professionalMycroft Holmes25-May-15 19:43 
GeneralRe: Entity Framework : Too slow when executing the first query Pin
satc25-May-15 20:03
satc25-May-15 20:03 
GeneralRe: Entity Framework : Too slow when executing the first query Pin
Sascha Lefèvre25-May-15 17:50
professionalSascha Lefèvre25-May-15 17:50 
GeneralRe: Entity Framework : Too slow when executing the first query Pin
Mycroft Holmes25-May-15 19:38
professionalMycroft Holmes25-May-15 19:38 
No you are correct it is just a code generation tool (ClassBuilder), I have a bunch of conventions, first field in a table will be the primary key, every table has modified date, each table with a FK will have a view, table name prefixed with vw and a few more.

Projects have a defined structure, models , viewmodels, DAL etc all have defined folders so the code gen can easily find the find the target .cs files.

ClassBuilder generates the CRUD stored procedures, models, data access and interface code is places their files in #regions. Enums and grid xaml is created on demand. #regions are replaced in existing .cs files when there are changes to the table/views.

I pinched ClassBuilder and DBOps from another developer in the 90s, written in VB5 I think. They have been rewritten many times in quite a few languages but have retained the same basic structure. I even have a DBOps for Oracle somewhere.

I guess it generates about 60% of my code, hand coded stored procs and the UI are all manual. Snippets in VS do another 10% of the UI code.

Send me an email and I will happily share it, I thought DBOps was in one of my articles but I was wrong.
Never underestimate the power of human stupidity
RAH

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 
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 

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.