Tables getting recreated in Database-first approach with EF Core

I’m using the Database first approach with EntityFramework Core. I generated the domain classes and the DbContext class from the existing database by scaffolding. Then when I add the initial migration all the existing tables are re-created in the migration, is there a way to prevent the recreation of already existing tables?

Add Comment
0 Answer(s)

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.