Hi all

Found what may or may not be a bug in the ADO.Net provider.  Not sure if 
the behaviour is intentional or incorrect.

If I create a DataTable and don't specify any columns then make a SPASQL 
query via the ADO.Net provider and fill the DataTable using the 
VirtuosoDataAdapter then everything comes back as strings since the 
automatically generated columns get created as strings.  What I expect to 
get back is things like SqlExtendedString, SqlRdfBox etc.

If I know all the variables of the query in advance and predefine the 
columns to be typed as Object then everything comes back properly typed as 
SqlExtendedString etc.

Is this behaviour intentional (generated columns typed as strings) or is 
this a bug?  If it is intentional then I can easily work around it using 
the CollectionChanged event of the DataTable's DataColumnCollection but if 
it is a bug can this be fixed please?

Regards,

Rob Vesse

 

Reply via email to