[Mono-list] Generics and PostgreSQL
Cafer Simsek
cafer at pazar.com
Mon May 24 05:18:51 EDT 2010
Hi All,
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).
Best Regards.
--
Cafer Şimşek
http://pazar.com/
More information about the Mono-list
mailing list