* SqlParameter.cs: Modified ConvertToFrameworkType to only perform
authorGert Driesen <drieseng@users.sourceforge.net>
Thu, 30 Jul 2009 19:42:59 +0000 (19:42 -0000)
committerGert Driesen <drieseng@users.sourceforge.net>
Thu, 30 Jul 2009 19:42:59 +0000 (19:42 -0000)
commit594407eb88a242c022450f17ed44c1d8a563d7c6
tree81092c97ee0362f139565f7edf5ef1ac24b0a0bc
parent876b8f2fb6e8fc8c8eafa88bc82cf4ded5bfa741
* SqlParameter.cs: Modified ConvertToFrameworkType to only perform
conversion if type of value is different from "system type". Make
DbTypeMapping hashtable available on 1.0 profile, and add missing
mappings. Wrap FormatException adding information on conversion
that failed.
* SqlParameterTest.cs: Added test for bug #526794, and failed
conversion from (zero-length) string to int. Changed spaces to tabs.

svn path=/trunk/mcs/; revision=139116
mcs/class/System.Data/System.Data.SqlClient/ChangeLog
mcs/class/System.Data/System.Data.SqlClient/SqlParameter.cs
mcs/class/System.Data/Test/ProviderTests/System.Data.SqlClient/ChangeLog
mcs/class/System.Data/Test/ProviderTests/System.Data.SqlClient/SqlParameterTest.cs