
An instance of 'MySqlEFConfiguration' was set but this type was not discovered in the same assembly as the 'OracleDbContext' context. Either put the DbConfiguration type in the same assembly as the DbContext type, use DbConfigurationTypeAttribute on the DbContext type to specify the DbConfiguration type, or set the DbConfiguration type in the config file. See http://go.microsoft.com/fwlink/?LinkId=260883 for more information.
参考:https://stackoverflow.com/questions/26361592/same-application-different-databases-entity-framework-6-x-mysql-sql-server
本文介绍了解决在一个应用程序中使用不同数据库(如MySQL和Oracle)时出现的配置问题的方法。主要探讨了如何正确设置和使用DbConfiguration以确保Entity Framework能够正常工作。

1286

被折叠的 条评论
为什么被折叠?



