I have a boolean (BOOL) type field in the SQLite table.
In the SubSonic generated DAL it is represented as string (instead of bool).
It is weird.
How it can be managed? Please, help.
I have a boolean (BOOL) type field in the SQLite table. In the SubSonic
Share
I maybe wrong on this, I have only used Subsonic 2.2 with SQL2008 but I would recommend looking at the source for Subsonic, namely
SQLLiteDataProvider.csand reviewing theDbTypefunction.It seems to recognise the type
Booleanbut notBooland the default when it does not recognise your type is to resort toString.Hare is the code in question from that function
I would recommend changing it, seeing if it works and then recommeding the change to the subsonic chaps.