JetBrains / rider-efcore

Entity Framework Core UI plugin for JetBrains Rider
https://plugins.jetbrains.com/plugin/18147-entity-framework-core-ui
MIT License
180 stars 14 forks source link

Force-Option for Database Scaffolding #168

Closed Tsumiki-Chan closed 1 year ago

Tsumiki-Chan commented 1 year ago

When trying to scaffold a existing database from Tools -> EF Core UI -> Scaffold DBContext I'm missing a Option to set the "--force"-Flag so EF Core recreates the Context and Models/Entities.

This would be useful for Projects with Databases that aren't managed by EF Core.

Currently you would have to delete the Context- and Model/Entities-Folders first before you can scaffold

seclerp commented 1 year ago

Hey @Tsumiki-Chan, in the next release --force will be used by default so no actions from your side except updating is needed.