I believe that this will be fixed in the 4.2.2 release.

 - Jon

On May 21, 2012, at 3:46 AM, rwittev1 wrote:
> Considering the following table definition:
> */create table TESTTABLE (
>                DATA blob not null
> )/*
> 
> And this example code:
> */// run query: "select * from TESTTABLE"
> using (DbDataReader dataReader = command.ExecuteReader())
> {
>                string typeName = reader.GetDataTypeName(0);
> }/*
> 
> 
> In Mono for Android version 4.0.6 the variable typeName would contain the
> value “blob”.
> However, in version 4.2.1 we get “System.Byte[]”. We need the native SQLite
> data type (as defined in the CREATE TABLE statement).
> 
> DbDataReader.GetDataTypeName() should return the native SQL data type, as it
> does, for example with a MS SQL Server SqlDataReader. Here GetDataTypeName()
> returns for example “varchar” and not “String”.
_______________________________________________
Monodroid mailing list
[email protected]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to