[Gtk-sharp-list] Does Gtk# on Win32 have...?

Rodrigo Moya rodrigo@ximian.com
27 Dec 2002 18:34:05 +0100

On Fri, 2002-12-27 at 05:54, Charles Iliya Krempeaux wrote:
> Hello,
> The only part I need are the classes and methods that let me
> "get at" the database, so that I can issue SQL statements.
> (And get results from this... when there are results.)
> I don't really need any of the widgets that go along with this.
> (Although it might be nice.)
> For me, I want to write GNOME applications.  But I want them
> to be able to run on Windows too.  (Because I know some of
> my clients will want that... in addition to be able to run
> it on GNOME.)
> So... what should I use?  (I'm asking for the opinions
> of everyone on the list.)
>     (1) Should I use the Gda# stuff???  (In expectation that
>         it will be working on Windows soon.)
if you want integration with GNOME, that is the best option. This will
tie your app to Mono, or make you have to distribute the GTK# assemblies
with your app.

>     (2) Should I use the ADO.NET stuff???  (Although this makes
>         me feel like I am writing a Windows program.)
if you want compatibility with MS .NET, that's the best option, since
your app will work on any .NET platform (Mono, Rotor, MS .NET, etc)

>     (3) Or, Should I write a wrapper class, to hide weather I
>         am using Gda# or ADO.NET???  (And thus use another
>         class as my database abstract layer... which seemed
>         to be the point of Gda# and ADO.NET in the first place.)
I wouldn't do that extra work, since, as you said, both GDA# and ADO.NET cover
that purpose. So, I'd suggest you to use one or the other.

Rodrigo Moya <rodrigo@ximian.com>