[mono-android] SqliteDataReader.GetDataTypeName() returns .Net data type instead of native SQLite data type in 4.2.1

rwittev1 robin at reeleezee.nl
Thu Jun 7 08:28:41 UTC 2012


Jon,

Your example works fine, however, it does not when I set the SQLite datatype
to "guidblob". So when I change the CREATE TABLE statement to the following:

    c.CommandText = "CREATE TABLE TESTTABLE (DATA *guidblob* not null)";

then I get the following results:
   Mono for Android 4.0.7: TESTTABLE.DATA type name: guidblob
   Mono for Android 4.2.2: TESTTABLE.DATA type name: *Object*
   Monotouch 5.2.12: TESTTABLE.DATA type name: guidblob

I looks like 4.2.2 does some interpretation of it's own, instead of giving
the raw SQLite data type.


Robin

--
View this message in context: http://mono-for-android.1047100.n5.nabble.com/SqliteDataReader-GetDataTypeName-returns-Net-data-type-instead-of-native-SQLite-data-type-in-4-2-1-tp5709933p5710210.html
Sent from the Mono for Android mailing list archive at Nabble.com.


More information about the Monodroid mailing list