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