[Mono-list] Single .dll targeted at multi platform but using sqlite, possible?
Gabriel Ibanez
gabriel.ibanez at live.com
Fri Aug 24 13:32:56 UTC 2012
In mySQL boolean values doesn't exist as it. They are short int. You can deal with them like 0 as false and 1 as true.
/Gabriel
-----Original Message-----
From: KeithBoynton <keithboynton at flaredesign.co.uk>
Date: Thu, 23 Aug 2012 20:02:20
To: <mono-list at lists.ximian.com>
Subject: Re: [Mono-list] Single .dll targeted at multi platform but using
sqlite, possible?
matthieu Barthélemy wrote
>
> -I use ',' to separate connection string elements, not ';'
> -I use the "URI=" scheme because I think I remember that the "data
> source="
> one didn't work for me.
>
Unfortunately that made no difference
matthieu Barthélemy wrote
>
> -Are there any special/weird chars inside your "inputFile" db name?
>
Nope just what you see in that log output
Now here's an interesting thing, I've just switched the DLL (and the using
statement) to the community one you originally suggested and that works.
There's another error now but the majority of the features seem to work. It
connects to the DB, creates tables, populates them and reads from (some) of
them.
I'm purplexed why the DLL from the monodevelop download wouldn't work but I
think I'll continue with the community one then for now.
The problem I'm having now is reading Boolean columns, it seems to insist on
them being returned as Int64's. I'm going to investigate that a little. I
really appreciate your help so far!
--
View this message in context: http://mono.1490590.n4.nabble.com/Single-dll-targeted-at-multi-platform-but-using-sqlite-possible-tp4656335p4656372.html
Sent from the Mono - General mailing list archive at Nabble.com.
_______________________________________________
Mono-list maillist - Mono-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list
More information about the Mono-list
mailing list