我使用ODP.NET,我需要从我的数据库生成的ORM。
我已经安装了:
的Visual Studio 2010旗舰版 ODAC1120250Beta_EntityFramework_x64.zip在服务器Expolorer我可以看到数据源的Oracle数据库和我能够连接到远程Oracle服务器并运行查询。
当我添加ADO.NET实体数据模型,并想产生code从数据库中,我看不到数据源的Oracle像在服务器资源管理器。
你需要下载一些额外的东西与ODP.NET?
运行实体框架编辑:
使用最新的ODP.NET版本 取消选中的Oracle服务Microsoft事务服务器....在安装过程中 解决方案您必须安装ODAC 11.2.0.2.30或更高, 32位版本。 不支持在早期版本的实体框架和当前未在64位ODAC支持。 看到: https://forums.oracle.com/forums/thread.jspa?threadID=2202085
我这样做(我有Visual Studio 2010专业版SP1上W764),并使用ADO.NET实体数据模型在链接请求良好的工作。
CLASSE链接到SQL不工作。
I am using ODP.NET and I need generate ORM from my database.
I have installed:
Visual Studio 2010 Ultimate ODAC1120250Beta_EntityFramework_x64.zipIn Server Expolorer I can see Data Source for Oracle Database and I am able connect to remote oracle server and run queries.
When I add ADO.NET Entity Data Model and wanna generate code from database I cannot see Data source for oracle like in Server Explorer.
Do you need download some extra stuff to run entity framework with ODP.NET?
EDIT:
Use latest version of ODP.NET Uncheck Oracle services for Microsoft Transaction Server .... During the installation解决方案
You must install ODAC 11.2.0.2.30 or higher, 32-bit version. Entity Framework was not supported in earlier versions and it is not currently supported in 64-bit ODAC. see: https://forums.oracle.com/forums/thread.jspa?threadID=2202085
i do this (i had vs 2010 pro SP1 on W764), and use "ADO.NET Entity Data Model" for good work in LINK request.
"Classe LINK to SQL" dont work.