I created a Code First class
A database was created in Sql automatically.
I deleted the tables :(
I have migrations enabled:
AutomaticMigrationsEnabled = true; AutomaticMigrationDataLossAllowed = true; Database.SetInitializer(new DropCreateDatabaseAlways<SurveyContext>());
update-database -force Cannot find the object "dbo.CustomerResponses" because it does not exist or you do not have permissions.
In system tables there is a table called
...I deleted it.
In Package manager console ran command "update-database" Problem fixed!