EF6 vs2013 32位到DB Oracle 11.2g 64位

时间:2015-12-03 09:25:47

标签: oracle visual-studio-2013 entity-framework-6 odp.net odac

我可以在Windows 32bit上使用Visual-Studio-2013访问数据库oracle 11.2g 64bit,它使用EF6,ODAC 12c Release 3使用Database First方法吗?因为在我尝试之后,当它生成模型db

时会出现错误

我在Web.config中配置了以下内容:

  <configSections>
    <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
    <section name="Oracle.ManagedDataAccess.Client"
             type="OracleInternal.Common.ODPMSectionHandler, Oracle.ManagedDataAccess, Version=4.121.1.0, Culture=neutral, PublicKeyToken=89b483f429c47342" />
  </configSections>

  <entityFramework> 
    <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" />
    <providers>
      <provider invariantName="Oracle.ManagedDataAccess.Client" type="Oracle.ManagedDataAccess.EntityFramework.EFOracleProviderServices, Oracle.ManagedDataAccess.EntityFramework, Version=6.121.2.0, Culture=neutral, PublicKeyToken=89b483f429c47342" />
      <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />

这是错误显示: error message image

0 个答案:

没有答案