0

Firstly I scaffolded my database and it created model classes in a folder for the tables.

I am working with the folders organized in such a way that each entity is separated, one in each folder.

When I modified the database and ran the scaffolding again, I get a new Models folder, overwriting the DatabaseContext references.

I want to automate this process, because modifying the references and moving the models to the corresponding folders is quite tedious, does anyone have any ideas?

PS: I'm working With Ardalis clean architecture.

I have tried with many ef scaffold configurations but none works for me.

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459

0 Answers0