I was having issues with a model not syncing with what Entity Framework thought was the current version so I wiped out all the migrations and started over as per this post.
After the reset. I went to enable Entity Framework and it gave this error.
More than one context type was found in the assembly 'Proj'. To enable migrations for Proj.Models.UsersContext, use Enable-Migrations -ContextTypeName Proj.Models.UsersContext. To enable migrations for Proj.Models.InjuriesContext, use Enable-Migrations -ContextTypeName PamperWeb.Models.InjuriesContext. ...for all my contexts
I was able to enable the first context, Users, but then when I tried to enable another I get an error saying
Migrations have already been enabled in project 'Proj'. To overwrite the existing migrations configuration, use the -Force parameter.
Apparently I am way off in how MVC and Entity Framework work. I have contexts set up in each of my model classes. Should I just have one Context and all my DBsets in that context? If so does it matter which model class file this one context goes with? All my current context's point to the same database.