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