Click here to Skip to main content
15,896,278 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Code First, do you like it? Pin
Slacker00710-Feb-16 3:43
professionalSlacker00710-Feb-16 3:43 
GeneralRe: Code First, do you like it? Pin
Amarnath S10-Feb-16 4:23
professionalAmarnath S10-Feb-16 4:23 
GeneralRe: Code First, do you like it? Pin
Slacker00710-Feb-16 4:26
professionalSlacker00710-Feb-16 4:26 
GeneralRe: Code First, do you like it? Pin
Amarnath S10-Feb-16 6:20
professionalAmarnath S10-Feb-16 6:20 
AnswerRe: Code First, do you like it? Pin
Marc Clifton10-Feb-16 3:04
mvaMarc Clifton10-Feb-16 3:04 
GeneralRe: Code First, do you like it? Pin
Slacker00710-Feb-16 3:06
professionalSlacker00710-Feb-16 3:06 
AnswerRe: Code First, do you like it? Pin
Foothill10-Feb-16 3:06
professionalFoothill10-Feb-16 3:06 
AnswerRe: Code First, do you like it? Pin
Tom Deketelaere10-Feb-16 3:41
professionalTom Deketelaere10-Feb-16 3:41 
Never liked the code first approach.

I'm currently working on a project where it used to be code first, so the database was created by code. (due to external factors we now have database first, but that's to long to explain)
Whoever did it messed up royally.
- Many to many relationships where there should be one to many.
- Tables that just don't make sense.
- Overly complicated structures.
- Datatypes that just don't make sense.
- Missing foreign keys.
- ...
It's a major pain to work with it now (even with database first) due to those things, unfortunately the database can't be changed anymore so I'm stuck with it (some things I can still fix but most I can't, not without rewriting a major part off the code).
About 30% of the tables in that db shouldn't even exist so...

If you'r going code first make sure you have a good handle on it because if done wrong it can be a nightmare to work with.
Tom

GeneralRe: Code First, do you like it? Pin
Slacker00710-Feb-16 3:51
professionalSlacker00710-Feb-16 3:51 
AnswerRe: Code First, do you like it? Pin
User 483504710-Feb-16 3:42
User 483504710-Feb-16 3:42 
AnswerRe: Code First, do you like it? Pin
Duncan Edwards Jones10-Feb-16 4:03
professionalDuncan Edwards Jones10-Feb-16 4:03 
GeneralRe: Code First, do you like it? Pin
Slacker00710-Feb-16 4:35
professionalSlacker00710-Feb-16 4:35 
GeneralRe: Code First, do you like it? Pin
Duncan Edwards Jones10-Feb-16 4:42
professionalDuncan Edwards Jones10-Feb-16 4:42 
AnswerRe: Code First, do you like it? Pin
Dave Kreskowiak10-Feb-16 4:29
mveDave Kreskowiak10-Feb-16 4:29 
GeneralRe: Code First, do you like it? Pin
Slacker00710-Feb-16 4:37
professionalSlacker00710-Feb-16 4:37 
AnswerRe: Code First, do you like it? Pin
Marco Bertschi10-Feb-16 5:24
protectorMarco Bertschi10-Feb-16 5:24 
AnswerRe: Code First, do you like it? Pin
pkfox10-Feb-16 5:32
professionalpkfox10-Feb-16 5:32 
GeneralRe: Code First, do you like it? Pin
PIEBALDconsult10-Feb-16 12:44
mvePIEBALDconsult10-Feb-16 12:44 
AnswerRe: Code First, do you like it? Pin
dazfuller10-Feb-16 20:49
dazfuller10-Feb-16 20:49 
AnswerRe: Code First, do you like it? Pin
Flo Lee10-Feb-16 20:54
Flo Lee10-Feb-16 20:54 
AnswerRe: Code First, do you like it? Pin
dietmar paul schoder10-Feb-16 21:38
professionaldietmar paul schoder10-Feb-16 21:38 
AnswerRe: Code First, do you like it? Pin
Quirkafleeg10-Feb-16 21:42
Quirkafleeg10-Feb-16 21:42 
AnswerRe: Code First, do you like it? Pin
boarderstu11-Feb-16 0:53
boarderstu11-Feb-16 0:53 
AnswerRe: Code First, do you like it? Pin
Member 1223953511-Feb-16 1:12
Member 1223953511-Feb-16 1:12 
AnswerRe: Code First, do you like it? Pin
Nathan Minier11-Feb-16 1:42
professionalNathan Minier11-Feb-16 1:42 

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.