AW: [Mono-list] Why ByteFx needs Windows.Forms

Barbara Plank monomail@gmx.net
Tue, 12 Apr 2005 17:08:02 +0200


> Yes the latest .NET Connector driver works in Linux running Mono. I'm 
> using it in my http://tagcma.com project. If you look at the source, I 
> use it quite heavily in the DbLayer/connection.cs.
> http://cvs.sourceforge.net/viewcvs.py/tagelflax/tagml/TAGMLWS/DbLayer/
> conn
> ection.cs?rev=1.110&view=log
> 
> You'll find the Mono compile script I use here:
> http://cvs.sourceforge.net/viewcvs.py/tagelflax/tagml/TAGMLWS/CompileW
> ithM
> ono.sh?rev=1.6&view=log

Thanks, I will try .NET connector. 

A last question: I read on the mono page that also ODBC is supported,
however, didn't test it. Has anybody experience with it? 

In general, which way to access a MySQL database is the right one, suggested
by Mono, or which one is preferable and why? 

Ways of accessing MySQL:
- using an ODBC driver
- or a native provider, like ByteFx or rather its successor .NET
Connector/MySQL

(Because I'm using ByteFX and was thinking if there is a better way...)

Thanks,
Barbara