Discussion of open issues, suggestions and bugs regarding ADO.NET provider for PostgreSQL
2 posts • Page 1 of 1
I need to create an Enterprise Library DB instance from a connection string for my PostgreSql databases. With the npgsql drivers I was able to create a new db instance using a simple constructor: new pgSqlDatabase(connection string). I cannot find a similar construct with dotConnect. Is it possible to do this or is there another method for doing this.
Please add the reference to the %ProgramFiles%\Devart\dotConnect\PostgreSQL\Enterprise Library\NET3.5\Bin\Devart.Data.PostgreSql.EnterpriseLibrary.dll assembly to your project and use the PgSqlDatabase(string connectionString) constructor of the Devart.Data.PostgreSql.EnterpriseLibrary.PgSqlDatabase class. Is that what you mean?