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