Skip to main content

Posts

Showing posts from December, 2009

Better data type handling mechanism landed on cvs

Hi all! Yesterday, 2009-12-12, Josh Cooley committed a better datatype handling mechanism to Npgsql. This will allow Npgsql to be more consistent when handling types because it is now much better defined when to return specific (or provider specific) datatypes and when to return CLR datatypes. What does all this mean? Well, Npgsql now implements the methods DbDataReader.GetProviderSpecificValue() , DbDataReader.GetproviderSpecificValues() and GetProviderSpecificDataType() . With those methods implemented, users will have a defined way of getting the specific types provided by Npgsql. The other methods will now always return the CLR types. This modification will also enable Npgsql to work better with the ado.net library. For example, we have reports that NpgsqlInet data wasn't being rendered in a DataGrid . By inspecting the test case, the dataset was correctly filled, but Datagrid seemed to not like NpgsqlInet and didn't render its value. With this type handling modification

Blogging from mobile

Hi all! I just installed an app which allows me to post direclty from my mobile. Now I think I'll be able to write more frequently, or at least I hope so. :-) Stay tuned! - Posted using BlogPress from my iPhone