In Package Manager Console, I'm trying to update my database. When I enter this command :
add-migration Migration1
And I get this :
More than one migrations configuration type was found in the assembly 'MyProject.POCO'. Specify the name of the one to use.
I googled the error and I get this :
add-migration InitialBSchema -IgnoreChanges -ConfigurationTypeName
ConfigurationB -ProjectName ProjectContextIsInIfNotMainOne
-StartupProjectName NameOfMainProject -ConnectionStringName ContextB
But I don't know how to apply this to my project. What should I write for ConfigurationTypeName? Or is there a simpler way to do this? Thanks.