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