EF core 6.0 never working fine

leo del ciello 66 Reputation points
2022-09-14T08:46:52.413+00:00

I am coming to the conclusion that EF core is nothing but a bunch of bugs .
I was correctly scaffolding a db until this morning .
Now, without absolutely NO CHANGE in the DB schema and the scaffolding command , I realize that suddenly it decided to scaffold the entities with different names . The tables where Suffix +"_" + CityName, and it was scaffolding the entities exactly with the same name : now it decided, without any instructions on my side , to eliminate the underscore , forcing me to change ALL OF MY CODE. HOW IS IT POSSIBLE ?????? I am starting to have enough of this ....

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
697 questions
{count} votes

2 answers

Sort by: Most helpful
  1. leo del ciello 66 Reputation points
    2022-09-14T13:11:50.183+00:00

    all I can say is that everything worked fine until I added a table in another schema . The old schema was left untouched and when I wanted to rescaffold it , everything had changed .... yes its odd ...as it is when it takes words ending with "zia" as plural ....


  2. Karen Payne MVP 35,031 Reputation points
    2022-09-21T08:18:15.307+00:00

    Try EF Core Power Tools which is much easier to reverse engineer and do updates for changes in models.

    243345-efp.png

    0 comments No comments