Click here to Skip to main content
15,910,277 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 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 
I do indeed. You need to spend some time ensuring that your entity changes will produce the database design you're expecting (e.g. table-per-class, table-per-hierarchy etc...) and you may want to write some helpers to make adding things like indexes a bit easier but otherwise I've found it to be a very neat way of doing things.

One thing to consider though is your initial database creation, for this I'd suggest either having a script to create the database and manage the configuration of it (not my preferred) or create a Database Project and output a DACPAC (much better and has better deployment options if you're using MS SQL Server). The reason for this is that if you use something like EF migrations then you'll get default database settings and sizings when it's created which you may not want, using a DACPAC means you get control over things like collation and recovery modes.
Eagles may soar, but weasels don't get sucked into jet engines

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 
GeneralRe: Code First, do you like it? Pin
Slacker00711-Feb-16 2:17
professionalSlacker00711-Feb-16 2:17 
GeneralRe: Code First, do you like it? Pin
Nathan Minier11-Feb-16 2:27
professionalNathan Minier11-Feb-16 2:27 
AnswerRe: Code First, do you like it? Pin
Josh Go11-Feb-16 3:51
Josh Go11-Feb-16 3:51 
GeneralRe: Code First, do you like it? Pin
Slacker00711-Feb-16 6:01
professionalSlacker00711-Feb-16 6:01 
AnswerRe: Code First, do you like it? Pin
canoeman11-Feb-16 14:00
canoeman11-Feb-16 14:00 
AnswerRe: Code First, do you like it? Pin
rjemp11-Feb-16 17:00
rjemp11-Feb-16 17:00 
GeneralFOSW OTD - Feb 10, 2016 - We have a winner Pin
Brittle16189-Feb-16 22:14
Brittle16189-Feb-16 22:14 
GeneralRe: FOSW OTD - Feb 10, 2016 Pin
Jochen Arndt9-Feb-16 22:39
professionalJochen Arndt9-Feb-16 22:39 
GeneralRe: FOSW OTD - Feb 10, 2016 Pin
Brittle16189-Feb-16 22:49
Brittle16189-Feb-16 22:49 
GeneralRe: FOSW OTD - Feb 10, 2016 Pin
Jochen Arndt9-Feb-16 22:54
professionalJochen Arndt9-Feb-16 22:54 
GeneralRe: FOSW OTD - Feb 10, 2016 Pin
Brittle16189-Feb-16 23:06
Brittle16189-Feb-16 23:06 

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.