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