简体   繁体   English

实体框架代码优先使用 Oracle 数据库

[英]Entity Framework Code First With Oracle Database

i am working on a project that requires to be developed using Entity Framework Code First Approach with a local oracle database, but when i am attempting to reflect my first (Initial) model changes to the database using migrations, the package manager console throws the following error Oracle.ManagedDataAccess.Client.OracleException (0x80004005): ORA-00604: error occurred at recursive SQL level 1 ORA-08177: can't serialize access for this transaction我正在开发一个需要使用实体框架代码优先方法和本地 oracle 数据库开发的项目,但是当我尝试使用迁移将我的第一个(初始)模型更改反映到数据库时,包管理器控制台会抛出以下内容错误 Oracle.ManagedDataAccess.Client.OracleException (0x80004005): ORA-00604: 递归 SQL 级别 1 发生错误 ORA-08177: 无法序列化此事务的访问

  • database used: oracle 11g Visual Studio 2015 Oracle.使用的数据库:oracle 11g Visual Studio 2015 Oracle。
  • ManagedDataAccess v 18.3.0 ManagedDataAccess v 18.3.0
  • Oracle.ManagedDataAccess.EntityFramework v 18.3.0 Oracle.ManagedDataAccess.EntityFramework v 18.3.0

any help will be appreciated,,,任何帮助将不胜感激,,,

通过将 oracle 托管数据访问和 oracle MA EF 降级到 12.2.21 解决

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在实体框架中使用数据库优先实体和代码优先实体 - Using database first entity with code first entity in entity framework 首先使用现有数据库的实体框架代码 - entity framework code first using existing database 代码优先实体框架未建立数据库 - Code First Entity Framework not building database 实体框架“代码优先”未创建数据库表 - Entity Framework “Code First” not creating database tables 是否可以将数据库优先模型和代码优先模型与实体框架混合使用? - Is it possible to mix database first and code first models with entity framework? C#:使用Entity Framework代码访问数据库 - C# : Access database with Entity Framework code-First 首先使用实体​​框架代码处理多个数据库及其演变 - Handling multiple database and their evolutions with entity framework code first 实体框架代码优先:两个DbContext和一个数据库初始化程序 - Entity Framework Code First : Two DbContext and one database initializers 使用Entity Framework迁移删除或重新创建数据库(代码优先) - Drop or Recreate database with Entity Framework Migrations (Code-First) 如何使用实体框架生成与SQL Server兼容的数据库(代码优先) - How to generate a SQL Server compatible database with Entity Framework (code first)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM