This .NET Framework Class Library is provided by Sybase.
The main functionality of the class library is contained in the file Sybase.AdoNet4.AseClient.dll or Sybase.AdoNet2.AseClient.dll.
Add a reference to the assembly Sybase.Data.AseClient and include the Sybase.Data.AseClient namespace. Instantiate a new AseConnection connection object. Set the connection string and open the connection.
VB.NET code sample
Imports Sybase.Data.AseClient Dim myConnection As AseConnection = New AseConnection() myConnection.ConnectionString = myConnectionString myConnection.Open() ' execute queries, etc myConnection.Close()
C# code sample
using Sybase.Data.AseClient; AseConnection myConnection = new AseConnection(); myConnection.ConnectionString = myConnectionString; myConnection.Open(); // execute queries, etc myConnection.Close();
sybdrvado11.dll (utility code) and sybdrvssl.dll (SSL support) is also used.
The 32-bit versions of these files are installed in the C:\Sybase\DataAccess\ADONET\dll directory and the 64-bit versions are installed in the C:\Sybase\DataAccess64\ADONET\dll directory.
There are two files. Sybase.AdoNet2.AseClient.dll is for .NET 2.0 - 3.5 and Sybase.AdoNet4.AseClient.dll is for .NET 4.0.
There is no 'ASE ADO.NET Data Provider' installation package to download. (if you know about an installation package URL you can contribute to the community by submitting the info to us through this message form)
The ASE ADO.NET Data Provider class library can be used to connect to the following data sources by using the following connection string references: