2006-01-31 Senganal <tsenganal@novell.com>
[mono.git] / mcs / class / System.Data / System.Data / ChangeLog
1 2006-01-31  Senganal T  <tsenganal@novell.com>
2
3         * DataSet.cs : Modified CopyRelations ()
4                 - Added code to copy ForeignKeyConstraints. Fixes #77411.
5         
6 2006-01-18 Boris Kirzner <borisk@mainsoft.com>
7         * DataColumn.cs: added PropertyCchangedEvent handling.
8
9 2006-01-17  Senganal T  <tsenganal@novell.com>
10         
11         * DataRow.cs:
12                 ItemArray : Modified to raise RowInTableException only if
13                 the concerned row has been removed from the table.Fixes 
14                 bug #77267
15
16 2006-01-16 Boris Kirzner <borisk@mainsoft.com>
17         * DataTable.cs: Drop dependend indexes on column removal.
18
19 2006-01-16  Atsushi Enomoto  <atsushi@ximian.com>
20
21         * CustomDataClassGenerator.cs :
22           When a DataRelation connects the same table as parent and child,
23           generate parent row property as BlahRowParent. Fixed bug #77248.
24
25 2006-01-10  Senganal T <tsenganal@novell.com>
26         * DataRowCollection.cs
27                 - Added ListChangedEvent to notify reset of the collection.
28         * DataView.cs
29                 - Subscribes to the ListChangedEvent of DataRowCollection
30                 Fixes bug #77188
31
32 2006-01-09  Senganal T <tsenganal@novell.com>
33         * RelatedDataView.cs
34         * DataColumn.cs
35                 - Resolving a name clash in IExpression
36
37 2006-01-06  Senganal T <tsenganal@novell.com>
38         
39         * DataColumn.cs
40         * DataColumnCollection.cs
41                 - Reset the Parameters of DataColumn to Default Values when 
42                 column is removed from the Table's Collection
43
44 2006-01-03  Senganal T <tsenganal@novell.com>
45
46         * DataTable.cs :
47                 - ParseSortString() : Changed the way the sort string is parsed.
48                 Using a regex to parse the string.Fixes bug #77104
49
50 2005-12-12  Konstantin Triger <kostat@mainsoft.com>
51
52         * DataRow.cs: Added index Updates.
53                 EndEdit() fixed to first update indices and then AssertConstraints
54                 based on those indices.
55                 Added Validate() and AssertConstraints() functions.
56         * DataRowCollection.cs: Removed ValidateDataRowInternal().
57         * DataTable: Fixed Clear().
58
59 2005-12-06  Atsushi Enomoto  <atsushi@ximian.com>
60
61         * CustomDataClassGenerator.cs : (InitializeFields) handle AllowDBNull
62           and DefaultValue as well. Patch by Marek Habersack (bug #76709).
63
64 2005-12-01  Miguel de Icaza  <miguel@novell.com>
65
66         * DataSet.cs: Apply patch from Robert Jordan, to fix #76817
67
68 2005-11-26  Konstantin Triger <kostat@mainsoft.com>
69
70         * ConflictOption.cs: TARGET_JVM include.
71
72 2005-11-11  Senganal T <tsenganal@novell.com>
73         
74         * ConflictOption.cs (new file)
75                 - Added ConflictOption Enumeration 
76         * DataTableReader.cs
77         * IDataRecord2.cs 
78                 - GetProviderSpecificFieldType : Corrected the method name
79
80 2005-11-11  Senganal T <tsenganal@novell.com>
81
82         * DataSet.cs : Added the SchemaSerializationMode Property for NET_2_0
83         compatibility.
84         * SchemaSerializationMode.cs : Added SchemaSerializationMode Enumeration
85         for NET_2_0 compatibility.
86
87         Fixes bug #76517
88
89 2005-10-20  Atsushi Enomoto  <atsushi@ximian.com>
90
91         * XmlSchemaWriter.cs : escape names in the schema with XmlConvert.
92           Fixed bug #76480.
93
94 2005-10-14  Sureshkumar T  <tsureshkumar@novell.com>
95
96         * DataView.cs: Correct multiple throwing of events. Patch from
97         Marc Haisenko.
98         (RowStateFilter): Fire ListChangedEvent.
99         (ApplyDefaultSort): Fire ListChangedEvent.
100         (CompleteLastAdded): call UpdateIndex to remove the row from rowCache.
101         (IBindingList.Find): Implemented.
102
103 2005-10-11  Sureshkumar T  <tsureshkumar@novell.com>
104
105         * DataView.cs (IBindingList): Implemented methods for IBindingList interface.
106
107 2005-09-26  Lluis Sanchez Gual <lluis@novell.com>
108
109         * DataSet.cs: In IXmlSerializable.GetSchema, return null again for
110         untyped datasets. Fixes bug #76101.
111
112 2005-09-21 Boris Kirzner <borisk@mainsoft.com>
113         * DataRow.cs: Fixes for index updating.
114         * DataTable.cs: 
115                 - Reset case-sensitive indexes also if their filter contains columns 
116                 of type string.
117                 - Use GetIndex instead of FindIndex, so the indexes created in Select()
118                 are reused. 
119         * RelatedDataView.cs: implement IExpression.Equals() and GetHashCode().
120         
121 2005-09-20  Sureshkumar T  <tsureshkumar@novell.com>
122
123         * DataView.cs (Sort): Apply default Sorting Order if Sort property
124         is reset to null. Sort property handles this. Patch from Marc.
125
126         * DataTable.cs (ParseSortString): Patch from  Marc Haisenko for
127         allowing [ & ] in DataView.Sort string.
128
129 2005-09-01 Boris Kirzner <borisk@mainsoft.com>
130         * System.Data/DataRowCollection.cs: indexes should be updated even if 
131         EnforceConstraints is false. Check for EnforceConstraints in
132         ValidateDataRowInternal.
133
134 2005-08-08  Gert Driesen  <drieseng@users.sourceforge.net>
135
136         * DataView.cs: Changed accessibility of dataTable, rowState and
137         rowCache field to internal to fix public API. Assigned TypeConverter
138         to Table property.
139         * ForeignKeyConstraint.cs: IsConstraintViolated is now internal.
140         * Constraint.cs: IsConstraintViolated is now internal.
141         * UniqueConstraint.cs: IsConstraintViolated is now internal.
142
143 2005-08-05  Atsushi Enomoto  <atsushi@ximian.com>
144
145         * XmlSchemaDataImporter.cs : When "dataset element" has identity
146           constraints, then first reserve constraints room for them and then
147           process elements, skipping pkey creation if there is already
148           reserved one. Fixed bug #75711.
149
150 2005-08-05  Atsushi Enomoto  <atsushi@ximian.com>
151
152         * XmlDataInferenceLoader.cs : in GetElementMappingType(), don't guess
153           the same (QNamed) element again when it was already evaluated as
154           not simple type. Fixed one part of bug #75711.
155
156 2005-08-02 Boris Kirzner <borisk@mainsoft.com>
157         * XmlSchemaDataImporter.cs : Data relations should be processed after the
158         keys, so no redundant constraints created while relations processing.
159
160 2005-07-25 Boris Kirzner <borisk@mainsoft.com>
161         * FillOptions.cs, ConflictOptions.cs, UpdateOptions.cs: 
162         added ifdef TARGET_JVM.
163
164 2005-07-22  Sureshkumar T  <tsureshkumar@novell.com>
165
166         * DataViewSettingCollection.cs, DataTableCollection.cs,
167         DataSet.cs, DataView.cs, DataColumn.cs, ForeignKeyConstraint.cs,
168         DataRelationCollection.cs, UniqueConstraint.cs, DataTable.cs,
169         DataColumnCollection.cs, DataRelation.cs, DataSet.cs:
170         - updated attributes & attribute descriptions to match with
171         masterinfos.
172
173         * DataView.cs: changed protected members
174         rowstate,rowcache,dataTable to protected internal.
175         * Constraint.cs, ForeignKeyConstraint.cs, UniqueConstraint.cs:
176         changed InConstraintViolated to protected internal.
177         * ConflictOptions.cs, UpdateOptions.cs, FillOptions.cs: enclosed
178         with NET_2_0 define.
179
180 2005-07-21  Sureshkumar T  <tsureshkumar@novell.com>
181
182         * ForeignKeyConstraint.cs: 
183         - IsConstraintViolated (): no matter what EnforceConstraints is,
184         this function now honestly validates. It is upto the caller to run
185         this or not.
186         - AddToConstraintCollectionSetup (): AssertConstraint according to
187         EnforceConstraints.
188         
189 2005-07-21 Boris Kirzner <borisk@mainsoft.com>
190         * ForeignKeyConstraint.cs - IsConstraintViolated() should check also for Table.EnforceConstraints.
191         * DataTable.cs - EnforceConstraints becomes internal so it can be used by ForeignKeyConstraint.
192
193 2005-07-19  Sureshkumar T  <tsureshkumar@novell.com>
194
195         * DataTable.cs - CopyConstraints (): copy constraints only if it
196         does not exist.
197
198         * DataSet.cs - Copy ():
199         - use activator.CreateInstance to create a typed dataset.
200         - copy tables if target does not exist, otherwise, just add rows.
201         - add relation only if it does not exists.
202
203         Typed datasets create the constraints & relations through
204         constructors. Fixes bug #75211.
205
206 2005-07-14  Sureshkumar T  <tsureshkumar@novell.com>
207
208         * DataView.cs: Patch from Marc Haisenko to throw descriptive error
209         message when accessing Item, with invalid index.
210
211 2005-07-14  Sureshkumar T  <tsureshkumar@novell.com>
212
213         reapplied patch from Marc Haisenko.
214         * DataView.cs: Patch from Marc Haisenko that ensures that rowCache
215         is never null.
216
217 2005-07-13  Sureshkumar T  <tsureshkumar@novell.com>
218
219         * DataRelationCollection.cs: adding a relation with same set of
220         parent columns & child columns, should not be allowed.
221
222 2005-07-08  Sureshkumar T  <tsureshkumar@novell.com>
223
224         * DataTableReader.cs: GetSchemaTable: DataType column should be
225         passed a type of Type.
226
227         * DataRow.cs: Load : Fired necessary events.
228
229         * DataTable.cs: LoadDataRow (object [], LoadOption): Fired
230         necessary events.
231
232 2005-06-28  Sureshkumar T  <tsureshkumar@novell.com>
233
234         * DataRow.cs: Delete (): if row is detached, do nothing.
235         fixes bug #75388.
236
237 2005-06-22  Sureshkumar T  <tsureshkumar@novell.com>
238
239         * DataRow.cs: Added method MergeValuesToRow copy merge two rows
240         according to the merge rules.
241
242         * MergeManager.cs: (MergeRow): use MergeValuesToRow
243         API. CopyValuesToRow simply makes the target row same as source
244         row. Rather, MergeValuesToRow merges with the target row according
245         to the merge rules.
246
247 2005-06-19  Konstantin Triger <kostat@mainsoft.com>
248
249         * DataSet.cs: Fixed ReadXml to work with IXmlSerializable
250
251 2005-06-17  Jordi Mas i Hernandez <jordi@ximian.com>
252
253         * DataViewManager.cs: fixes exception and creates DataView
254
255 2005-06-15  Sureshkumar T  <tsureshkumar@novell.com>
256
257         * DataRow.cs: CheckChildRows: cascade parent changes to child rows
258         only if there is a change in columns of the fk constraint.
259
260 2005-06-14  Sureshkumar T  <tsureshkumar@novell.com>
261
262         * DataSet.cs: GetChanges: if row is deleted, get parent rows based
263         on original version. fixes bug #75227.
264
265 2005-06-13  Sureshkumar T  <tsureshkumar@novell.com>
266
267         * DataRowCollection.cs: Find (keys, version): Added an overload to
268         find keys matching given DataViewRowState filter. Used in
269         DataSet.Merge and DataTable.LoadDataRow.
270
271         * DataTable.cs: LoadDataRow (values, LoadOption): Use
272         DataRowCollection.Find (object [], DataViewRowState) overload.
273
274         * DataRow.cs:
275         - CopyValuesToRow: Create target "records" out of loop. Records
276         should be created once, not for each column. Dispose Unused target
277         records.
278
279         * MergeManager.cs:
280         - MergeRow: Find rows with matching original records. If not,
281         select with current values.
282         - MergeRow: While adding new row, use NewNotInitializedRow.
283
284         * ForeignKeyConstraint.cs: IsConstraintViolated: should not check
285         if EnforceConstraints is false.
286
287 2005-06-10  Sureshkumar T  <tsureshkumar@novell.com>
288
289         * DataRow.cs: CopyValuesToRow: if orginal == current, don't create
290         a new current record.
291
292         * DataSet.cs: GetChanges :Temporarily disable EnforceConstraints.
293
294         * MergeManager.cs: Merge: Temporarily disable
295         EnforceConstraints. Patch from george.barbarosie@gmail.com (George
296         Barbarosie).
297
298 2005-06-09  Jordi Mas i Hernandez <jordi@ximian.com>
299
300         * DataView.cs: fixes GetListName
301
302 2005-06-02  Atsushi Enomoto  <atsushi@ximian.com>
303
304         * XmlSchemaConstants.cs,
305           XmlSchemaDataImporter.cs,
306           XmlSchemaWriter.cs : AutoIncrementStep support. Patch partly by
307           George Barbarosie. Fixed bug #75121.
308         * XmlSchemaMapper.cs : it is not used anymore, so just removed.
309
310 2005-05-31 Boris Kirzner <borisk@mainsoft.com>
311         * DataRow.cs : SetParentRow on Detached row with no Default version throws an exception.
312         
313 2005-05-29 Konstantin Triger <kostat@mainsoft.com>
314
315         * This patch fixes #74813
316         * DataView.cs: rework the CreateChildView to receive the index into the indexed row array, rowState became protected to be initialized from RelatedDataView
317         * DataRowView.cs: movo the logic of creating the child view to the DataView
318         * RelatedDataView.cs: perform correct init.
319
320 2005-05-25  Sureshkumar T  <tsureshkumar@novell.com>
321
322         * DataTable.cs: Reworked DataTable.LoadDataRow method after
323         regressions caused by Index redesign.
324         * DataRow.cs: Load : reworked.
325
326 2005-05-25 Konstantin Triger <kostat@mainsoft.com>
327
328         * ISafeDataRecord.cs: Added GetDateTimeSafe method, the interface was made derived from IDataRecord
329
330 2005-05-22 Konstantin Triger <kostat@mainsoft.com>
331
332         * DataTable.cs, DataColumn.cs: in continuation to the previous fix - moving the common logic to 1 function and throwing the correct exception in any flow
333
334 2005-05-20  Sureshkumar T  <tsureshkumar@novell.com>
335
336         * DataTable.cs: CreateRecord :value should be set to auto
337         increment value or default value if the given value is null.
338
339 2005-05-16 Konstantin Triger <kostat@mainsoft.com>
340
341         * DataTable.cs: In DataTable.LoadDataRow with LoadOption - reverting the search order back to Original -> Current (by Suresh request)
342
343 2005-05-16 Konstantin Triger <kostat@mainsoft.com>
344
345         * DataRow.cs, DataTable.cs: code under net_2_0 changed to use the new interface
346         * DataTable.cs: Added CompareRecords, which compares records in column order
347
348
349 2005-05-16  Sureshkumar T  <tsureshkumar@novell.com>
350
351         * DataRow.cs:
352         * DataTable.cs: quick fix to make build 2.0 profile (follow up for
353         check in 2005-05-16). Merge with previous changes.
354
355 2005-05-11  Sureshkumar T  <tsureshkumar@novell.com>
356
357         fix for "import row does not import deleted records"
358
359         * UniqueConstraint.cs: Make a way to access value even from a
360         deleted record. deleted records are added to the collection by
361         ImportRow method.
362
363         * DataRow.cs:
364         - Added restriction-less methods GetValue to fetch a
365         value even if it is in deleted state.
366         - If a row is detached, don't try to delete it from indexes.
367         - sanity check for record_index in CopyValuesToRow method
368
369 2005-05-05  Sureshkumar T  <tsureshkumar@novell.com>
370
371         * DataTableReader.cs: Implemented Delete handler and move the
372         current pointer accordingly.
373
374 2005-05-04  Sureshkumar T  <tsureshkumar@novell.com>
375
376         * DataTableReader.cs: Added event handlers to make reader stable
377         when the datasource is modified. Thanks to Umadevi for giving the
378         review comments for this implementation.
379
380         * DataTable.cs: Clear (): Raise TableCleared event.
381
382         * DataTableClearEventArgs.cs: Args for DataTableClearEventHandler.
383
384         * DataTableClearEventHandler.cs: Handler for DataTable.TableClear
385         event.
386
387         * DataRow.cs: AcceptChanges: raise row changing & row changed
388         events.
389
390         * DataRowCollection.cs: Clear : remove rows from indexes
391
392 2005-05-02  Atsushi Enomoto  <atsushi@ximian.com>
393
394         * XmlSchemaDataImporter.cs : XmlSchemaParicle might be XmlSchemaAny.
395           This fixes bug #74784.
396
397 2005-04-29  Sureshkumar T  <tsureshkumar@novell.com>
398
399         * DataTableReader.cs: removed use of _first. throw if given index
400         is out of range of columns. Copy DataTable [] to local array so
401         that not to be disturbed.
402
403 2005-04-27  Sureshkumar T  <tsureshkumar@novell.com>
404
405         * DataTableReader.cs: Implemented most of the TODO.
406
407 2005-04-22  Sureshkumar T  <tsureshkumar@novell.com>
408
409         * LoadOption.cs: Changed the enums. Keeping old values for
410         migration.
411
412         * DataTable.cs: Implemented methods Load and its overloads. Also
413         implemented LoadDataRow.
414
415         * DataRowCollection.cs: Added a variation of the Find method to
416         return a row even if it is of state Deleted. This is required for
417         DataTable.LoadDataRow method.
418
419         * DataRow.cs: Implemented internal helper method Load for loading
420         values from an object array and given an LoadOption (2.0 feature).
421
422         * DataRowAction.cs: Added few more enums for .net 2.0. Sorted
423         alphabetically.
424
425 2005-05-16 Konstantin Triger <kostat@mainsoft.com>
426
427         * UniqueConstraint.cs : IsNull check is relevant for rows having default row version.
428         * DataTable.cs : The row should be validated when imported
429         * DataRowCollection.cs : if the row does not contain Proposed neither Current version, it's irrelevant for validation
430
431 2005-04-26 Boris Kirzner <borisk@mainsoft.com>
432
433         * UniqueConstraint.cs :
434                 - Add indication whenever the constraint belongs to collection. 
435                 - Calculation of IsPrimaryKey simplified.
436                 - If constraint is based on single column, the column becomes unique.
437                 - Use boolean IsConstraintViolated() instead of AssertConstraint().
438                 - Use Index.Duplicates to proper exception message formatting.
439                 - AssertConstraint(DataRow) changed to suite new indexes interface.
440                 - Added CanRemoveFromCollection method.
441                 - Contains() method renamed to IsColumnContained().
442         * RelatedDataView.cs : added new class.
443         * MergeManager.cs :
444                 - Reset indexes after merge.
445                 - Add new tables when row array is merged into dataset.
446                 - Clean proposed record in MergeRow.
447                 - Inherit nesting on creating new relations in target data set.
448                 - Avoid double loop on constraints collection.
449         * Locale.cs : added new class.
450         * ISafeDataRecord.cs : added new interface.
451         * Index.cs : commented out. Index implementation moved to System.Data.Common.
452         * ForeignKeyConstraint.cs : 
453                 - No more use of childColumnsExtended since new indexes allow duplicate records.
454                 - Constraints can not be created on expression columns.
455                 - Removed unnecessary delegation.
456                 - Use boolean IsConstraintViolated() instead of AssertConstraint(). 
457                 - Use proper exception message formatting.
458                 - Contains() method renamed to IsColumnContained().
459         * DataViewRowState.cs : use enum members to simplify notation.
460         * MergeManager.cs : implemented RelationCollectionChanged().
461         * DataView.cs :  new implementation.
462         * DataTableCollection.cs : 
463                 - Added boundary check in indexer.
464                 - More accurate handling in AddRange().
465                 - Raise event in Remove().
466         * DataTable.cs :
467                 - Hold primary key as constraint.
468                 - Added accurate handling of DefaultView.
469                 - Hold DataRowBuilder per table.
470                 - Proper exception messages if enforce Constraints is violated.
471                 - If there is no rows, Compute() returns DBNull.
472                 - Use DataRow properties instead of private members.
473                 - CopyProperties() fixed.
474                 - Raise proper events in EndInit().
475                 - Proper order of violation checks in EndLoadData().
476                 - Create array of rows using NewRowArray().
477                 - ImportRow handles rows according to their versions.
478                 - LoadDataRow make use of records (instead of raw object array).
479                 - Added and implemented LoadDataRow() that gets IDataRecord as a parameter (used in Fill)
480                 - Select() uses indexes filtering and sorting ability (instead of "loop-throw-sort" approach).
481                 - Removed redundant RowSorter and Sortable column classes.
482                 - ParseSortString() fixed to threat bracketed column names.
483                 - Table holds collection of property descriptors.
484         * DataSet.cs :
485                 - Reset table case sensitive indexes on CaseSensitive change.
486                 - EnforceConstraints update logic moved to internal method (used by DataTable).
487                 - InAddChangedRow first add row and than copy values for proper handling of default values.
488         * DataRowView.cs :
489                 - Changed private member names to suite name convention.
490                 - CancelEdit() fixed.
491                 - CreateChildView() delegates to DataView.
492                 - IsNew fixed.
493                 - Proper exception messages in indexers.
494                 - RowVersion uses DataView.
495                 - GetProperties() delegates to corresponding table if needed.
496         * DataRowCollection.cs :
497                 - Common Add() logic moved to AddInternal() (used also by DataTable).
498                 - Removed redundant check from Contains().
499                 - Dalegate Find() calls when possible.
500                 - Remove() fixed.
501                 - RomoveAt() delegates to Remove().
502                 - Optimized constraints check in row validation.
503         * DataRelationPropertyDescriptor.cs : added new class.
504         * DataRelationCollection.cs :
505                 - Indexers fixed.
506                 - Fixed order of actions in AddCore().
507                 - RemoveCore() also delegates to base.
508                 - Add relation to dataset also in AddCore().
509                 - Remove relation from dataset also in RemoveCore().
510                 - InTransition hold a data relation so we can properly identify the "in transition" state.
511                 - Added threat of parent and child table s property descriptors in Add().
512                 - Common Add() logic moved to AddCore().
513                 - Clear() fixed.
514                 - Remove() threats "in transition" state properly.
515                 - Remove methods delegate to single implementation.
516         * DataColumnPropertyDescriptior.cs :
517                 - Added new constructor.
518                 - Commented out redundant method.
519         * DataColumnCollection.cs :
520                 - Boundary check in indexer.
521                 - RegisterName and UnregisterName become internal (used also by DataColumn).
522                 - Fixed AddRange().
523                 - Fixed CanRemove().
524                 - Rethrow correct exception in Clear();
525                 - Change in collection resets parent table property descriptors.
526                 - Added PostEndEdit() helper method (used by DataTable).
527         * DataColumn.cs :
528                 - Private member names changed to suite name convention.
529                 - Created method for CanAutoIncrement() logic.
530                 - Proper handling of column name update.
531                 - Proper exception messages on expression update.
532                 - Proper namespace handling (delegates to table when needed).
533                 - Removed redundant check in Unique update.
534                 - Implemented internal Clone().
535                 - GetParentRalation() and GetChildRelation() become private.
536         * Constraint.cs :
537                 - Added abstract methods (implemented in UniqueConstraint and ForeignKeyConstraint).
538                 - Simplified index update.
539         * ConstraintCollection.cs :
540                 - Use Locale instead of CaseSensitive in column names comparison.
541                 - Removed #ifdef
542                 - Rethrow correct exception type in Add().
543                 - Proper update of table primary key in Add().
544                 - Delegate CanRemove() to constraint.
545                 - Remove table primary key in Clear();
546                 - Delegate "can remove" check to constraint in Remove().
547                 - Removed unnecessary methods and properties.
548         * DataRow.cs :
549                 - RowSate becomes calculated property.
550                 - Use properties instead of private members where possible.
551                 - Fixed indexer.
552                 - Fixed order of actions in ItemArray update.
553                 - Fixed DetachRow().
554                 - Added ImportRecord() method.
555                 - Removed redundant SetValuesFromDataRecord().
556                 - Fixed IndexFromVersion().
557                 - Added VersionFromIndex() method. Returns row version the passed record index corresponds to.
558                 - Fixed AcceptChanges().
559                 - Fixed creating proposed version in BeginEdit();
560                 - Added record disposal in Delete().
561                 - Fixed CheckChildRows().
562                 - EndEdit() fixed. Checks for readonly. Uses straight flow instead of "try and fix if fail" approach.
563                 - GetChildRows() and GetPrarentRows() rewrited. Use records and indexes for rows lookup.
564                 - GetColumnError() delegates to another implementation.
565                 - HasVersion() fixed.
566                 - RejectCahnges checks on child rows before passing through.
567                 - SetParentRow() fixed. Create relation collection if needed. Use typed data container value copy.
568                 - CopyErrors() logic moved to separate method (used also by DataTable).
569         * ExpressionElement.cs : added new class.
570         * Res.cs : added new class.
571
572 2005-04-20  Jordi Mas i Hernandez <jordi@ximian.com>
573
574         * DataViewManager.cs: implements TypedList.GetListName used in SWF
575
576 2005-04-19  Atsushi Enomoto  <atsushi@ximian.com>
577
578         * DataRowView.cs : indexer should access to DataRow with proper
579           DataRowVersion. Fixed bug #74650.
580
581 2005-04-18  Sureshkumar T  <tsureshkumar@novell.com>
582
583         * DataRow.cs: if there are no mapping fields, fill with default
584           value.
585
586 2005-04-17  Atsushi Enomoto  <atsushi@ximian.com>
587
588         * DataView.cs : Delete() should not try to remove row twice.
589           Fixed bug #74631.
590
591 2005-04-13  Atsushi Enomoto  <atsushi@ximian.com>
592
593         * DataTable.cs : Use GetRowType() for the base of the returning array 
594           type of Select(). Fix by Gerhard Rittweger.
595         * CustomDataClassGenerator.cs : Fixed slightly harmless wrong code.
596
597 2005-04-13  Atsushi Enomoto  <atsushi@ximian.com>
598
599         * CustomDataClassGenerator.cs : custom relation was not added to
600           Relations property. The second entry of bug #69276 was fixed.
601           Patch by Daniel Rodriguez.
602
603 2005-04-07  Lluis Sanchez Gual <lluis@novell.com>
604
605         * DataRowCollection.cs: Fix the signature of the Add method
606         for NET_2_0.
607
608 2005-03-16  Atsushi Enomoto  <atsushi@ximian.com>
609
610         * DataRow.cs : on importing row, it was copying data from incorrect
611           DataRow. This fixes bug #73288.
612
613 2005-03-07  Jackson Harper  <jackson@ximian.com>
614
615         * DataViewManagerListItemTypeDescriptor.cs: Implement missing
616         features. These are needed for System.Windows.Forms databinding.
617
618 2005-02-25  Atsushi Enomoto  <atsushi@ximian.com>
619
620         * DataColumn.cs : setting negative value on MaxLength of SimpleContent
621           column is still valid.
622
623 2005-02-15  Atsushi Enomoto  <atsushi@ximian.com>
624
625         * XmlSchemaWriter.cs : new file for outputting XmlSchema.
626         * DataSet.cs : removed rewritten code in XmlSchemaWriter.
627         * XmlConstants.cs : added UseCurrentCulture constant.
628         * DataTable.cs :
629           Use new Xml Schema writer.
630           Use XmlSchemaDataImporter as we use in DataSet.
631
632 2005-02-10  Atsushi Enomoto  <atsushi@ximian.com>
633
634         * DataView.cs, DataRowView.cs : Fixed bug #72421. CreateChildView()
635           should target only child rows.
636
637 2005-02-03  Atsushi Enomoto  <atsushi@ximian.com>
638
639         * DataViewManager.cs: misuse of ReadStartElement(string).
640         * DataRowView.cs : removed some MonoTODO.
641
642 2005-02-02  Sureshkumar T  <tsureshkumar@novell.com>
643             Ankit Jain     <radical@corewars.org>
644
645         * DataColumn.cs: throw exception if the column is part of a
646         relationship, when chaning the data type. Added methods
647         "GetParentRelation ()" and "GetChildRelation ()" get the relation
648         which contains the current column
649         * DataRelation.cs: Added method "Contains (DataColumn)" to check
650         whether the relation contains the given column.
651
652         fixes nunit failure: DataRelationTest.InvalidConstraintException2.
653
654 2005-02-02  Sureshkumar T  <tsureshkumar@novell.com>
655
656         * DataColumnCollection.cs: implemented todo item "check for
657         constraints" when removing columns from table.
658         * DataRowCollection.cs: Clear (): don't have to throw child key
659         constraint exception when the child table does not have any
660         rows. safe to remove parent rows.
661         * UniqueConstraint.cs: added method "Contains (DataColumn)" to
662         check whether a column is part of UniqueConstraint.
663         * ForeignKeyConstraint.cs: added method "Contains (DataColumn,
664         lookInParent)" to check whether a column is part of foreignkey.
665
666         fixes nunit failure: DataTableTest.ClearTest ()
667
668 2005-02-02  Sureshkumar T  <tsureshkumar@novell.com>
669
670         * ForeignKeyConstraint.cs: validating columns: move checking
671         "tables are of same dataset" before "checking column types".
672
673         fixes nunit failure: ForeignKeyConstraint.CtorExceptions.
674         
675 2005-02-02  Atsushi Enomoto  <atsushi@ximian.com>
676
677         * DataViewManager.cs : let's just use StringWriter instead of 
678           XmlTextWriter (to avoid empty tag string mismatch annoyance.)
679         * DataView.cs : implemented BeginInit() and EndInit(). Don't update
680           rows during init phase until EndInit() is invoked. During init phase,
681           just hold properties such as Sort that affects on rows.
682
683 2005-02-02  Atsushi Enomoto  <atsushi@ximian.com>
684
685         * DataTableCollection.cs : (RemoveAt) just use IndexOutOfRangeException.
686
687 2005-02-02  Atsushi Enomoto  <atsushi@ximian.com>
688
689         * DataView.cs : DataRowView.EndEdit() raises ItemMoved event.
690           set_Table clears Sort and RowFilter.
691
692 2005-02-02  Atsushi Enomoto  <atsushi@ximian.com>
693
694         * DataView.cs :
695           - Clear() should clear AddNew cache.
696           - Open() invokes Reset().
697           - ConstraintCollectionChanged() itself does not invoke OnListChanged().
698           - Reset() does not Open, Close and Update Index.
699           - UpdateIndex() can be invoked even if it has no table.
700           - Reset event is invoked always after actual query to table.
701           - set_Table should raise PropertyDescriptorChanged event.
702
703 2005-02-02  Atsushi Enomoto  <atsushi@ximian.com>
704
705         * DataView.cs : ColumnCollectionChanged() is the event invoker (i.e.
706           when overriden, no column change events are fired).
707
708 2005-02-02  Atsushi Enomoto  <atsushi@ximian.com>
709
710         * DataView.cs : CancelEditRowView() and DeleteRowView() was incorrectly
711           checking target tables. They also should raise events if required.
712
713 2005-02-02  Atsushi Enomoto  <atsushi@ximian.com>
714
715         * DataView.cs : simplify code with UnsortedList.
716
717 2005-02-01  Atsushi Enomoto  <atsushi@ximian.com>
718
719         * DataView.cs : Mostly reimplemented.
720           - UpdateIndex() is invoked only when it is required (results in 
721             significant performance improvement).
722           - Use SortedList and wrapper OptionalSortedList which switches
723             between SortedList (with Sort) and UnsortedList (without Sort).
724           - DataView itself now contains two collections for rowviews:
725             Table rows based pool and AddNew() based cache. Consider those
726             two collections in every members.
727           - Reset() does not clear rows. Just invokes UpdateIndex().
728           - Hook RowDeleting, ColumnChanging and ColumnChanged events in table
729             which is required to handle state changes.
730           - Reimplemented Find() and FindRows() because of internal changes.
731
732 2005-02-01  Atsushi Enomoto  <atsushi@ximian.com>
733
734         * DataTable.cs : Fixed row comparer. Even if every of the sort target
735           columns are identical for two rows, they should not be regarded as
736           the same unless they are Object.ReferenceEquals.
737
738 2005-02-01  Atsushi Enomoto  <atsushi@ximian.com>
739
740         * DataRowCollection.cs : on adding a row, should raise
741           ChangingDataRow() as well as ChangedDataRow().
742
743 2005-01-31  Sureshkumar T  <tsureshkumar@novell.com>
744
745         * DataRow.cs: SetParentRow (): use relation.ParentColumns &
746         relation.ChildColumns instead of relation.ChildKeyConstraint.*
747         because createConstrains flag may be false when creating data
748         relations. Hack along with Ankit Jain.
749         
750 2005-01-31  Atsushi Enomoto  <atsushi@ximian.com>
751
752         * DataView.cs :some interface implementations.
753
754 2005-01-28  Atsushi Enomoto  <atsushi@ximian.com>
755
756         * DataView.cs : Add to table only when the row is not in the table.
757
758 2005-01-28  Atsushi Enomoto  <atsushi@ximian.com>
759
760         * DataView.cs : implemented FindRows() (btw we should not use
761           DataTable since there are detached rows by AddNew().)
762
763 2005-01-28  Atsushi Enomoto  <atsushi@ximian.com>
764
765         * DataView.cs :
766           Code cleanup: privatify some members, remove unused methods.
767           Some event-based invocation methods should not raise NotImplemented.
768
769 2005-01-28  Atsushi Enomoto  <atsushi@ximian.com>
770
771         * DataSet.cs : ReadXml() became closer to MS behavior, being hacky.
772
773 2005-01-28  Atsushi Enomoto  <atsushi@ximian.com>
774
775         * XmlSchemaDataImporter.cs : empty element is not regarded as a column.
776
777 2005-01-28  Atsushi Enomoto  <atsushi@ximian.com>
778
779         * UniqueConstraint.cs : mostly reverted the previous patch + check
780           IsPrimaryKey before validation.
781
782 2005-01-28  Atsushi Enomoto  <atsushi@ximian.com>
783
784         * DataView.cs : Fixed duplicate insertion to Hashtable.
785         * UniqueConstraint.cs : Unique constrained pair of columns could be
786           nullable.
787
788 2005-01-27  Atsushi Enomoto  <atsushi@ximian.com>
789
790         * DataView.cs :
791           Don't do anything for Sort/ApplyDefaultSort/RowFilter/RowStateFilter
792           when the same value is being set.
793           Examined UpdateIndex() and marked FIXME where MS does not invoke it.
794           Removed unused OnColumnChanged().
795           Now store rowViewPool and reuse DataRowView objects.
796           Optimized UpdateIndex() - avoid ArrayList. Avoid Haashtable.Rehash().
797
798 2005-01-27  Atsushi Enomoto  <atsushi@ximian.com>
799
800         * DataViewSettings.cs : no MonoTODO anymore.
801         * DataViewManager.cs : pass itself to new DataView() (new ctor).
802         * DataRowView.cs : GetHashCode() returns its Row's hash.
803         * DataTablePropertyDescriptor.cs : use new ctor().
804         * DataView.cs : added new ctor()s that accept DataViewManager.
805
806 2005-01-27  Atsushi Enomoto  <atsushi@ximian.com>
807
808         * DataView.cs, DataRowView.cs : AddNew() should not add the row to table
809           (it is still detached). So handle those rows differntly.
810           CancelEdit(), EndEdit() and Delete() propagates those events to
811           DataView (and handle row collection).
812           Eliminate "throw new Exception()".
813           Don't catch all the exception thrown in ListChanged event.
814         * DataTable.cs : made RowSorter as internal and use it in DataView.
815           no need to pass DataRow[] to .ctor().
816
817 2005-01-27  Atsushi Enomoto  <atsushi@ximian.com>
818
819         * DataTable.cs : don't create DefaultView unless it is required. It
820           significantly improves performance. (i.e. DataView perf. is sick ;-)
821
822 2005-01-27  Atsushi Enomoto  <atsushi@ximian.com>
823
824         * DataViewSetting.cs,
825           DataViewSettingCollection.cs,
826           DataViewManager.cs : implemented basic members.
827
828 2005-01-26  Atsushi Enomoto  <atsushi@ximian.com>
829
830         * Node.cs, DataColumnPropertyDescriptor.cs, DataTable.cs :
831           Eliminate "throw new Exception".
832
833 2005-01-25  Atsushi Enomoto  <atsushi@ximian.com>
834
835         * DataRow.cs : (set_Item) RowNotInTableExeption check should be done
836           regardless of index existence.
837
838 2005-01-25  Atsushi Enomoto  <atsushi@ximian.com>
839
840         * DataTable.cs : use new IExpression.EvalBoolean() to avoid extraneous
841           boxing.
842
843 2005-01-25  Sureshkumar T  <tsureshkumar@novell.com>
844
845         * DataTable.cs: ImportRow :Do not add to rows collection if the
846         import row is in detached state.
847
848 2005-01-25  Sureshkumar T  <tsureshkumar@novell.com>
849
850         * DataRow.cs: CopyValuesToRow : set the column value with the
851         default version of the given row.
852         * DataTable.cs: ImportRow: Copy values before adding row.
853         * DataSet.cs: AddChangedRow: Add the row to the table after
854         copying values.
855         
856         Fixes bug #67317. Patch by Ankit Jain.
857
858 2005-01-25  Atsushi Enomoto  <atsushi@ximian.com>
859
860         * DataRowView.cs : Fixed IsEdit to reflect correct status of DataRow.
861         * DataRow.cs : Expose editing status internally.
862
863 2005-01-25  Atsushi Enomoto  <atsushi@ximian.com>
864
865         * DataView.cs : missing attributes.
866
867 2005-01-24  Atsushi Enomoto  <atsushi@ximian.com>
868
869         * DataRowView.cs : implemented CreateChildView().
870
871 2005-01-24  Atsushi Enomoto  <atsushi@ximian.com>
872
873         * DataTable.cs, DataView.cs :
874           Optimized DataView to compile only once RowFilter and Sort when 
875           those properties are set. To make it possible, extracted 
876           SortableColumn out of DataTable and added internal DataTable.Select()
877           that accepts precompiled IExpression and SortableColumns[].
878
879 2005-01-24  Atsushi Enomoto  <atsushi@ximian.com>
880
881         * DataColumn.cs : set_MaxLength is not allowed when it is mapped to
882           SimpleContent. (However, it is weird but it never fails when we set
883           ColumnMapping = MappingType.SimpleContent when we fhave MaxLength.)
884
885 2005-01-21  Atsushi Enomoto  <atsushi@ximian.com>
886
887         * DataRow.cs : more Current -> Default fixes. Check if it should throw
888           VersionNotFoundException. Patch by Ankit Jain.
889
890 2005-01-21  Atsushi Enomoto  <atsushi@ximian.com>
891
892         * DataRow.cs : Default selects the right version for the current
893           state of the row. Current is not always available. Also change
894           that for GetParentRow(). Patch by Ankit Jain.
895
896 2005-01-21  Atsushi Enomoto  <atsushi@ximian.com>
897
898         * DataTable.cs : CopyColumn() should copy AutoIncrement after
899           DefaultValue, or it will raise an error in some cases.
900
901 2005-01-20  Atsushi Enomoto  <atsushi@ximian.com>
902
903         * ConstraintCollection.cs : Add() should throw ArgumentException when
904           the argument constraint fails validation.
905           DataTable.cs : set_PrimaryKey should throw ArgumentException when
906           the argument contains constraints which fail validation.
907
908 2005-01-19  Sureshkumar T  <tsureshkumar@novell.com>
909
910         * DataRelationCollection.cs: 
911
912         Method Remove : Donot throw exception if DataRelation argument is
913         null in DataRelationCollection.Remove method.
914
915         Method RemoveAt : Exception should be IndexOutOfRangeException if
916         row index is not in list range.
917
918         Fixes nunit failures DataRelationCollection.Remove and
919         DataRelationCollection.RemoveAt.
920
921 2005-01-19  Sureshkumar T  <tsureshkumar@novell.com>    
922
923         * ConstraintCollection.cs: Donot throw exception if constraints
924         are null in AddRange method. Check for null before using the
925         argument.
926
927         fixes bug #69381.
928
929 2004-01-19  Atsushi Enomoto  <atsushi@ximian.com>
930
931         * XmlDataInferenceLoader.cs,
932           XmlDataReader.cs : Check if the XmlReader (node) represents DataSet
933           or a table, reusing code block in XmlDataInferenceLoader.
934           This fixes bug #60118.
935
936 2004-01-19  Atsushi Enomoto  <atsushi@ximian.com>
937
938         * XmlDiffLoader.cs : Ankit Jain <radical@imt.ac.in> has a conflicting
939           patches and some good catches. Some attributes should be skipped,
940           and loaded value must be typed.
941
942 2004-01-19  Atsushi Enomoto  <atsushi@ximian.com>
943
944         * XmlConstants.cs,
945           XmlDataInferenceLoader.cs, 
946           XmlDataReader.cs : use common const for http://www.w3.org/2000/xmlns/.
947         * XmlDiffLoader.cs : It was not handling attributes. Fixed bug #70961.
948
949 2005-01-18  Sureshkumar T  <tsureshkumar@novell.com>
950
951         Fix for bug #66838. This patch is submitted by "Ankit Jain"
952         <radical@corewars.org> and refactored.
953
954         * DataRow.cs: Allows to set a parent row even if the row is in
955         detached state.
956
957         * DataRelation.cs: method "UpdateConstraints" is added to check
958         and create missing keys when adding a relation. This is refactored
959         approach from DataRelationCollection.Add method.
960
961         * DataRelationCollection.cs: AddCore methods of all relation types
962         are synchronized. A Check for existing constraints is
963         done. Relation is added to the list only if all checks are passed.
964
965 2004-01-18  Atsushi Enomoto  <atsushi@ximian.com>
966
967         * DataColumnCollection.cs : Clear() throws ArgumentException that
968           wraps thrown innerException.
969         * XmlSchemaDataImporter.cs : removed FIXMEs.
970
971 2004-01-12  Atsushi Enomoto  <atsushi@ximian.com>
972
973         * DataSet.cs : When serializing DataTable, BuildSchema() is passed
974           null relation collections.
975           Quick fix for XmlSerializer deserialization. It does not require
976           XML Schema included.
977
978 2004-01-11  Atsushi Enomoto  <atsushi@ximian.com>
979
980         * DataSet.cs,
981           CustomDataClassGenerator.cs :
982           In DataSet class, IXmlSerializable.GetSchema() returns null.
983           In strongly-typed class, it returns schema.
984
985 2004-01-07  Atsushi Enomoto  <atsushi@ximian.com>
986
987         * XmlDataInferenceLoader.cs : test driver class should be excluded.
988
989 2004-12-01  Miguel de Icaza  <miguel@ximian.com>
990
991         * DataView.cs: Patch from Marc Haisenko that ensures that rowCache
992         is never null.
993
994 2004-11-10  Atsushi Enomoto  <atsushi@ximian.com>
995
996         * CustomDataClassGenerator.cs : generated foreign key constraint
997           construction code was creating empty child columns and thus it
998           was invalid. This fixes bug #69276 (patch by Martin Voelkle).
999
1000 2004-11-02  Atsushi Enomoto  <atsushi@ximian.com>
1001
1002         * CustomDataClassGenerator.cs : custom DataTable ctor should call
1003           InitializeFields(), and those DataColumns created by that method
1004           should take data type. This should fix bug #68972.
1005
1006 2004-10-15  Atsushi Enomoto  <atsushi@ximian.com>
1007
1008         * DataSet.cs : Also clear UnhandledAttributes ArrayList before 
1009           generating next attribute column schema. This fixes bug #68432.
1010
1011 2004-10-14 Umadevi S <sumadevi@novell.com>
1012         * DataTable.cs : Corrected the Clone method to use  Activator.CreateInstance so that the
1013         correct subclass is returned. This fixes bug #67631
1014                                                                                         
1015 2004-10-14 Umadevi S <sumadevi@novell.com>
1016         * DataSet.cs : Corrected the Clone method to use  Activator.CreateInstance so that the  
1017         correct subclass is returned. This fixes bug #67627
1018
1019 2004-10-13  Atsushi Enomoto  <atsushi@ximian.com>
1020
1021         * DataSet.cs : clear UnhandledAttributes ArrayList before generating
1022           next element column schema. This fixes bug #68256.
1023
1024 2004-10-12  Atsushi Enomoto  <atsushi@ximian.com>
1025
1026         * DataSet.cs : now xs:schema contains xmlns="".
1027           This fixes bug #68008.
1028
1029 2004-10-12  Atsushi Enomoto  <atsushi@ximian.com>
1030
1031         * DataSet.cs : DBNull attribute column should not be written as
1032           empty attribute. This fixes bug #68007.
1033
1034 2004-10-12  Atsushi Enomoto  <atsushi@ximian.com>
1035
1036         * DataSet.cs, XmlConstant.cs, XmlSchemaDataImporter.cs:
1037           DataColumn.ReadOnly was not handled. This fixes bug #68005.
1038           Attribute defaultValue was not handled too.
1039
1040 2004-10-07  Atsushi Enomoto  <atsushi@ximian.com>
1041
1042         * DataSet.cs :
1043           - When AllowDBNull is false on attribute DataColumn, its schema
1044             should contain use="required". This fixes bug #66792.
1045           - If MaxLength is set on attribute DataColumn, the mapped schema
1046             type should contain maxLength facet. This fixes bug #66793.
1047
1048 2004-10-04  Atsushi Enomoto  <atsushi@ximian.com>
1049
1050         * DataSet.cs : For a row, when a relation is not nested, then it is
1051           still output target since it won't be written as a child of its
1052           parent. It fixes bug #66379.
1053
1054 2004-10-03  Atsushi Enomoto  <atsushi@ximian.com>
1055
1056         * DataSet.cs : Attribute constraint field XPath must be written as
1057           @blah. This fixes bug #66366.
1058
1059 2004-09-28 Umadevi S <sumadevi@novell.com>
1060         * DataRow.cs - checked for Enforceconstraints, while using indices to search for related rows
1061
1062 2004-09-24  Sureshkumar T  <tsureshkumar@novell.com>
1063
1064         * DataSet.cs : Don't check constraints for dataset clear
1065         * DataRowCollection.cs : check for EnforceConstraints flag 
1066         before checking foriegn key constraints in Clear method
1067         * DataTable.cs : Redundant checking removed in Clear method as it is
1068         checked in DataRowCollection.Clear method. 
1069
1070
1071 2004-09-19  Sureshkumar T <tsureshkumar@novell.com>
1072         * DataRow.cs : while deserialization of dataset, adding a current row precedes the original row.
1073                        hence, adding a row cache is necessary if the original row happens to be current.
1074                        fixed bug #63097
1075
1076 2004-08-23  Martin Baulig  <martin@ximian.com>
1077
1078         * XmlDataInferenceLoader.cs (Driver): Make this class internal,
1079         not public.
1080
1081 2004-08-18 Umadevi S <sumadevi@novell.com>
1082         * DataView.cs - Completed most of the event handling. 
1083         Thanks to Punit Todi <punit_todi@da-iict.org> for implementing most of it.
1084         Thanks to Boris Kirzner <borisk@mainsoft.com> for commenting and suggesting changes to the implementation.
1085         * DataTable.cs - Changed Access modifiers of class/methods since it was used by DataView.
1086
1087 2004-08-06  Atsushi Enomoto  <atsushi@ximian.com>
1088
1089         * DataSet.cs : DataSet's ExtendedProperties were not XmlConverted.
1090
1091 2004-08-05  Atsushi Enomoto  <atsushi@ximian.com>
1092
1093         * XmlConstants.cs : Added constants for "msprop" support.
1094         * DataSet.cs : ExtendedProperties should be written in the schema.
1095           This fixes bug #61233.
1096
1097 2004-07-27  Atsushi Enomoto  <atsushi@ximian.com>
1098
1099         * DataSet.cs : on serialization to XmlWriter, XmlConvert should be
1100           used. There were also some culture dependency problems to write int.
1101
1102 2004-06-27  Atsushi Enomoto  <atsushi@ximian.com>
1103
1104         * XmlDataInferenceLoader.cs : It was not always filling relation
1105           child table information correctly. This fixes bug #60742.
1106
1107 2004-06-23 Umadevi S <sumadevi@novell.com>
1108         * UniqueConstraint.cs :changed a ifdef true to ifdef NET_1_1
1109
1110 2004-06-22  Atsushi Enomoto  <atsushi@ximian.com>
1111
1112         * DataSet.cs : Fixed ReadXml(). When ReadMode is ReadSchema and the
1113           schema is inside the document element (as created in XmlWriteMode
1114           .WriteSchema), it should read schema from that non-document element.
1115           This fixes one case reported in bug #60470.
1116
1117 2004-06-20  Atsushi Enomoto  <atsushi@ximian.com>
1118
1119         * XmlDataInferenceLoader.cs : Kindly reject xml schema document as a
1120           inference target. For bug #60470. (MS does not support schema
1121           document inference and results in unconsistent dataset structure.)
1122
1123 2004-06-20  Atsushi Enomoto  <atsushi@ximian.com>
1124
1125         * DataTableCollection.cs : reset the table's DataSet to null when
1126           removing a table from this collection.
1127         * DataTable.cs : When Namespace is not specified explicitly, its
1128           Namespace property reflects DataSet's Namespace if exist.
1129           This fixes bug #60469.
1130
1131 2004-06-18  Gert Driesen <drieseng@users.sourceforge.net>
1132
1133         * DBConcurrentcyException.cs: CRLF to LF
1134         * DataViewSetting.cs: CRLF to LF
1135
1136 2004-06-18  Gert Driesen <drieseng@users.sourceforge.net>
1137
1138         * DataViewSetting.cs: renamed fields to match MS.NET
1139
1140 2004-06-18  Gert Driesen <drieseng@users.sourceforge.net>
1141
1142         * DBConcurrencyException.cs: fixed serialization compatibility with
1143         MS.NET
1144
1145 2004-06-17  Boris Kirzner  <borisk@mainsoft.com>
1146
1147         * ChangeLog : Fix for misspelled words.
1148
1149 2004-06-17  Boris Kirzner  <borisk@mainsoft.com>
1150
1151         * DataRowCollection.cs : Removed onColumnRemoved since it is not in use.
1152         
1153 2004-06-17  Boris Kirzner  <borisk@mainsoft.com>
1154
1155         * DataTable.cs :
1156           - Table stores default values for columns in special default values row. 
1157           It is allocated once (in NewRow).
1158           - DataTable.Copy rewrited. It works with uninitialized rows for better perfomance.
1159           - OnRemoveColumn has nothing to perform by now.
1160
1161 2004-06-17  Boris Kirzner  <borisk@mainsoft.com>
1162
1163         * DataRow.cs : 
1164           - Changed access of original, current and proposed indexes to internal.
1165           - ColumnErrors reviewed : now column errors stored in ArrayList and allocated on demand only.
1166           - Added new DataRow constructor that creates uninitialized DataRow (used in DataTable.Copy).
1167           - Use DataContainer.CopyValue and default values row for faster set of default values in row.
1168           - SetColumnValue become CheckValue. Now it does not changes the value, but only checks for its correctness.
1169           Care about Null and DBNull values is now in DataContainer.
1170           - Use DataColumn.AutoIncrementValue and GetInt64 for faster set of autoincrement value.
1171           - Use Datacontainer.CopyValue and default values row to speed up CheckChildRows.
1172           - Fix in CopyState : clone column errors.
1173           - Removed CollectionChanged and onColumnRemoved since we are not using both of them anymore.
1174
1175 2004-06-17  Boris Kirzner  <borisk@mainsoft.com>
1176
1177         * DataColumnCollection.cs : 
1178           - Fix : Add() now delegates to Add(DataColumn).
1179           - autoIncrement list holds DataColumn objects, and not just column names.
1180
1181 2004-06-17  Boris Kirzner  <borisk@mainsoft.com>
1182
1183         * DataColumn.cs : 
1184           - AutoIncrementValue fixes. Now AutoIncrement uses DataContainer.GetInt64 to avoid boxing.
1185           - DefaultValue fixes. Default value from now on is also stored in special record in 
1186           DataTable, so we're able to set default value for the column faster (typed).
1187         
1188         
1189 2004-06-15  Atsushi Enomoto  <atsushi@ximian.com>
1190
1191         * DataSet.cs : children of non-root rows were not properly written.
1192           Fixed bug #53959.
1193
1194 2004-06-10 Umadevi S <sumadevi@novell.com>
1195         * DataRelation.cs - Constructor
1196         - The datatypes of the parentcolumn(s) and the childcolumn(s) should match
1197
1198 2004-06-06  Atsushi Enomoto  <atsushi@ximian.com>
1199
1200         * XmlSchemaDataImporter.cs : We should fill Namespace for DataTable.
1201
1202 2004-06-04  Gert Driesen <drieseng@users.sourceforge.net>
1203
1204         * Constraint.cs: marked methods internal to fix public API
1205         * ConstraintCollection.cs: to fix public API, use 
1206         DataTable.fInitInProgress to check whether initialization 
1207         of DataTable is in progress
1208         * DataColumn.cs: added stubs for missing methods
1209         * DataRowBuilder.cs: marked Table property internal to
1210         fix public API
1211         * DataSet.cs: removed extra empty destructor, marked 
1212         OnMergeFailed internal to fix public API
1213         * DataTable.cs: use fInitInProgress field to hold init
1214         status, to match MS.NET
1215         * DataView.cs: added missing attributes on IsOpen
1216
1217 2004-06-03  Atsushi Enomoto  <atsushi@ximian.com>
1218
1219         * DataSet.cs : Use NameTable.Get() before calling LookupNamespace()
1220           in XmlNamespaceManager.
1221
1222 2004-06-03  Atsushi Enomoto  <atsushi@ximian.com>
1223
1224         * DataSet.cs : complex table content child was not properly added
1225           when it is the only one child in the parent table. Fixed bug #53959.
1226
1227 2004-06-02  Gert Driesen <drieseng@users.sourceforge.net>
1228        * DataTableTypeConverter.cs: added
1229        * DataView.cs: added missing attribute on Table property
1230        * DataViewManager.cs: moved attribute to correct property
1231        * UniqueConstraint.cs: removed extra ReadOnly attribute from
1232         IsPrimaryKey property
1233
1234 2004-06-01  Atsushi Enomoto  <atsushi@ximian.com>
1235
1236         * DataRow.cs : ColumnsChanged event is not required in .ctor().
1237
1238 2004-06-01  Atsushi Enomoto  <atsushi@ximian.com>
1239
1240         * XmlDataReader.cs : type change is required before setting value
1241           string to row item.
1242
1243 2004-05-31  Atsushi Enomoto  <atsushi@ximian.com>
1244
1245         * DataSet.cs : Loop-break of the last fix was incorrect.
1246
1247 2004-05-31  Atsushi Enomoto  <atsushi@ximian.com>
1248
1249         * DataSet.cs : When a row has no parent row but the table has parent
1250           relation(s), that row had been always ignored.
1251
1252 2004-05-31  Atsushi Enomoto  <atsushi@ximian.com>
1253
1254         * XmlDataInferenceLoader.cs : Fixed GetMappedTable() that incorrectly
1255           rejected same-named tables in different hierarchy. Thanks to Boris.
1256
1257 2004-05-31  Atsushi Enomoto  <atsushi@ximian.com>
1258
1259         * XmlDiffLoader.cs : Added some Skip() that is required not to go to
1260           infinite loop. Thanks to Boris for this fix.
1261
1262 2004-05-31  Atsushi Enomoto  <atsushi@ximian.com>
1263
1264         * XmlDataInferenceLoader.cs : XmlSchema elements should not be infered.
1265           Thanks to Boris for this fix.
1266
1267 2004-05-30  Atsushi Enomoto  <atsushi@ximian.com>
1268
1269         * DataTable.cs : serialization .ctor() should use XmlReadMode.DiffGram
1270           for ReadXml(). Thanks to Boris.
1271
1272 2004-05-27  Boris Kirzner  <borisk@mainsoft.com>
1273         * DataRow.cs : 
1274                 - CheckReadOnlyStatus : use typed (and faster comparing).
1275                 - EndEdit : bug fix - do not dispose record if it holds original version.
1276                 - SetValuesFromDataRecord : Take care about autoincrement columns.
1277                 
1278
1279 2004-05-27  Atsushi Enomoto  <atsushi@ximian.com>
1280
1281         * MergeManager.cs : don't output debug message to Console.
1282
1283 2004-05-27  Atsushi Enomoto  <atsushi@ximian.com>
1284
1285         * XmlDataInferenceLoader.cs : Namespace are not imported to the table
1286           structure. Thanks to Boris Kirzner for the fix.
1287
1288 2004-05-27  Umadevi S <sumadevi@novell.com>
1289          * DataRelationCollection.cs - fixed nunit test errors
1290
1291 2004-05-27  Umadevi S <sumadevi@novell.com>
1292          * DataTableCollection.cs - fixed nunit test errors
1293
1294 2004-05-21  Atsushi Enomoto  <atsushi@ximian.com>
1295
1296         * DataColumnCollection.cs : NullReferenceException was thrown when
1297           the table was not found.
1298         * DataRowCollection.cs :
1299           Find() just returns null for null value under MS.NET 1.1.
1300           RemoveAt() should also avoid to call AcceptChanges() like Remove().
1301         * UniqueConstraint.cs : in AssertConstraint() throw ConstraintException
1302           directly under MS.NET (for nunit test).
1303
1304 2004-05-21  Atsushi Enomoto  <atsushi@ximian.com>
1305
1306         * XmlSchemaDataImporter.cs : Setting startindex in LastIndexOf() 
1307           caused problem on qualified name to get schema Field name.
1308
1309 2004-05-21  Atsushi Enomoto  <atsushi@ximian.com>
1310
1311         * XmlDataReader.cs : Now data reader is namespace aware in all places.
1312           When table's namespace is different, it entered to infinite loop.
1313
1314 2004-05-19  Boris Kirzner  <borisk@mainsoft.com>
1315         * MergeManager.cs : AdjustSchema now updates by reference new created table,
1316         so in Merge you do not need to lookup for it (were unable to do this for unnamed tables).
1317         Code styling.
1318         
1319 2004-05-19  Boris Kirzner  <borisk@mainsoft.com>
1320
1321         * DataColumn.cs : In set_Item[int] - if autoincrement, adjust next autoincrement value.
1322         * DataColumnCollection.cs : fixed parantethes.
1323         * DataRow.cs : 
1324                 - AcceptChanges : do nothing if row state is unchanged.
1325                 - GetChildRows, GetParentRows  : bug fix (use correct index).
1326         * DataRowCollection.cs : bug fix (compare all row's values).
1327         * DataTable.cs : bug fix (use correct row version).
1328         
1329 2004-05-20  Atsushi Enomoto  <atsushi@ximian.com>
1330
1331         * XmlSchemaDataImporter.cs : xs:positiveInteger is mapped to ulong.
1332           When content type is Mixed, text column is not required (it is
1333           required only when the complex type has no particle). 
1334           "Repeated element" column is also created (considering maxOccurs=0 
1335           and complex content extension).
1336
1337 2004-05-20  Atsushi Enomoto  <atsushi@ximian.com>
1338
1339         * XmlSchemaDataImporter.cs : XmlSchemaGroupBase was not handled 
1340           properly.
1341
1342 2004-05-20  Atsushi Enomoto  <atsushi@ximian.com>
1343
1344         * XmlSchemaDataImporter.cs : Removed unused code and extra MonoTODO.
1345           Fixed relation inference to consider attribute XPath.
1346
1347 2004-05-19  Atsushi Enomoto  <atsushi@ximian.com>
1348
1349         * DataColumn.cs : Fixed set_Item[int]. Convert.ToInt64(DBNull.Value)
1350           always fails.
1351
1352 2004-05-19  Boris Kirzner  <borisk@mainsoft.com>
1353
1354         * DataColumn.cs - removed default member attribute.
1355
1356 2004-05-19  Boris Kirzner  <borisk@mainsoft.com>
1357
1358         * DataColumn.cs,
1359           DataColumnChangeEventArgs.cs,
1360           DataColumnCollection.cs,
1361           DataRow.cs,
1362           DataRowCollection.cs,
1363           DataTable.cs,
1364           Index.cs : Data storage in the row is redesigned. Now data is stored in 
1365           typed containers inside DataColumn. Row holds its versions as indexes inside
1366           each of data container, accessed through the row that holds it.
1367
1368 2004-05-19  Boris Kirzner  <borisk@mainsoft.com>
1369
1370         * UniqueConstraint.cs - added comment.
1371         
1372 2004-05-19  Atsushi Enomoto  <atsushi@ximian.com>
1373
1374         * XmlDataInferenceLoader.cs : Don't add already-existing DataTable to
1375           DataSet.
1376
1377 2004-05-17  Atsushi Enomoto  <atsushi@ximian.com>
1378
1379         * DataSet.cs,
1380           XmlDataInferenceLoader.cs,
1381           XmlDataReader.cs,
1382           XmlSchemaDataImporter.cs : XmlDecode every local name to read and
1383           XmlEncode every local name to write. This should fix bug #58268.
1384
1385 2004-05-17  Atsushi Enomoto  <atsushi@ximian.com>
1386
1387         * DataSet.cs : Implemented ignored namespaces in InferXmlSchema().
1388           Supported repeated elements. Removed MonoTODOs.
1389         * XmlDataInferenceLoader.cs : Design change to support ignored
1390           namespace and repeated elements.
1391         * XmlSchemaDataImporter.cs : Added mapping support classes.
1392
1393 2004-05-15  Atsushi Enomoto  <atsushi@ximian.com>
1394
1395         * CustomDataClassGenerator.cs :
1396           Added property parent "[foo]Row" and children "Get[foo]Row" support
1397           for custom DataRow classes.
1398           Fixed DataColumn property accessibility (public --> internal).
1399
1400 2004-05-14  Atsushi Enomoto  <atsushi@ximian.com>
1401
1402         * CustomDataClassGenerator.cs :
1403           - Put classes inside custom DataSet class.
1404           - Added automatic DataRelation creation support.
1405           - Added Constraints creation support. That is done separate from
1406             relations, since they might be independently created.
1407           - Added non-MS public DataRelation fields.
1408           - Removed extraneous "DataRelation type generation" code.
1409           - Fixed custom_dataset.Initialize() not to create "c" field that
1410             was created more than once.
1411           - Implemented AddxxxRow() that takes parameters for every column.
1412
1413 2004-05-14  Atsushi Enomoto  <atsushi@ximian.com>
1414
1415         * XmlSchemaDataImporter.cs : When primary key is used more than once,
1416           DataRelation borked because of empty parent column name.
1417
1418 2004-05-14  Atsushi Enomoto  <atsushi@ximian.com>
1419
1420         * XmlSchemaDataImporter.cs : When Creating constraints with related
1421           to DataRelation creation, also set PrimaryKey to the parent table.
1422
1423 2004-05-14  Atsushi Enomoto  <atsushi@ximian.com>
1424
1425         * XmlSchemaDataImporter.cs : 
1426           Design change to add indirect table and relation structures.
1427           Support for "relation" annotation for local element.
1428           Support for repeatable simple element column (maxOccurs > 1).
1429           Fixed handling of Nested property on DataRelation (for globally
1430           annotated relation, Nested is false).
1431
1432 2004-05-13  Atsushi Enomoto  <atsushi@ximian.com>
1433
1434         * DataRow.cs : Added DataElement property to avoid storing every row-
1435           element mapping. It stored even for nodes that should be removed.
1436
1437 2004-05-13  Umadevi S <sumadevi@novell.com>
1438
1439         * RelationshipConverter.cs - Stubbed this class
1440         * DataRelation.cs - added TypeConveterAttribute
1441
1442 2004-05-13  Umadevi S  <sumadevi@novell.com>
1443
1444         * DataColumnCollection.cs - Added ResDescriptionAttribute
1445         * DataRelation.cs - Added TypeConverterAttribute
1446         * DataRelationCollection.cs - Added DefaultPropertyAttribute
1447         * DataRowView.cs - Added GetHashCode method with a TODO tag
1448         * DataSet.cs - Added DesignerAttribute
1449         * DataView.cs - Added DesignerAttribute
1450         * DataViewManager.cs - Added DesignerAttribute
1451         * DataViewSetting.cs - Added TypeConverterAttribute
1452         
1453 2004-05-12  Atsushi Enomoto  <atsushi@ximian.com>
1454
1455         * DataRow.cs : Added XmlDataElement initialization code.
1456
1457 2004-05-11  Atsushi Enomoto  <atsushi@ximian.com>
1458
1459         * XmlDataInferenceLoader.cs :
1460           It now requires XmlDocument as input.  Improved identification of
1461           DataSet element.  Removed extra lines.
1462           Moved boresome design notes to bottom of the source and
1463           added standalone runnable driver (not included on build).
1464         * DataSet.cs :
1465           Update with related to the change above.
1466           WriteXml() should call Flush() after writing. This fixes bug #58327.
1467         * XmlSchemaDataImporter.cs :
1468           Improved indentification of DataSet element.
1469
1470 2004-05-11  Gert Driesen (drieseng@users.sourceforge.net)
1471         * DataTable: marked initStatus enum internal
1472
1473 2004-05-09  Gert Driesen (drieseng@users.sourceforge.net)
1474         * DataTable.cs: removed TypeConverterAttribute, marked RowsExist
1475         methods internal
1476         * DataRowView.cs: removed extra Error property
1477         * DataRow.cs: reduced accessibility of CollectionChanged method 
1478         to private
1479         * DataColumnPropertyDescriptor.cs: made class internal
1480         * DataColumn.cs: removed extra TypeConvertorAttribute
1481         * ConstrainCollection.cs: marked PostEndInit method internal
1482
1483 2004-05-07  Atsushi Enomoto  <atsushi@ximian.com>
1484
1485         * DataSet.cs : 
1486           In WriteXmlSchema(), when complex type contains simple type content
1487           attributes must not added to XmlSchemaComplexType directly. It
1488           causes schema compilation error.
1489           DataRelation should not be output when related columns are hidden.
1490
1491 2004-05-07  Atsushi Enomoto  <atsushi@ximian.com>
1492
1493         * XmlDataInferenceReader.cs : Added. It does InferXmlSchema() (it is
1494           also expected to do ReadXml(), but I will remove that feature and
1495           support column reordering).
1496         * XmlSchemaDataImporter.cs : Always initialize dataset name.
1497           Always set Nested and primary key for parent table.
1498         * XmlDataReader.cs : Now it is used.
1499           Top level element might not match to dataset name nor any table 
1500           name, but still possible to read content tables.
1501           Handle empty element correctly in some places.
1502           Handle Fragment mode (read up XmlReader to the end).
1503         * DataSet.cs : Modified InferXmlSchema() and ReadXml() to use
1504           XmlDataInferenceLoader and XmlDataReader.
1505
1506 2004-05-06  Atsushi Enomoto  <atsushi@ximian.com>
1507
1508         * DataSet.cs :
1509           Eliminated CRLF injection.
1510           More clear message in Clear().
1511           Updates reflecting XmlSchemaDataImporter change.
1512           Added duplicate check for XmlSerializerNamespaces in BuildSchema().
1513           Don't use xmlns attribute for UnhandledAttributes (its not mandatory
1514           but that depends on different behavior from ms.net).
1515           Set locale also for DataTable.
1516           Add xs:element only when target namespace matches to the
1517           element's namespace. Otherwise, add xs:import for external namespace.
1518           Put xs:sequence for dataset element's particle _only when_ actual
1519           contents exist.
1520
1521 2004-05-06  Atsushi Enomoto  <atsushi@ximian.com>
1522
1523         * XmlDataReader.cs : Added. This class will work better when our
1524           schema inference and schema read engine gets improved. (It contains
1525           standalone testable Driver class.)
1526
1527 2004-05-06  Atsushi Enomoto  <atsushi@ximian.com>
1528
1529         * ForeignKeyConstraint.cs : Check step change. Existence then column
1530           validity. just for tests.
1531         * XmlSchemaDataImporter.cs : code simplification. reduced extraneous
1532           fields.
1533
1534 2004-05-05  Atsushi Enomoto  <atsushi@ximian.com>
1535
1536         * DataSet.cs : Ignore empty content only when output type is diffgram.
1537
1538 2004-05-05  Atsushi Enomoto  <atsushi@ximian.com>
1539
1540         * CustomDataClassGenerator.cs : Modified that DataSet contains each
1541           DataTable field so that each table property can access them directly.
1542           (plus, modified standalone code driver code: shouldn't affect)
1543
1544 2004-05-05  Boris Kirzner  <borisk@mainsoft.com>
1545
1546         * DataView.cs , DataRowView.cs : Added implementation to basic methods and properties.
1547           
1548 2004-05-05  Atsushi Enomoto  <atsushi@ximian.com>
1549
1550         * XmlSchemaDataImporter.cs : 
1551           SimpleContent column support.
1552           Annotated relation support.
1553           Top-level element is counted only when its type is complex.
1554           xs:anyType is no longer treated as complex type.
1555           dataset existence is mandatory now. 
1556           Improved DataType and DefaultValue support.
1557           Attribute namespace is properly handled now.
1558           Prohibited attribute is now treated as hidden column.
1559           Reject list or union simple type.
1560
1561           Still incomplete 1) to read relationship in some cases, 2) to 
1562           determine whether an element is dataset or table, 3) thus to
1563           exclude extraneous column, 4) to remove extraneous *_Id column.
1564
1565 2004-05-05  Atsushi Enomoto  <atsushi@ximian.com>
1566
1567         * DataTable.cs :
1568           We had better reuse DataSet's ReadXmlSchema() and ReadXml() in
1569           serialization .ctor() (thus schema read/inference should be easier).
1570           DataRowSorter should consider Table's Locale.
1571
1572 2004-05-05  Atsushi Enomoto  <atsushi@ximian.com>
1573
1574         * DataColumnCollection.cs : We already had AutoIncrementValue(), so
1575           use it instead of duplicating logic.
1576
1577 2004-05-05  Atsushi Enomoto  <atsushi@ximian.com>
1578
1579         * ConstraintCollection.cs :
1580           Use Table.CaseSensitive and Table.Locale to compare strings.
1581           Duplicate constraint name exception does not occur under .NET 1.1.
1582
1583 2004-05-04  Lluis Sanchez Gual  <lluis@ximian.com>
1584
1585         * XmlSchemaDataImporter.cs: Added little type check.
1586
1587 2004-05-04  Lluis Sanchez Gual  <lluis@ximian.com>
1588
1589         * DataSet.cs: Implemented support for runtime serialization. Fixed support
1590           for xml serialization.
1591         * XmlDiffLoader.cs: Skip diffgram element when it is empty.
1592
1593 2004-04-30  Umadevi S  <sumadevi@novell.com>
1594         * DataColumnCollection.cs : Fixed nunit test errors, removed TODOs
1595         * DataTableCollection.cs  : Tested and removed TODO
1596         * TypedDataSetGeneratorException.cs : Fixed a couple of TODOs   
1597
1598 2004-04-29  Atsushi Enomoto  <atsushi@ximian.com>
1599
1600         * DataRow.cs : My previous patch unintentionally reverted Boris patch.
1601
1602 2004-04-29  Boris Kirzner <borisk@mainsoft.com>
1603
1604         * UniqueConstraint.cs : Constraint columns becaomes unique after adding constraint ifand only if 
1605         constraint is defined on single column.
1606
1607 2004-04-29  Atsushi Enomoto  <atsushi@ximian.com>
1608
1609         * DataRowCollection.cs : .NET 1.1 throws InvalidConstaintException,
1610           not ArgumentException (maybe changed after 1.1).
1611
1612 2004-04-29  Atsushi Enomoto  <atsushi@ximian.com>
1613
1614         * DataRow.cs : When Column was added and it was AutoIncrement column,
1615           it extended the item object array incorrectly.
1616           (Plus tiny comment and incorrect indentation fix.)
1617
1618 2004-04-29  Boris Kirzner <borisk@mainsoft.com>
1619
1620         * MergeManager.cs : added ( incomplete yet ) support for merging DataSet schema.
1621
1622 2004-04-29  Boris Kirzner <borisk@mainsoft.com>
1623
1624         * DataRow.cs : Bug fix in CopyValuesToRow().
1625         
1626 2004-04-29  Boris Kirzner <borisk@mainsoft.com>
1627
1628         * UniqueConstraint.cs : There is no reason to mark constraint's columns as unique, because
1629           each of the columns should not be unique, but only all the constraint's columns together.
1630         
1631 2004-04-28  Boris Kirzner <borisk@mainsoft.com>
1632         * DataRow.cs :
1633           - Perfomance fixes: 
1634                 - Added using of list of autoIncrement columns
1635                 - SetColumnValue receives also DataColumn to avoid duplicate lookup in DatacolumnCollection
1636           - Fix in CheckNullConstraints
1637           - Fix in this[] and HasVersion() : when evaluating an expression deleted rows values can be accessed.
1638           - Fix in SetColumnValue() , added CanAccess() method to avoid case of accessing internal array values berore it actually allocated.
1639           - Added onColumnRemoved() method to threat column removal accurately.
1640         
1641         * DataRowCollection.cs :
1642           - Added using of DataRow._nullConstraintViolation (for perfomance fix in EndLoadData())
1643           - Added method onColumnRemoved() - calls each row's onColumnRemoved() (to ensure column removal is treated accurately)
1644         
1645         * DataTable.cs :
1646           - Call DataRowCollection.onColumnRemoved() in OnRemoveColumn() (to ensure column removal is treated accurately)
1647         
1648         * DataColumnCollection.cs :
1649           - Perfomance fixes :
1650                 - collection holds a list of its autoIncrement columns (avoids unnesessary lookup through whole collection)
1651                 - collection holds mapping from column names to DataColumn objects (avoids lookup through whole collection).
1652                 - automatic creation of column names rewrited (bug fixes + perfomance improvement)
1653         
1654         * DataColumn.cs :
1655           - Uses autoincrement list of a table
1656
1657 2004-04-27  Atsushi Enomoto  <atsushi@ximian.com>
1658
1659         * XmlDataLoader.cs : Even when it should ignore schema, it was 
1660           infering schema.
1661         * XmlSchemaDataImporter.cs : DataRelation creation support.
1662           Improved "DataSet" element handing. When attributes are on the
1663           element, it is not a "DataSet" element.
1664           Fixed parent key column name.
1665           Unique name creation is not required. Just raise an error.
1666           Fill facet also for attribute types.
1667
1668 2004-04-27  Atsushi Enomoto  <atsushi@ximian.com>
1669
1670         * DataRow.cs : Null check for CheckReadOnlyStatus() and
1671           CheckNullConstraints(), with some coding guideline fixes.
1672           Type check should be done by Type instance comparison.
1673
1674 2004-04-27  Atsushi Enomoto  <atsushi@ximian.com>
1675
1676         * DataColumnCollection.cs : When add a column to the collection, fill
1677           auto-increment column.
1678
1679 2004-04-26  Boris Kirzner <borisk@mainsoft.com>
1680
1681         * DataColumn.cs : Small perfomance fix (avoid unnesessary string concatenation).
1682         
1683 2004-04-26  Atsushi Enomoto  <atsushi@ximian.com>
1684
1685         * CustomDataClassGenerator.cs : Added.
1686         * TypedDataSetGenerator.cs : Implemented Generate().
1687           Changed GenerateIdName() to call CustomDataClassGenerator.MakeSafeName
1688         * XmlSchemaDataImporter.cs : Table Locale should be supplied.
1689
1690 2004-04-25  Boris Kirzner <borisk@mainsoft.com>
1691
1692         * DataTable.cs : Small perfomance fix (avoid unnesessary string concatenation).
1693         
1694 2004-04-25  Boris Kirzner <borisk@mainsoft.com>
1695
1696         * Constraint.cs : Small perfomance fix (avoid unnesessary string concatenation).
1697
1698 2004-04-23 Umadevi S (sumadevi@novell.com)
1699         *  DataRow.cs: Checked BeginEdit,EndEdit,CancelEdit and Delete methods
1700            - Added error handling to the above methods
1701
1702 2004-04-22  Atsushi Enomoto  <atsushi@ximian.com>
1703
1704         * DataSet.cs : Data should be read when mode is IgnoreSchema (well,
1705           the support is incomplete yet).
1706         * XmlDataLoader.cs : 
1707           Reverted ReadModeSchema() argument change. XmlReadMode would be 
1708           useful to handle IgnoreSchema.
1709           Don't overwrite DataSetName when mode is not such kind.
1710           Set Prefix and Namespace as well as DataSetName.
1711           AllowDBNull looks set false by default for element column.
1712           Set unique constraint as primary key when infering the table schema.
1713
1714 2004-04-21  Atsushi Enomoto  <atsushi@ximian.com>
1715
1716         * DataSet.cs : 
1717           Never set null string for Prefix and Namespace.
1718           In InferXmlSchema() when null XmlReader is passed, just do nothing.
1719           In WriteXmlSchema(string), earlier try block.
1720           In BuildSchema(), try to add serialization namespaces for each
1721           namespaces in DataSet/DataTable/DataColumn.
1722           Removed namespace argument from WriteColumnAsElement() and don't
1723           overwrite when namespace is "". This fixes bug #57330.
1724         * DataColumn.cs : For Namespace and Prefix, never set null.
1725
1726 2004-04-21  Boris Kirzner <borisk@mainsoft.com>
1727
1728         * XmlSchemaMapper.cs : Check for not null unique constraint in ReadXmlSchemaKeyref()
1729           before creating and adding foreign key constraint and relation. 
1730
1731 2004-04-21  Boris Kirzner <borisk@mainsoft.com>
1732
1733         * MergeManager.cs : In AdjustSchema() source table clone should be added
1734           and not the table itself. 
1735
1736 2004-04-21  Boris Kirzner <borisk@mainsoft.com>
1737
1738         * DataSet.cs : 
1739           - CaseSensitive : Additional fix (removed unnesessary assignment).
1740           - CopyProperties : Do not try to copy ExtendedProperties if the collection is empty.
1741
1742 2004-04-21  Boris Kirzner <borisk@mainsoft.com>
1743
1744         * DataTable.cs : Ensure that DataSet property is not null before using it in Clear().
1745           
1746 2004-04-20  Boris Kirzner <borisk@mainsoft.com>
1747
1748         * DataTable.cs : 
1749           - EndLoadData() : perfomance fix in case of null constraint violation
1750             during data load (also in DataRow.cs).
1751           - CaseSensitive : If DataTable belongs to DataSet it should always use
1752             DataSet.CaseSensitive untill explicitly changed.
1753           - CopyProperties() : do not try to copy ExtendedProperties if the collection is empty.
1754           
1755         * DataRow.cs :
1756           - Pefromance fix in case of null constraint violation
1757             during data load (also in DataTable.cs).
1758           - CollectionChanged() : use correct column number after new DataColumn was added
1759             (differs in case some DataColumn was previosly removed).
1760           - EndEdit() - throw away  proposed values only after CheckChildRows() complete.
1761
1762 2004-04-20  Boris Kirzner <borisk@mainsoft.com>
1763
1764         * DataColumnCollection.cs : Since unique constraint is added now
1765           in DataColumn.SetTable() the additional creation of constraint in 
1766           DataColumnCollection.Add() is redundant and causes exception - fixed.
1767           
1768 2004-04-19  Atsushi Enomoto  <atsushi@ximian.com>
1769
1770         * XmlDataLoader.cs : Added "never add data rows" mode.
1771           Removed unused code. However, it is temporary fixes to unify
1772           ReadXml() and InferXmlSchema().
1773         * DataSet.cs : Implemented InferXmlSchema(), though it is incomplete.
1774
1775           I'll create another XmlDataLoader since there are many problems
1776           such that 1) it is too waste to read the entire xml into an
1777           XmlDocument, 2) it does not handle attributes correctly, and 3) it
1778           must handle "ignored namespaces".
1779
1780 2004-04-19  Atsushi Enomoto  <atsushi@ximian.com>
1781
1782         * Added XmlSchemaDataImporter.cs (new schema reader).
1783         * DataSet.cs : Use XmlSchemaDataImporter (right now for DataSet only)
1784           for ReadXmlSchema().
1785           Let schema reading work to ReadXmlSchema().
1786           Don't return ReadSchema when argument read mode was DiffGram.
1787
1788 2004-04-15 Umadevi S (sumadevi@novell.com)
1789         *  Updated Clone/Copy methods in DataSet along with Testcase
1790         *  ForeignKeyConstraint.cs - special ctor implemented 
1791             Logic : ParentTable in the ctor - Since only name is given (not the DataTable object), we cannot associate any DataTable or DataSet right now.  So, only possible way is to do it when AddRange() is called. The ParentTable is searched in the DataSet  to which the calling DataTable belongs. And make the calling DataTable as ChildTable. In the PostAddRange() method check is addedd to perform the assignment of parent and child data columns once the information becomes available (When AddRange is called).
1792         * Changes in  ConstraintCollection.cs for the above
1793         Add (Constraint) - A check is performed to see if the constraint is ForeignKeyConstraint and whether data columns  are validated.  If no, whether it is called with AddRange(), If no, an Exception is thrown. AddRange() - PostAddRange() is called on the ForeignKeyConstraint object with the "table" as argument. Thanks to Deepak for the patch.
1794         
1795
1796 2004-04-15  Atsushi Enomoto  <atsushi@ximian.com>
1797
1798         * XmlSchemaMapper.cs : set parent key and foreign key info to 
1799           DataRelation when reading refkey constraints.
1800           Supply constraint name for fkey.
1801
1802 2004-04-15  Atsushi Enomoto  <atsushi@ximian.com>
1803
1804         * XmlDataLoader.cs : Don't overwrite existing DataSetName. When read
1805           mode is Auto, just ignore the schema if there is already schema info.
1806         * DataSet.cs : Similarly ignore schema info for XmlReadMode = Auto.
1807
1808 2004-04-14  Atsushi Enomoto  <atsushi@ximian.com>
1809
1810         * DataSet.cs :
1811           - In MS output, XML declaration looks to have standalone decl (yes).
1812           - ReadXml(reader) just calls to ReadXml(reader, XmlReadMode.Auto)
1813           - ReadXml(reader, mode)
1814             1) return originally specified mode, instead of (always) Auto. 
1815             2) Check empty reader.
1816             3) Check diffgram schema and content separately.
1817             4) When diffgram exists, remaining (the same-level) contents 
1818                won't be consumed. 
1819             5) Similar fact should be applied, but somewhat different. 
1820                InferSchema and IgnoreSchema just skips, Fragment reads both
1821                schema and content, others just reads schema.
1822           - Removed unused code.
1823         * XmlDataLoader.cs :
1824           - Read() should skip in some ReadMode.
1825           - Don't compare schema element name as case-insensitive (well,
1826             should schemas be checked here?)
1827           - Avoided BuildDocument() not to create confusing DataSet
1828             document element.
1829           - Don't add any tables when reader has single element.
1830         * XmlDiffLoader.cs :
1831           When target table was not found, MS.NET doesn't raise an error.
1832         * XmlSchemaMapper.cs :
1833           When XmlSchema.Read() left xml reader at </xs:schema>, read once.
1834
1835 2004-04-13  Atsushi Enomoto  <atsushi@ximian.com>
1836
1837         * DataSet.cs :
1838           - InferXmlSchema(): Throw explicit NotImplementedException now.
1839           - Don't put XML declaration everywhere. Write just for filename arg.
1840           - xmlns="" should not be written. Maybe WebService problem is 
1841             because default namespace is overwritten. This patch will keep
1842             the WS problem away and actually fixes some unit tests (i.e. use
1843             explicit String.Empty for null namespace in WriteStartElement()).
1844           - MoveToContent() should always be called, not only when 
1845             LocalName="xml". It will ignore prolog (DTD, PI, comment etc.).
1846           - Even XmlReadMode is DiffGram, reader might not be "diffgram"
1847             element. As to MSDN, diffgram does not contain schema.
1848
1849 2004-04-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1850
1851         * DataTable.cs: made _initStatus private so that System.Data is CLS
1852         compliant.
1853
1854 2004-04-13 Umadevi S   <sumadevi@novell.com>
1855         *  UniqueConstraint.cs:
1856         *  ConstraintCollection.cs:
1857         *  DataTable.cs:
1858         - Implemented a Constructor for UniqueConstraint.cs
1859         - Used  EndInit on DataTable  to call a delegate which adds the
1860           constraints passed to the most recent call of AddRange().Used
1861           AddRange() on ConstraintCollection to check whether
1862           DataTable.BeginInit has occurred.  If yes, save the argument
1863           constraint collection passed, then return.  If no, Check whether the
1864           constraints are of type UniqueConstraint and initialized with the
1865           special constructor  If yes Initialized the table property of this
1866           UniqueConstraint object with table assosciated with the current
1867           instance of ConstraintCollection class.
1868
1869 2004-04-07  Marek Safar  <marek.safar@seznam.cz>
1870
1871         * Constraint.cs: changed ClsCompliant to CLSCompliant, build fix.
1872
1873 2004-04-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1874
1875         * Constraint.cs:
1876         * DataColumnCollection.cs:
1877         * DataRelationCollection.cs:
1878         * DataRowCollection.cs:
1879         * DataTableCollection.cs:
1880         * InternalDataCollectionBase.cs:
1881         * Node.cs: CLS compliance for System.Data. Patch by Gert Driesen.
1882         Fixes bug #56557.
1883
1884 2004-04-05  Jackson Harper  <jackson@ximian.com>
1885
1886         * DataTable.cs: Add rows to the row list if there is no filter.
1887         
1888 2004-03-31  Juraj Skripsky <juraj@hotfeet.ch>
1889
1890         * DataColumn.cs : Setting Caption to null sets it to the empty string
1891         (ms.net behaviour, testcase is in DataColumnTest).
1892         
1893         * DataRow.cs : Evaluate DataColumn.Expression when such a column's
1894         value is requested.
1895
1896 2004-03-30 Lluis Sanchez Gual <lluis@ximian.com>
1897
1898         * DataColumn.cs: In Expression setter, set the expression member even if 
1899           it is an empty string.
1900         * DataSet.cs: Support serialization of byte[] columns.
1901         * XmlDataLoader.cs: Support deserialization  of Guid columns. 
1902           Set MappingType.Attribute to columns infered from attributes.
1903
1904 2004-03-29  Juraj Skripsky <juraj@hotfeet.ch>
1905
1906         * ExpressionElements.cs : remove
1907         * DataColumn.cs, DataRelationCollection.cs, DataTable.cs :
1908         Integration of new Mono.Data.SqlExpressions classes used in
1909         DataTable.{Select, Compute}.
1910         Fixes bug #55503 and lots of failures in DataTableTest.cs.
1911
1912 2004-03-28  Juraj Skripsky <juraj@hotfeet.ch>
1913
1914         * Index.cs: Simple fix in ComparePartialRowNonUnique.
1915         This fixes bugs #56129 and #56014.
1916
1917 2004-03-25 Lluis Sanchez Gual <lluis@ximian.com>
1918
1919         * DataSet.cs: In WriteXml (string filename, XmlWriteMode mode), close the
1920           stream after writing the dataset. This fixes bug #52581.
1921           Also added several writer.Close into finally blocks, so writers are properly
1922           closed in case of an exception.
1923
1924 2004-03-12  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1925
1926         * Constraint.cs: DO NOT USE the consts scheme if types can be referenced directly!
1927         * DataColumn.cs: DO NOT USE the consts scheme if types can be referenced directly!
1928         * ColumnTypeConverter.cs: Added stub
1929         * DefaultValueTypeConverter: Added stub
1930         * ConstraintConverter.cs: Added stub
1931
1932 2004-03-04 Eran Domb <erand@mainsoft.com>
1933
1934         * XmlDataLoader.cs : Xml reading reviewed. Added support for additional xml formats as described
1935         in MS.NET documentation (missing DataSet element etc).
1936
1937 2004-03-04 Eran Domb <erand@mainsoft.com>
1938
1939         * Node.cs : Added.
1940         * Index.cs : Rollback last changes.
1941         
1942 2004-03-03  Atsushi Enomoto <atsushi@ximian.com>
1943
1944         * Index.cs : justa build fix.
1945
1946 2004-03-03 Eran Domb <erand@mainsoft.com>
1947         
1948         * Index.cs : Added.
1949         * Constraint.cs, ForeignKeyConstraint.cs, UniqueConstraint, ConstraintCollection.cs, DataColumn.cs,
1950         DataRow.cs, DataRowCollection.cs, DataSet.cs, DataTable.cs : Changes made for using indexes on tables.
1951         This changes made for performance improvement.
1952
1953 2004-02-08 Eran Domb <erand@mainsoft.com>
1954
1955         * XmlSchemaMapper.cs : Read columns is they were written as SimpleContent or as Attributes.
1956
1957 2004-02-08 Eran Domb <erand@mainsoft.com>
1958
1959         * DataSet.cs: Fix some bugs in ReadXml().
1960
1961 2004-02-04 Lluis Sanchez Gual <lluis@ximian.com>
1962
1963         * DataSet.cs: Added missing method that broke the build.
1964
1965 2004-02-04 Eran Domb <erand@mainsoft.com>
1966
1967         * DataRowCollection.cs (InsertAt): Add a check for null row. Replace check of IndexOf with RowId for
1968         better performance.
1969         * DataSet.cs (GetTableSchema) : Add supprot for simple content columns. Change the condition for a case
1970         when all column are attributes (elements count is 0), we still want to add the relations. No relations
1971         can be on simple contents.
1972         (AddUniqueConstraints) Check that the column of the constraint are not hidden.
1973         (AddForeignKeys) Check that the relation has constraints attach to it.
1974         * XmlConstants.cs : Added constant.
1975
1976 2004-02-04 Eran Domb <erand@mainsoft.com>
1977         
1978         * DataSet.cs : GetSchemaSerializable() return null and not BuildSchema().
1979         DoWriteXmlSchema calls BuildSchema ().
1980
1981 2004-02-04 Lluis Sanchez Gual <lluis@ximian.com>
1982
1983         * DataRow.cs: Added SetOriginalValue(), which is used to set the original
1984           value of a column.
1985         * DataRowCollection.cs: In InsertAt(), perform the correct checks and
1986           attach the row.
1987         * DataSet.cs: Fixed method GetChanges(): Parent rows of modified rows must
1988           also be added to the dataset.
1989           In WriteTable(), do not write unchanged rows when writing the original
1990           version of the table.
1991           Added WriteIndividualTableContent(), for writing the contents of a single
1992           table.
1993           Changed BuildSchema and related methods, so it can generate a schema for
1994           any set of tables, not just the tables of the dataset (needed for 
1995           single datatable serialization).
1996         * DataTable.cs: Implemented serialization constructor and GetObjectData method.
1997           Also implemented some ReadXmlSchema methods.
1998         * XmlDiffLoader.cs: Read and process the xml document directly from XmlReader,
1999           instead of loading the full dataset in an XmlDocument. It is faster and
2000           saves memory. Also fixed several problems when generating the changes.
2001         * XmlSchemaMapper.cs: Support reading schemas for single tables (used by
2002           table serialization).
2003
2004 2004-02-02 Eran Domb <erand@mainsoft.com>
2005
2006         * DataSet.cs : Add indentation to the xml serialization only if we create the XmlWriter.
2007         Add the namespace attribute even if namespace is an empty string for inteoperability with MS.NET.
2008         * DataTable.cs (NewRow): Create only one DataRowBuilder.
2009         Initiate new row with row id -1.
2010         * DataRow.cs : Add RowId property.
2011         * DataRowBuilder.cs : Add _rowId member.
2012         * DataRowCollection.cs (Add) : Use the RowId property of the new row to check if it is already exists in the collection.
2013
2014 2004-01-26 Eran Domb <erand@mainsoft.com>
2015
2016         * XmlConstants.cs : Added some constants.
2017         * DataColumn.cs : Added a method to retrive AutoIncrement value.
2018         * XmlDataLoader.cs : Set the value of the foriegn key column, according to the value of the
2019         parent table column.
2020         * XmlDiffLoader.cs : Convert the value comming from the xml.
2021         * XmlSchemaMapper.cs (Read) : Set the DataSet namespace.
2022          (ReadXmlSchemaSequence) : Change the logic that decides if this element is a column or a table.
2023          (ReadXmlSchemaElement) : Set the locale of the dataset.
2024          (ReadColumn) : Set the column type. Find if the column is AutoIncrement.
2025          (GetColumnType) : New method to get the column type from the attribute value.
2026          (ReadXmlSchemaUnique) : Improve parsing of XPath. Set the constraint as a PK if needed,
2027          and add the constraint to the table.
2028          (ReadXmlSchemaKeyref) : Improve parsing of XPath. Create the FK constraint and add it to
2029          the table.
2030         * DataSet.cs : Improving writing of unique constraints, and foriegn key constraint. Givving them the correct names.
2031          Writing more information to the schema for interoperability with ms.net.
2032          Improve diffgarm writing mode.
2033          
2034
2035 2004-01-21 Atsushi Enomoto <atsushi@ximian.com>
2036
2037         * TypedDataSetGenerator.cs : Implemented GenerateIdName().
2038
2039 2004-01-21 Eran Domb <erand@mainsoft.com>
2040
2041         * XmlDataLoader.cs (AddRowToTable) : Give thre new relation correct name.
2042         Do not set the child column to be AutoIncrement.
2043         Create the new column for the relation as MappingType.Hidden so they will not be serialized
2044         when writing the dataset to xml.
2045
2046 2004-01-20 Atsushi Enomoto <atsushi@ximian.com>
2047
2048         * Added missing TypedDataSetGenerator.cs.
2049
2050 2004-01-08 Eran Domb <erand@mainsoft.com>
2051
2052         * XmlSchemaMapper.cs : Fix a bug. Check if table already in DataSet before adding it.
2053         * DataSet.cs (ReadXml) : Fix bugs. Read correctly the xml file with XmlReadMode of DiffGram, 
2054         InferSchema, ReadSchema and IgnoreSchema.
2055         * XmlDataLoader.cs : All modes use the same logic.
2056         * XmlDiffLoader.cs : Adding BuildXmlDocument method to the class.
2057
2058 2004-01-06 Eran Domb <erand@mainsoft.com>
2059
2060         * DataRelationCollection.cs : Use IndexOf in indexer.
2061         * DataSet.cs : Adding support for WriteXml with diffgram. Code style changes.
2062         * XmlDataLoader.cs : Set the DataSet.enforceConstraints to false before loading the tables.
2063         * XmlDiffLoader.cs : Reading nested tables.
2064         * XmlSchemaMapper.cs : Reading the relation.
2065         * XmlConstants.cs : Adding some constants.
2066
2067 2004-01-05  Jackson Harper <jackson@ximian.com>
2068
2069         * DataView.cs: Set readonly property of property descriptor. This
2070         fixes bug #52598.
2071         
2072 2004-01-01  Sanjay Gupta <gsanjay@novell.com>
2073
2074         * DataRelationCollection.cs : Fixed incorrect generation of default 
2075           Relation name.
2076         * DataSet.cs : Added missing functionality in WriteXml().
2077         * XmlConstants.cs : Added new constants.
2078  
2079 2003-12-27  Atsushi Enomoto <atsushi@ximian.com>
2080
2081         * DataSet.cs : Fixed incorrect WriteXml() signature.
2082
2083 2003-12-18  Jackson Harper <jackson@ximian.com>
2084
2085         * DataView.cs: Implement AddNew, Delete, and OnListChanged.
2086         
2087 2003-12-17  Atsushi Enomoto <atsushi@ximian.com>
2088
2089         * DataSet.cs, XmlDataLoader.cs : Table name should be encoded before
2090           they take shape of xml. This fixed bug #52240
2091
2092 2003-12-16  Tim Coleman <tim@timcoleman.com>
2093         * KeyRestrictionBehavior.cs:
2094                 New stubs added for .NET 1.2
2095         * DataTable.cs:
2096                 Changes for 1.2
2097
2098 2003-12-08 Eran Domb <erand@mainsoft.com>
2099         * DataColumn.cs (Expression) : Validate the expression.
2100         
2101         * DataRelationCollection.cs (IndexOf) : Added new method sensetive to case differences in relation name.
2102         (Contains, IndexOf, this[], Add) : Call new IndexOf when needed.
2103         
2104         * DataRow.cs (this[]) : Fix the condition for throwing RowNotInTableException.
2105         (RejectChanges) : Detach row when state was Added.
2106         (CollectionChanged) : Fix a bug.
2107         
2108         * ExpressionElement (ValidateExpression) : Fix a bug.
2109         
2110         * ForeignKeyConstraint.cs (AssertConstraint) : Added implementation. Check all rows from child table have
2111         a parent row in the parent table.
2112         (_validateColumns) : Fix bugs.
2113         
2114         * MergeManager.cs (AdjustSchema) : Fix a bug.
2115         
2116         * XmlDataLoader.cs (ReadModeInferSchema) : Change implementation. Now we can read nested xml, and we generate the relations
2117         between the tables.
2118
2119 2003-11-30 Eran Domb <erand@mainsoft.com>
2120         * DataColumnCollection.cs (this[string name]) : Use IndexOf to find the column.
2121         (Add) : Find if the new column name is the same as the one found in IndexOf.
2122         (IndexOf) : New method.
2123         (Contains) : Use new IndexOf.
2124         (IndexOf) : Use new IndexOf.
2125         
2126         * DataRelationCollection.cs (DataRelationCollection.AddCore) : Add The Relation to the collection.
2127         (DataSetRelationCollection.AddCore) : First add the UniqueConstraint.
2128         
2129         * DataRow.cs (this[int columnIndex, DataRowVersion version]) : Change exceptions.
2130         (Delete) : Detach row if the RowState was Added.
2131         (GetChildRows) : Get the array form the ChildTable.
2132         (GetParentRows) : Get the array from the ParenTable.
2133         
2134         * DataRowCollection.cs (Remove) : Check if row state is Detached to avoid exception.
2135         
2136         * DataSet.cs (IXmlSerializable.ReadXml) : Do not call MoveToContent and ReadEndElement - the XmlSerializationReader does it.
2137         
2138         * DataTable.cs (PrimaryKey) : Fix bugs.
2139         (Compute) : First call Select. Then create ExpressionAggregate to aggregate the Select result.
2140         
2141         * DataTableCollection.cs (Add) : Fix a bug.
2142         
2143         * ExpressionElement.cs (ValidateExpression) : Turning ValidateExpression to static.
2144         (Result) : Added new interface to AggregateExpression that get DataRow[] as a param.
2145         Some code style changes (tab instead of whit spaces, alignment, etc...).
2146         
2147         * ForeignKeyConstraint.cs (_validateColumns) : Throw correct exception.
2148         
2149         * MergeManager.cs (AdjustSchema) : Fix a bug.
2150         
2151         
2152
2153 2003-11-26  Miguel de Icaza  <miguel@ximian.com>
2154
2155         * DataSet.cs: Add a few more missing methods, code style updated
2156         to Mono style.
2157
2158 2003-11-26  Tim Coleman <tim@timcoleman.com>
2159         
2160         * ConflictOptions.cs DataAdapterException.cs DataTableReader.cs
2161         * DbMetaData.cs FillOptions.cs IDataReader2.cs IDataRecord2.cs
2162         * IDataUpdatableRecord.cs IDbAsyncCommand.cs IDbAsyncConnection.cs
2163         * IDbExecutionContext.cs IGetTypedData.cs ISetTypedData.cs
2164         * LoadOption.cs OperationAbortedException.cs ResultSetOptions.cs
2165         * ResultSetSensitivity.cs StatementCompletedEventArgs.cs 
2166         * StatementCompletedEventHandler.cs UpdateOptions.cs:
2167                 New classes added for NET_2_0
2168         * DBConcurrencyException.cs DataRelation.cs DataSet.cs DataTable.cs
2169         * DataTableCollection.cs DataView.cs ForeignKeyConstraint.cs:
2170                 Modifications to add new NET_2_0 functions
2171
2172 2003-11-25  Tim Coleman <tim@timcoleman.com>
2173         * IDataSources.cs:
2174                 New 1.2 class added
2175
2176 2003-11-21  Pedro Martínez Juliá  <yoros@wanadoo.es>
2177
2178         * DataRow.cs: Detached row can be accesible (new rows from data
2179         table are detached). Closes but #51263.
2180
2181 2003-11-19  Eran Domb  <erand@mainsoft.com>
2182         * DataRow.cs : Throw exceptions if Row is Detached. 
2183         (EndEdit) : Check that we are not in middle of ChangeEvent.
2184         (AcceptChanges) : Detach the row.
2185         
2186         * DataRelation.cs : throw correct exception.
2187         *UniqueConstraint.cs : throw correct exception.
2188         
2189
2190 2003-11-09  Pedro Martínez Juliá  <yoros@wanadoo.es>
2191
2192         * DataRow.cs: Use RemoveInternal instead of Remove because the last
2193         one uses Delete and AcceptChanges.
2194
2195         * DataRowCollection.cs: When removing, Delete and AcceptChanges
2196         method from the row are called. Added an internal method that will
2197         be used by DataRow to "physically" remove the row from the list.
2198
2199 2003-11-09  Pedro Martínez Juliá  <yoros@wanadoo.es>
2200
2201         * DataRowCollection.cs: To follow the specification: Remove and
2202         RemoveAt should remove the row. But needed to call DeletingDataRow
2203         to prepare the deleting.
2204
2205         * DataRow.cs: Don't call DeletingDataRow when it is called by the
2206         method Table.Rows.Remove.
2207
2208 2003-11-09  Pedro Martínez Juliá  <yoros@wanadoo.es>
2209
2210         * DataRowCollection.cs: Make the row be deleted by itself. If not,
2211         it fails because we need to call OnRowDeleting and OnRowDeleted. It
2212         is full implemented inside DataRow.
2213
2214 2003-11-05  Eran Domb  <erand@mainsoft.com>
2215         * DataView.cs (ctor) : Changing default RowStateFilter to CurrentRow.
2216
2217 2003-11-04  Eran Domb  <erand@mainsoft.com>
2218         * DataRow.cs (CheckChildRows) : Improving the implementation - checking child for all FK, and not
2219         on all Relations.
2220         (GetChildRows) : Adding some checks.
2221         (GetParentRows) : Adding some checks. Fix a bug in implementation.
2222         (SetParentRow) : Added implementation.
2223         
2224         * DataRowCollection.cs (Add) : Added more checks on the row added to the collection.
2225         * DataTable.cs (Copy) : Set the During Loading flag to save unnecessary assertions.
2226         * ForeignKeyConstraint.cs (AssertConstraint) : Fixing bugs in implementation. Checking for DBNull values in the row.
2227         * MergeManager.cs : Check that the target table is not null.
2228
2229 2003-10-27  Eran Domb  <erand@mainsoft.com>
2230         * DataColumn.cs (DefaultValue) : Changing null value to DBNull. Checking that the type of the new default value 
2231         can be converted to the column type.
2232         
2233         * DataRelationCollection.cs (AddCore) : Give the new FK the name of the relation.
2234         
2235         * DataRow.cs (EndEdit) : Check if we need to validate the constraints.
2236         (GetParentRows, GetChildRows) : Checking that the row has the wanted version, before accessing the row's value.
2237         
2238         * DataRowCollection.cs (Add) : Fixing a bug. 
2239         (Clear) : Before clearing the array check that there is no violation of FK constraint.
2240         
2241         * DataSet.cs (Prefix) : If value is null chage it to empty string.
2242         (GetXml) : Removing the Processing Instructions from the xml string as in MS ADO.NET.
2243         
2244         * ExpressionElement : Adding support for IN expresion.
2245         
2246         * DataTable (CopyConstraints) : New method that copy the tables constraints to the copy table.
2247         (Select) : Adding support for DataViewwRowState.
2248         
2249         * ForeignKeyConstraint.cs (AssertConstraint) : Adding implementation.
2250         
2251         * MergeManager.cs (MergeRow) : Fix bugs.
2252         
2253 2003-10-27  Eran Domb  <erand@mainsoft.com>
2254         * DataRow.cs (SetColumnValue): Donot check null value when in midle of loading data.
2255         check null values when ending loading data.
2256         
2257         * DataSet.cs (RejectChanges) : Imlementation.
2258         (Prefix) : If prefix was changed fire event. Check that the prefix is not null - if null, 
2259         change it to empty string.
2260         
2261         * DataTable.cs (BeginLoadData, EndLoadData) : Impemantation.
2262         
2263 2003-10-22  Eran Domb  <erand@mainsoft.com>
2264         * MergeManager.cs : Fixing bugs. Adding check for PrimaryKey matching.
2265         
2266         * ConstraintCollection.cs (RamoveAt): Change implemntation.
2267         
2268         * DataTableCollection (CanRemove): Removing cast to Constraint.
2269
2270 2003-10-22  Eran Domb  <erand@mainsoft.com>
2271         * DataRelationCollection.cs (AddCore): The unique constraint was added even if the createConstraints flag was false.
2272         (Clear): The collection was cleared without removing the relation from the parent and child tables.
2273         
2274         * DataSet.cs (Copy, Clone): The Relations of the DataSet were not copy.
2275         (HasChanges, Reset): Imlementation.
2276         
2277         * DataTable.cs (HasErrors): There is no flag for errors, instead the table ask her row if they have any errors.
2278         This is because the we do not no when to turn off the flag.
2279         (Locale): Changing implementation to behave like ADO.NET.
2280         (AcceptChanges): Fix bug.
2281         (Clear): Check that this table is not referenced from a foreign key constraint.
2282         (Copy): Do not try to access a deleted row.
2283         (CopyProperties): Copy the PrimaryKey.
2284         (GetChanges, ImportRow): Implementation.
2285         (LoadDataRow): Adding implementation if the table has PrimaryKey.
2286         (ToString): Changing implementation to behave like ADO.NET.
2287         
2288         * UniqueConstraint.cs (AssertConstraint): support for Multiple DataColumns in the constraint.
2289         
2290         * DataRow.cs (Ctor): In the constructor we initiate the current array, but we should initiate only the proposed array for new rows.
2291         (HasErrors): Implementation.
2292         (Delete): Added checking for child rows of the deleted row.
2293         (EndEdit): Added checking for child row and firing events.
2294         (GetColumnError): Added a check that the method will not return null, as in ADO.NET(an empty string is returned).
2295         (GetColumnsInError): Added a check for null values in column error.
2296         (HasVersion): Added special treatment for special RowState.
2297         (CollectionChanged): More checks to avoid NullReferenceException.
2298         
2299         * DataRowCollection.cs (Remove): Fix a bug.
2300
2301
2302 2003-10-01  Duncan Mak  <duncan@ximian.com>
2303
2304         More patches from Eran Domb <erand@mainsoft.com>.
2305
2306         * MergeManager.cs: New file.
2307
2308         * DataRelationCollection.cs (AddCore): Check that a
2309         UniqueConstraint is already exists. It loops over the Relations
2310         instead of the Constraints.
2311         (Add, AddCore): The relation was added twice.
2312
2313         * DataSet.cs (Merge, GetChanges, HasChanges): Implemented.      
2314
2315 2003-09-30  Duncan Mak  <duncan@ximian.com>        
2316
2317         Patches from Eran Domb <erand@mainsoft.com>.
2318
2319         * DataRelation.cs (constructor): When the name of the relation is
2320         null, it should return an empty, not "Relation".
2321         
2322         * DataRow.cs (AcceptChanges): Added special case for
2323         RowState.Detached.
2324         (CancelEdit): Set editing flag to false.
2325         (IsNull): Check that the value is DBNull.
2326
2327         * DataRowCollection.cs (Add): There was no check that the table of
2328         the collection is owned by a DataSet.
2329
2330         * DataSet.cs (OnMergeFailed): Added.    
2331
2332         * UniqueConstraint.cs (AssertConstraint): There was no check that
2333         values in the row are not null, where it is a primary key
2334         column. Also check that the row has a proposed version, if not,
2335         get the current version when we compare the rows.
2336
2337 2003-09-25  Duncan Mak  <duncan@ximian.com>
2338
2339         Patches from Eran Domb <erand@mainsoft.com>.
2340
2341         * DataColumn.cs (Unique): Implemented.
2342         
2343         * DataTable.cs:
2344         * ConstraintCollection.cs:
2345         * ForeignKeyConstraint.cs (_ensureUniqueConstraintExists): Fixes
2346         an Exception thrown. Details:
2347         http://lists.ximian.com/archives/public/mono-devel-list/2003-September/002130.html
2348         
2349         * DataRowCollection.cs (Add): There is no checking that there is
2350         no violation of the unique constrains.
2351
2352         * UniqueConstraint.cs (AssertConstraint): There is no checking on
2353         all columns in the constraint.
2354
2355         * DataTableCollection (Add): Correctly throw an Exception, more
2356         details here:
2357         http://lists.ximian.com/archives/public/mono-devel-list/2003-September/002117.html
2358         (Remove, RemoveAt): Implemented.
2359
2360 2003-07-31  Duncan Mak  <duncan@ximian.com>
2361
2362         * DBConcurrencyException.cs: Added new NET_1_1 no-param constructor.
2363
2364 2003-07-25  Ravi Pratap  <ravi@ximian.com>
2365
2366         * DataRelation.cs (OnPropertyChanging): Calling the 'Invoke'
2367         method on a delegate is disallowed - fix this.
2368
2369 2003-07-22  Lluis Sanchez Gual  <lluis@ximian.com>
2370
2371         * DataSet.cs: Implemented IXmlSerializable interface. Added basic support for
2372           xml serialization. Modified method of writing schema. Now it creates
2373           a XmlSchema object and serializes it using XmlSerializer.
2374         * XmlConstants.cs: Added constants for data type names.
2375         * XmlDataLoader.cs: Fixed deserialization of data. Now converts data to the
2376           type specified in the column.
2377
2378 2003-04-20  Alan Tam <Tam@SiuLung.com>
2379
2380         * DataRelationCollection.cs: Fix a bug that prevent relations
2381         from being added via DataSet.
2382
2383 2003-04-12  Ville Palo <vi64pa@kolumbus.fi>
2384
2385         * UniqueConstraint.cs: one tiny fix.
2386         
2387 2003-04-05  Ville Palo <vi64pa@kolumbus.fi>
2388
2389         * DataTable.cs: Remove UniqueConstraints when adding new ones
2390         
2391 2003-04-04  Ville Palo <vi64pa@kolumbus.fi>
2392
2393         * DataColumnCollection.cs: Little 'case sensitive' fix
2394         
2395 2003-04-04  Ville Palo <vi64pa@kolumbus.fi>
2396
2397         * DataRow.cs: AutoIncrement handling to Constructor
2398         * DataRowCollection.cs: This doesnt need anymore AutoIncrements
2399         
2400 2003-03-27  Ville Palo <vi64pa@kolumbus.fi>
2401
2402         * DataTable.cs: Some fixes to PrimaryKey etc...
2403         * UniqueConstraint.cs: Little clean up
2404         
2405 2003-03-27  Ville Palo <vi64pa@kolumbus.fi>
2406
2407         * DataTable.cs: Tiny fix to ToString () -method
2408         
2409 2003-03-27  Ville Palo <vi64pa@kolumbus.fi>
2410
2411         * ConstraintCollection.cs: Little fix.
2412         * DataColumn.cs: Added new internal method SetUnique()
2413         * UniqueConstraint.cs: some little fixes
2414         
2415 2003-03-26  Ville Palo <vi64pa@kolumbus.fi>
2416
2417         * DataRowCollection.cs: Bugfixes, implementation,...
2418         
2419 2003-03-26  Ville Palo <vi64pa@kolumbus.fi>
2420
2421         * DataColumn.cs: If DataType if set to something else than short, int
2422         or long and AutoIncrement is true, AutoIncrement is must set to false.
2423         
2424 2003-03-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2425
2426         * DataRow.cs:
2427         (BeginEdit): fixed array bound problem when a column has been added.
2428         (EndEdit): just assign proposed to current as proposed is set to null.
2429         This also fixes another array boudn problem.
2430
2431 2003-03-21  Alan Tam <Tam@SiuLung.com>
2432
2433         * DataRow.cs: Fixed problems in accessers, BeginEdit, CancelEdit,
2434         EndEdit and AcceptChanges to act correctly according to DataRowState
2435         and DataRowVersion.
2436         * DataRowCollection.cs: Call AttachRow and DetachRow when a row is
2437         attached and detached from the collection.
2438
2439 2003-03-20  Alan Tam <Tam@SiuLung.com>
2440
2441         * DataColumn.cs: Store empty string for Expression when null is passed in.
2442         Classes generated by XSD.exe passes null by default.
2443
2444 2003-03-16  Ville Palo <vi64pa@kolumbus.fi>
2445
2446         * DataColumnCollection.cs: Tiny clean up
2447
2448 2003-03-16  Ville Palo <vi64pa@kolumbus.fi>
2449
2450         * DataColumn.cs: little fixes.
2451         * DataColumnCollection.cs: Lots of little fixes and improvments.
2452         
2453 2003-03-12  Alan Tam <Tam@SiuLung.com>
2454
2455         * DataSet.cs: Fixed a bug that the file written does not close correctly.
2456
2457 2003-03-08  Alan Tam <Tam@SiuLung.com>
2458
2459         * DataRelationCollection.cs: Removed the mis-overridden methods
2460         * DataRow.cs: Fixed an attribute
2461         * DataSet.cs: Fixed the modifiers
2462
2463 2003-03-06  Aleksey Demakov <avd@openlinksw.com>
2464
2465         * DataTableCollection.cs: The Contains (string name),
2466         IndexOf (string name) methods, and item[string name] indexer
2467         now behave more like .NET with respect to case-sensitivity.
2468         That is if there is an exactly matching item then this one is used.
2469         If there is only one item differing in case then it used.
2470         If there are more than one item differing in case then
2471         Contains returns false, IndexOf returns -1, and item[]
2472         throws an ArgumentException.
2473
2474 2003-02-28  Ville Palo <vi64pa@kolumbus.fi>
2475
2476         * ExpressionElement.cs: More implementation. 
2477         
2478 2003-02-28  Alan Tam <Tam@SiuLung.com>
2479         * DataSet.cs: Changed WriteTable so that it now calls the newly written
2480         WriteObjectXml to direct the call to the respective XmlConvert method.
2481         This fixes the wrong format written to XML files of bool, float,
2482         double, DateTime and TimeSpan types.
2483
2484 2003-02-25  Alan Tam <Tam@SiuLung.com>
2485
2486         * DataRelation.cs: Added SetDataSet for DataSetRelationCollection to use.
2487         * DataRelationCollection.cs: Implemented AddRange and Contains.
2488         Implemented AddRange, Clear, List and RemoveCore for DataSetRelationColletion.
2489         Implemented AddCore, List and RemoveCore for DataTableRelationCollection.
2490         Reimplemented most Add methods to eliminate duplicated checks.
2491         Centralized RelationName generation procedure in GetNextDefaultRelationName.
2492
2493 2003-02-25  Alan Tam <Tam@SiuLung.com>
2494
2495         * DataColumn.cs: Fixed wrong storage representation of Expression
2496         (using empty string instead of null) so that ToString() returns nothing.
2497         * DataColumnCollection.cs: Reimplemented GetNextDefaultColumnName so that
2498         auto column naming now works as expected. Reimplemented some Add methods
2499         to eliminate code duplication.
2500
2501 2003-02-19  Ville Palo <vi64pa@kolumbus.fi>
2502
2503         * DataTable.cs: DataTable.CaseSensitive follows parent 
2504         DataSet.CaseSensitive property if DataTable.CaseSensitive has never
2505         been changed directly from DataTable
2506         
2507 2003-02-19  Ville Palo <vi64pa@kolumbus.fi>
2508
2509         * DataSet.cs: When CaseSensitive property is changed all of the Tables
2510         of DataSet have to change too
2511         
2512 2003-02-19  Daniel Morgan <danmorg@sc.rr.com>
2513
2514         * InternalDataCollectionBase.cs: revert change to field
2515         to fix build
2516         
2517         * DataViewManager.cs
2518         * DataView.cs
2519         * DataTable.cs
2520         * DataSet.cs: commented use of DesignerAttribute
2521         because it broke the build.  According to MSDN,
2522         DesignerAttribute does not have a zero-argument constructor
2523
2524 2003-02-18  Ville Palo <vi64pa@kolumbus.fi>
2525
2526         * DataColumnCollectin.cs: Little fix for indexer and case sensitivity
2527         
2528 2003-02-18  Alan Tam <Tam@SiuLung.com>
2529
2530         * DataRow.cs: Implemented GetParentRow and GetParentRows.
2531         * DataSet.cs: Added stub for HasChanges, InferXmlSchema,
2532                       OnPropertyChanging, OnRemoveRelation, OnRemoveTable,
2533                       RaisePropertyChanging.
2534         * DataTable.cs: Implemented NewRowArray.
2535         * DataTablePropertyDescriptor: Fixed a modifier.
2536         * InternalDataCollectionBase.cs: Fixed modifiers. Implemented SyncRoot.
2537         * PropertyCollection.cs: Minor fix.
2538         * ConstraintCollection.cs DataColumn.cs DataColumnCollection.cs 
2539         * DataRelation.cs DataRelationCollection.cs DataRow.cs
2540         * DataRowCollection.cs DataRowState.cs DataSet.cs DataTable.cs
2541         * DataTableCollection.cs DataTablePropertyDescriptor.cs DataView.cs
2542         * DataViewManager.cs DataViewRowState.cs DataViewSettingCollection.cs
2543         * ForeignKeyConstraint.cs InternalDataCollectionBase.cs
2544         * PropertyCollection.cs UniqueConstraint.cs: Added missing attributes
2545         
2546 2003-02-08  Ville Palo <vi64pa@koti.soon.fi>
2547
2548         * ExpressionElement.cs: More implementation
2549         
2550 2003-02-05  Alan Tam <Tam@SiuLung.com>
2551
2552         * DataSet.cs: Added framework for DataSet.Update Implemented missing 
2553         methods GetSchemaSerializable, GetSerializationData, 
2554         ReadXmlSerializable, ShouldSerializeRelations and ShouldSerializeTables
2555         for DataSet
2556         * DataTable.cs: Implemented missing methods CreateInstance and 
2557         GetRowType for DataTable
2558         
2559 2003-02-03  Ville Palo <vi64pa@koti.soon.fi>
2560
2561         * DataSet.cs: Implemented private method MapType for 
2562         mapping datatypes for XmlSchema
2563         
2564 2003-02-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2565
2566         * DataView.cs: implemented Dispose.
2567
2568 2003-01-30  Ville Palo <vi64pa@koti.soon.fi>
2569
2570         * ExpressionElement.cs: Added new file. This file is for parsing
2571           and DataData.Select () -methods and DataColumn.Expression -property
2572         * DataTable.cs: Implemented Select(string) -method      
2573         
2574 2003-01-28  Ville Palo <vi64pa@koti.soon.fi>
2575
2576         * DataSet.cs: One little fix to writing xml
2577         
2578 2003-01-27  Ville Palo <vi64pa@koti.soon.fi>
2579
2580         * XmlSchemaMapper.cs: Some fixes.
2581         * DatSet.cs: Some XmlFixes and BeginInit ()/ EndInit () -fix
2582
2583                 
2584 2003-01-24  Ville Palo <vi64pa@koti.soon.fi>
2585
2586         * UniqueConstraint.cs: Do not set columns Unique property true 
2587         as a default.
2588         * ForeignKeyConstraint.cs: Add UniqueConstraint to parent Table
2589         
2590 2003-01-18  Ville Palo <vi64pa@koti.soon.fi>
2591
2592         * DataTableCollection.cs: Now names new DataTable if it doesn't 
2593         already have a name.
2594         
2595 2003-01-17  Ville Palo <vi64pa@koti.soon.fi>
2596
2597         * XmlSchemaMapper.cs: Improvments.
2598         * XmlConstaints.cs: Added more constants.
2599         * DataSet.cs: Improvments of reading and writing xml
2600         * DataColumn.cs: Added default values of properties.
2601                 
2602 2003-01-14  Ville Palo <vi64pa@koti.soon.fi>
2603
2604         * XmlSchemaMapper.cs: Some improvments
2605         
2606 2003-01-13  Ville Palo <vi64pa@koti.soon.fi>
2607
2608         * DataRowCollection.cs: Added IndexOutOfRangeException
2609         * DataTableCollection.cs: Added OnCollectionChanging and 
2610         OnCollectionChanged events.
2611         * DataSet.cs: Many fixes. Implemented Clone () and Copy () -methods
2612         * DataTable.cs: Implemented Copy () and Clone () methods.
2613         * XmlDataLoader.cs: some fixes.
2614         * XmlSchemaMapper.cs: comments.
2615         
2616 2003-01-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2617
2618         * DataColumnPropertyDescriptor.cs: store columnIndex in the .ctor.
2619
2620 2003-01-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2621
2622         * DataColumnPropertyDescriptor.cs: fixed typo.
2623         * DataViewManagerListItemTypeDescriptor.cs: added new internal property
2624         to get the DataViewManager and removed TablePD class.
2625         * DataTablePropertyDescriptor.cs: TablePD class is now this one as
2626         suggested by danmorg.
2627
2628 2003-01-06  Ville Palo <vi64pa@koti.soon.fi>
2629
2630         * XmlDataLoader.cs: Moved diffgram stuff to new internal class
2631         XmlDiffLoader.
2632         * XmlDiffLoader.cs: new class for diffgrams. Added handling of 
2633         diffgr:Errors and some fixes and changed XmlReader to XPathNavigator.
2634         
2635 2003-01-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2636
2637         * DataView.cs: made dataViewManager internal.
2638         * DataViewManager.cs: use ICustomTypeDescriptor. We don't want the
2639         properties of the object, but the values of the columns present in a
2640         row.
2641         
2642         * DataViewManagerListItemTypeDescriptor.cs: implemented GetProperties,
2643         which returns a PropertyDescriptorCollection. Created a new class
2644         derived from PropertyDescriptor that treats Table as an object whose
2645         properties are DataRowView.
2646
2647 2003-01-04  Ville Palo <vi64pa@koti.soon.fi>
2648
2649         * XmlSchemaMapper.cs: Added handling for Constraints, Attributes.
2650         
2651 2003-01-04  Ville Palo <vi64pa@koti.soon.fi>
2652
2653         * DataColumn.cs: ExtendedProperties is by default !null-
2654         
2655 2003-01-04  Ville Palo <vi64pa@koti.soon.fi>
2656
2657         * DataColumnCollection.cs: Add (DataColumn Column) -method didn't 
2658         set column's ordinal.
2659         
2660 2003-01-02  Ville Palo <vi64pa@koti.soon.fi>
2661
2662         * DataSet.cs: 
2663         * XmlDataLoader.cs: XmlReader closing fixes.
2664         * XmlSchemaReader.cs: Added support for ref=
2665         
2666 2003-01-01  Ville Palo <vi64pa@koti.soon.fi>
2667
2668         * DataSet.cs: 
2669           - Added XmlReader and XmlWriter Closing.
2670           - Moved ReadXmlSchema stuff to new internal class XmlSchemaMapper.
2671         * XmlSchemaMapper.cs
2672           - Much better way IMHO  to map xmlschema than the old one in 
2673             DataSet.cs. Its, more flexible, cleaner, ...
2674                         
2675 2002-12-29  Ville Palo <vi64pa@koti.soon.fi>
2676
2677         * XmlDataLoader.cs: Reading diffgrams.
2678         
2679 2002-12-29  Ville Palo <vi64pa@koti.soon.fi>
2680
2681         * DataRow.cs: Little fix to indexer and DataColumnCang* trigger fixes.
2682         * DataTable.cs: Added ChanginDataColumn () for triggering 
2683         DataColumnChanging event
2684         
2685 2002-12-28  Ville Palo <vi64pa@koti.soon.fi>
2686
2687         * DataSet.cs: Indentations to WriteXmlSchema () and one little fix
2688         
2689 2002-12-28  Ville Palo <vi64pa@koti.soon.fi>
2690
2691         * DataSet.cs: Indentations to WriteXml ()
2692         
2693 2002-12-27  Ville Palo <vi64pa@koti.soon.fi>
2694
2695         * DataSet.cs:
2696         * XmlDataLoader.cs: Moved ReadXml -stuff from DataSet.cs to new
2697         class XmlDataLoader.cs
2698         
2699 2002-12-19  Ville Palo <vi64pa@koti.soon.fi>
2700
2701         * DataSet.cs Implemented ReadXml with XmlReadMode.ReadSchema
2702         
2703 2002-12-18  Ville Palo <vi64pa@koti.soon.fi>
2704
2705         * DataSet.cs: Started to implement ReadXml-methods.
2706         
2707 2002-12-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
2708
2709         * DataSet.cs: implemented DefaultViewManager and GetList.
2710
2711         * DataViewManager.cs: a bit of work on IList and ITypedList needed by
2712         DataList in System.Web.
2713
2714         * DataViewManagerListItemTypeDescriptor.cs: custom type descriptor for
2715         DataViewManager.
2716
2717 2002-12-16  Ville Palo <vi64pa@koti.soon.fi>
2718
2719         * DataRow.cs
2720         * DataTable.cs: Fixed NullException (rollback -event)
2721         * DataSet.cs: WriteXml -method does not anymore write <?xml... row.
2722         
2723 2002-12-15  Ville Palo <vi64pa@koti.soon.fi>
2724
2725         * DataRow.cs:
2726         * DataRowCollection.cs: Moved event triggering from DataRow to
2727         DataRowCollection.
2728         
2729 2002-12-09  Ville Palo <vi64pa@koti.soon.fi>
2730
2731         * DataSet.cs: Little fix to WriteTable () -method 
2732         and DoReadXmlSchema () -method.
2733         
2734 2002-12-06  Ville Palo <vi64pa@koti.soon.fi>
2735
2736         * DataSet.cs: Clean up to reading xmlschema. This looks much better 
2737         now (work better too), but it not working correctly yet.
2738         
2739 2002-12-04  Ville Palo <vi64pa@koti.soon.fi>
2740
2741         * DataRow.cs: 
2742         * DataRowCollection.cs: Added some event handlins stuff.
2743         * DataSet.cs: Some fixes.
2744         * DataTable.cs: Added event handlers.
2745         
2746 2002-11-30  Ville Palo <vi64pa@koti.soon.fi>
2747
2748         * DataRowChangeEventArgs.cs: Implemented Action and Row properties 
2749         
2750 2002-11-30  Ville Palo <vi64pa@koti.soon.fi>
2751
2752         * System.Data/DataRow.cs: Added internal property XmlDataID
2753         
2754 2002-11-29  Ville Palo <vi64pa@koti.soon.fi>
2755
2756         * DataSystem.Data.DataTableCollection.cs:
2757         Removed HashTable. There could be situations where DataTable
2758         is added to collection before it hava TableName. So using 
2759         HashTable is impossible.
2760         
2761 2002-11-19  Carlos Guzmán Álvarez <carlosga@telefonica.net>
2762
2763         * DataRow.cs: an object that is equal to null 
2764         should be allowed to be set in this indexer too
2765         to be like .NET
2766
2767 2002-11-06  Daniel Morgan <danmorg@sc.rr.com>
2768
2769         * DataColumnPropertyDescriptor.cs: added file
2770         
2771         * System.Data/DataRowView.cs: started implementation
2772         
2773         * DataTable.cs: stubbed more interfaces.  Implemented
2774         IListSource.GetList()
2775         
2776         * DataView.cs: stubbed more interfaces.  Implemented
2777         some properties and methods: GetEnumerator(), 
2778         ITypedList.GetItemProperties, Item indexer, CopyTo()
2779
2780 2002-05-18  Nick Drochak  <ndrochak@gol.com>
2781
2782         * DataRow.cs: Fix typo.