Database construction scheme from Entity Framework model

I see that EF can update the model based on the existing database schema. However, I start from scratch; I do not want to create tables and then rebuild them in the EF model file. Is there a way I can extract a model file and SQL tables are automatically created for me?

+3
source share
1 answer

Sorry, you need to wait for version 2 EF.

Here is a link to the EF team blog where they talk about adding Model First support in v2:

One of the most painful omissions of the Entity Framework V1 was the First model, which basically means creating a conceptual β€œfirst model,” and then pulling out the storage model, database, and mappings from it.

[...]

Entity Framework . - , " ".

+3

Source: https://habr.com/ru/post/1699626/


All Articles