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