2004-06-08 Umadevi S <sumadevi@novell.com>
[mono.git] / mcs / class / System.Data / System.Data.Common / ChangeLog
1 2004-06-08 Umadevi S <sumadevi@novell.com>
2         * DataColumnMappingCollection.cs - fixed nunit testcase errors.
3         - remove, removeat, contains methods.
4
5 2004-06-04  Gert Driesen <drieseng@users.sourceforge.net>
6
7         * DataAdapter.cs: added missing protected ctor
8         * DbDataAdapter.cs: added stub for missing protected ctor
9         * DbDataPermission.cs: added stubs for missing protected
10         ctors, added stub for missing Clear method
11
12 2004-06-02  Gert Driesen <drieseng@users.sourceforge.net>
13        * DataColumnMappingCollection.cs: added missing attributes on
14        indexers
15
16 2004-05-27  Boris Kirzner  <borisk@mainsoft.com>
17         * DataContainer.cs : Bug fixes in BitDataContainer.get_Item and StringDataContainer.SetValue .
18
19 2004-05-20  Gert Driesen (drieseng@users.sourceforge.net)
20
21         *  DbDataPermissionAttribute.cs: change AllowMultiple and
22         Inherited to match .NET
23
24 2004-05-19  Boris Kirzner  <borisk@mainsoft.com>
25         * Datacontainer.cs : CompareValues reviewed. set_Item and get_Item of null and DBNull values in case of DataContainers
26         for primitive types reviewed. Added check for null values when reading from IDataRecord.
27         
28 2004-05-19  Boris Kirzner <borisk@mainsoft.com>
29         * RecordCache.cs - added. Each instance of record cache belongs to specific table
30         and manages pool of records ( indexes into data containers) to be used by data rows.
31         * DataContainer.cs - added. Provides implementation for data containers that holds data in arrays 
32         of primitives or objects. Each data container belongs to specific DataColumn.
33         * DbDataAdapter.cs - changes to complete data storage redesign. Bug fix in FillTable 
34         ( to fetch exact number of records required ).
35         
36 2004-05-13 Umadevi S (sumadevi@novell.com)
37         * DbDataPermissionAttribute.cs - Added KeyRestrictions property with a TODO tag
38
39 2004-05-09  Gert Driesen (drieseng@users.sourceforge.net)
40         * ComparerFactory.cs: marked internal
41
42 2003-04-26  Boris Kirzner <borisk@mainsoft.com>
43         * DataColumnMappingCollection.cs : Small fix in exception message thrown.
44           
45 2003-04-25  Boris Kirzner <borisk@mainsoft.com>
46         * DbDataAdapter.cs : Fixed bug in Fill :
47           - Reader can have empty results (fo example from UPDATE or DELETE).
48           - Reader can have results with no rows (SELECT that returns 0 rows but have columns)
49           - In FillTable - skip rows only once for each table.
50         
51 2003-04-14  Juraj Skripsky <juraj@hotfeet.ch>
52         * DbDataAdapter.cs : Refactoring of Fill. New private method
53         FillTable does most of the work now. Use int[] instead of
54         hashtable for mapping. Move creation of tableArray[] outside
55         of loop.
56
57 2004-03-12  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
58
59         * DbDataPermissionAttribute.cs: Added .Net 1.1 marks
60         * DataColumnMapping.cs: DO NOT USE the consts scheme if types can be referenced directly!
61         * DataTableMapping.cs: DO NOT USE the consts scheme if types can be referenced directly!
62         * DataColumnMappingConverter: Added stub
63         * DataTableMappingConverter: Added stub
64
65 2004-03-03  Eran Domb  <erand@miansoft.com>
66         
67         * ComparerFactory.cs : Added.
68         
69 2004-01-10  Atsushi Enomoto  <atsushi@ximian.com>
70
71         * DbDataPermission.cs : tiny fix to pass OleDbPermission.
72
73 2004-01-09  Atsushi Enomoto  <atsushi@ximian.com>
74
75         * DbDataPermission.cs : .ctor(PermissionState state) should not call
76           obsolete .ctor(state, allowBlankPassword). csc reports an error.
77
78 2003-12-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
79
80         * DbDataAdapter.cs: handle MissingShemaAction.AddWithKey, call
81         AcceptChanges in Update when a CommandBuilder is used and
82         correctly fill information about primary keys in FillSchema.
83         Patch from Sergei Malinin (smalinin@amurnet.ru).
84
85 2003-12-23  Tim Coleman <tim@timcoleman.com>
86         * DbConnectionString.cs:
87                 Some implementation
88         * DbProviderFactory.cs:
89                 Fix typo to make CLS compliant
90
91 2003-12-16  Jackson Harper <jackson@ximian.com>
92
93         * SchemaTableOptionalColumn.cs: Add to fix default build
94         
95 2003-12-16  Tim Coleman <tim@timcoleman.com>
96         * CatalogLocation.cs DbCommand.cs DbCommandBuilder.cs
97         * DbCommandOptionalFeatures.cs DbCommandSet.cs DbConnection.cs
98         * DbConnectionString.cs DbDataSourceEnumerator.cs
99         * DbDataUpdatableRecord.cs DbParameter.cs DbParameterCollection.cs
100         * DbProviderConfigurationHandler.cs DbProviderFactories.cs
101         * DbProviderFactoriesConfigurationHandler.cs DbProviderFactory.cs
102         * DbProviderSupportedClasses.cs DbTable.cs DbTransaction.cs
103         * GroupByBehavior.cs IdentifierCase.cs SchemaLocation.cs
104         * SchemaTableColumn.cs:
105                 New stubs added for .NET 1.2
106         * DataAdapter.cs DataColumnMapping.cs DataColumnMappingCollection.cs
107         * DataTableMapping.cs DataTableMappingCollection.cs DbDataAdapter.cs
108         * DbDataPermission.cs DbDataPermissionAttribute.cs DbDataRecord.cs
109         * FieldNameLookup.cs SchemaInfo.cs:
110                 Changes made for .NET 1.2
111
112 2003-10-22  Eran Domb  <erand@miansoft.com>
113         * DbDataAdapter.cs : Check if there is mapping to avoid exception.
114
115 2003-11-26  Tim Coleman <tim@timcoleman.com>
116         * DbDataReader.cs: Add new stub class
117
118 2003-11-23  Pedro Martínez Juliá  <yoros@wanadoo.es>
119
120         * DbDataAdapter.cs: Call command dispose in self dispose method. We
121         need to dispose the connections and other stuff stored in the
122         commands.
123
124 2003-11-10  Pedro Martínez Juliá  <yoros@wanadoo.es>
125
126         * DataColumnMappingCollection.cs: Fix a missing exception when the
127         required mapping is not in the collection. MS.NET throws an
128         exception there.
129
130 2003-10-22  Eran Domb  <erand@miansoft.com>
131
132         * DbDataAdapter.cs (Fill): add only the mapped column to the dataTable (not all columns of dataReader).\r
133             Also closing the dataReader if an exception is thrown.\r
134         (Fill): the same as above.\r
135         (SetupSchema): in now return string (the table name). \r
136         (GetFillParameters): fix a bug.\r
137         (BuildSchema) \96 it now return Hashtable. Add columns to the table only if there is a mapping. Build an Hashtable that maps the columns from the table to the column from the reader.\r
138         (Update): first open the connection if needed. Catch an exception of the ExecuteQuery.
139         
140
141 2003-09-30  Duncan Mak  <duncan@ximian.com>
142
143         Patch from Eran Domb <eran@mainsoft.com>.
144         
145         * DbDataAdapter.cs (Fill): Fixed an Exception from being thrown.
146
147 2003-09-25  Duncan Mak  <duncan@ximian.com>
148
149         * DbDataAdapter.cs (Fill): Patch from Eran Domb, <eran@mainsoft.com>.
150         Fixes a possible NullReferenceException, more details here:
151
152         http://lists.ximian.com/archives/public/mono-devel-list/2003-September/002116.html
153
154 2003-09-21  eran <erand@mainsoft.com>
155
156         * DbDataRecord.cs: The method
157         System.Data.Common.DbDataRecord.GetValues(object[] values) did not
158         put the values of the DbDataRecord into values parameter.
159
160 2003-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
161
162         * DbDataAdapter.cs: provide a Type for ToArray to avoid invalid cast
163         exception. Thanks to Mark Easton <measton@tebiki.co.uk>.
164
165 2003-07-31  Duncan Mak  <duncan@ximian.com>
166
167         * DataAdapter.cs (CloneInternals): Mark with ObsoleteAttribute for
168         NET_1_1.
169
170 2003-03-21  Alan Tam <Tam@SiuLung.com>
171
172         * DbDataAdapter.cs: Update now uses correct DataRowVersion
173         when accessing the data.
174
175 2003-03-17  Aleksey Demakov <avd@openlinksw.com>
176
177         * DbDataAdapter.cs: BuildSchema now uses ColumnName instead
178         of BaseColumnName (bug #39830) for DataColumn names.
179         BaseTableName is no longer taken into account as well.
180
181 2003-02-28  Aleksey Demakov <avd@openlinksw.com>
182
183         * DbDataAdapter.cs: Update (DataSet) updates the default
184         table only.
185
186 2003-02-25  Alan Tam <Tam@SiuLung.com>
187         
188         * DbDataAdapter.cs: Added support for filling when schema is present.
189         Fixed incorrect behavior when ColumnMapping is present
190         when more than one fields have the same name. Implemented Dispose.
191         Fixed error when there is no ColumnMapping at all.
192         Still have some problems in finding the correct TableMapping
193         because the SourceTable name is not present in BuildSchema
194
195 2003-02-24  Aleksey Demakov <avd@openlinksw.com>
196
197         * DbDataAdapter.cs: The original code might pass a null DataTableMapping
198         value which is then used to create a RowUpdatingEventArgs
199         instance. So RowUpdatingEvent handler (for instance
200         CommandBuilder) could get null DataTableMapping which
201         might be unexpected. The patch makes sure that a non-null
202         DataTableMapping is passed.
203
204 2003-01-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
205
206         * DbEnumerator.cs: why does the runtime throw an invalid cast here? The
207         object is an Int16... Gotta fill a bug report and when fixed undo this
208         patch.
209
210 2003-01-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
211
212         * DbDataRecord.cs: return DbNull.Value in GetValue () if value is null.
213
214 2002-10-31  Daniel Morgan <danmorg@sc.rr.com>
215
216         * SchemaInfo.cs: added missing properties to fix mcs build
217
218 2002-05-05  Miguel de Icaza  <miguel@ximian.com>
219
220         * DataTableMapping.cs, DataTableMappingCollection.cs: comment out
221         interfaces we do not implement yet.
222
223         * DbDataAdapter.cs: Stub IEnumerable, comment out interfaces
224         we do not implement yet.
225
226         * DbDataPermissionAttribute.cs: call base constructor.
227