[Mono-list] System.Data

Rodrigo Moya rodrigo@ximian.com
24 Jan 2002 20:39:34 +0100

On Thu, 2002-01-24 at 05:03, Piers Haken wrote:
> I think you're right - just writing a wrapper for GnomeDB won't
> necessarily be the easiest way to provide compatibility with .NET,
> although it might be the easiest way to provide non-ADO.NET-compatible
> data access functionality. I believe that the mono functionality should
> lie below the DbDataAdapter level.
what are the problems you find for not using GNOME-DB for that? (I am
totally ignorant in ADO.NET, so please, explain it to me)

> As I see it there are several options:
> 1) on Win32 you could create an OleDbDataAdapter (and other related
> OLEDB classes) that actually calls native OLEDB objects, and/or a
> SqlDataAdapter that either uses ADO or OLEDB natively to talk to a SQL
> Server. This would just be a direct port of the MS stuff and obvisouly
> wouldn't run on other platforms.
> 2) you could provide OleDb/SqlDataAdapters that wrap GnomeDB
> functionality. This would be the best choice since it would provide
> compatibility with existing code, but it may not be possible given the
> differences between GnomeDB and OLEDB.
it seems the best solution to me, if there are problems as you say in
having a GNOME-DB wrapper. Specially, since you will get advantage of
all the already supported databases in GNOME-DB.

Rodrigo Moya <rodrigo@gnome-db.org> - <rodrigo@ximian.com>
http://www.gnome-db.org/ - http://www.ximian.com/