Error 'OracleInternal.Common.ODTSettings.m_bUseLongIdentifiers' While adding migration

.net c# entity-framework entity-framework-6

Question

When I add a code-first EF migration, I get the following error:

Field not found: 'OracleInternal.Common.ODTSettings.m_bUseLongIdentifiers'.

and the migration is not created.

I'm targeting Oracle 12c and verified my connection strings and all the configuration. The same configuration works perfectly in another project.

1
4
10/27/2015 9:47:59 PM

Popular Answer

Apparently the latest stable ODP.net drivers has a bug, you need to down grade your ODP.net drivers to the previous stable version.

Try the following packages;

Install-Package Oracle.ManagedDataAccess -Version 12.1.22

Install-Package Oracle.ManagedDataAccess.EntityFramework -Version 12.1.22

10
10/30/2015 2:00:42 AM


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