pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rob Richardson <Rob.Richardson@rad-con.com>
To: pgsql-odbc <pgsql-odbc@postgresql.org>
Subject: How do I use Npgsql to connect to a DSN?
Date: Fri, 17 Sep 2010 17:00:22 -0400
Message-ID: <04A6DB42D2BA534FAC77B90562A6A03D01554ABE@server.rad-con.local> (raw)
In-Reply-To: <4C653C85.1010602@iol.ie>
References: <AANLkTi=zF1mFPKFwcdEwjqQMJ4Ms8sgXeSXQpvwhrf6n@mail.gmail.com>
	<4C653C85.1010602@iol.ie>

Greetings!

I like the layer of independence the use of a DSN gives me.  I can run
an application using one database, and then without changing the
application in any way, change the DSN to point to a different database,
and it still works.

I am about to begin developing an application using the Npgsql ADO .Net
provider for PostgreSQL.  I tried to specify a DSN in my connection
string, but the parameter name "DSN" was not accepted.  Is it not
possible to use a DSN with Npgsql?

Thanks very much!

RobR



Message-ID: <04A6DB42D2BA534FAC77B90562A6A03D01554ABE@server.rad-con.local>
Permalink:  ../04A6DB42D2BA534FAC77B90562A6A03D01554ABE@server.rad-con.local/
Also on:    postgresql.org/message-id/04A6DB42D2BA534FAC77B90562A6A03D01554ABE@server.rad-con.local

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: Rob.Richardson@rad-con.com, pgsql-odbc@postgresql.org
  Subject: Re: How do I use Npgsql to connect to a DSN?
  In-Reply-To: <04A6DB42D2BA534FAC77B90562A6A03D01554ABE@server.rad-con.local>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox