question

leodelciello-7930 avatar image
0 Votes"
leodelciello-7930 asked karenpayneoregon answered

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 ....

dotnet-entity-framework-core
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Entity Framework seems to work fine for everyone but you. That's a little odd...

Is there any way you can provide reproducible example with the step to reproduce this issue.

0 Votes 0 ·
leodelciello-7930 avatar image
0 Votes"
leodelciello-7930 answered AgaveJoe edited

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 ....

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

The community needs basic information like the database schema, project, steps to reproduce, and the expected results. Then the community can figure out if there is an actual issue with EF or your understanding.

0 Votes 0 ·
karenpayneoregon avatar image
0 Votes"
karenpayneoregon answered

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

243345-efp.png



efp.png (30.5 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.