LINQPad 和 Oracle

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/1376132/
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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-18 18:55:39  来源:igfitidea点击:

LINQPad and Oracle

oraclelinqpad

提问by user118190

Does LINQPad work with Oracle? Has anyone tried? What do you suggest?

LINQPad 是否适用于 Oracle?有人试过吗?你有什么建议?

采纳答案by Judah Gabriel Himango

Judging by their user voice item request for Oracle support, it appears unsupported at the moment.

从他们对 Oracle 支持用户语音项目请求来看,目前似乎不受支持。

A comment on the O'Reilly forumsalso suggests its not supported.

对O'Reilly的论坛评论也表明其不支持。

updateAs we understand it, there's now built-in Oracle support in the latest versions of LinqPad; the home page of LinqPad now lists support for Oracle.

更新据我们了解,最新版本的 LinqPad 现在内置了 Oracle 支持;LinqPad 的主页现在列出了对 Oracle 的支持。

update January 2013The new LinqPad-to-Oracle support appears to still be available. Per the LinqPad FAQ:

2013 年 1 月更新新的 LinqPad-to-Oracle 支持似乎仍然可用。根据LinqPad 常见问题解答

Q. Why does LINQPad use LINQ to SQL under the covers, rather than Entity Framework?

A. LINQ to SQL is faster with large schemas and in most cases, emits better SQL. You can, however, use EF with EDMs that you define yourself. For querying SQLite, MySQL and Oracle (via the optional plug-in), LINQPad uses Matt Warren's IQueryable toolkit.

问:为什么 LINQPad 在幕后使用 LINQ to SQL,而不是实体框架?

A. LINQ to SQL 对于大型模式更快,并且在大多数情况下,发出更好的 SQL。但是,您可以将 EF 与您自己定义的 EDM 结合使用。为了查询 SQLite、MySQL 和 Oracle(通过可选插件),LINQPad 使用 Matt Warren 的 IQueryable 工具包。

回答by Goyuix

As of betaversion 4.35, LINQPad supports Oracle fully - you can now do "LINQ to Oracle" queries. I believe it uses the DevArt dotConnectlibraries for managing this great feat. Further, in addition to native OCI support, it also supports a direct mode which does not require the Oracle OCI DLLs to be present.

测试版 4.35 开始,LINQPad 完全支持 Oracle - 您现在可以执行“LINQ to Oracle”查询。我相信它使用DevArt dotConnect库来管理这个伟大的壮举。此外,除了本机 OCI 支持外,它还支持不需要 Oracle OCI DLL 存在的直接模式。

To enable this feature you will need to simply add a new data connection in LINQPad, and when asked which driver to use - click the View more drivers...button. You can then install the IQ Driver and use it for querying Oracle, MySQL and SQLite databases.

要启用此功能,您只需在 LINQPad 中添加一个新的数据连接,并在询问使用哪个驱动程序时单击View more drivers...按钮。然后您可以安装 IQ 驱动程序并将其用于查询 Oracle、MySQL 和 SQLite 数据库。

IQ Connection Options showing Oracle, MySQL and SQLite support

显示 Oracle、MySQL 和 SQLite 支持的 IQ 连接选项

回答by Robert Ivanc

Linqpad now has support for lightspeed which supports oracle.

Linqpad 现在支持支持 oracle 的 lightspeed。