Sybase ASE ADO.net 2.0 提供商?

发布于 2024-07-22 13:30:11 字数 305 浏览 13 评论 0原文

我正在寻找一个 ADO.net 2.0 或更高版本的 Sybase 数据库提供程序,该数据库似乎被称为 Sybase ASE。 澄清一下,我对 ASE 感兴趣,而不是 SQL Anywhere。 希望该提供程序将包含在数据库中,或者免费。

我可以找到 ADO.net 1.1 提供程序的提及; 那不是我想要的。

我可以找到有关 ODBC 驱动程序和 OLEDB 提供程序的提及; 那不是我想要的。

我找到了付费的 DataDirect ADO.net 提供商; 我想这就是后备位置。

感谢您的帮助

I'm looking for an ADO.net 2.0 or later provider for Sybase database which seems to be known as Sybase ASE. To clarify, I'm interested in ASE, and not SQL Anywhere. Hopefully the provider will be included with the database, or free.

I can find mention of an ADO.net 1.1 provider; that's not what I want.

I can find mention of ODBC drivers and OLEDB providers; that's not what I want.

I've found the DataDirect ADO.net providers which are paid for; I guess that's the fallback position.

Thanks for your help

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

清风无影 2024-07-29 13:30:11

我自己最近也走过这条路,我只能建议你通过网络搜索找不到答案。 如果您要连接到 ASE 服务器,那么您就有客户技术联系人。 使用该人员,要求他们下载前面提到的 Sybase 15 #ESD10。

根据我的经验(我坦白承认,这是一次糟糕的经历);

Sybase 仅向付费客户提供此类开发人员资源。

下载后,将包含一大堆您不需要的额外内容。 我仍然认为 PowerDesigner 是一个很棒的实用程序,但我认为其中包含的是试用版,长期价值有限。 我相信您想要的就是安装 OpenClient,选择 ADO.NET 功能。

我发现了整个体验,从获取开发人员资源(仅确定正确的下载就很困难),到从数百个已安装文件中分离出必需的两个文件,再到安装破坏了我现有的 RapidSql 和 DbArtisan 安装,最后,当前版本仅支持 ADO.NET 2 提供程序(例如,您不会获得 EF 连接),这确实令人沮丧。

毫不奇怪,我也无法使用 nHibernate 或 subsonic 找到对 ASE 的太多支持。

Having recently been down this road myself, I can only suggest that you wont find the answer through searching the net. If you are connecting to an ASE server, then you have a customer technical contact. Use that person, asking them to download the earlier mentioned Sybase 15 #ESD10.

From my experience (which I freely admit, was a bad one);

Sybase makes this sort of developer resource available to paying customers only.

The download, once you have it, will include a whole bunch of extras that you wont need. I still think that PowerDesigner is a great utility, but I think that what is included is a trial version, of limited long term value. I believe that what you want from the set is the OpenClient install, selecting the ADO.NET features.

I found the whole experience, from acquiring the developer resources (just identifying the right download was a struggle), to isolating out the two files necessary from the hundreds of installed files, to the fact that the install broke my existing RapidSql and DbArtisan installs, and finally that the current version goes no further than ADO.NET 2 provider support (you wont get EF wiring for example), to be truly frustrating.

No surprise then that I have not been able to find much support for ASE using nHibernate or subsonic either.

爱的故事 2024-07-29 13:30:11

这个问题相当老了,但获得 ADO 连接器似乎变得更容易了。

  1. 从以下位置下载“获取免费的“开发人员”版本”:
    http://scn.sap.com/community/developer-center/oltp-db
  2. 选择提供选项时进行自定义安装。
  3. 仅通过自定义安装安装 .Net ADO 包。
  4. 在安装放置文件的解决方案中引用 Sybase.AdoNet4.AseClient.dll。

然后,您应该能够按照此处的说明在 .NET 中执行查询、更新等:
http://infocenter .sybase.com/help/index.jsp?topic=/com.sybase.help.sdk_12.5.1.adonet/html/adonet/DAFJEFIF.htm

This question is fairly old but it seems to have gotten easier to get the ADO Connector.

  1. Download the "Get a Free "Developer" Edition" from
    http://scn.sap.com/community/developer-center/oltp-db
  2. Choose Custom Install when given the option.
  3. Only install the .Net ADO package from the custom install.
  4. Reference the Sybase.AdoNet4.AseClient.dll in your solution from where the install put the files.

You should then be able perform queries, updates etc. in .NET by following the directions from here:
http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.help.sdk_12.5.1.adonet/html/adonet/DAFJEFIF.htm

柠檬心 2024-07-29 13:30:11

作为 SAP/Sybase 驱动程序的替代方案,我们为 ASE 开发了自己的 ADO.NET Core 驱动程序:

https: //github.com/DataAction/AdoNetCore.AseClient

.NET Core 对我们来说是一项关键技术 - 特别是对于 AWS Lambda - 而且 SAP/Sybase 仍然没有提供 ADO.NET Core 驱动程序。

我们的驱动程序支持大多数 SAP/Sybase ADO.NET 功能,旨在成为 SAP/Sybase 驱动程序的替代品以方便过渡,并支持您关心的所有 .NET 框架。

您可以在 Nuget 上获取它:

https://www.nuget.org/packages/AdoNetCore.AseClient

As an alternative to the SAP/Sybase driver, we developed our own ADO.NET Core driver for ASE:

https://github.com/DataAction/AdoNetCore.AseClient

.NET Core was a key technology for us - in particular for AWS Lambda - and there is still no ADO.NET Core driver available from SAP/Sybase.

Our driver supports most of the SAP/Sybase ADO.NET features, aims to be a drop in replacement to the SAP/Sybase one for easy transition, and supports all of the .NET Frameworks you would care about.

You can get it on Nuget:

https://www.nuget.org/packages/AdoNetCore.AseClient

寄居者 2024-07-29 13:30:11

根据 Sybase 的以下链接,Sybase 15 #ESD10 支持 ADO.NET 2.0:
http ://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc20155.1500/html/newfesd/CBHJAABF.htm


新功能 Open Server 15.0 和 SDK 15.0 for Microsoft Windows 、Linux、UNIX 和 Mac OS X
ADO.NET 2.0 支持

ASE ADO.NET Data Provider 2.0 随此 SDK 版本一起提供。 此版本中支持的 ADO.NET 2.0 功能有:

*      Provider factories
*      Provider statistics
*      Bulk update
*      Bulk copy
*      Asynchronous commands
*      Extended pooling support to clear pools
*      Common base classes
*      Database metadata

有关支持的 ADO.NET 2.0 功能的详细信息,请参阅 ADO.NET 2.0 中的新增功能。

Sybase 15 #ESD10 has support for ADO.NET 2.0, according to this link at Sybase:
http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc20155.1500/html/newfesd/CBHJAABF.htm


New Features Open Server 15.0 and SDK 15.0 for Microsoft Windows, Linux, UNIX, and Mac OS X
ADO.NET 2.0 support

ASE ADO.NET Data Provider 2.0 is shipped with this SDK release. The ADO.NET 2.0 features supported in this version are:

*      Provider factories
*      Provider statistics
*      Bulk update
*      Bulk copy
*      Asynchronous commands
*      Extended pooling support to clear pools
*      Common base classes
*      Database metadata

For more information on the supported ADO.NET 2.0 features, see What’s New in ADO.NET 2.0.

做个ˇ局外人 2024-07-29 13:30:11

来自 sybase 网站:

Sybase 对 ADO.NET、OLE DB 和 ODBC 的支持
Adaptive Server 15.0 版包含 Sybase 开发的新 ODBC 和 OLE DB 驱动程序。 以前版本中包含的第三方重新命名的 ODBC 和 OLE DB 驱动程序套件不再提供。

已停用的 ODBC 驱动程序工具包安装在 %SYBASE%\ODBC 中,并在 ODBC 驱动程序管理器中注册为“Sybase ASE ODBC 驱动程序”。 Sybase 的新 ASE ODBC 驱动程序安装在 %SYBASE%\DataAccess\ODBC 中,并注册为“Adaptive Server Enterprise”。 Adaptive Server 和 SDK 15.0 附带的版本是 15.0.0.50。

已停用的 OLE DB 驱动程序工具包安装在 %SYBASE%\OLEDB 中,并使用提供程序短名称“Sybase.ASEOLEDBProvider”和长名称“Sybase ASE OLE DB Provider”。 Sybase 的新 ASE OLE DB 提供程序安装在 %SYBASE%\DataAccess\OLEDB 中,并使用提供程序短名称“ASEOLEDB”。 SDK 15.0 附带的版本是版本 15.0.0.51。

Sybase 建议您尽快开始新的 ODBC 和 OLE DB 驱动程序的迁移过程。 Adaptive Server 15.0 中引入的新功能仅受新驱动程序支持。

有关迁移到新驱动程序的说明,请参阅“适用于 Windows、Linux 和 UNIX 的 OpenServer 15.0 和 SDK 15.0 的新功能”。

From the sybase website:

Sybase support for ADO.NET, OLE DB, and ODBC
Adaptive Server version 15.0 contains new ODBC and OLE DB drivers developed by Sybase. The third-party rebranded ODBC and OLE DB Driver Kits included with previous versions are no longer shipped.

The retired ODBC Driver Kit was installed in %SYBASE%\ODBC, and registered with the ODBC Driver Manager as “Sybase ASE ODBC Driver”. The new ASE ODBC Driver by Sybase is installed in %SYBASE%\DataAccess\ODBC, and registered as “Adaptive Server Enterprise”. The version shipping with Adaptive Server and SDK 15.0 is version 15.0.0.50.

The retired OLE DB Driver Kit was installed in %SYBASE%\OLEDB, and used the provider short name of “Sybase.ASEOLEDBProvider” and the long name of “Sybase ASE OLE DB Provider”. The new ASE OLE DB Provider by Sybase is installed in %SYBASE%\DataAccess\OLEDB, and uses provider short name “ASEOLEDB”. The version shipping with SDK 15.0 is version 15.0.0.51.

Sybase recommends that you start your migration process the new ODBC and OLE DB drivers as soon as possible. New features introduced in Adaptive Server 15.0 are supported only by the new drivers.

See “New Features for OpenServer 15.0 and SDK 15.0 for Windows, Linux and UNIX”, for instructions on migrating to the new drivers.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文