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