.net 您可以将 Microsoft Entity Framework 与 Oracle 一起使用吗?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/82644/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Can you use Microsoft Entity Framework with Oracle?
提问by Xerx
Is it possible to use Microsoft Entity Framework with Oracle database?
是否可以将 Microsoft Entity Framework 与 Oracle 数据库一起使用?
采纳答案by Arno
DevArt's OraDirect provider now supports entity framework. See http://devart.com/news/2008/directs475.html
DevArt 的 OraDirect 提供程序现在支持实体框架。见http://devart.com/news/2008/directs475.html
回答by Venkat
Update:
更新:
Oracle now fully supports the Entity Framework. Oracle Data Provider for .NET Release 11.2.0.3 (ODAC 11.2) Release Notes: http://docs.oracle.com/cd/E20434_01/doc/win.112/e23174/whatsnew.htm#BGGJIEIC
Oracle 现在完全支持实体框架。Oracle Data Provider for .NET Release 11.2.0.3 (ODAC 11.2) 发行说明:http://docs.oracle.com/cd/E20434_01/doc/win.112/e23174/whatsnew.htm#BGGJIEIC
More documentation on Linq to Entities and ADO.NET Entity Framework: http://docs.oracle.com/cd/E20434_01/doc/win.112/e23174/featLINQ.htm#CJACEDJG
有关 Linq to Entities 和 ADO.NET Entity Framework 的更多文档:http: //docs.oracle.com/cd/E20434_01/doc/win.112/e23174/featLINQ.htm#CJACEDJG
Note: ODP.NET also supports Entity SQL.
注意:ODP.NET 也支持实体 SQL。
回答by Gazmo
Oracle have announced a "statement of direction"for ODP.net and the Entity Framework:
Oracle 已经宣布了ODP.net 和实体框架的“方向声明”:
In summary, ODP.Net beta around the end of 2010, production sometime in 2011.
综上所述,ODP.Net 大约在 2010 年底测试版,在 2011 年某个时候生产。
回答by tim theobald
回答by kimsk
In case you don't know it already, Oracle has released ODP.NET which supports Entity Framework. It doesn't support code first yet though.
如果您还不知道,Oracle 已经发布了支持实体框架的 ODP.NET。不过,它还不首先支持代码。
http://www.oracle.com/technetwork/topics/dotnet/index-085163.html
http://www.oracle.com/technetwork/topics/dotnet/index-085163.html
回答by Mateus Benetti
Now has a new nuget package, try use it: https://www.nuget.org/packages/Oracle.ManagedDataAccess.EntityFramework/
现在有了一个新的 nuget 包,尝试使用它:https://www.nuget.org/packages/Oracle.ManagedDataAccess.EntityFramework/
回答by gbjbaanb
The answer is "mostly".
答案是“大部分”。
We've hit a problem using it where the EF generates code that uses the CROSS and OUTER APPLY operators. This link showsthat MS knows its a problem with SQL Server previous to 2005 however, they forget to mention that these operators are not supported by Oracle either.
我们在使用它时遇到了一个问题,即 EF 生成使用 CROSS 和 OUTER APPLY 运算符的代码。此链接显示MS 知道其 2005 年之前的 SQL Server 存在问题,但是他们忘记提及 Oracle 也不支持这些运算符。

