This commit was manufactured by cvs2svn to create branch 'mono-1-0'.
[mono.git] / mcs / class / System.Data / System.Data / ChangeLog
1 2004-08-06  Atsushi Enomoto  <atsushi@ximian.com>
2
3         * DataSet.cs : DataSet's ExtendedProperties were not XmlConverted.
4
5 2004-08-05  Atsushi Enomoto  <atsushi@ximian.com>
6
7         * XmlConstants.cs : Added constants for "msprop" support.
8         * DataSet.cs : ExtendedProperties should be written in the schema.
9           This fixes bug #61233.
10
11 2004-07-27  Atsushi Enomoto  <atsushi@ximian.com>
12
13         * DataSet.cs : on serialization to XmlWriter, XmlConvert should be
14           used. There were also some culture dependency problems to write int.
15
16 2004-06-27  Atsushi Enomoto  <atsushi@ximian.com>
17
18         * XmlDataInferenceLoader.cs : It was not always filling relation
19           child table information correctly. This fixes bug #60742.
20
21 2004-06-23 Umadevi S <sumadevi@novell.com>
22         * UniqueConstraint.cs :changed a ifdef true to ifdef NET_1_1
23
24 2004-06-22  Atsushi Enomoto  <atsushi@ximian.com>
25
26         * DataSet.cs : Fixed ReadXml(). When ReadMode is ReadSchema and the
27           schema is inside the document element (as created in XmlWriteMode
28           .WriteSchema), it should read schema from that non-document element.
29           This fixes one case reported in bug #60470.
30
31 2004-06-20  Atsushi Enomoto  <atsushi@ximian.com>
32
33         * XmlDataInferenceLoader.cs : Kindly reject xml schema document as a
34           inference target. For bug #60470. (MS does not support schema
35           document inference and results in unconsistent dataset structure.)
36
37 2004-06-20  Atsushi Enomoto  <atsushi@ximian.com>
38
39         * DataTableCollection.cs : reset the table's DataSet to null when
40           removing a table from this collection.
41         * DataTable.cs : When Namespace is not specified explicitly, its
42           Namespace property reflects DataSet's Namespace if exist.
43           This fixes bug #60469.
44
45 2004-06-18  Gert Driesen <drieseng@users.sourceforge.net>
46
47         * DBConcurrentcyException.cs: CRLF to LF
48         * DataViewSetting.cs: CRLF to LF
49
50 2004-06-18  Gert Driesen <drieseng@users.sourceforge.net>
51
52         * DataViewSetting.cs: renamed fields to match MS.NET
53
54 2004-06-18  Gert Driesen <drieseng@users.sourceforge.net>
55
56         * DBConcurrencyException.cs: fixed serialization compatibility with
57         MS.NET
58
59 2004-06-17  Boris Kirzner  <borisk@mainsoft.com>
60
61         * ChangeLog : Fix for misspelled words.
62
63 2004-06-17  Boris Kirzner  <borisk@mainsoft.com>
64
65         * DataRowCollection.cs : Removed onColumnRemoved since it is not in use.
66         
67 2004-06-17  Boris Kirzner  <borisk@mainsoft.com>
68
69         * DataTable.cs :
70           - Table stores default values for columns in special default values row. 
71           It is allocated once (in NewRow).
72           - DataTable.Copy rewrited. It works with uninitialized rows for better perfomance.
73           - OnRemoveColumn has nothing to perform by now.
74
75 2004-06-17  Boris Kirzner  <borisk@mainsoft.com>
76
77         * DataRow.cs : 
78           - Changed access of original, current and proposed indexes to internal.
79           - ColumnErrors reviewed : now column errors stored in ArrayList and allocated on demand only.
80           - Added new DataRow constructor that creates uninitialized DataRow (used in DataTable.Copy).
81           - Use DataContainer.CopyValue and default values row for faster set of default values in row.
82           - SetColumnValue become CheckValue. Now it does not changes the value, but only checks for its correctness.
83           Care about Null and DBNull values is now in DataContainer.
84           - Use DataColumn.AutoIncrementValue and GetInt64 for faster set of autoincrement value.
85           - Use Datacontainer.CopyValue and default values row to speed up CheckChildRows.
86           - Fix in CopyState : clone column errors.
87           - Removed CollectionChanged and onColumnRemoved since we are not using both of them anymore.
88
89 2004-06-17  Boris Kirzner  <borisk@mainsoft.com>
90
91         * DataColumnCollection.cs : 
92           - Fix : Add() now delegates to Add(DataColumn).
93           - autoIncrement list holds DataColumn objects, and not just column names.
94
95 2004-06-17  Boris Kirzner  <borisk@mainsoft.com>
96
97         * DataColumn.cs : 
98           - AutoIncrementValue fixes. Now AutoIncrement uses DataContainer.GetInt64 to avoid boxing.
99           - DefaultValue fixes. Default value from now on is also stored in special record in 
100           DataTable, so we're able to set default value for the column faster (typed).
101         
102         
103 2004-06-15  Atsushi Enomoto  <atsushi@ximian.com>
104
105         * DataSet.cs : children of non-root rows were not properly written.
106           Fixed bug #53959.
107
108 2004-06-10 Umadevi S <sumadevi@novell.com>
109         * DataRelation.cs - Constructor
110         - The datatypes of the parentcolumn(s) and the childcolumn(s) should match
111
112 2004-06-06  Atsushi Enomoto  <atsushi@ximian.com>
113
114         * XmlSchemaDataImporter.cs : We should fill Namespace for DataTable.
115
116 2004-06-04  Gert Driesen <drieseng@users.sourceforge.net>
117
118         * Constraint.cs: marked methods internal to fix public API
119         * ConstraintCollection.cs: to fix public API, use 
120         DataTable.fInitInProgress to check whether initialization 
121         of DataTable is in progress
122         * DataColumn.cs: added stubs for missing methods
123         * DataRowBuilder.cs: marked Table property internal to
124         fix public API
125         * DataSet.cs: removed extra empty destructor, marked 
126         OnMergeFailed internal to fix public API
127         * DataTable.cs: use fInitInProgress field to hold init
128         status, to match MS.NET
129         * DataView.cs: added missing attributes on IsOpen
130
131 2004-06-03  Atsushi Enomoto  <atsushi@ximian.com>
132
133         * DataSet.cs : Use NameTable.Get() before calling LookupNamespace()
134           in XmlNamespaceManager.
135
136 2004-06-03  Atsushi Enomoto  <atsushi@ximian.com>
137
138         * DataSet.cs : complex table content child was not properly added
139           when it is the only one child in the parent table. Fixed bug #53959.
140
141 2004-06-02  Gert Driesen <drieseng@users.sourceforge.net>
142        * DataTableTypeConverter.cs: added
143        * DataView.cs: added missing attribute on Table property
144        * DataViewManager.cs: moved attribute to correct property
145        * UniqueConstraint.cs: removed extra ReadOnly attribute from
146         IsPrimaryKey property
147
148 2004-06-01  Atsushi Enomoto  <atsushi@ximian.com>
149
150         * DataRow.cs : ColumnsChanged event is not required in .ctor().
151
152 2004-06-01  Atsushi Enomoto  <atsushi@ximian.com>
153
154         * XmlDataReader.cs : type change is required before setting value
155           string to row item.
156
157 2004-05-31  Atsushi Enomoto  <atsushi@ximian.com>
158
159         * DataSet.cs : Loop-break of the last fix was incorrect.
160
161 2004-05-31  Atsushi Enomoto  <atsushi@ximian.com>
162
163         * DataSet.cs : When a row has no parent row but the table has parent
164           relation(s), that row had been always ignored.
165
166 2004-05-31  Atsushi Enomoto  <atsushi@ximian.com>
167
168         * XmlDataInferenceLoader.cs : Fixed GetMappedTable() that incorrectly
169           rejected same-named tables in different hierarchy. Thanks to Boris.
170
171 2004-05-31  Atsushi Enomoto  <atsushi@ximian.com>
172
173         * XmlDiffLoader.cs : Added some Skip() that is required not to go to
174           infinite loop. Thanks to Boris for this fix.
175
176 2004-05-31  Atsushi Enomoto  <atsushi@ximian.com>
177
178         * XmlDataInferenceLoader.cs : XmlSchema elements should not be infered.
179           Thanks to Boris for this fix.
180
181 2004-05-30  Atsushi Enomoto  <atsushi@ximian.com>
182
183         * DataTable.cs : serialization .ctor() should use XmlReadMode.DiffGram
184           for ReadXml(). Thanks to Boris.
185
186 2004-05-27  Boris Kirzner  <borisk@mainsoft.com>
187         * DataRow.cs : 
188                 - CheckReadOnlyStatus : use typed (and faster comparing).
189                 - EndEdit : bug fix - do not dispose record if it holds original version.
190                 - SetValuesFromDataRecord : Take care about autoincrement columns.
191                 
192
193 2004-05-27  Atsushi Enomoto  <atsushi@ximian.com>
194
195         * MergeManager.cs : don't output debug message to Console.
196
197 2004-05-27  Atsushi Enomoto  <atsushi@ximian.com>
198
199         * XmlDataInferenceLoader.cs : Namespace are not imported to the table
200           structure. Thanks to Boris Kirzner for the fix.
201
202 2004-05-27  Umadevi S <sumadevi@novell.com>
203          * DataRelationCollection.cs - fixed nunit test errors
204
205 2004-05-27  Umadevi S <sumadevi@novell.com>
206          * DataTableCollection.cs - fixed nunit test errors
207
208 2004-05-21  Atsushi Enomoto  <atsushi@ximian.com>
209
210         * DataColumnCollection.cs : NullReferenceException was thrown when
211           the table was not found.
212         * DataRowCollection.cs :
213           Find() just returns null for null value under MS.NET 1.1.
214           RemoveAt() should also avoid to call AcceptChanges() like Remove().
215         * UniqueConstraint.cs : in AssertConstraint() throw ConstraintException
216           directly under MS.NET (for nunit test).
217
218 2004-05-21  Atsushi Enomoto  <atsushi@ximian.com>
219
220         * XmlSchemaDataImporter.cs : Setting startindex in LastIndexOf() 
221           caused problem on qualified name to get schema Field name.
222
223 2004-05-21  Atsushi Enomoto  <atsushi@ximian.com>
224
225         * XmlDataReader.cs : Now data reader is namespace aware in all places.
226           When table's namespace is different, it entered to infinite loop.
227
228 2004-05-19  Boris Kirzner  <borisk@mainsoft.com>
229         * MergeManager.cs : AdjustSchema now updates by reference new created table,
230         so in Merge you do not need to lookup for it (were unable to do this for unnamed tables).
231         Code styling.
232         
233 2004-05-19  Boris Kirzner  <borisk@mainsoft.com>
234
235         * DataColumn.cs : In set_Item[int] - if autoincrement, adjust next autoincrement value.
236         * DataColumnCollection.cs : fixed parantethes.
237         * DataRow.cs : 
238                 - AcceptChanges : do nothing if row state is unchanged.
239                 - GetChildRows, GetParentRows  : bug fix (use correct index).
240         * DataRowCollection.cs : bug fix (compare all row's values).
241         * DataTable.cs : bug fix (use correct row version).
242         
243 2004-05-20  Atsushi Enomoto  <atsushi@ximian.com>
244
245         * XmlSchemaDataImporter.cs : xs:positiveInteger is mapped to ulong.
246           When content type is Mixed, text column is not required (it is
247           required only when the complex type has no particle). 
248           "Repeated element" column is also created (considering maxOccurs=0 
249           and complex content extension).
250
251 2004-05-20  Atsushi Enomoto  <atsushi@ximian.com>
252
253         * XmlSchemaDataImporter.cs : XmlSchemaGroupBase was not handled 
254           properly.
255
256 2004-05-20  Atsushi Enomoto  <atsushi@ximian.com>
257
258         * XmlSchemaDataImporter.cs : Removed unused code and extra MonoTODO.
259           Fixed relation inference to consider attribute XPath.
260
261 2004-05-19  Atsushi Enomoto  <atsushi@ximian.com>
262
263         * DataColumn.cs : Fixed set_Item[int]. Convert.ToInt64(DBNull.Value)
264           always fails.
265
266 2004-05-19  Boris Kirzner  <borisk@mainsoft.com>
267
268         * DataColumn.cs - removed default member attribute.
269
270 2004-05-19  Boris Kirzner  <borisk@mainsoft.com>
271
272         * DataColumn.cs,
273           DataColumnChangeEventArgs.cs,
274           DataColumnCollection.cs,
275           DataRow.cs,
276           DataRowCollection.cs,
277           DataTable.cs,
278           Index.cs : Data storage in the row is redesigned. Now data is stored in 
279           typed containers inside DataColumn. Row holds its versions as indexes inside
280           each of data container, accessed through the row that holds it.
281
282 2004-05-19  Boris Kirzner  <borisk@mainsoft.com>
283
284         * UniqueConstraint.cs - added comment.
285         
286 2004-05-19  Atsushi Enomoto  <atsushi@ximian.com>
287
288         * XmlDataInferenceLoader.cs : Don't add already-existing DataTable to
289           DataSet.
290
291 2004-05-17  Atsushi Enomoto  <atsushi@ximian.com>
292
293         * DataSet.cs,
294           XmlDataInferenceLoader.cs,
295           XmlDataReader.cs,
296           XmlSchemaDataImporter.cs : XmlDecode every local name to read and
297           XmlEncode every local name to write. This should fix bug #58268.
298
299 2004-05-17  Atsushi Enomoto  <atsushi@ximian.com>
300
301         * DataSet.cs : Implemented ignored namespaces in InferXmlSchema().
302           Supported repeated elements. Removed MonoTODOs.
303         * XmlDataInferenceLoader.cs : Design change to support ignored
304           namespace and repeated elements.
305         * XmlSchemaDataImporter.cs : Added mapping support classes.
306
307 2004-05-15  Atsushi Enomoto  <atsushi@ximian.com>
308
309         * CustomDataClassGenerator.cs :
310           Added property parent "[foo]Row" and children "Get[foo]Row" support
311           for custom DataRow classes.
312           Fixed DataColumn property accessibility (public --> internal).
313
314 2004-05-14  Atsushi Enomoto  <atsushi@ximian.com>
315
316         * CustomDataClassGenerator.cs :
317           - Put classes inside custom DataSet class.
318           - Added automatic DataRelation creation support.
319           - Added Constraints creation support. That is done separate from
320             relations, since they might be independently created.
321           - Added non-MS public DataRelation fields.
322           - Removed extraneous "DataRelation type generation" code.
323           - Fixed custom_dataset.Initialize() not to create "c" field that
324             was created more than once.
325           - Implemented AddxxxRow() that takes parameters for every column.
326
327 2004-05-14  Atsushi Enomoto  <atsushi@ximian.com>
328
329         * XmlSchemaDataImporter.cs : When primary key is used more than once,
330           DataRelation borked because of empty parent column name.
331
332 2004-05-14  Atsushi Enomoto  <atsushi@ximian.com>
333
334         * XmlSchemaDataImporter.cs : When Creating constraints with related
335           to DataRelation creation, also set PrimaryKey to the parent table.
336
337 2004-05-14  Atsushi Enomoto  <atsushi@ximian.com>
338
339         * XmlSchemaDataImporter.cs : 
340           Design change to add indirect table and relation structures.
341           Support for "relation" annotation for local element.
342           Support for repeatable simple element column (maxOccurs > 1).
343           Fixed handling of Nested property on DataRelation (for globally
344           annotated relation, Nested is false).
345
346 2004-05-13  Atsushi Enomoto  <atsushi@ximian.com>
347
348         * DataRow.cs : Added DataElement property to avoid storing every row-
349           element mapping. It stored even for nodes that should be removed.
350
351 2004-05-13  Umadevi S <sumadevi@novell.com>
352
353         * RelationshipConverter.cs - Stubbed this class
354         * DataRelation.cs - added TypeConveterAttribute
355
356 2004-05-13  Umadevi S  <sumadevi@novell.com>
357
358         * DataColumnCollection.cs - Added ResDescriptionAttribute
359         * DataRelation.cs - Added TypeConverterAttribute
360         * DataRelationCollection.cs - Added DefaultPropertyAttribute
361         * DataRowView.cs - Added GetHashCode method with a TODO tag
362         * DataSet.cs - Added DesignerAttribute
363         * DataView.cs - Added DesignerAttribute
364         * DataViewManager.cs - Added DesignerAttribute
365         * DataViewSetting.cs - Added TypeConverterAttribute
366         
367 2004-05-12  Atsushi Enomoto  <atsushi@ximian.com>
368
369         * DataRow.cs : Added XmlDataElement initialization code.
370
371 2004-05-11  Atsushi Enomoto  <atsushi@ximian.com>
372
373         * XmlDataInferenceLoader.cs :
374           It now requires XmlDocument as input.  Improved identification of
375           DataSet element.  Removed extra lines.
376           Moved boresome design notes to bottom of the source and
377           added standalone runnable driver (not included on build).
378         * DataSet.cs :
379           Update with related to the change above.
380           WriteXml() should call Flush() after writing. This fixes bug #58327.
381         * XmlSchemaDataImporter.cs :
382           Improved indentification of DataSet element.
383
384 2004-05-11  Gert Driesen (drieseng@users.sourceforge.net)
385         * DataTable: marked initStatus enum internal
386
387 2004-05-09  Gert Driesen (drieseng@users.sourceforge.net)
388         * DataTable.cs: removed TypeConverterAttribute, marked RowsExist
389         methods internal
390         * DataRowView.cs: removed extra Error property
391         * DataRow.cs: reduced accessibility of CollectionChanged method 
392         to private
393         * DataColumnPropertyDescriptor.cs: made class internal
394         * DataColumn.cs: removed extra TypeConvertorAttribute
395         * ConstrainCollection.cs: marked PostEndInit method internal
396
397 2004-05-07  Atsushi Enomoto  <atsushi@ximian.com>
398
399         * DataSet.cs : 
400           In WriteXmlSchema(), when complex type contains simple type content
401           attributes must not added to XmlSchemaComplexType directly. It
402           causes schema compilation error.
403           DataRelation should not be output when related columns are hidden.
404
405 2004-05-07  Atsushi Enomoto  <atsushi@ximian.com>
406
407         * XmlDataInferenceReader.cs : Added. It does InferXmlSchema() (it is
408           also expected to do ReadXml(), but I will remove that feature and
409           support column reordering).
410         * XmlSchemaDataImporter.cs : Always initialize dataset name.
411           Always set Nested and primary key for parent table.
412         * XmlDataReader.cs : Now it is used.
413           Top level element might not match to dataset name nor any table 
414           name, but still possible to read content tables.
415           Handle empty element correctly in some places.
416           Handle Fragment mode (read up XmlReader to the end).
417         * DataSet.cs : Modified InferXmlSchema() and ReadXml() to use
418           XmlDataInferenceLoader and XmlDataReader.
419
420 2004-05-06  Atsushi Enomoto  <atsushi@ximian.com>
421
422         * DataSet.cs :
423           Eliminated CRLF injection.
424           More clear message in Clear().
425           Updates reflecting XmlSchemaDataImporter change.
426           Added duplicate check for XmlSerializerNamespaces in BuildSchema().
427           Don't use xmlns attribute for UnhandledAttributes (its not mandatory
428           but that depends on different behavior from ms.net).
429           Set locale also for DataTable.
430           Add xs:element only when target namespace matches to the
431           element's namespace. Otherwise, add xs:import for external namespace.
432           Put xs:sequence for dataset element's particle _only when_ actual
433           contents exist.
434
435 2004-05-06  Atsushi Enomoto  <atsushi@ximian.com>
436
437         * XmlDataReader.cs : Added. This class will work better when our
438           schema inference and schema read engine gets improved. (It contains
439           standalone testable Driver class.)
440
441 2004-05-06  Atsushi Enomoto  <atsushi@ximian.com>
442
443         * ForeignKeyConstraint.cs : Check step change. Existence then column
444           validity. just for tests.
445         * XmlSchemaDataImporter.cs : code simplification. reduced extraneous
446           fields.
447
448 2004-05-05  Atsushi Enomoto  <atsushi@ximian.com>
449
450         * DataSet.cs : Ignore empty content only when output type is diffgram.
451
452 2004-05-05  Atsushi Enomoto  <atsushi@ximian.com>
453
454         * CustomDataClassGenerator.cs : Modified that DataSet contains each
455           DataTable field so that each table property can access them directly.
456           (plus, modified standalone code driver code: shouldn't affect)
457
458 2004-05-05  Boris Kirzner  <borisk@mainsoft.com>
459
460         * DataView.cs , DataRowView.cs : Added implementation to basic methods and properties.
461           
462 2004-05-05  Atsushi Enomoto  <atsushi@ximian.com>
463
464         * XmlSchemaDataImporter.cs : 
465           SimpleContent column support.
466           Annotated relation support.
467           Top-level element is counted only when its type is complex.
468           xs:anyType is no longer treated as complex type.
469           dataset existence is mandatory now. 
470           Improved DataType and DefaultValue support.
471           Attribute namespace is properly handled now.
472           Prohibited attribute is now treated as hidden column.
473           Reject list or union simple type.
474
475           Still incomplete 1) to read relationship in some cases, 2) to 
476           determine whether an element is dataset or table, 3) thus to
477           exclude extraneous column, 4) to remove extraneous *_Id column.
478
479 2004-05-05  Atsushi Enomoto  <atsushi@ximian.com>
480
481         * DataTable.cs :
482           We had better reuse DataSet's ReadXmlSchema() and ReadXml() in
483           serialization .ctor() (thus schema read/inference should be easier).
484           DataRowSorter should consider Table's Locale.
485
486 2004-05-05  Atsushi Enomoto  <atsushi@ximian.com>
487
488         * DataColumnCollection.cs : We already had AutoIncrementValue(), so
489           use it instead of duplicating logic.
490
491 2004-05-05  Atsushi Enomoto  <atsushi@ximian.com>
492
493         * ConstraintCollection.cs :
494           Use Table.CaseSensitive and Table.Locale to compare strings.
495           Duplicate constraint name exception does not occur under .NET 1.1.
496
497 2004-05-04  Lluis Sanchez Gual  <lluis@ximian.com>
498
499         * XmlSchemaDataImporter.cs: Added little type check.
500
501 2004-05-04  Lluis Sanchez Gual  <lluis@ximian.com>
502
503         * DataSet.cs: Implemented support for runtime serialization. Fixed support
504           for xml serialization.
505         * XmlDiffLoader.cs: Skip diffgram element when it is empty.
506
507 2004-04-30  Umadevi S  <sumadevi@novell.com>
508         * DataColumnCollection.cs : Fixed nunit test errors, removed TODOs
509         * DataTableCollection.cs  : Tested and removed TODO
510         * TypedDataSetGeneratorException.cs : Fixed a couple of TODOs   
511
512 2004-04-29  Atsushi Enomoto  <atsushi@ximian.com>
513
514         * DataRow.cs : My previous patch unintentionally reverted Boris patch.
515
516 2004-04-29  Boris Kirzner <borisk@mainsoft.com>
517
518         * UniqueConstraint.cs : Constraint columns becaomes unique after adding constraint ifand only if 
519         constraint is defined on single column.
520
521 2004-04-29  Atsushi Enomoto  <atsushi@ximian.com>
522
523         * DataRowCollection.cs : .NET 1.1 throws InvalidConstaintException,
524           not ArgumentException (maybe changed after 1.1).
525
526 2004-04-29  Atsushi Enomoto  <atsushi@ximian.com>
527
528         * DataRow.cs : When Column was added and it was AutoIncrement column,
529           it extended the item object array incorrectly.
530           (Plus tiny comment and incorrect indentation fix.)
531
532 2004-04-29  Boris Kirzner <borisk@mainsoft.com>
533
534         * MergeManager.cs : added ( incomplete yet ) support for merging DataSet schema.
535
536 2004-04-29  Boris Kirzner <borisk@mainsoft.com>
537
538         * DataRow.cs : Bug fix in CopyValuesToRow().
539         
540 2004-04-29  Boris Kirzner <borisk@mainsoft.com>
541
542         * UniqueConstraint.cs : There is no reason to mark constraint's columns as unique, because
543           each of the columns should not be unique, but only all the constraint's columns together.
544         
545 2004-04-28  Boris Kirzner <borisk@mainsoft.com>
546         * DataRow.cs :
547           - Perfomance fixes: 
548                 - Added using of list of autoIncrement columns
549                 - SetColumnValue receives also DataColumn to avoid duplicate lookup in DatacolumnCollection
550           - Fix in CheckNullConstraints
551           - Fix in this[] and HasVersion() : when evaluating an expression deleted rows values can be accessed.
552           - Fix in SetColumnValue() , added CanAccess() method to avoid case of accessing internal array values berore it actually allocated.
553           - Added onColumnRemoved() method to threat column removal accurately.
554         
555         * DataRowCollection.cs :
556           - Added using of DataRow._nullConstraintViolation (for perfomance fix in EndLoadData())
557           - Added method onColumnRemoved() - calls each row's onColumnRemoved() (to ensure column removal is treated accurately)
558         
559         * DataTable.cs :
560           - Call DataRowCollection.onColumnRemoved() in OnRemoveColumn() (to ensure column removal is treated accurately)
561         
562         * DataColumnCollection.cs :
563           - Perfomance fixes :
564                 - collection holds a list of its autoIncrement columns (avoids unnesessary lookup through whole collection)
565                 - collection holds mapping from column names to DataColumn objects (avoids lookup through whole collection).
566                 - automatic creation of column names rewrited (bug fixes + perfomance improvement)
567         
568         * DataColumn.cs :
569           - Uses autoincrement list of a table
570
571 2004-04-27  Atsushi Enomoto  <atsushi@ximian.com>
572
573         * XmlDataLoader.cs : Even when it should ignore schema, it was 
574           infering schema.
575         * XmlSchemaDataImporter.cs : DataRelation creation support.
576           Improved "DataSet" element handing. When attributes are on the
577           element, it is not a "DataSet" element.
578           Fixed parent key column name.
579           Unique name creation is not required. Just raise an error.
580           Fill facet also for attribute types.
581
582 2004-04-27  Atsushi Enomoto  <atsushi@ximian.com>
583
584         * DataRow.cs : Null check for CheckReadOnlyStatus() and
585           CheckNullConstraints(), with some coding guideline fixes.
586           Type check should be done by Type instance comparison.
587
588 2004-04-27  Atsushi Enomoto  <atsushi@ximian.com>
589
590         * DataColumnCollection.cs : When add a column to the collection, fill
591           auto-increment column.
592
593 2004-04-26  Boris Kirzner <borisk@mainsoft.com>
594
595         * DataColumn.cs : Small perfomance fix (avoid unnesessary string concatenation).
596         
597 2004-04-26  Atsushi Enomoto  <atsushi@ximian.com>
598
599         * CustomDataClassGenerator.cs : Added.
600         * TypedDataSetGenerator.cs : Implemented Generate().
601           Changed GenerateIdName() to call CustomDataClassGenerator.MakeSafeName
602         * XmlSchemaDataImporter.cs : Table Locale should be supplied.
603
604 2004-04-25  Boris Kirzner <borisk@mainsoft.com>
605
606         * DataTable.cs : Small perfomance fix (avoid unnesessary string concatenation).
607         
608 2004-04-25  Boris Kirzner <borisk@mainsoft.com>
609
610         * Constraint.cs : Small perfomance fix (avoid unnesessary string concatenation).
611
612 2004-04-23 Umadevi S (sumadevi@novell.com)
613         *  DataRow.cs: Checked BeginEdit,EndEdit,CancelEdit and Delete methods
614            - Added error handling to the above methods
615
616 2004-04-22  Atsushi Enomoto  <atsushi@ximian.com>
617
618         * DataSet.cs : Data should be read when mode is IgnoreSchema (well,
619           the support is incomplete yet).
620         * XmlDataLoader.cs : 
621           Reverted ReadModeSchema() argument change. XmlReadMode would be 
622           useful to handle IgnoreSchema.
623           Don't overwrite DataSetName when mode is not such kind.
624           Set Prefix and Namespace as well as DataSetName.
625           AllowDBNull looks set false by default for element column.
626           Set unique constraint as primary key when infering the table schema.
627
628 2004-04-21  Atsushi Enomoto  <atsushi@ximian.com>
629
630         * DataSet.cs : 
631           Never set null string for Prefix and Namespace.
632           In InferXmlSchema() when null XmlReader is passed, just do nothing.
633           In WriteXmlSchema(string), earlier try block.
634           In BuildSchema(), try to add serialization namespaces for each
635           namespaces in DataSet/DataTable/DataColumn.
636           Removed namespace argument from WriteColumnAsElement() and don't
637           overwrite when namespace is "". This fixes bug #57330.
638         * DataColumn.cs : For Namespace and Prefix, never set null.
639
640 2004-04-21  Boris Kirzner <borisk@mainsoft.com>
641
642         * XmlSchemaMapper.cs : Check for not null unique constraint in ReadXmlSchemaKeyref()
643           before creating and adding foreign key constraint and relation. 
644
645 2004-04-21  Boris Kirzner <borisk@mainsoft.com>
646
647         * MergeManager.cs : In AdjustSchema() source table clone should be added
648           and not the table itself. 
649
650 2004-04-21  Boris Kirzner <borisk@mainsoft.com>
651
652         * DataSet.cs : 
653           - CaseSensitive : Additional fix (removed unnesessary assignment).
654           - CopyProperties : Do not try to copy ExtendedProperties if the collection is empty.
655
656 2004-04-21  Boris Kirzner <borisk@mainsoft.com>
657
658         * DataTable.cs : Ensure that DataSet property is not null before using it in Clear().
659           
660 2004-04-20  Boris Kirzner <borisk@mainsoft.com>
661
662         * DataTable.cs : 
663           - EndLoadData() : perfomance fix in case of null constraint violation
664             during data load (also in DataRow.cs).
665           - CaseSensitive : If DataTable belongs to DataSet it should always use
666             DataSet.CaseSensitive untill explicitly changed.
667           - CopyProperties() : do not try to copy ExtendedProperties if the collection is empty.
668           
669         * DataRow.cs :
670           - Pefromance fix in case of null constraint violation
671             during data load (also in DataTable.cs).
672           - CollectionChanged() : use correct column number after new DataColumn was added
673             (differs in case some DataColumn was previosly removed).
674           - EndEdit() - throw away  proposed values only after CheckChildRows() complete.
675
676 2004-04-20  Boris Kirzner <borisk@mainsoft.com>
677
678         * DataColumnCollection.cs : Since unique constraint is added now
679           in DataColumn.SetTable() the additional creation of constraint in 
680           DataColumnCollection.Add() is redundant and causes exception - fixed.
681           
682 2004-04-19  Atsushi Enomoto  <atsushi@ximian.com>
683
684         * XmlDataLoader.cs : Added "never add data rows" mode.
685           Removed unused code. However, it is temporary fixes to unify
686           ReadXml() and InferXmlSchema().
687         * DataSet.cs : Implemented InferXmlSchema(), though it is incomplete.
688
689           I'll create another XmlDataLoader since there are many problems
690           such that 1) it is too waste to read the entire xml into an
691           XmlDocument, 2) it does not handle attributes correctly, and 3) it
692           must handle "ignored namespaces".
693
694 2004-04-19  Atsushi Enomoto  <atsushi@ximian.com>
695
696         * Added XmlSchemaDataImporter.cs (new schema reader).
697         * DataSet.cs : Use XmlSchemaDataImporter (right now for DataSet only)
698           for ReadXmlSchema().
699           Let schema reading work to ReadXmlSchema().
700           Don't return ReadSchema when argument read mode was DiffGram.
701
702 2004-04-15 Umadevi S (sumadevi@novell.com)
703         *  Updated Clone/Copy methods in DataSet along with Testcase
704         *  ForeignKeyConstraint.cs - special ctor implemented 
705             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).
706         * Changes in  ConstraintCollection.cs for the above
707         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.
708         
709
710 2004-04-15  Atsushi Enomoto  <atsushi@ximian.com>
711
712         * XmlSchemaMapper.cs : set parent key and foreign key info to 
713           DataRelation when reading refkey constraints.
714           Supply constraint name for fkey.
715
716 2004-04-15  Atsushi Enomoto  <atsushi@ximian.com>
717
718         * XmlDataLoader.cs : Don't overwrite existing DataSetName. When read
719           mode is Auto, just ignore the schema if there is already schema info.
720         * DataSet.cs : Similarly ignore schema info for XmlReadMode = Auto.
721
722 2004-04-14  Atsushi Enomoto  <atsushi@ximian.com>
723
724         * DataSet.cs :
725           - In MS output, XML declaration looks to have standalone decl (yes).
726           - ReadXml(reader) just calls to ReadXml(reader, XmlReadMode.Auto)
727           - ReadXml(reader, mode)
728             1) return originally specified mode, instead of (always) Auto. 
729             2) Check empty reader.
730             3) Check diffgram schema and content separately.
731             4) When diffgram exists, remaining (the same-level) contents 
732                won't be consumed. 
733             5) Similar fact should be applied, but somewhat different. 
734                InferSchema and IgnoreSchema just skips, Fragment reads both
735                schema and content, others just reads schema.
736           - Removed unused code.
737         * XmlDataLoader.cs :
738           - Read() should skip in some ReadMode.
739           - Don't compare schema element name as case-insensitive (well,
740             should schemas be checked here?)
741           - Avoided BuildDocument() not to create confusing DataSet
742             document element.
743           - Don't add any tables when reader has single element.
744         * XmlDiffLoader.cs :
745           When target table was not found, MS.NET doesn't raise an error.
746         * XmlSchemaMapper.cs :
747           When XmlSchema.Read() left xml reader at </xs:schema>, read once.
748
749 2004-04-13  Atsushi Enomoto  <atsushi@ximian.com>
750
751         * DataSet.cs :
752           - InferXmlSchema(): Throw explicit NotImplementedException now.
753           - Don't put XML declaration everywhere. Write just for filename arg.
754           - xmlns="" should not be written. Maybe WebService problem is 
755             because default namespace is overwritten. This patch will keep
756             the WS problem away and actually fixes some unit tests (i.e. use
757             explicit String.Empty for null namespace in WriteStartElement()).
758           - MoveToContent() should always be called, not only when 
759             LocalName="xml". It will ignore prolog (DTD, PI, comment etc.).
760           - Even XmlReadMode is DiffGram, reader might not be "diffgram"
761             element. As to MSDN, diffgram does not contain schema.
762
763 2004-04-13  Gonzalo Paniagua Javier <gonzalo@ximian.com>
764
765         * DataTable.cs: made _initStatus private so that System.Data is CLS
766         compliant.
767
768 2004-04-13 Umadevi S   <sumadevi@novell.com>
769         *  UniqueConstraint.cs:
770         *  ConstraintCollection.cs:
771         *  DataTable.cs:
772         - Implemented a Constructor for UniqueConstraint.cs
773         - Used  EndInit on DataTable  to call a delegate which adds the
774           constraints passed to the most recent call of AddRange().Used
775           AddRange() on ConstraintCollection to check whether
776           DataTable.BeginInit has occurred.  If yes, save the argument
777           constraint collection passed, then return.  If no, Check whether the
778           constraints are of type UniqueConstraint and initialized with the
779           special constructor  If yes Initialized the table property of this
780           UniqueConstraint object with table assosciated with the current
781           instance of ConstraintCollection class.
782
783 2004-04-07  Marek Safar  <marek.safar@seznam.cz>
784
785         * Constraint.cs: changed ClsCompliant to CLSCompliant, build fix.
786
787 2004-04-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
788
789         * Constraint.cs:
790         * DataColumnCollection.cs:
791         * DataRelationCollection.cs:
792         * DataRowCollection.cs:
793         * DataTableCollection.cs:
794         * InternalDataCollectionBase.cs:
795         * Node.cs: CLS compliance for System.Data. Patch by Gert Driesen.
796         Fixes bug #56557.
797
798 2004-04-05  Jackson Harper  <jackson@ximian.com>
799
800         * DataTable.cs: Add rows to the row list if there is no filter.
801         
802 2004-03-31  Juraj Skripsky <juraj@hotfeet.ch>
803
804         * DataColumn.cs : Setting Caption to null sets it to the empty string
805         (ms.net behaviour, testcase is in DataColumnTest).
806         
807         * DataRow.cs : Evaluate DataColumn.Expression when such a column's
808         value is requested.
809
810 2004-03-30 Lluis Sanchez Gual <lluis@ximian.com>
811
812         * DataColumn.cs: In Expression setter, set the expression member even if 
813           it is an empty string.
814         * DataSet.cs: Support serialization of byte[] columns.
815         * XmlDataLoader.cs: Support deserialization  of Guid columns. 
816           Set MappingType.Attribute to columns infered from attributes.
817
818 2004-03-29  Juraj Skripsky <juraj@hotfeet.ch>
819
820         * ExpressionElements.cs : remove
821         * DataColumn.cs, DataRelationCollection.cs, DataTable.cs :
822         Integration of new Mono.Data.SqlExpressions classes used in
823         DataTable.{Select, Compute}.
824         Fixes bug #55503 and lots of failures in DataTableTest.cs.
825
826 2004-03-28  Juraj Skripsky <juraj@hotfeet.ch>
827
828         * Index.cs: Simple fix in ComparePartialRowNonUnique.
829         This fixes bugs #56129 and #56014.
830
831 2004-03-25 Lluis Sanchez Gual <lluis@ximian.com>
832
833         * DataSet.cs: In WriteXml (string filename, XmlWriteMode mode), close the
834           stream after writing the dataset. This fixes bug #52581.
835           Also added several writer.Close into finally blocks, so writers are properly
836           closed in case of an exception.
837
838 2004-03-12  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
839
840         * Constraint.cs: DO NOT USE the consts scheme if types can be referenced directly!
841         * DataColumn.cs: DO NOT USE the consts scheme if types can be referenced directly!
842         * ColumnTypeConverter.cs: Added stub
843         * DefaultValueTypeConverter: Added stub
844         * ConstraintConverter.cs: Added stub
845
846 2004-03-04 Eran Domb <erand@mainsoft.com>
847
848         * XmlDataLoader.cs : Xml reading reviewed. Added support for additional xml formats as described
849         in MS.NET documentation (missing DataSet element etc).
850
851 2004-03-04 Eran Domb <erand@mainsoft.com>
852
853         * Node.cs : Added.
854         * Index.cs : Rollback last changes.
855         
856 2004-03-03  Atsushi Enomoto <atsushi@ximian.com>
857
858         * Index.cs : justa build fix.
859
860 2004-03-03 Eran Domb <erand@mainsoft.com>
861         
862         * Index.cs : Added.
863         * Constraint.cs, ForeignKeyConstraint.cs, UniqueConstraint, ConstraintCollection.cs, DataColumn.cs,
864         DataRow.cs, DataRowCollection.cs, DataSet.cs, DataTable.cs : Changes made for using indexes on tables.
865         This changes made for performance improvement.
866
867 2004-02-08 Eran Domb <erand@mainsoft.com>
868
869         * XmlSchemaMapper.cs : Read columns is they were written as SimpleContent or as Attributes.
870
871 2004-02-08 Eran Domb <erand@mainsoft.com>
872
873         * DataSet.cs: Fix some bugs in ReadXml().
874
875 2004-02-04 Lluis Sanchez Gual <lluis@ximian.com>
876
877         * DataSet.cs: Added missing method that broke the build.
878
879 2004-02-04 Eran Domb <erand@mainsoft.com>
880
881         * DataRowCollection.cs (InsertAt): Add a check for null row. Replace check of IndexOf with RowId for
882         better performance.
883         * DataSet.cs (GetTableSchema) : Add supprot for simple content columns. Change the condition for a case
884         when all column are attributes (elements count is 0), we still want to add the relations. No relations
885         can be on simple contents.
886         (AddUniqueConstraints) Check that the column of the constraint are not hidden.
887         (AddForeignKeys) Check that the relation has constraints attach to it.
888         * XmlConstants.cs : Added constant.
889
890 2004-02-04 Eran Domb <erand@mainsoft.com>
891         
892         * DataSet.cs : GetSchemaSerializable() return null and not BuildSchema().
893         DoWriteXmlSchema calls BuildSchema ().
894
895 2004-02-04 Lluis Sanchez Gual <lluis@ximian.com>
896
897         * DataRow.cs: Added SetOriginalValue(), which is used to set the original
898           value of a column.
899         * DataRowCollection.cs: In InsertAt(), perform the correct checks and
900           attach the row.
901         * DataSet.cs: Fixed method GetChanges(): Parent rows of modified rows must
902           also be added to the dataset.
903           In WriteTable(), do not write unchanged rows when writing the original
904           version of the table.
905           Added WriteIndividualTableContent(), for writing the contents of a single
906           table.
907           Changed BuildSchema and related methods, so it can generate a schema for
908           any set of tables, not just the tables of the dataset (needed for 
909           single datatable serialization).
910         * DataTable.cs: Implemented serialization constructor and GetObjectData method.
911           Also implemented some ReadXmlSchema methods.
912         * XmlDiffLoader.cs: Read and process the xml document directly from XmlReader,
913           instead of loading the full dataset in an XmlDocument. It is faster and
914           saves memory. Also fixed several problems when generating the changes.
915         * XmlSchemaMapper.cs: Support reading schemas for single tables (used by
916           table serialization).
917
918 2004-02-02 Eran Domb <erand@mainsoft.com>
919
920         * DataSet.cs : Add indentation to the xml serialization only if we create the XmlWriter.
921         Add the namespace attribute even if namespace is an empty string for inteoperability with MS.NET.
922         * DataTable.cs (NewRow): Create only one DataRowBuilder.
923         Initiate new row with row id -1.
924         * DataRow.cs : Add RowId property.
925         * DataRowBuilder.cs : Add _rowId member.
926         * DataRowCollection.cs (Add) : Use the RowId property of the new row to check if it is already exists in the collection.
927
928 2004-01-26 Eran Domb <erand@mainsoft.com>
929
930         * XmlConstants.cs : Added some constants.
931         * DataColumn.cs : Added a method to retrive AutoIncrement value.
932         * XmlDataLoader.cs : Set the value of the foriegn key column, according to the value of the
933         parent table column.
934         * XmlDiffLoader.cs : Convert the value comming from the xml.
935         * XmlSchemaMapper.cs (Read) : Set the DataSet namespace.
936          (ReadXmlSchemaSequence) : Change the logic that decides if this element is a column or a table.
937          (ReadXmlSchemaElement) : Set the locale of the dataset.
938          (ReadColumn) : Set the column type. Find if the column is AutoIncrement.
939          (GetColumnType) : New method to get the column type from the attribute value.
940          (ReadXmlSchemaUnique) : Improve parsing of XPath. Set the constraint as a PK if needed,
941          and add the constraint to the table.
942          (ReadXmlSchemaKeyref) : Improve parsing of XPath. Create the FK constraint and add it to
943          the table.
944         * DataSet.cs : Improving writing of unique constraints, and foriegn key constraint. Givving them the correct names.
945          Writing more information to the schema for interoperability with ms.net.
946          Improve diffgarm writing mode.
947          
948
949 2004-01-21 Atsushi Enomoto <atsushi@ximian.com>
950
951         * TypedDataSetGenerator.cs : Implemented GenerateIdName().
952
953 2004-01-21 Eran Domb <erand@mainsoft.com>
954
955         * XmlDataLoader.cs (AddRowToTable) : Give thre new relation correct name.
956         Do not set the child column to be AutoIncrement.
957         Create the new column for the relation as MappingType.Hidden so they will not be serialized
958         when writing the dataset to xml.
959
960 2004-01-20 Atsushi Enomoto <atsushi@ximian.com>
961
962         * Added missing TypedDataSetGenerator.cs.
963
964 2004-01-08 Eran Domb <erand@mainsoft.com>
965
966         * XmlSchemaMapper.cs : Fix a bug. Check if table already in DataSet before adding it.
967         * DataSet.cs (ReadXml) : Fix bugs. Read correctly the xml file with XmlReadMode of DiffGram, 
968         InferSchema, ReadSchema and IgnoreSchema.
969         * XmlDataLoader.cs : All modes use the same logic.
970         * XmlDiffLoader.cs : Adding BuildXmlDocument method to the class.
971
972 2004-01-06 Eran Domb <erand@mainsoft.com>
973
974         * DataRelationCollection.cs : Use IndexOf in indexer.
975         * DataSet.cs : Adding support for WriteXml with diffgram. Code style changes.
976         * XmlDataLoader.cs : Set the DataSet.enforceConstraints to false before loading the tables.
977         * XmlDiffLoader.cs : Reading nested tables.
978         * XmlSchemaMapper.cs : Reading the relation.
979         * XmlConstants.cs : Adding some constants.
980
981 2004-01-05  Jackson Harper <jackson@ximian.com>
982
983         * DataView.cs: Set readonly property of property descriptor. This
984         fixes bug #52598.
985         
986 2004-01-01  Sanjay Gupta <gsanjay@novell.com>
987
988         * DataRelationCollection.cs : Fixed incorrect generation of default 
989           Relation name.
990         * DataSet.cs : Added missing functionality in WriteXml().
991         * XmlConstants.cs : Added new constants.
992  
993 2003-12-27  Atsushi Enomoto <atsushi@ximian.com>
994
995         * DataSet.cs : Fixed incorrect WriteXml() signature.
996
997 2003-12-18  Jackson Harper <jackson@ximian.com>
998
999         * DataView.cs: Implement AddNew, Delete, and OnListChanged.
1000         
1001 2003-12-17  Atsushi Enomoto <atsushi@ximian.com>
1002
1003         * DataSet.cs, XmlDataLoader.cs : Table name should be encoded before
1004           they take shape of xml. This fixed bug #52240
1005
1006 2003-12-16  Tim Coleman <tim@timcoleman.com>
1007         * KeyRestrictionBehavior.cs:
1008                 New stubs added for .NET 1.2
1009         * DataTable.cs:
1010                 Changes for 1.2
1011
1012 2003-12-08 Eran Domb <erand@mainsoft.com>
1013         * DataColumn.cs (Expression) : Validate the expression.
1014         
1015         * DataRelationCollection.cs (IndexOf) : Added new method sensetive to case differences in relation name.
1016         (Contains, IndexOf, this[], Add) : Call new IndexOf when needed.
1017         
1018         * DataRow.cs (this[]) : Fix the condition for throwing RowNotInTableException.
1019         (RejectChanges) : Detach row when state was Added.
1020         (CollectionChanged) : Fix a bug.
1021         
1022         * ExpressionElement (ValidateExpression) : Fix a bug.
1023         
1024         * ForeignKeyConstraint.cs (AssertConstraint) : Added implementation. Check all rows from child table have
1025         a parent row in the parent table.
1026         (_validateColumns) : Fix bugs.
1027         
1028         * MergeManager.cs (AdjustSchema) : Fix a bug.
1029         
1030         * XmlDataLoader.cs (ReadModeInferSchema) : Change implementation. Now we can read nested xml, and we generate the relations
1031         between the tables.
1032
1033 2003-11-30 Eran Domb <erand@mainsoft.com>
1034         * DataColumnCollection.cs (this[string name]) : Use IndexOf to find the column.
1035         (Add) : Find if the new column name is the same as the one found in IndexOf.
1036         (IndexOf) : New method.
1037         (Contains) : Use new IndexOf.
1038         (IndexOf) : Use new IndexOf.
1039         
1040         * DataRelationCollection.cs (DataRelationCollection.AddCore) : Add The Relation to the collection.
1041         (DataSetRelationCollection.AddCore) : First add the UniqueConstraint.
1042         
1043         * DataRow.cs (this[int columnIndex, DataRowVersion version]) : Change exceptions.
1044         (Delete) : Detach row if the RowState was Added.
1045         (GetChildRows) : Get the array form the ChildTable.
1046         (GetParentRows) : Get the array from the ParenTable.
1047         
1048         * DataRowCollection.cs (Remove) : Check if row state is Detached to avoid exception.
1049         
1050         * DataSet.cs (IXmlSerializable.ReadXml) : Do not call MoveToContent and ReadEndElement - the XmlSerializationReader does it.
1051         
1052         * DataTable.cs (PrimaryKey) : Fix bugs.
1053         (Compute) : First call Select. Then create ExpressionAggregate to aggregate the Select result.
1054         
1055         * DataTableCollection.cs (Add) : Fix a bug.
1056         
1057         * ExpressionElement.cs (ValidateExpression) : Turning ValidateExpression to static.
1058         (Result) : Added new interface to AggregateExpression that get DataRow[] as a param.
1059         Some code style changes (tab instead of whit spaces, alignment, etc...).
1060         
1061         * ForeignKeyConstraint.cs (_validateColumns) : Throw correct exception.
1062         
1063         * MergeManager.cs (AdjustSchema) : Fix a bug.
1064         
1065         
1066
1067 2003-11-26  Miguel de Icaza  <miguel@ximian.com>
1068
1069         * DataSet.cs: Add a few more missing methods, code style updated
1070         to Mono style.
1071
1072 2003-11-26  Tim Coleman <tim@timcoleman.com>
1073         
1074         * ConflictOptions.cs DataAdapterException.cs DataTableReader.cs
1075         * DbMetaData.cs FillOptions.cs IDataReader2.cs IDataRecord2.cs
1076         * IDataUpdatableRecord.cs IDbAsyncCommand.cs IDbAsyncConnection.cs
1077         * IDbExecutionContext.cs IGetTypedData.cs ISetTypedData.cs
1078         * LoadOption.cs OperationAbortedException.cs ResultSetOptions.cs
1079         * ResultSetSensitivity.cs StatementCompletedEventArgs.cs 
1080         * StatementCompletedEventHandler.cs UpdateOptions.cs:
1081                 New classes added for NET_2_0
1082         * DBConcurrencyException.cs DataRelation.cs DataSet.cs DataTable.cs
1083         * DataTableCollection.cs DataView.cs ForeignKeyConstraint.cs:
1084                 Modifications to add new NET_2_0 functions
1085
1086 2003-11-25  Tim Coleman <tim@timcoleman.com>
1087         * IDataSources.cs:
1088                 New 1.2 class added
1089
1090 2003-11-21  Pedro Martínez Juliá  <yoros@wanadoo.es>
1091
1092         * DataRow.cs: Detached row can be accesible (new rows from data
1093         table are detached). Closes but #51263.
1094
1095 2003-11-19  Eran Domb  <erand@mainsoft.com>
1096         * DataRow.cs : Throw exceptions if Row is Detached. 
1097         (EndEdit) : Check that we are not in middle of ChangeEvent.
1098         (AcceptChanges) : Detach the row.
1099         
1100         * DataRelation.cs : throw correct exception.
1101         *UniqueConstraint.cs : throw correct exception.
1102         
1103
1104 2003-11-09  Pedro Martínez Juliá  <yoros@wanadoo.es>
1105
1106         * DataRow.cs: Use RemoveInternal instead of Remove because the last
1107         one uses Delete and AcceptChanges.
1108
1109         * DataRowCollection.cs: When removing, Delete and AcceptChanges
1110         method from the row are called. Added an internal method that will
1111         be used by DataRow to "physically" remove the row from the list.
1112
1113 2003-11-09  Pedro Martínez Juliá  <yoros@wanadoo.es>
1114
1115         * DataRowCollection.cs: To follow the specification: Remove and
1116         RemoveAt should remove the row. But needed to call DeletingDataRow
1117         to prepare the deleting.
1118
1119         * DataRow.cs: Don't call DeletingDataRow when it is called by the
1120         method Table.Rows.Remove.
1121
1122 2003-11-09  Pedro Martínez Juliá  <yoros@wanadoo.es>
1123
1124         * DataRowCollection.cs: Make the row be deleted by itself. If not,
1125         it fails because we need to call OnRowDeleting and OnRowDeleted. It
1126         is full implemented inside DataRow.
1127
1128 2003-11-05  Eran Domb  <erand@mainsoft.com>
1129         * DataView.cs (ctor) : Changing default RowStateFilter to CurrentRow.
1130
1131 2003-11-04  Eran Domb  <erand@mainsoft.com>
1132         * DataRow.cs (CheckChildRows) : Improving the implementation - checking child for all FK, and not
1133         on all Relations.
1134         (GetChildRows) : Adding some checks.
1135         (GetParentRows) : Adding some checks. Fix a bug in implementation.
1136         (SetParentRow) : Added implementation.
1137         
1138         * DataRowCollection.cs (Add) : Added more checks on the row added to the collection.
1139         * DataTable.cs (Copy) : Set the During Loading flag to save unnecessary assertions.
1140         * ForeignKeyConstraint.cs (AssertConstraint) : Fixing bugs in implementation. Checking for DBNull values in the row.
1141         * MergeManager.cs : Check that the target table is not null.
1142
1143 2003-10-27  Eran Domb  <erand@mainsoft.com>
1144         * DataColumn.cs (DefaultValue) : Changing null value to DBNull. Checking that the type of the new default value 
1145         can be converted to the column type.
1146         
1147         * DataRelationCollection.cs (AddCore) : Give the new FK the name of the relation.
1148         
1149         * DataRow.cs (EndEdit) : Check if we need to validate the constraints.
1150         (GetParentRows, GetChildRows) : Checking that the row has the wanted version, before accessing the row's value.
1151         
1152         * DataRowCollection.cs (Add) : Fixing a bug. 
1153         (Clear) : Before clearing the array check that there is no violation of FK constraint.
1154         
1155         * DataSet.cs (Prefix) : If value is null chage it to empty string.
1156         (GetXml) : Removing the Processing Instructions from the xml string as in MS ADO.NET.
1157         
1158         * ExpressionElement : Adding support for IN expresion.
1159         
1160         * DataTable (CopyConstraints) : New method that copy the tables constraints to the copy table.
1161         (Select) : Adding support for DataViewwRowState.
1162         
1163         * ForeignKeyConstraint.cs (AssertConstraint) : Adding implementation.
1164         
1165         * MergeManager.cs (MergeRow) : Fix bugs.
1166         
1167 2003-10-27  Eran Domb  <erand@mainsoft.com>
1168         * DataRow.cs (SetColumnValue): Donot check null value when in midle of loading data.
1169         check null values when ending loading data.
1170         
1171         * DataSet.cs (RejectChanges) : Imlementation.
1172         (Prefix) : If prefix was changed fire event. Check that the prefix is not null - if null, 
1173         change it to empty string.
1174         
1175         * DataTable.cs (BeginLoadData, EndLoadData) : Impemantation.
1176         
1177 2003-10-22  Eran Domb  <erand@mainsoft.com>
1178         * MergeManager.cs : Fixing bugs. Adding check for PrimaryKey matching.
1179         
1180         * ConstraintCollection.cs (RamoveAt): Change implemntation.
1181         
1182         * DataTableCollection (CanRemove): Removing cast to Constraint.
1183
1184 2003-10-22  Eran Domb  <erand@mainsoft.com>
1185         * DataRelationCollection.cs (AddCore): The unique constraint was added even if the createConstraints flag was false.
1186         (Clear): The collection was cleared without removing the relation from the parent and child tables.
1187         
1188         * DataSet.cs (Copy, Clone): The Relations of the DataSet were not copy.
1189         (HasChanges, Reset): Imlementation.
1190         
1191         * DataTable.cs (HasErrors): There is no flag for errors, instead the table ask her row if they have any errors.\r
1192         This is because the we do not no when to turn off the flag.
1193         (Locale): Changing implementation to behave like ADO.NET.
1194         (AcceptChanges): Fix bug.
1195         (Clear): Check that this table is not referenced from a foreign key constraint.
1196         (Copy): Do not try to access a deleted row.
1197         (CopyProperties): Copy the PrimaryKey.
1198         (GetChanges, ImportRow): Implementation.
1199         (LoadDataRow): Adding implementation if the table has PrimaryKey.
1200         (ToString): Changing implementation to behave like ADO.NET.
1201         
1202         * UniqueConstraint.cs (AssertConstraint): support for Multiple DataColumns in the constraint.
1203         
1204         * DataRow.cs (Ctor): In the constructor we initiate the current array, but we should initiate only the proposed array for new rows.
1205         (HasErrors): Implementation.
1206         (Delete): Added checking for child rows of the deleted row.
1207         (EndEdit): Added checking for child row and firing events.
1208         (GetColumnError): Added a check that the method will not return null, as in ADO.NET(an empty string is returned).
1209         (GetColumnsInError): Added a check for null values in column error.
1210         (HasVersion): Added special treatment for special RowState.
1211         (CollectionChanged): More checks to avoid NullReferenceException.
1212         
1213         * DataRowCollection.cs (Remove): Fix a bug.\r
1214
1215
1216 2003-10-01  Duncan Mak  <duncan@ximian.com>
1217
1218         More patches from Eran Domb <erand@mainsoft.com>.
1219
1220         * MergeManager.cs: New file.
1221
1222         * DataRelationCollection.cs (AddCore): Check that a
1223         UniqueConstraint is already exists. It loops over the Relations
1224         instead of the Constraints.
1225         (Add, AddCore): The relation was added twice.
1226
1227         * DataSet.cs (Merge, GetChanges, HasChanges): Implemented.      
1228
1229 2003-09-30  Duncan Mak  <duncan@ximian.com>        
1230
1231         Patches from Eran Domb <erand@mainsoft.com>.
1232
1233         * DataRelation.cs (constructor): When the name of the relation is
1234         null, it should return an empty, not "Relation".
1235         
1236         * DataRow.cs (AcceptChanges): Added special case for
1237         RowState.Detached.
1238         (CancelEdit): Set editing flag to false.
1239         (IsNull): Check that the value is DBNull.
1240
1241         * DataRowCollection.cs (Add): There was no check that the table of
1242         the collection is owned by a DataSet.
1243
1244         * DataSet.cs (OnMergeFailed): Added.    
1245
1246         * UniqueConstraint.cs (AssertConstraint): There was no check that
1247         values in the row are not null, where it is a primary key
1248         column. Also check that the row has a proposed version, if not,
1249         get the current version when we compare the rows.
1250
1251 2003-09-25  Duncan Mak  <duncan@ximian.com>
1252
1253         Patches from Eran Domb <erand@mainsoft.com>.
1254
1255         * DataColumn.cs (Unique): Implemented.
1256         
1257         * DataTable.cs:
1258         * ConstraintCollection.cs:
1259         * ForeignKeyConstraint.cs (_ensureUniqueConstraintExists): Fixes
1260         an Exception thrown. Details:
1261         http://lists.ximian.com/archives/public/mono-devel-list/2003-September/002130.html
1262         
1263         * DataRowCollection.cs (Add): There is no checking that there is
1264         no violation of the unique constrains.
1265
1266         * UniqueConstraint.cs (AssertConstraint): There is no checking on
1267         all columns in the constraint.
1268
1269         * DataTableCollection (Add): Correctly throw an Exception, more
1270         details here:
1271         http://lists.ximian.com/archives/public/mono-devel-list/2003-September/002117.html
1272         (Remove, RemoveAt): Implemented.
1273
1274 2003-07-31  Duncan Mak  <duncan@ximian.com>
1275
1276         * DBConcurrencyException.cs: Added new NET_1_1 no-param constructor.
1277
1278 2003-07-25  Ravi Pratap  <ravi@ximian.com>
1279
1280         * DataRelation.cs (OnPropertyChanging): Calling the 'Invoke'
1281         method on a delegate is disallowed - fix this.
1282
1283 2003-07-22  Lluis Sanchez Gual  <lluis@ximian.com>
1284
1285         * DataSet.cs: Implemented IXmlSerializable interface. Added basic support for
1286           xml serialization. Modified method of writing schema. Now it creates
1287           a XmlSchema object and serializes it using XmlSerializer.
1288         * XmlConstants.cs: Added constants for data type names.
1289         * XmlDataLoader.cs: Fixed deserialization of data. Now converts data to the
1290           type specified in the column.
1291
1292 2003-04-20  Alan Tam <Tam@SiuLung.com>
1293
1294         * DataRelationCollection.cs: Fix a bug that prevent relations
1295         from being added via DataSet.
1296
1297 2003-04-12  Ville Palo <vi64pa@kolumbus.fi>
1298
1299         * UniqueConstraint.cs: one tiny fix.
1300         
1301 2003-04-05  Ville Palo <vi64pa@kolumbus.fi>
1302
1303         * DataTable.cs: Remove UniqueConstraints when adding new ones
1304         
1305 2003-04-04  Ville Palo <vi64pa@kolumbus.fi>
1306
1307         * DataColumnCollection.cs: Little 'case sensitive' fix
1308         
1309 2003-04-04  Ville Palo <vi64pa@kolumbus.fi>
1310
1311         * DataRow.cs: AutoIncrement handling to Constructor
1312         * DataRowCollection.cs: This doesnt need anymore AutoIncrements
1313         
1314 2003-03-27  Ville Palo <vi64pa@kolumbus.fi>
1315
1316         * DataTable.cs: Some fixes to PrimaryKey etc...
1317         * UniqueConstraint.cs: Little clean up
1318         
1319 2003-03-27  Ville Palo <vi64pa@kolumbus.fi>
1320
1321         * DataTable.cs: Tiny fix to ToString () -method
1322         
1323 2003-03-27  Ville Palo <vi64pa@kolumbus.fi>
1324
1325         * ConstraintCollection.cs: Little fix.
1326         * DataColumn.cs: Added new internal method SetUnique()
1327         * UniqueConstraint.cs: some little fixes
1328         
1329 2003-03-26  Ville Palo <vi64pa@kolumbus.fi>
1330
1331         * DataRowCollection.cs: Bugfixes, implementation,...
1332         
1333 2003-03-26  Ville Palo <vi64pa@kolumbus.fi>
1334
1335         * DataColumn.cs: If DataType if set to something else than short, int
1336         or long and AutoIncrement is true, AutoIncrement is must set to false.
1337         
1338 2003-03-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1339
1340         * DataRow.cs:
1341         (BeginEdit): fixed array bound problem when a column has been added.
1342         (EndEdit): just assign proposed to current as proposed is set to null.
1343         This also fixes another array boudn problem.
1344
1345 2003-03-21  Alan Tam <Tam@SiuLung.com>
1346
1347         * DataRow.cs: Fixed problems in accessers, BeginEdit, CancelEdit,
1348         EndEdit and AcceptChanges to act correctly according to DataRowState
1349         and DataRowVersion.
1350         * DataRowCollection.cs: Call AttachRow and DetachRow when a row is
1351         attached and detached from the collection.
1352
1353 2003-03-20  Alan Tam <Tam@SiuLung.com>
1354
1355         * DataColumn.cs: Store empty string for Expression when null is passed in.
1356         Classes generated by XSD.exe passes null by default.
1357
1358 2003-03-16  Ville Palo <vi64pa@kolumbus.fi>
1359
1360         * DataColumnCollection.cs: Tiny clean up
1361
1362 2003-03-16  Ville Palo <vi64pa@kolumbus.fi>
1363
1364         * DataColumn.cs: little fixes.
1365         * DataColumnCollection.cs: Lots of little fixes and improvments.
1366         
1367 2003-03-12  Alan Tam <Tam@SiuLung.com>
1368
1369         * DataSet.cs: Fixed a bug that the file written does not close correctly.
1370
1371 2003-03-08  Alan Tam <Tam@SiuLung.com>
1372
1373         * DataRelationCollection.cs: Removed the mis-overridden methods
1374         * DataRow.cs: Fixed an attribute
1375         * DataSet.cs: Fixed the modifiers
1376
1377 2003-03-06  Aleksey Demakov <avd@openlinksw.com>
1378
1379         * DataTableCollection.cs: The Contains (string name),
1380         IndexOf (string name) methods, and item[string name] indexer
1381         now behave more like .NET with respect to case-sensitivity.
1382         That is if there is an exactly matching item then this one is used.
1383         If there is only one item differing in case then it used.
1384         If there are more than one item differing in case then
1385         Contains returns false, IndexOf returns -1, and item[]
1386         throws an ArgumentException.
1387
1388 2003-02-28  Ville Palo <vi64pa@kolumbus.fi>
1389
1390         * ExpressionElement.cs: More implementation. 
1391         
1392 2003-02-28  Alan Tam <Tam@SiuLung.com>
1393         * DataSet.cs: Changed WriteTable so that it now calls the newly written
1394         WriteObjectXml to direct the call to the respective XmlConvert method.
1395         This fixes the wrong format written to XML files of bool, float,
1396         double, DateTime and TimeSpan types.
1397
1398 2003-02-25  Alan Tam <Tam@SiuLung.com>
1399
1400         * DataRelation.cs: Added SetDataSet for DataSetRelationCollection to use.
1401         * DataRelationCollection.cs: Implemented AddRange and Contains.
1402         Implemented AddRange, Clear, List and RemoveCore for DataSetRelationColletion.
1403         Implemented AddCore, List and RemoveCore for DataTableRelationCollection.
1404         Reimplemented most Add methods to eliminate duplicated checks.
1405         Centralized RelationName generation procedure in GetNextDefaultRelationName.
1406
1407 2003-02-25  Alan Tam <Tam@SiuLung.com>
1408
1409         * DataColumn.cs: Fixed wrong storage representation of Expression
1410         (using empty string instead of null) so that ToString() returns nothing.
1411         * DataColumnCollection.cs: Reimplemented GetNextDefaultColumnName so that
1412         auto column naming now works as expected. Reimplemented some Add methods
1413         to eliminate code duplication.
1414
1415 2003-02-19  Ville Palo <vi64pa@kolumbus.fi>
1416
1417         * DataTable.cs: DataTable.CaseSensitive follows parent 
1418         DataSet.CaseSensitive property if DataTable.CaseSensitive has never
1419         been changed directly from DataTable
1420         
1421 2003-02-19  Ville Palo <vi64pa@kolumbus.fi>
1422
1423         * DataSet.cs: When CaseSensitive property is changed all of the Tables
1424         of DataSet have to change too
1425         
1426 2003-02-19  Daniel Morgan <danmorg@sc.rr.com>
1427
1428         * InternalDataCollectionBase.cs: revert change to field
1429         to fix build
1430         
1431         * DataViewManager.cs
1432         * DataView.cs
1433         * DataTable.cs
1434         * DataSet.cs: commented use of DesignerAttribute
1435         because it broke the build.  According to MSDN,
1436         DesignerAttribute does not have a zero-argument constructor
1437
1438 2003-02-18  Ville Palo <vi64pa@kolumbus.fi>
1439
1440         * DataColumnCollectin.cs: Little fix for indexer and case sensitivity
1441         
1442 2003-02-18  Alan Tam <Tam@SiuLung.com>
1443
1444         * DataRow.cs: Implemented GetParentRow and GetParentRows.
1445         * DataSet.cs: Added stub for HasChanges, InferXmlSchema,
1446                       OnPropertyChanging, OnRemoveRelation, OnRemoveTable,
1447                       RaisePropertyChanging.
1448         * DataTable.cs: Implemented NewRowArray.
1449         * DataTablePropertyDescriptor: Fixed a modifier.
1450         * InternalDataCollectionBase.cs: Fixed modifiers. Implemented SyncRoot.
1451         * PropertyCollection.cs: Minor fix.
1452         * ConstraintCollection.cs DataColumn.cs DataColumnCollection.cs 
1453         * DataRelation.cs DataRelationCollection.cs DataRow.cs
1454         * DataRowCollection.cs DataRowState.cs DataSet.cs DataTable.cs
1455         * DataTableCollection.cs DataTablePropertyDescriptor.cs DataView.cs
1456         * DataViewManager.cs DataViewRowState.cs DataViewSettingCollection.cs
1457         * ForeignKeyConstraint.cs InternalDataCollectionBase.cs
1458         * PropertyCollection.cs UniqueConstraint.cs: Added missing attributes
1459         
1460 2003-02-08  Ville Palo <vi64pa@koti.soon.fi>
1461
1462         * ExpressionElement.cs: More implementation
1463         
1464 2003-02-05  Alan Tam <Tam@SiuLung.com>
1465
1466         * DataSet.cs: Added framework for DataSet.Update Implemented missing 
1467         methods GetSchemaSerializable, GetSerializationData, 
1468         ReadXmlSerializable, ShouldSerializeRelations and ShouldSerializeTables
1469         for DataSet
1470         * DataTable.cs: Implemented missing methods CreateInstance and 
1471         GetRowType for DataTable
1472         
1473 2003-02-03  Ville Palo <vi64pa@koti.soon.fi>
1474
1475         * DataSet.cs: Implemented private method MapType for 
1476         mapping datatypes for XmlSchema
1477         
1478 2003-02-03  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1479
1480         * DataView.cs: implemented Dispose.
1481
1482 2003-01-30  Ville Palo <vi64pa@koti.soon.fi>
1483
1484         * ExpressionElement.cs: Added new file. This file is for parsing
1485           and DataData.Select () -methods and DataColumn.Expression -property
1486         * DataTable.cs: Implemented Select(string) -method      
1487         
1488 2003-01-28  Ville Palo <vi64pa@koti.soon.fi>
1489
1490         * DataSet.cs: One little fix to writing xml
1491         
1492 2003-01-27  Ville Palo <vi64pa@koti.soon.fi>
1493
1494         * XmlSchemaMapper.cs: Some fixes.
1495         * DatSet.cs: Some XmlFixes and BeginInit ()/ EndInit () -fix
1496
1497                 
1498 2003-01-24  Ville Palo <vi64pa@koti.soon.fi>
1499
1500         * UniqueConstraint.cs: Do not set columns Unique property true 
1501         as a default.
1502         * ForeignKeyConstraint.cs: Add UniqueConstraint to parent Table
1503         
1504 2003-01-18  Ville Palo <vi64pa@koti.soon.fi>
1505
1506         * DataTableCollection.cs: Now names new DataTable if it doesn't 
1507         already have a name.
1508         
1509 2003-01-17  Ville Palo <vi64pa@koti.soon.fi>
1510
1511         * XmlSchemaMapper.cs: Improvments.
1512         * XmlConstaints.cs: Added more constants.
1513         * DataSet.cs: Improvments of reading and writing xml
1514         * DataColumn.cs: Added default values of properties.
1515                 
1516 2003-01-14  Ville Palo <vi64pa@koti.soon.fi>
1517
1518         * XmlSchemaMapper.cs: Some improvments
1519         
1520 2003-01-13  Ville Palo <vi64pa@koti.soon.fi>
1521
1522         * DataRowCollection.cs: Added IndexOutOfRangeException
1523         * DataTableCollection.cs: Added OnCollectionChanging and 
1524         OnCollectionChanged events.
1525         * DataSet.cs: Many fixes. Implemented Clone () and Copy () -methods
1526         * DataTable.cs: Implemented Copy () and Clone () methods.
1527         * XmlDataLoader.cs: some fixes.
1528         * XmlSchemaMapper.cs: comments.
1529         
1530 2003-01-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1531
1532         * DataColumnPropertyDescriptor.cs: store columnIndex in the .ctor.
1533
1534 2003-01-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1535
1536         * DataColumnPropertyDescriptor.cs: fixed typo.
1537         * DataViewManagerListItemTypeDescriptor.cs: added new internal property
1538         to get the DataViewManager and removed TablePD class.
1539         * DataTablePropertyDescriptor.cs: TablePD class is now this one as
1540         suggested by danmorg.
1541
1542 2003-01-06  Ville Palo <vi64pa@koti.soon.fi>
1543
1544         * XmlDataLoader.cs: Moved diffgram stuff to new internal class
1545         XmlDiffLoader.
1546         * XmlDiffLoader.cs: new class for diffgrams. Added handling of 
1547         diffgr:Errors and some fixes and changed XmlReader to XPathNavigator.
1548         
1549 2003-01-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1550
1551         * DataView.cs: made dataViewManager internal.
1552         * DataViewManager.cs: use ICustomTypeDescriptor. We don't want the
1553         properties of the object, but the values of the columns present in a
1554         row.
1555         
1556         * DataViewManagerListItemTypeDescriptor.cs: implemented GetProperties,
1557         which returns a PropertyDescriptorCollection. Created a new class
1558         derived from PropertyDescriptor that treats Table as an object whose
1559         properties are DataRowView.
1560
1561 2003-01-04  Ville Palo <vi64pa@koti.soon.fi>
1562
1563         * XmlSchemaMapper.cs: Added handling for Constraints, Attributes.
1564         
1565 2003-01-04  Ville Palo <vi64pa@koti.soon.fi>
1566
1567         * DataColumn.cs: ExtendedProperties is by default !null-
1568         
1569 2003-01-04  Ville Palo <vi64pa@koti.soon.fi>
1570
1571         * DataColumnCollection.cs: Add (DataColumn Column) -method didn't 
1572         set column's ordinal.
1573         
1574 2003-01-02  Ville Palo <vi64pa@koti.soon.fi>
1575
1576         * DataSet.cs: 
1577         * XmlDataLoader.cs: XmlReader closing fixes.
1578         * XmlSchemaReader.cs: Added support for ref=
1579         
1580 2003-01-01  Ville Palo <vi64pa@koti.soon.fi>
1581
1582         * DataSet.cs: 
1583           - Added XmlReader and XmlWriter Closing.
1584           - Moved ReadXmlSchema stuff to new internal class XmlSchemaMapper.
1585         * XmlSchemaMapper.cs
1586           - Much better way IMHO  to map xmlschema than the old one in 
1587             DataSet.cs. Its, more flexible, cleaner, ...
1588                         
1589 2002-12-29  Ville Palo <vi64pa@koti.soon.fi>
1590
1591         * XmlDataLoader.cs: Reading diffgrams.
1592         
1593 2002-12-29  Ville Palo <vi64pa@koti.soon.fi>
1594
1595         * DataRow.cs: Little fix to indexer and DataColumnCang* trigger fixes.
1596         * DataTable.cs: Added ChanginDataColumn () for triggering 
1597         DataColumnChanging event
1598         
1599 2002-12-28  Ville Palo <vi64pa@koti.soon.fi>
1600
1601         * DataSet.cs: Indentations to WriteXmlSchema () and one little fix
1602         
1603 2002-12-28  Ville Palo <vi64pa@koti.soon.fi>
1604
1605         * DataSet.cs: Indentations to WriteXml ()
1606         
1607 2002-12-27  Ville Palo <vi64pa@koti.soon.fi>
1608
1609         * DataSet.cs:
1610         * XmlDataLoader.cs: Moved ReadXml -stuff from DataSet.cs to new
1611         class XmlDataLoader.cs
1612         
1613 2002-12-19  Ville Palo <vi64pa@koti.soon.fi>
1614
1615         * DataSet.cs Implemented ReadXml with XmlReadMode.ReadSchema
1616         
1617 2002-12-18  Ville Palo <vi64pa@koti.soon.fi>
1618
1619         * DataSet.cs: Started to implement ReadXml-methods.
1620         
1621 2002-12-17  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1622
1623         * DataSet.cs: implemented DefaultViewManager and GetList.
1624
1625         * DataViewManager.cs: a bit of work on IList and ITypedList needed by
1626         DataList in System.Web.
1627
1628         * DataViewManagerListItemTypeDescriptor.cs: custom type descriptor for
1629         DataViewManager.
1630
1631 2002-12-16  Ville Palo <vi64pa@koti.soon.fi>
1632
1633         * DataRow.cs
1634         * DataTable.cs: Fixed NullException (rollback -event)
1635         * DataSet.cs: WriteXml -method does not anymore write <?xml... row.
1636         
1637 2002-12-15  Ville Palo <vi64pa@koti.soon.fi>
1638
1639         * DataRow.cs:
1640         * DataRowCollection.cs: Moved event triggering from DataRow to
1641         DataRowCollection.
1642         
1643 2002-12-09  Ville Palo <vi64pa@koti.soon.fi>
1644
1645         * DataSet.cs: Little fix to WriteTable () -method 
1646         and DoReadXmlSchema () -method.
1647         
1648 2002-12-06  Ville Palo <vi64pa@koti.soon.fi>
1649
1650         * DataSet.cs: Clean up to reading xmlschema. This looks much better 
1651         now (work better too), but it not working correctly yet.
1652         
1653 2002-12-04  Ville Palo <vi64pa@koti.soon.fi>
1654
1655         * DataRow.cs: 
1656         * DataRowCollection.cs: Added some event handlins stuff.
1657         * DataSet.cs: Some fixes.
1658         * DataTable.cs: Added event handlers.
1659         
1660 2002-11-30  Ville Palo <vi64pa@koti.soon.fi>
1661
1662         * DataRowChangeEventArgs.cs: Implemented Action and Row properties 
1663         
1664 2002-11-30  Ville Palo <vi64pa@koti.soon.fi>
1665
1666         * System.Data/DataRow.cs: Added internal property XmlDataID
1667         
1668 2002-11-29  Ville Palo <vi64pa@koti.soon.fi>
1669
1670         * DataSystem.Data.DataTableCollection.cs:
1671         Removed HashTable. There could be situations where DataTable
1672         is added to collection before it hava TableName. So using 
1673         HashTable is impossible.
1674         
1675 2002-11-19  Carlos Guzmán Álvarez <carlosga@telefonica.net>
1676
1677         * DataRow.cs: an object that is equal to null 
1678         should be allowed to be set in this indexer too
1679         to be like .NET
1680
1681 2002-11-06  Daniel Morgan <danmorg@sc.rr.com>
1682
1683         * DataColumnPropertyDescriptor.cs: added file
1684         
1685         * System.Data/DataRowView.cs: started implementation
1686         
1687         * DataTable.cs: stubbed more interfaces.  Implemented
1688         IListSource.GetList()
1689         
1690         * DataView.cs: stubbed more interfaces.  Implemented
1691         some properties and methods: GetEnumerator(), 
1692         ITypedList.GetItemProperties, Item indexer, CopyTo()
1693
1694 2002-05-18  Nick Drochak  <ndrochak@gol.com>
1695
1696         * DataRow.cs: Fix typo.