问题描述
我有VS2012和最新的32位版本的ODAC (第5版和Oracle开发工具)安装在Win7的盒子。一切都是干净的安装。在这种环境下,我最初开发VS2010与建在32位ODAC版本4.
I have VS2012 and the latest 32-bit version of ODAC (Release 5 with Oracle Developer Tools) installed on a Win7 box. Everything is a clean install. In this environment, I have an ASP.NET Web Forms solution that was originally developed in VS2010 with EDMX files that were built on 32-bit ODAC Release 4.
我能够建立连接使用服务器资源管理器, Oracle有一个新的论坛页面,上面提到的后显然没有使之成为新的论坛。
Oracle has a new forums page, and the post referred to above apparently didn't make it into the new forums.
显然,在VS2012与最新ODAC,当你建立连接的过滤条件,你总是必须包括与任何你想要的模式默认模式。
Apparently, in VS2012 with the latest ODAC, when you set up connection filter criteria you always have to include the default schema along with whatever schema you want.
更新:下面显示的是在向导中的过滤器选项卡添加(或修改)从Visual Studio服务器资源管理器数据连接。
UPDATE: Shown below is the Filters tab in the wizard for adding (or modifying) a Data Connection from the Visual Studio Server Explorer.
仔细看,并指出,在价值领域的'选择的筛选条件,我有两个模式值(实际值从截图中被删除)用逗号分隔。一个是默认模式值,另一个是,我想的模式。您可以通过点击我已经标记为红色的省略号设置这些模式值。
Look carefully and note that in the Value field of the 'Select the filter criteria,' I have two schema values (the actual values are erased from the screenshot) separated by a comma. One is the default schema value, and the other is the schema that I want. You can set these schema values by clicking the ellipsis that I have marked in red.
由于某些原因,我没得做所有在VS2010与ODAC的previous版本,我删除了默认模式和刚刚添加我想要的模式。
For some reason, I didn't have to do all that in VS2010 with previous version of ODAC, I removed the default schema and just added the schema I wanted.
这篇关于最新的Oracle数据提供.NET(11.2.0.3.20)打破EF更新向导的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!