Re: Generic provider for .Net - Mailing list pgsql-general

From Francisco Figueiredo Jr.
Subject Re: Generic provider for .Net
Date
Msg-id 438d02260901061331ue9de8c3w1da47feb17ebce98@mail.gmail.com
Whole thread Raw
In response to Generic provider for .Net  ("Rob Richardson" <Rob.Richardson@rad-con.com>)
List pgsql-general
On Tue, Jan 6, 2009 at 7:00 PM, Rob Richardson
<Rob.Richardson@rad-con.com> wrote:
> My stumbling through the wilds of .Net, ADO.Net and PostGRESQL continues...
>


With this requirement, I would suggest you to use dbproviderfactory
support of .Net

This is a sample link with informations about it:

http://msdn.microsoft.com/en-us/library/dd0w4a2z%28VS.80%29.aspx


http://www.davidhayden.com/blog/dave/archive/2007/10/08/CreatingDataAccessLayerUsingDbProviderFactoriesDbProviderFactory.aspx


A little googling can provide you with more examples.

Also, on Npgsql manual there is the entry you have to make to register
Npgsql as a dbproviderfactory.

Also note that Npgsql supports sqlclient parameter style with the '@'
prefix to easy porting sql code from sqlserver to postgresql.

I hope it helps.


--
Regards,

Francisco Figueiredo Jr.
Npgsql Lead Developer
http://fxjr.blogspot.com
http://www.npgsql.org

pgsql-general by date:

Previous
From: "Dan Armbrust"
Date:
Subject: Re: Slow Vacuum was: vacuum output question
Next
From: "Scott Marlowe"
Date:
Subject: Re: Slow Vacuum was: vacuum output question