EF Core Migrate Database First to Code First

This blog post is not aimed at writing yet another article about a change in the conceptual approach of database definition. And I won’t discuss the advantages of each technique. This blog post is a link collection to IMHO valuable posts and other references.

The following article discusses the different approaches to creating the database and the Entity Framework Core context and model classes.

Overview (source is the referenced article)

The following article describes the migration to EF Core with database migrations and the required adjustments to the existing (production) database.

Change of technique (source is the references article)

For completeness an article about database migrations. The interesting part for projects with a database (and SQL) first approach, they still can get SQL scripts, even for the delta between database migrations. This is described at the end of the article.




Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert