mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 01:41:17 -10:00
* Test/ProviderTests/System.Data.SqlClient/SqlCommandBuilderTest.cs : - Corrected the testcase to check for queries corresponding to ms.net 2.0 - verify that columns that do not allow nulls are not included in the null-checks. - Added testcase to check for DBConcurrencyException for Delete Command. - Check the DataType of the null-check parameters * System.Data.Common/DbDataAdapter.cs : * Update () : If the Update/Delete Query has a null check, then populate the parameter value correctly. * System.Data.SqlClient/SqlCommandBuilder.cs : * CreateDeleteCommand () * CreateUpdateCommand () * CreateInsertCommand () - Changed the signature. Do not need DataRow parameter as the Query generated is parametric. - Correct the null-check term in the WhereClause, set the correct properties for null-check parameter fixes #78027 - Modified the generated query to match the query as generated by 2.0. We now ignore null-check in the whereclause if the Column does not allow nulls. * ctor () : Set QuotePrefix and QuoteSuffix for 2.0 profile * GetUpdateCommand () * GetInsertCommand () * GetDeleteCommand () - Do not create new command everytime. Create only if not already created. * RefreshSchema : Reset the commands. svn path=/trunk/mcs/; revision=59175