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 ....
EF core 6.0 never working fine
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 ....
2 answers
Sort by: Most helpful
-
-
Karen Payne MVP 35,401 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.