[Mono-list] Generics and PostgreSQL

Francisco Figueiredo Jr. francisco at npgsql.org
Mon May 24 13:13:06 EDT 2010

On Mon, May 24, 2010 at 06:18, Cafer Simsek <cafer at pazar.com> wrote:
> Hi All,

Hi Cafer!

> I'm very new to Mono.
> I want to migrate one of my projects to Mono. The project uses two SQL
> Client (MsSQL and PostgreSQL), and has a GenericSQLHelper class:
> http://codepaste.net/5g9ye4
> When using MsSQL with this helper (mssqlHelper = new
> GenericSQLHelper<SqlConnection, SqlDataAdapter, SqlCommand>(cs_mssql);)
> working great but it's not working on any PostgreSQL client that I've
> tested (Npgsql and Devart's PostgreSQL client).
> It throws an exception on line 182 (GenericSQLHelper.cs).
> It's working great on MS .Net Framework. And it also working on Mono
> when using plain method (without generics).

Do you have a working example which shows the problem?

Which error are you getting?

Thanks in advance.


Francisco Figueiredo Jr.
Npgsql Lead Developer

More information about the Mono-list mailing list