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