I used database first and followed this SO question, changed a class and did,
add-migration -context myContext AddNewClassProperty
update-database -context myContext
and it worked fine.
But what if I want to remove a column(s) from the database? Later in development, I determined there should be a new class and a removal of properties from another class.
When I built my Project the errors in my dbContext class manifested because I had removed the properties and thus the modelBuilder.Entity method could not find class members. That makes sense.
What I don't know then is how I make the migration. I tried to add a new migration, but I get same failure.
How do I do the migration from the PMC? It is true I am going back and forth with database and code first. Perhaps that is causing me woe now.