Advantage .NET Data Provider
This .NET Framework Class Library is provided by Sybase.
Add a reference to the assembly and include the Advantage.Data.Provider namespace. Instantiate a new AdsConnection connection object. Set the connection string and open the connection.
VB.NET code sample
Imports Advantage.Data.Provider
Dim myConnection As AdsConnection = New AdsConnection()
myConnection.ConnectionString = myConnectionString
myConnection.Open()
' execute queries, etc
myConnection.Close()
C# code sample
using Advantage.Data.Provider;
AdsConnection myConnection = new AdsConnection();
myConnection.ConnectionString = myConnectionString;
myConnection.Open();
// execute queries, etc
myConnection.Close();
Description
The Advantage .NET Data Provider is a managed provider that offers native data access to the Advantage Database
Server and Advantage Local Server. The Advantage .NET Data Provider conforms to the ADO.NET data access model
and creates a seamless interface between the Advantage Database Server or Advantage Local Server and any .NET
development language including Microsoft Visual Studio .NET and Delphi for .NET.
More info about this class library can be found at the Sybase product page.
Download
This .NET Framework Class Library, Advantage .NET Data Provider, can be downloaded here.
Connection Strings
The Advantage .NET Data Provider class library can be used to connect to the following data sources by using the following connection string references: