I encountered a problem with multiple context in EF 6. Recently i had splitted my context into three parts and configured them as had been told [here](https://stackoverflow.com/a/21538091/423699)

Everything was fine, until i decided to publish via Visual Studio; because publish wizard detected only one of my context instead of three. And interestingly everytime it detects same context, i couldn't find why, neither first letter of name nor any difference from the others seem cause this.

But i couldn't publish my MVC project because of this. I have to migrate all three contexts while publishing.

After some search, i saw Update-Database command gets connectionstring parameter. This is my last option, if there isn't any way to solve publish wizard i try to update database with this code.