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