dotConnect for PostgreSQL (former Core Labs PostgreSQLDirect)

This .NET Framework Class Library is provided by Devart.
Coding
Add a reference to the assembly Devart.Data.PostgreSql and include the Devart.Data.PostgreSql namespace. Instantiate a new PgSqlConnection connection object. Set the connection string and open the connection.


VB.NET code sample
Imports Devart.Data.PostgreSql
Dim myConnection As PgSqlConnection = New PgSqlConnection()
myConnection.ConnectionString = myConnectionString
myConnection.Open()
' execute queries, etc
myConnection.Close()


C# code sample
using Devart.Data.PostgreSql;
PgSqlConnection myConnection = new PgSqlConnection();
myConnection.ConnectionString = myConnectionString;
myConnection.Open();
// execute queries, etc
myConnection.Close();


Description
dotConnect for PostgreSQL, formerly known as PostgreSQLDirect .NET, is an enhanced data provider for PostgreSQL that builds on ADO.NET technology to present a complete solution for developing PostgreSQL-based database applications.
More info about this class library can be found at the Devart product page.
Download
.NET Framework Class Library (dotConnect for PostgreSQL (former Core Labs PostgreSQLDirect)) can be downloaded here.
Connection Strings
The dotConnect for PostgreSQL (former Core Labs PostgreSQLDirect) class library can be used to connect to the following data sources:

Postgre SQL
To see available connection options, navigate connection strings reference by the above data source links.
Additional info or comments on this class library? Want to submit content?

Popular

Copyright © 2013 30c.org   |   All Rights Reserved   |   Powered by CSAS   |   Send feedback, articles, requests and more connection strings here.