* DataContainer.cs (*.ZeroOut): Rename from the somewhat unclear
'SetDefaultValue'.
(IsNull): Use a more idiomatic form of the short-circuit.
(*.SetValue): Convert to one-liners.
svn path=/trunk/mcs/; revision=112367
* System.Data.Common/DataContainer.cs (DataContainer): Rename from
AbstractDataContainer.
Introduce new 'protected abstract' members to encapsulate
type-specific handling, and move all common code here.
(DataContainer.Create): Rename from CreateInstance.
* System.Data/DataColumn.cs: Update to changes in DataCollection.
(Since a majority of the lines are changed, I decided to dos2unix the file
too)
svn path=/trunk/mcs/; revision=110002
* DbDataPermissionAttribute.cs, PermissionHelper.cs :
fixed some incompatible type of exception between 2.0 and 1.x.
* DataContainer.cs :
Wrap exceptions thrown by SetValue() within ArgumentException.
* SqlClientPermissionTest.cs, SqlClientPermissionAttributeTest.cs:
Fixed some incompatible type of exception between 2.0 and 1.1.
* OleDbPermissionTest.cs, OleDbPermissionAttributeTest.cs:
Fixed some incompatible type of exception between 2.0 and 1.1.
* OdbcPermissionTest.cs, OdbcPermissionAttributeTest.cs:
Fixed some incompatible type of exception between 2.0 and 1.1.
* DBDataPermissionTest.cs, DBDataPermissionAttributeTest.cs:
Fixed some incompatible type of exception between 2.0 and 1.1.
svn path=/trunk/mcs/; revision=38945
* DataContainer.cs :CheckedforNull before calling the relavant setmethods in each of the
SetItemForDataRecord method for the DateTimeClass
(patch submitted by Aleksey Demakov)
svn path=/trunk/mcs/; revision=30829
* DataContainer.cs - CheckedforNull before calling the relavant setmethods in each of the
SetItemForDataRecord method for all the classes.
svn path=/trunk/mcs/; revision=29866
- Store and retreival of null and DBNull values reviewed.
- Added GetInt64 to support AutoIncrement of DataColumn.
- Added missing CopyValue method to BitDataContainer.
- Added FillValues method to propagate single value to whole container.
svn path=/trunk/mcs/; revision=29753
* DataContainer.cs - added. Provides implementation for data containers that holds data in arrays of primitives or objects. Each data container belongs to specific DataColumn.
* DbDataAdapter.cs - changes to complete data storage redesign. Bug fix in FillTable ( to fetch exact number of records required ).
svn path=/trunk/mcs/; revision=27655