Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

What is the better option for entity framework: Code-First or Database-First for performance and flexibility?

user-image
Question added by Anas Elmadhoon , Full Stack Asp.net Web Developer , Freelancer
Date Posted: 2016/10/12
Amr Adel Hassan Madkor
by Amr Adel Hassan Madkor , .Net Developer , Nahdet Misr

i think  data base first is more flexibility and reduce alote of time 

 

Pankaj Mishra
by Pankaj Mishra , Software Engineering Analyst , Accenture

Both the approaches have there own set of advantages and disadvantages but as per my work experience and knowledge Database first(Schema first) approach is more flexible and less time consuming.

One of the disadvantage in using Code first approach is that it is more likely to make mistake in this approach when the project scope grows. If there are too many tables with millions of records to be generated using Code first than its more prone to human error.

 

Secondly code first approach is a tedious task and consumes much of the time.

More Questions Like This