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