Developers community number 1 connection string reference

dotConnect for PostgreSQL (former Core Labs PostgreSQLDirect)

This is a .NET Framework Class Library 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.
Connection Strings
The dotConnect for PostgreSQL (former Core Labs PostgreSQLDirect) class library can be used to connect to the following data sources.

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

Send an e-mail to
Selected Articles
Copyright © 2010 ConnectionStrings.com   |   All Rights Reserved   |   Powered by CSAS   |   Send feedback, articles, requests and more connection strings here.