Is it possible to rename the namespace of my entire project (including, of course, the DbContext class, migration configuration classes, etc.) without breaking anything or re-creating all my migrations?
Say I have a Project MyProject whose namespace is
Foo.MyProject
And my configuration classes are in
Foo.MyProject.Migrations
Let's say I want to rename the Foo namespace to Bar , and of course the Configurations namespace will now be
Bar.MyProject.Configurations
Is there a proper way to do this and support all my current migrations? These methods include manually editing the ___MigrationHistory table or something else? (At a glance, I see a ContextKey column, which I suspect must manually edit.)
source share