Click here to Skip to main content
15,885,365 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hello all,
I am new to asp.net mvc,want to create an application where can user Asp.net mvc,Sql,Ef.

Which approach is normally used in Industry dbfirst or codefirst.

What I have tried:

Which approache is normally used in industry
Posted
Updated 14-Jun-21 5:32am

1 solution

The only possible solution to a question like this is "it depends".

If you already have a database, or your team is more comfortable designing a database directly in SQL Server, then use DB first.

If you don't have an existing database, and your team is not comfortable hand-crafting SQL databases, then use code first.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900