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