Database First

Jan 15, 2013 at 7:08 AM

Hi, Thank you for your Awesome example of a professional MVC Development ;)

How can I convert the ProDinner project from Codefirst to Database first?!?!?!

Coordinator
Jan 16, 2013 at 10:04 AM

how do you define "Database first" ?

Jan 16, 2013 at 1:30 PM
Edited Jan 16, 2013 at 1:31 PM

I want to create an edmx entity data model and generate project entities and models directly from an existing database...

Coordinator
Jan 16, 2013 at 1:42 PM

current version of prodinner is also using an existing database, 

that's why you run the sql script first and after you can run the solution, but we're not using the edmx file approach

if you want to do that you should change the DAL to use the edmx instead of the Db Context (I've never used edmx)

Jan 16, 2013 at 1:47 PM

Thanks o ;)

I'm obligated to use edmx in my project!!!  :|