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