Hi Carlos,

Correct me if I am wrong, but...
The new ADO in framework 2 allows use of different databases with the same
code using DbProviderFactory (except for database specific SQL). When I
would make use of FbDbType it would be database specific, in this case
Firebird specific. Reason why one should use System.Data.DbType which is
universal. This way I previously accessed databases like sqlite, mysql and
mssql using DbProviderFactory without any changes in the code.

Niels

>Hello:

>> After digging a little more I found out that a blob is always returned 
>> as a byte[]. Until beta4/final1 the following code provides a way 
>> arround it.

>The right way of doing this, in my opinion, is to define the field as 
>sub_type text, that is what FbDbType.Text is intended to be used with.




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Firebird-net-provider mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to