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