Entity Framework - Use 2 DBContext for the same Database

c# entity-framework entity-framework-6

Popular Answer

The problem is resolved by the link that steve-green posted as the first response to the inquiry.

zzz-13 to zzz:

... use the config file to specify the DbConfiguration instance to use. To do this, set the codeConfigurationType attribute of the entityFramework section. For example:
<entityFramework codeConfigurationType="MyNamespace.MyDbConfiguration, MyAssembly"> ...Your EF config... </entityFramework>

1
5/23/2017 12:10:32 PM


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow