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