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