Hi,
We are re-writing our web applications( at least 3) and unifying our databases into one.
Now the question is do we go Code first or Database first. We will be using MVC 5 and SQL 2014. Any Pros and Cons other than just the preference would be high appreciated
Thank you
Nirmala Thota
Sudeep ChourasiaPosted Sep 29, 2016, 9:52 AM
Ramesh PalaniappanPosted Sep 29, 2016, 8:36 AM
Kunal VaishyaPosted Sep 29, 2016, 2:22 AM
Option 1 - Code first
>> You have to Create Models/Entities and DB will create based on your Models/Entities.
Option 2 - DB first
>> You can create Database first and then add it EF and use it according.
Both the Option is Good but I suggest OPtion 2(DB first) Not Option 1(Code first).
In Option 1(Code first) it is very difficult maintain database changes because you have to change in your Models/Entities.
Regards,
Kunal vaishya.
Lokesh KumarPosted Sep 29, 2016, 12:53 AM
Bikesh SrivastavaPosted Sep 28, 2016, 11:15 PM
Delpin Susai RajPosted Sep 28, 2016, 8:44 AM