1 2005-01-21 Atsushi Enomoto <atsushi@ximian.com>
3 * DataRow.cs : more Detached -> Default fixes. Check if it should throw
4 VersionNotFoundException. Patch by Ankit Jain.
6 2005-01-21 Atsushi Enomoto <atsushi@ximian.com>
8 * DataRow.cs : Default selects the right version for the current
9 state of the row. Current is not always available. Also change
10 that for GetParentRow(). Patch by Ankit Jain.
12 2005-01-21 Atsushi Enomoto <atsushi@ximian.com>
14 * DataTable.cs : CopyColumn() should copy AutoIncrement after
15 DefaultValue, or it will raise an error in some cases.
17 2005-01-20 Atsushi Enomoto <atsushi@ximian.com>
19 * ConstraintCollection.cs : Add() should throw ArgumentException when
20 the argument constraint fails validation.
21 DataTable.cs : set_PrimaryKey should throw ArgumentException when
22 the argument contains constraints which fail validation.
24 2005-01-19 Sureshkumar T <tsureshkumar@novell.com>
26 * DataRelationCollection.cs:
28 Method Remove : Donot throw exception if DataRelation argument is
29 null in DataRelationCollection.Remove method.
31 Method RemoveAt : Exception should be IndexOutOfRangeException if
32 row index is not in list range.
34 Fixes nunit failures DataRelationCollection.Remove and
35 DataRelationCollection.RemoveAt.
37 2005-01-19 Sureshkumar T <tsureshkumar@novell.com>
39 * ConstraintCollection.cs: Donot throw exception if constraints
40 are null in AddRange method. Check for null before using the
45 2004-01-19 Atsushi Enomoto <atsushi@ximian.com>
47 * XmlDataInferenceLoader.cs,
48 XmlDataReader.cs : Check if the XmlReader (node) represents DataSet
49 or a table, reusing code block in XmlDataInferenceLoader.
50 This fixes bug #60118.
52 2004-01-19 Atsushi Enomoto <atsushi@ximian.com>
54 * XmlDiffLoader.cs : Ankit Jain <radical@imt.ac.in> has a conflicting
55 patches and some good catches. Some attributes should be skipped,
56 and loaded value must be typed.
58 2004-01-19 Atsushi Enomoto <atsushi@ximian.com>
61 XmlDataInferenceLoader.cs,
62 XmlDataReader.cs : use common const for http://www.w3.org/2000/xmlns/.
63 * XmlDiffLoader.cs : It was not handling attributes. Fixed bug #70961.
65 2005-01-18 Sureshkumar T <tsureshkumar@novell.com>
67 Fix for bug #66838. This patch is submitted by "Ankit Jain"
68 <radical@corewars.org> and refactored.
70 * DataRow.cs: Allows to set a parent row even if the row is in
73 * DataRelation.cs: method "UpdateConstraints" is added to check
74 and create missing keys when adding a relation. This is refactored
75 approach from DataRelationCollection.Add method.
77 * DataRelationCollection.cs: AddCore methods of all relation types
78 are synchronized. A Check for existing constraints is
79 done. Relation is added to the list only if all checks are passed.
81 2004-01-18 Atsushi Enomoto <atsushi@ximian.com>
83 * DataColumnCollection.cs : Clear() throws ArgumentException that
84 wraps thrown innerException.
85 * XmlSchemaDataImporter.cs : removed FIXMEs.
87 2004-01-12 Atsushi Enomoto <atsushi@ximian.com>
89 * DataSet.cs : When serializing DataTable, BuildSchema() is passed
90 null relation collections.
91 Quick fix for XmlSerializer deserialization. It does not require
94 2004-01-11 Atsushi Enomoto <atsushi@ximian.com>
97 CustomDataClassGenerator.cs :
98 In DataSet class, IXmlSerializable.GetSchema() returns null.
99 In strongly-typed class, it returns schema.
101 2004-01-07 Atsushi Enomoto <atsushi@ximian.com>
103 * XmlDataInferenceLoader.cs : test driver class should be excluded.
105 2004-12-01 Miguel de Icaza <miguel@ximian.com>
107 * DataView.cs: Patch from Marc Haisenko that ensures that rowCache
110 2004-11-10 Atsushi Enomoto <atsushi@ximian.com>
112 * CustomDataClassGenerator.cs : generated foreign key constraint
113 construction code was creating empty child columns and thus it
114 was invalid. This fixes bug #69276 (patch by Martin Voelkle).
116 2004-11-02 Atsushi Enomoto <atsushi@ximian.com>
118 * CustomDataClassGenerator.cs : custom DataTable ctor should call
119 InitializeFields(), and those DataColumns created by that method
120 should take data type. This should fix bug #68972.
122 2004-10-15 Atsushi Enomoto <atsushi@ximian.com>
124 * DataSet.cs : Also clear UnhandledAttributes ArrayList before
125 generating next attribute column schema. This fixes bug #68432.
127 2004-10-14 Umadevi S <sumadevi@novell.com>
128 * DataTable.cs : Corrected the Clone method to use Activator.CreateInstance so that the
129 correct subclass is returned. This fixes bug #67631
131 2004-10-14 Umadevi S <sumadevi@novell.com>
132 * DataSet.cs : Corrected the Clone method to use Activator.CreateInstance so that the
133 correct subclass is returned. This fixes bug #67627
135 2004-10-13 Atsushi Enomoto <atsushi@ximian.com>
137 * DataSet.cs : clear UnhandledAttributes ArrayList before generating
138 next element column schema. This fixes bug #68256.
140 2004-10-12 Atsushi Enomoto <atsushi@ximian.com>
142 * DataSet.cs : now xs:schema contains xmlns="".
143 This fixes bug #68008.
145 2004-10-12 Atsushi Enomoto <atsushi@ximian.com>
147 * DataSet.cs : DBNull attribute column should not be written as
148 empty attribute. This fixes bug #68007.
150 2004-10-12 Atsushi Enomoto <atsushi@ximian.com>
152 * DataSet.cs, XmlConstant.cs, XmlSchemaDataImporter.cs:
153 DataColumn.ReadOnly was not handled. This fixes bug #68005.
154 Attribute defaultValue was not handled too.
156 2004-10-07 Atsushi Enomoto <atsushi@ximian.com>
159 - When AllowDBNull is false on attribute DataColumn, its schema
160 should contain use="required". This fixes bug #66792.
161 - If MaxLength is set on attribute DataColumn, the mapped schema
162 type should contain maxLength facet. This fixes bug #66793.
164 2004-10-04 Atsushi Enomoto <atsushi@ximian.com>
166 * DataSet.cs : For a row, when a relation is not nested, then it is
167 still output target since it won't be written as a child of its
168 parent. It fixes bug #66379.
170 2004-10-03 Atsushi Enomoto <atsushi@ximian.com>
172 * DataSet.cs : Attribute constraint field XPath must be written as
173 @blah. This fixes bug #66366.
175 2004-09-28 Umadevi S <sumadevi@novell.com>
176 * DataRow.cs - checked for Enforceconstraints, while using indices to search for related rows
178 2004-09-24 Sureshkumar T <tsureshkumar@novell.com>
180 * DataSet.cs : Don't check constraints for dataset clear
181 * DataRowCollection.cs : check for EnforceConstraints flag
182 before checking foriegn key constraints in Clear method
183 * DataTable.cs : Redundant checking removed in Clear method as it is
184 checked in DataRowCollection.Clear method.
187 2004-09-19 Sureshkumar T <tsureshkumar@novell.com>
188 * DataRow.cs : while deserialization of dataset, adding a current row precedes the original row.
189 hence, adding a row cache is necessary if the original row happens to be current.
192 2004-08-23 Martin Baulig <martin@ximian.com>
194 * XmlDataInferenceLoader.cs (Driver): Make this class internal,
197 2004-08-18 Umadevi S <sumadevi@novell.com>
198 * DataView.cs - Completed most of the event handling.
199 Thanks to Punit Todi <punit_todi@da-iict.org> for implementing most of it.
200 Thanks to Boris Kirzner <borisk@mainsoft.com> for commenting and suggesting changes to the implementation.
201 * DataTable.cs - Changed Access modifiers of class/methods since it was used by DataView.
203 2004-08-06 Atsushi Enomoto <atsushi@ximian.com>
205 * DataSet.cs : DataSet's ExtendedProperties were not XmlConverted.
207 2004-08-05 Atsushi Enomoto <atsushi@ximian.com>
209 * XmlConstants.cs : Added constants for "msprop" support.
210 * DataSet.cs : ExtendedProperties should be written in the schema.
211 This fixes bug #61233.
213 2004-07-27 Atsushi Enomoto <atsushi@ximian.com>
215 * DataSet.cs : on serialization to XmlWriter, XmlConvert should be
216 used. There were also some culture dependency problems to write int.
218 2004-06-27 Atsushi Enomoto <atsushi@ximian.com>
220 * XmlDataInferenceLoader.cs : It was not always filling relation
221 child table information correctly. This fixes bug #60742.
223 2004-06-23 Umadevi S <sumadevi@novell.com>
224 * UniqueConstraint.cs :changed a ifdef true to ifdef NET_1_1
226 2004-06-22 Atsushi Enomoto <atsushi@ximian.com>
228 * DataSet.cs : Fixed ReadXml(). When ReadMode is ReadSchema and the
229 schema is inside the document element (as created in XmlWriteMode
230 .WriteSchema), it should read schema from that non-document element.
231 This fixes one case reported in bug #60470.
233 2004-06-20 Atsushi Enomoto <atsushi@ximian.com>
235 * XmlDataInferenceLoader.cs : Kindly reject xml schema document as a
236 inference target. For bug #60470. (MS does not support schema
237 document inference and results in unconsistent dataset structure.)
239 2004-06-20 Atsushi Enomoto <atsushi@ximian.com>
241 * DataTableCollection.cs : reset the table's DataSet to null when
242 removing a table from this collection.
243 * DataTable.cs : When Namespace is not specified explicitly, its
244 Namespace property reflects DataSet's Namespace if exist.
245 This fixes bug #60469.
247 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
249 * DBConcurrentcyException.cs: CRLF to LF
250 * DataViewSetting.cs: CRLF to LF
252 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
254 * DataViewSetting.cs: renamed fields to match MS.NET
256 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
258 * DBConcurrencyException.cs: fixed serialization compatibility with
261 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
263 * ChangeLog : Fix for misspelled words.
265 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
267 * DataRowCollection.cs : Removed onColumnRemoved since it is not in use.
269 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
272 - Table stores default values for columns in special default values row.
273 It is allocated once (in NewRow).
274 - DataTable.Copy rewrited. It works with uninitialized rows for better perfomance.
275 - OnRemoveColumn has nothing to perform by now.
277 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
280 - Changed access of original, current and proposed indexes to internal.
281 - ColumnErrors reviewed : now column errors stored in ArrayList and allocated on demand only.
282 - Added new DataRow constructor that creates uninitialized DataRow (used in DataTable.Copy).
283 - Use DataContainer.CopyValue and default values row for faster set of default values in row.
284 - SetColumnValue become CheckValue. Now it does not changes the value, but only checks for its correctness.
285 Care about Null and DBNull values is now in DataContainer.
286 - Use DataColumn.AutoIncrementValue and GetInt64 for faster set of autoincrement value.
287 - Use Datacontainer.CopyValue and default values row to speed up CheckChildRows.
288 - Fix in CopyState : clone column errors.
289 - Removed CollectionChanged and onColumnRemoved since we are not using both of them anymore.
291 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
293 * DataColumnCollection.cs :
294 - Fix : Add() now delegates to Add(DataColumn).
295 - autoIncrement list holds DataColumn objects, and not just column names.
297 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
300 - AutoIncrementValue fixes. Now AutoIncrement uses DataContainer.GetInt64 to avoid boxing.
301 - DefaultValue fixes. Default value from now on is also stored in special record in
302 DataTable, so we're able to set default value for the column faster (typed).
305 2004-06-15 Atsushi Enomoto <atsushi@ximian.com>
307 * DataSet.cs : children of non-root rows were not properly written.
310 2004-06-10 Umadevi S <sumadevi@novell.com>
311 * DataRelation.cs - Constructor
312 - The datatypes of the parentcolumn(s) and the childcolumn(s) should match
314 2004-06-06 Atsushi Enomoto <atsushi@ximian.com>
316 * XmlSchemaDataImporter.cs : We should fill Namespace for DataTable.
318 2004-06-04 Gert Driesen <drieseng@users.sourceforge.net>
320 * Constraint.cs: marked methods internal to fix public API
321 * ConstraintCollection.cs: to fix public API, use
322 DataTable.fInitInProgress to check whether initialization
323 of DataTable is in progress
324 * DataColumn.cs: added stubs for missing methods
325 * DataRowBuilder.cs: marked Table property internal to
327 * DataSet.cs: removed extra empty destructor, marked
328 OnMergeFailed internal to fix public API
329 * DataTable.cs: use fInitInProgress field to hold init
330 status, to match MS.NET
331 * DataView.cs: added missing attributes on IsOpen
333 2004-06-03 Atsushi Enomoto <atsushi@ximian.com>
335 * DataSet.cs : Use NameTable.Get() before calling LookupNamespace()
336 in XmlNamespaceManager.
338 2004-06-03 Atsushi Enomoto <atsushi@ximian.com>
340 * DataSet.cs : complex table content child was not properly added
341 when it is the only one child in the parent table. Fixed bug #53959.
343 2004-06-02 Gert Driesen <drieseng@users.sourceforge.net>
344 * DataTableTypeConverter.cs: added
345 * DataView.cs: added missing attribute on Table property
346 * DataViewManager.cs: moved attribute to correct property
347 * UniqueConstraint.cs: removed extra ReadOnly attribute from
348 IsPrimaryKey property
350 2004-06-01 Atsushi Enomoto <atsushi@ximian.com>
352 * DataRow.cs : ColumnsChanged event is not required in .ctor().
354 2004-06-01 Atsushi Enomoto <atsushi@ximian.com>
356 * XmlDataReader.cs : type change is required before setting value
359 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
361 * DataSet.cs : Loop-break of the last fix was incorrect.
363 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
365 * DataSet.cs : When a row has no parent row but the table has parent
366 relation(s), that row had been always ignored.
368 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
370 * XmlDataInferenceLoader.cs : Fixed GetMappedTable() that incorrectly
371 rejected same-named tables in different hierarchy. Thanks to Boris.
373 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
375 * XmlDiffLoader.cs : Added some Skip() that is required not to go to
376 infinite loop. Thanks to Boris for this fix.
378 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
380 * XmlDataInferenceLoader.cs : XmlSchema elements should not be infered.
381 Thanks to Boris for this fix.
383 2004-05-30 Atsushi Enomoto <atsushi@ximian.com>
385 * DataTable.cs : serialization .ctor() should use XmlReadMode.DiffGram
386 for ReadXml(). Thanks to Boris.
388 2004-05-27 Boris Kirzner <borisk@mainsoft.com>
390 - CheckReadOnlyStatus : use typed (and faster comparing).
391 - EndEdit : bug fix - do not dispose record if it holds original version.
392 - SetValuesFromDataRecord : Take care about autoincrement columns.
395 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
397 * MergeManager.cs : don't output debug message to Console.
399 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
401 * XmlDataInferenceLoader.cs : Namespace are not imported to the table
402 structure. Thanks to Boris Kirzner for the fix.
404 2004-05-27 Umadevi S <sumadevi@novell.com>
405 * DataRelationCollection.cs - fixed nunit test errors
407 2004-05-27 Umadevi S <sumadevi@novell.com>
408 * DataTableCollection.cs - fixed nunit test errors
410 2004-05-21 Atsushi Enomoto <atsushi@ximian.com>
412 * DataColumnCollection.cs : NullReferenceException was thrown when
413 the table was not found.
414 * DataRowCollection.cs :
415 Find() just returns null for null value under MS.NET 1.1.
416 RemoveAt() should also avoid to call AcceptChanges() like Remove().
417 * UniqueConstraint.cs : in AssertConstraint() throw ConstraintException
418 directly under MS.NET (for nunit test).
420 2004-05-21 Atsushi Enomoto <atsushi@ximian.com>
422 * XmlSchemaDataImporter.cs : Setting startindex in LastIndexOf()
423 caused problem on qualified name to get schema Field name.
425 2004-05-21 Atsushi Enomoto <atsushi@ximian.com>
427 * XmlDataReader.cs : Now data reader is namespace aware in all places.
428 When table's namespace is different, it entered to infinite loop.
430 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
431 * MergeManager.cs : AdjustSchema now updates by reference new created table,
432 so in Merge you do not need to lookup for it (were unable to do this for unnamed tables).
435 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
437 * DataColumn.cs : In set_Item[int] - if autoincrement, adjust next autoincrement value.
438 * DataColumnCollection.cs : fixed parantethes.
440 - AcceptChanges : do nothing if row state is unchanged.
441 - GetChildRows, GetParentRows : bug fix (use correct index).
442 * DataRowCollection.cs : bug fix (compare all row's values).
443 * DataTable.cs : bug fix (use correct row version).
445 2004-05-20 Atsushi Enomoto <atsushi@ximian.com>
447 * XmlSchemaDataImporter.cs : xs:positiveInteger is mapped to ulong.
448 When content type is Mixed, text column is not required (it is
449 required only when the complex type has no particle).
450 "Repeated element" column is also created (considering maxOccurs=0
451 and complex content extension).
453 2004-05-20 Atsushi Enomoto <atsushi@ximian.com>
455 * XmlSchemaDataImporter.cs : XmlSchemaGroupBase was not handled
458 2004-05-20 Atsushi Enomoto <atsushi@ximian.com>
460 * XmlSchemaDataImporter.cs : Removed unused code and extra MonoTODO.
461 Fixed relation inference to consider attribute XPath.
463 2004-05-19 Atsushi Enomoto <atsushi@ximian.com>
465 * DataColumn.cs : Fixed set_Item[int]. Convert.ToInt64(DBNull.Value)
468 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
470 * DataColumn.cs - removed default member attribute.
472 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
475 DataColumnChangeEventArgs.cs,
476 DataColumnCollection.cs,
478 DataRowCollection.cs,
480 Index.cs : Data storage in the row is redesigned. Now data is stored in
481 typed containers inside DataColumn. Row holds its versions as indexes inside
482 each of data container, accessed through the row that holds it.
484 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
486 * UniqueConstraint.cs - added comment.
488 2004-05-19 Atsushi Enomoto <atsushi@ximian.com>
490 * XmlDataInferenceLoader.cs : Don't add already-existing DataTable to
493 2004-05-17 Atsushi Enomoto <atsushi@ximian.com>
496 XmlDataInferenceLoader.cs,
498 XmlSchemaDataImporter.cs : XmlDecode every local name to read and
499 XmlEncode every local name to write. This should fix bug #58268.
501 2004-05-17 Atsushi Enomoto <atsushi@ximian.com>
503 * DataSet.cs : Implemented ignored namespaces in InferXmlSchema().
504 Supported repeated elements. Removed MonoTODOs.
505 * XmlDataInferenceLoader.cs : Design change to support ignored
506 namespace and repeated elements.
507 * XmlSchemaDataImporter.cs : Added mapping support classes.
509 2004-05-15 Atsushi Enomoto <atsushi@ximian.com>
511 * CustomDataClassGenerator.cs :
512 Added property parent "[foo]Row" and children "Get[foo]Row" support
513 for custom DataRow classes.
514 Fixed DataColumn property accessibility (public --> internal).
516 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
518 * CustomDataClassGenerator.cs :
519 - Put classes inside custom DataSet class.
520 - Added automatic DataRelation creation support.
521 - Added Constraints creation support. That is done separate from
522 relations, since they might be independently created.
523 - Added non-MS public DataRelation fields.
524 - Removed extraneous "DataRelation type generation" code.
525 - Fixed custom_dataset.Initialize() not to create "c" field that
526 was created more than once.
527 - Implemented AddxxxRow() that takes parameters for every column.
529 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
531 * XmlSchemaDataImporter.cs : When primary key is used more than once,
532 DataRelation borked because of empty parent column name.
534 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
536 * XmlSchemaDataImporter.cs : When Creating constraints with related
537 to DataRelation creation, also set PrimaryKey to the parent table.
539 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
541 * XmlSchemaDataImporter.cs :
542 Design change to add indirect table and relation structures.
543 Support for "relation" annotation for local element.
544 Support for repeatable simple element column (maxOccurs > 1).
545 Fixed handling of Nested property on DataRelation (for globally
546 annotated relation, Nested is false).
548 2004-05-13 Atsushi Enomoto <atsushi@ximian.com>
550 * DataRow.cs : Added DataElement property to avoid storing every row-
551 element mapping. It stored even for nodes that should be removed.
553 2004-05-13 Umadevi S <sumadevi@novell.com>
555 * RelationshipConverter.cs - Stubbed this class
556 * DataRelation.cs - added TypeConveterAttribute
558 2004-05-13 Umadevi S <sumadevi@novell.com>
560 * DataColumnCollection.cs - Added ResDescriptionAttribute
561 * DataRelation.cs - Added TypeConverterAttribute
562 * DataRelationCollection.cs - Added DefaultPropertyAttribute
563 * DataRowView.cs - Added GetHashCode method with a TODO tag
564 * DataSet.cs - Added DesignerAttribute
565 * DataView.cs - Added DesignerAttribute
566 * DataViewManager.cs - Added DesignerAttribute
567 * DataViewSetting.cs - Added TypeConverterAttribute
569 2004-05-12 Atsushi Enomoto <atsushi@ximian.com>
571 * DataRow.cs : Added XmlDataElement initialization code.
573 2004-05-11 Atsushi Enomoto <atsushi@ximian.com>
575 * XmlDataInferenceLoader.cs :
576 It now requires XmlDocument as input. Improved identification of
577 DataSet element. Removed extra lines.
578 Moved boresome design notes to bottom of the source and
579 added standalone runnable driver (not included on build).
581 Update with related to the change above.
582 WriteXml() should call Flush() after writing. This fixes bug #58327.
583 * XmlSchemaDataImporter.cs :
584 Improved indentification of DataSet element.
586 2004-05-11 Gert Driesen (drieseng@users.sourceforge.net)
587 * DataTable: marked initStatus enum internal
589 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
590 * DataTable.cs: removed TypeConverterAttribute, marked RowsExist
592 * DataRowView.cs: removed extra Error property
593 * DataRow.cs: reduced accessibility of CollectionChanged method
595 * DataColumnPropertyDescriptor.cs: made class internal
596 * DataColumn.cs: removed extra TypeConvertorAttribute
597 * ConstrainCollection.cs: marked PostEndInit method internal
599 2004-05-07 Atsushi Enomoto <atsushi@ximian.com>
602 In WriteXmlSchema(), when complex type contains simple type content
603 attributes must not added to XmlSchemaComplexType directly. It
604 causes schema compilation error.
605 DataRelation should not be output when related columns are hidden.
607 2004-05-07 Atsushi Enomoto <atsushi@ximian.com>
609 * XmlDataInferenceReader.cs : Added. It does InferXmlSchema() (it is
610 also expected to do ReadXml(), but I will remove that feature and
611 support column reordering).
612 * XmlSchemaDataImporter.cs : Always initialize dataset name.
613 Always set Nested and primary key for parent table.
614 * XmlDataReader.cs : Now it is used.
615 Top level element might not match to dataset name nor any table
616 name, but still possible to read content tables.
617 Handle empty element correctly in some places.
618 Handle Fragment mode (read up XmlReader to the end).
619 * DataSet.cs : Modified InferXmlSchema() and ReadXml() to use
620 XmlDataInferenceLoader and XmlDataReader.
622 2004-05-06 Atsushi Enomoto <atsushi@ximian.com>
625 Eliminated CRLF injection.
626 More clear message in Clear().
627 Updates reflecting XmlSchemaDataImporter change.
628 Added duplicate check for XmlSerializerNamespaces in BuildSchema().
629 Don't use xmlns attribute for UnhandledAttributes (its not mandatory
630 but that depends on different behavior from ms.net).
631 Set locale also for DataTable.
632 Add xs:element only when target namespace matches to the
633 element's namespace. Otherwise, add xs:import for external namespace.
634 Put xs:sequence for dataset element's particle _only when_ actual
637 2004-05-06 Atsushi Enomoto <atsushi@ximian.com>
639 * XmlDataReader.cs : Added. This class will work better when our
640 schema inference and schema read engine gets improved. (It contains
641 standalone testable Driver class.)
643 2004-05-06 Atsushi Enomoto <atsushi@ximian.com>
645 * ForeignKeyConstraint.cs : Check step change. Existence then column
646 validity. just for tests.
647 * XmlSchemaDataImporter.cs : code simplification. reduced extraneous
650 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
652 * DataSet.cs : Ignore empty content only when output type is diffgram.
654 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
656 * CustomDataClassGenerator.cs : Modified that DataSet contains each
657 DataTable field so that each table property can access them directly.
658 (plus, modified standalone code driver code: shouldn't affect)
660 2004-05-05 Boris Kirzner <borisk@mainsoft.com>
662 * DataView.cs , DataRowView.cs : Added implementation to basic methods and properties.
664 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
666 * XmlSchemaDataImporter.cs :
667 SimpleContent column support.
668 Annotated relation support.
669 Top-level element is counted only when its type is complex.
670 xs:anyType is no longer treated as complex type.
671 dataset existence is mandatory now.
672 Improved DataType and DefaultValue support.
673 Attribute namespace is properly handled now.
674 Prohibited attribute is now treated as hidden column.
675 Reject list or union simple type.
677 Still incomplete 1) to read relationship in some cases, 2) to
678 determine whether an element is dataset or table, 3) thus to
679 exclude extraneous column, 4) to remove extraneous *_Id column.
681 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
684 We had better reuse DataSet's ReadXmlSchema() and ReadXml() in
685 serialization .ctor() (thus schema read/inference should be easier).
686 DataRowSorter should consider Table's Locale.
688 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
690 * DataColumnCollection.cs : We already had AutoIncrementValue(), so
691 use it instead of duplicating logic.
693 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
695 * ConstraintCollection.cs :
696 Use Table.CaseSensitive and Table.Locale to compare strings.
697 Duplicate constraint name exception does not occur under .NET 1.1.
699 2004-05-04 Lluis Sanchez Gual <lluis@ximian.com>
701 * XmlSchemaDataImporter.cs: Added little type check.
703 2004-05-04 Lluis Sanchez Gual <lluis@ximian.com>
705 * DataSet.cs: Implemented support for runtime serialization. Fixed support
706 for xml serialization.
707 * XmlDiffLoader.cs: Skip diffgram element when it is empty.
709 2004-04-30 Umadevi S <sumadevi@novell.com>
710 * DataColumnCollection.cs : Fixed nunit test errors, removed TODOs
711 * DataTableCollection.cs : Tested and removed TODO
712 * TypedDataSetGeneratorException.cs : Fixed a couple of TODOs
714 2004-04-29 Atsushi Enomoto <atsushi@ximian.com>
716 * DataRow.cs : My previous patch unintentionally reverted Boris patch.
718 2004-04-29 Boris Kirzner <borisk@mainsoft.com>
720 * UniqueConstraint.cs : Constraint columns becaomes unique after adding constraint ifand only if
721 constraint is defined on single column.
723 2004-04-29 Atsushi Enomoto <atsushi@ximian.com>
725 * DataRowCollection.cs : .NET 1.1 throws InvalidConstaintException,
726 not ArgumentException (maybe changed after 1.1).
728 2004-04-29 Atsushi Enomoto <atsushi@ximian.com>
730 * DataRow.cs : When Column was added and it was AutoIncrement column,
731 it extended the item object array incorrectly.
732 (Plus tiny comment and incorrect indentation fix.)
734 2004-04-29 Boris Kirzner <borisk@mainsoft.com>
736 * MergeManager.cs : added ( incomplete yet ) support for merging DataSet schema.
738 2004-04-29 Boris Kirzner <borisk@mainsoft.com>
740 * DataRow.cs : Bug fix in CopyValuesToRow().
742 2004-04-29 Boris Kirzner <borisk@mainsoft.com>
744 * UniqueConstraint.cs : There is no reason to mark constraint's columns as unique, because
745 each of the columns should not be unique, but only all the constraint's columns together.
747 2004-04-28 Boris Kirzner <borisk@mainsoft.com>
750 - Added using of list of autoIncrement columns
751 - SetColumnValue receives also DataColumn to avoid duplicate lookup in DatacolumnCollection
752 - Fix in CheckNullConstraints
753 - Fix in this[] and HasVersion() : when evaluating an expression deleted rows values can be accessed.
754 - Fix in SetColumnValue() , added CanAccess() method to avoid case of accessing internal array values berore it actually allocated.
755 - Added onColumnRemoved() method to threat column removal accurately.
757 * DataRowCollection.cs :
758 - Added using of DataRow._nullConstraintViolation (for perfomance fix in EndLoadData())
759 - Added method onColumnRemoved() - calls each row's onColumnRemoved() (to ensure column removal is treated accurately)
762 - Call DataRowCollection.onColumnRemoved() in OnRemoveColumn() (to ensure column removal is treated accurately)
764 * DataColumnCollection.cs :
766 - collection holds a list of its autoIncrement columns (avoids unnesessary lookup through whole collection)
767 - collection holds mapping from column names to DataColumn objects (avoids lookup through whole collection).
768 - automatic creation of column names rewrited (bug fixes + perfomance improvement)
771 - Uses autoincrement list of a table
773 2004-04-27 Atsushi Enomoto <atsushi@ximian.com>
775 * XmlDataLoader.cs : Even when it should ignore schema, it was
777 * XmlSchemaDataImporter.cs : DataRelation creation support.
778 Improved "DataSet" element handing. When attributes are on the
779 element, it is not a "DataSet" element.
780 Fixed parent key column name.
781 Unique name creation is not required. Just raise an error.
782 Fill facet also for attribute types.
784 2004-04-27 Atsushi Enomoto <atsushi@ximian.com>
786 * DataRow.cs : Null check for CheckReadOnlyStatus() and
787 CheckNullConstraints(), with some coding guideline fixes.
788 Type check should be done by Type instance comparison.
790 2004-04-27 Atsushi Enomoto <atsushi@ximian.com>
792 * DataColumnCollection.cs : When add a column to the collection, fill
793 auto-increment column.
795 2004-04-26 Boris Kirzner <borisk@mainsoft.com>
797 * DataColumn.cs : Small perfomance fix (avoid unnesessary string concatenation).
799 2004-04-26 Atsushi Enomoto <atsushi@ximian.com>
801 * CustomDataClassGenerator.cs : Added.
802 * TypedDataSetGenerator.cs : Implemented Generate().
803 Changed GenerateIdName() to call CustomDataClassGenerator.MakeSafeName
804 * XmlSchemaDataImporter.cs : Table Locale should be supplied.
806 2004-04-25 Boris Kirzner <borisk@mainsoft.com>
808 * DataTable.cs : Small perfomance fix (avoid unnesessary string concatenation).
810 2004-04-25 Boris Kirzner <borisk@mainsoft.com>
812 * Constraint.cs : Small perfomance fix (avoid unnesessary string concatenation).
814 2004-04-23 Umadevi S (sumadevi@novell.com)
815 * DataRow.cs: Checked BeginEdit,EndEdit,CancelEdit and Delete methods
816 - Added error handling to the above methods
818 2004-04-22 Atsushi Enomoto <atsushi@ximian.com>
820 * DataSet.cs : Data should be read when mode is IgnoreSchema (well,
821 the support is incomplete yet).
823 Reverted ReadModeSchema() argument change. XmlReadMode would be
824 useful to handle IgnoreSchema.
825 Don't overwrite DataSetName when mode is not such kind.
826 Set Prefix and Namespace as well as DataSetName.
827 AllowDBNull looks set false by default for element column.
828 Set unique constraint as primary key when infering the table schema.
830 2004-04-21 Atsushi Enomoto <atsushi@ximian.com>
833 Never set null string for Prefix and Namespace.
834 In InferXmlSchema() when null XmlReader is passed, just do nothing.
835 In WriteXmlSchema(string), earlier try block.
836 In BuildSchema(), try to add serialization namespaces for each
837 namespaces in DataSet/DataTable/DataColumn.
838 Removed namespace argument from WriteColumnAsElement() and don't
839 overwrite when namespace is "". This fixes bug #57330.
840 * DataColumn.cs : For Namespace and Prefix, never set null.
842 2004-04-21 Boris Kirzner <borisk@mainsoft.com>
844 * XmlSchemaMapper.cs : Check for not null unique constraint in ReadXmlSchemaKeyref()
845 before creating and adding foreign key constraint and relation.
847 2004-04-21 Boris Kirzner <borisk@mainsoft.com>
849 * MergeManager.cs : In AdjustSchema() source table clone should be added
850 and not the table itself.
852 2004-04-21 Boris Kirzner <borisk@mainsoft.com>
855 - CaseSensitive : Additional fix (removed unnesessary assignment).
856 - CopyProperties : Do not try to copy ExtendedProperties if the collection is empty.
858 2004-04-21 Boris Kirzner <borisk@mainsoft.com>
860 * DataTable.cs : Ensure that DataSet property is not null before using it in Clear().
862 2004-04-20 Boris Kirzner <borisk@mainsoft.com>
865 - EndLoadData() : perfomance fix in case of null constraint violation
866 during data load (also in DataRow.cs).
867 - CaseSensitive : If DataTable belongs to DataSet it should always use
868 DataSet.CaseSensitive untill explicitly changed.
869 - CopyProperties() : do not try to copy ExtendedProperties if the collection is empty.
872 - Pefromance fix in case of null constraint violation
873 during data load (also in DataTable.cs).
874 - CollectionChanged() : use correct column number after new DataColumn was added
875 (differs in case some DataColumn was previosly removed).
876 - EndEdit() - throw away proposed values only after CheckChildRows() complete.
878 2004-04-20 Boris Kirzner <borisk@mainsoft.com>
880 * DataColumnCollection.cs : Since unique constraint is added now
881 in DataColumn.SetTable() the additional creation of constraint in
882 DataColumnCollection.Add() is redundant and causes exception - fixed.
884 2004-04-19 Atsushi Enomoto <atsushi@ximian.com>
886 * XmlDataLoader.cs : Added "never add data rows" mode.
887 Removed unused code. However, it is temporary fixes to unify
888 ReadXml() and InferXmlSchema().
889 * DataSet.cs : Implemented InferXmlSchema(), though it is incomplete.
891 I'll create another XmlDataLoader since there are many problems
892 such that 1) it is too waste to read the entire xml into an
893 XmlDocument, 2) it does not handle attributes correctly, and 3) it
894 must handle "ignored namespaces".
896 2004-04-19 Atsushi Enomoto <atsushi@ximian.com>
898 * Added XmlSchemaDataImporter.cs (new schema reader).
899 * DataSet.cs : Use XmlSchemaDataImporter (right now for DataSet only)
901 Let schema reading work to ReadXmlSchema().
902 Don't return ReadSchema when argument read mode was DiffGram.
904 2004-04-15 Umadevi S (sumadevi@novell.com)
905 * Updated Clone/Copy methods in DataSet along with Testcase
906 * ForeignKeyConstraint.cs - special ctor implemented
907 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).
908 * Changes in ConstraintCollection.cs for the above
909 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.
912 2004-04-15 Atsushi Enomoto <atsushi@ximian.com>
914 * XmlSchemaMapper.cs : set parent key and foreign key info to
915 DataRelation when reading refkey constraints.
916 Supply constraint name for fkey.
918 2004-04-15 Atsushi Enomoto <atsushi@ximian.com>
920 * XmlDataLoader.cs : Don't overwrite existing DataSetName. When read
921 mode is Auto, just ignore the schema if there is already schema info.
922 * DataSet.cs : Similarly ignore schema info for XmlReadMode = Auto.
924 2004-04-14 Atsushi Enomoto <atsushi@ximian.com>
927 - In MS output, XML declaration looks to have standalone decl (yes).
928 - ReadXml(reader) just calls to ReadXml(reader, XmlReadMode.Auto)
929 - ReadXml(reader, mode)
930 1) return originally specified mode, instead of (always) Auto.
931 2) Check empty reader.
932 3) Check diffgram schema and content separately.
933 4) When diffgram exists, remaining (the same-level) contents
935 5) Similar fact should be applied, but somewhat different.
936 InferSchema and IgnoreSchema just skips, Fragment reads both
937 schema and content, others just reads schema.
938 - Removed unused code.
940 - Read() should skip in some ReadMode.
941 - Don't compare schema element name as case-insensitive (well,
942 should schemas be checked here?)
943 - Avoided BuildDocument() not to create confusing DataSet
945 - Don't add any tables when reader has single element.
947 When target table was not found, MS.NET doesn't raise an error.
948 * XmlSchemaMapper.cs :
949 When XmlSchema.Read() left xml reader at </xs:schema>, read once.
951 2004-04-13 Atsushi Enomoto <atsushi@ximian.com>
954 - InferXmlSchema(): Throw explicit NotImplementedException now.
955 - Don't put XML declaration everywhere. Write just for filename arg.
956 - xmlns="" should not be written. Maybe WebService problem is
957 because default namespace is overwritten. This patch will keep
958 the WS problem away and actually fixes some unit tests (i.e. use
959 explicit String.Empty for null namespace in WriteStartElement()).
960 - MoveToContent() should always be called, not only when
961 LocalName="xml". It will ignore prolog (DTD, PI, comment etc.).
962 - Even XmlReadMode is DiffGram, reader might not be "diffgram"
963 element. As to MSDN, diffgram does not contain schema.
965 2004-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
967 * DataTable.cs: made _initStatus private so that System.Data is CLS
970 2004-04-13 Umadevi S <sumadevi@novell.com>
971 * UniqueConstraint.cs:
972 * ConstraintCollection.cs:
974 - Implemented a Constructor for UniqueConstraint.cs
975 - Used EndInit on DataTable to call a delegate which adds the
976 constraints passed to the most recent call of AddRange().Used
977 AddRange() on ConstraintCollection to check whether
978 DataTable.BeginInit has occurred. If yes, save the argument
979 constraint collection passed, then return. If no, Check whether the
980 constraints are of type UniqueConstraint and initialized with the
981 special constructor If yes Initialized the table property of this
982 UniqueConstraint object with table assosciated with the current
983 instance of ConstraintCollection class.
985 2004-04-07 Marek Safar <marek.safar@seznam.cz>
987 * Constraint.cs: changed ClsCompliant to CLSCompliant, build fix.
989 2004-04-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
992 * DataColumnCollection.cs:
993 * DataRelationCollection.cs:
994 * DataRowCollection.cs:
995 * DataTableCollection.cs:
996 * InternalDataCollectionBase.cs:
997 * Node.cs: CLS compliance for System.Data. Patch by Gert Driesen.
1000 2004-04-05 Jackson Harper <jackson@ximian.com>
1002 * DataTable.cs: Add rows to the row list if there is no filter.
1004 2004-03-31 Juraj Skripsky <juraj@hotfeet.ch>
1006 * DataColumn.cs : Setting Caption to null sets it to the empty string
1007 (ms.net behaviour, testcase is in DataColumnTest).
1009 * DataRow.cs : Evaluate DataColumn.Expression when such a column's
1012 2004-03-30 Lluis Sanchez Gual <lluis@ximian.com>
1014 * DataColumn.cs: In Expression setter, set the expression member even if
1015 it is an empty string.
1016 * DataSet.cs: Support serialization of byte[] columns.
1017 * XmlDataLoader.cs: Support deserialization of Guid columns.
1018 Set MappingType.Attribute to columns infered from attributes.
1020 2004-03-29 Juraj Skripsky <juraj@hotfeet.ch>
1022 * ExpressionElements.cs : remove
1023 * DataColumn.cs, DataRelationCollection.cs, DataTable.cs :
1024 Integration of new Mono.Data.SqlExpressions classes used in
1025 DataTable.{Select, Compute}.
1026 Fixes bug #55503 and lots of failures in DataTableTest.cs.
1028 2004-03-28 Juraj Skripsky <juraj@hotfeet.ch>
1030 * Index.cs: Simple fix in ComparePartialRowNonUnique.
1031 This fixes bugs #56129 and #56014.
1033 2004-03-25 Lluis Sanchez Gual <lluis@ximian.com>
1035 * DataSet.cs: In WriteXml (string filename, XmlWriteMode mode), close the
1036 stream after writing the dataset. This fixes bug #52581.
1037 Also added several writer.Close into finally blocks, so writers are properly
1038 closed in case of an exception.
1040 2004-03-12 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1042 * Constraint.cs: DO NOT USE the consts scheme if types can be referenced directly!
1043 * DataColumn.cs: DO NOT USE the consts scheme if types can be referenced directly!
1044 * ColumnTypeConverter.cs: Added stub
1045 * DefaultValueTypeConverter: Added stub
1046 * ConstraintConverter.cs: Added stub
1048 2004-03-04 Eran Domb <erand@mainsoft.com>
1050 * XmlDataLoader.cs : Xml reading reviewed. Added support for additional xml formats as described
1051 in MS.NET documentation (missing DataSet element etc).
1053 2004-03-04 Eran Domb <erand@mainsoft.com>
1056 * Index.cs : Rollback last changes.
1058 2004-03-03 Atsushi Enomoto <atsushi@ximian.com>
1060 * Index.cs : justa build fix.
1062 2004-03-03 Eran Domb <erand@mainsoft.com>
1065 * Constraint.cs, ForeignKeyConstraint.cs, UniqueConstraint, ConstraintCollection.cs, DataColumn.cs,
1066 DataRow.cs, DataRowCollection.cs, DataSet.cs, DataTable.cs : Changes made for using indexes on tables.
1067 This changes made for performance improvement.
1069 2004-02-08 Eran Domb <erand@mainsoft.com>
1071 * XmlSchemaMapper.cs : Read columns is they were written as SimpleContent or as Attributes.
1073 2004-02-08 Eran Domb <erand@mainsoft.com>
1075 * DataSet.cs: Fix some bugs in ReadXml().
1077 2004-02-04 Lluis Sanchez Gual <lluis@ximian.com>
1079 * DataSet.cs: Added missing method that broke the build.
1081 2004-02-04 Eran Domb <erand@mainsoft.com>
1083 * DataRowCollection.cs (InsertAt): Add a check for null row. Replace check of IndexOf with RowId for
1085 * DataSet.cs (GetTableSchema) : Add supprot for simple content columns. Change the condition for a case
1086 when all column are attributes (elements count is 0), we still want to add the relations. No relations
1087 can be on simple contents.
1088 (AddUniqueConstraints) Check that the column of the constraint are not hidden.
1089 (AddForeignKeys) Check that the relation has constraints attach to it.
1090 * XmlConstants.cs : Added constant.
1092 2004-02-04 Eran Domb <erand@mainsoft.com>
1094 * DataSet.cs : GetSchemaSerializable() return null and not BuildSchema().
1095 DoWriteXmlSchema calls BuildSchema ().
1097 2004-02-04 Lluis Sanchez Gual <lluis@ximian.com>
1099 * DataRow.cs: Added SetOriginalValue(), which is used to set the original
1101 * DataRowCollection.cs: In InsertAt(), perform the correct checks and
1103 * DataSet.cs: Fixed method GetChanges(): Parent rows of modified rows must
1104 also be added to the dataset.
1105 In WriteTable(), do not write unchanged rows when writing the original
1106 version of the table.
1107 Added WriteIndividualTableContent(), for writing the contents of a single
1109 Changed BuildSchema and related methods, so it can generate a schema for
1110 any set of tables, not just the tables of the dataset (needed for
1111 single datatable serialization).
1112 * DataTable.cs: Implemented serialization constructor and GetObjectData method.
1113 Also implemented some ReadXmlSchema methods.
1114 * XmlDiffLoader.cs: Read and process the xml document directly from XmlReader,
1115 instead of loading the full dataset in an XmlDocument. It is faster and
1116 saves memory. Also fixed several problems when generating the changes.
1117 * XmlSchemaMapper.cs: Support reading schemas for single tables (used by
1118 table serialization).
1120 2004-02-02 Eran Domb <erand@mainsoft.com>
1122 * DataSet.cs : Add indentation to the xml serialization only if we create the XmlWriter.
1123 Add the namespace attribute even if namespace is an empty string for inteoperability with MS.NET.
1124 * DataTable.cs (NewRow): Create only one DataRowBuilder.
1125 Initiate new row with row id -1.
1126 * DataRow.cs : Add RowId property.
1127 * DataRowBuilder.cs : Add _rowId member.
1128 * DataRowCollection.cs (Add) : Use the RowId property of the new row to check if it is already exists in the collection.
1130 2004-01-26 Eran Domb <erand@mainsoft.com>
1132 * XmlConstants.cs : Added some constants.
1133 * DataColumn.cs : Added a method to retrive AutoIncrement value.
1134 * XmlDataLoader.cs : Set the value of the foriegn key column, according to the value of the
1135 parent table column.
1136 * XmlDiffLoader.cs : Convert the value comming from the xml.
1137 * XmlSchemaMapper.cs (Read) : Set the DataSet namespace.
1138 (ReadXmlSchemaSequence) : Change the logic that decides if this element is a column or a table.
1139 (ReadXmlSchemaElement) : Set the locale of the dataset.
1140 (ReadColumn) : Set the column type. Find if the column is AutoIncrement.
1141 (GetColumnType) : New method to get the column type from the attribute value.
1142 (ReadXmlSchemaUnique) : Improve parsing of XPath. Set the constraint as a PK if needed,
1143 and add the constraint to the table.
1144 (ReadXmlSchemaKeyref) : Improve parsing of XPath. Create the FK constraint and add it to
1146 * DataSet.cs : Improving writing of unique constraints, and foriegn key constraint. Givving them the correct names.
1147 Writing more information to the schema for interoperability with ms.net.
1148 Improve diffgarm writing mode.
1151 2004-01-21 Atsushi Enomoto <atsushi@ximian.com>
1153 * TypedDataSetGenerator.cs : Implemented GenerateIdName().
1155 2004-01-21 Eran Domb <erand@mainsoft.com>
1157 * XmlDataLoader.cs (AddRowToTable) : Give thre new relation correct name.
1158 Do not set the child column to be AutoIncrement.
1159 Create the new column for the relation as MappingType.Hidden so they will not be serialized
1160 when writing the dataset to xml.
1162 2004-01-20 Atsushi Enomoto <atsushi@ximian.com>
1164 * Added missing TypedDataSetGenerator.cs.
1166 2004-01-08 Eran Domb <erand@mainsoft.com>
1168 * XmlSchemaMapper.cs : Fix a bug. Check if table already in DataSet before adding it.
1169 * DataSet.cs (ReadXml) : Fix bugs. Read correctly the xml file with XmlReadMode of DiffGram,
1170 InferSchema, ReadSchema and IgnoreSchema.
1171 * XmlDataLoader.cs : All modes use the same logic.
1172 * XmlDiffLoader.cs : Adding BuildXmlDocument method to the class.
1174 2004-01-06 Eran Domb <erand@mainsoft.com>
1176 * DataRelationCollection.cs : Use IndexOf in indexer.
1177 * DataSet.cs : Adding support for WriteXml with diffgram. Code style changes.
1178 * XmlDataLoader.cs : Set the DataSet.enforceConstraints to false before loading the tables.
1179 * XmlDiffLoader.cs : Reading nested tables.
1180 * XmlSchemaMapper.cs : Reading the relation.
1181 * XmlConstants.cs : Adding some constants.
1183 2004-01-05 Jackson Harper <jackson@ximian.com>
1185 * DataView.cs: Set readonly property of property descriptor. This
1188 2004-01-01 Sanjay Gupta <gsanjay@novell.com>
1190 * DataRelationCollection.cs : Fixed incorrect generation of default
1192 * DataSet.cs : Added missing functionality in WriteXml().
1193 * XmlConstants.cs : Added new constants.
1195 2003-12-27 Atsushi Enomoto <atsushi@ximian.com>
1197 * DataSet.cs : Fixed incorrect WriteXml() signature.
1199 2003-12-18 Jackson Harper <jackson@ximian.com>
1201 * DataView.cs: Implement AddNew, Delete, and OnListChanged.
1203 2003-12-17 Atsushi Enomoto <atsushi@ximian.com>
1205 * DataSet.cs, XmlDataLoader.cs : Table name should be encoded before
1206 they take shape of xml. This fixed bug #52240
1208 2003-12-16 Tim Coleman <tim@timcoleman.com>
1209 * KeyRestrictionBehavior.cs:
1210 New stubs added for .NET 1.2
1214 2003-12-08 Eran Domb <erand@mainsoft.com>
1215 * DataColumn.cs (Expression) : Validate the expression.
1217 * DataRelationCollection.cs (IndexOf) : Added new method sensetive to case differences in relation name.
1218 (Contains, IndexOf, this[], Add) : Call new IndexOf when needed.
1220 * DataRow.cs (this[]) : Fix the condition for throwing RowNotInTableException.
1221 (RejectChanges) : Detach row when state was Added.
1222 (CollectionChanged) : Fix a bug.
1224 * ExpressionElement (ValidateExpression) : Fix a bug.
1226 * ForeignKeyConstraint.cs (AssertConstraint) : Added implementation. Check all rows from child table have
1227 a parent row in the parent table.
1228 (_validateColumns) : Fix bugs.
1230 * MergeManager.cs (AdjustSchema) : Fix a bug.
1232 * XmlDataLoader.cs (ReadModeInferSchema) : Change implementation. Now we can read nested xml, and we generate the relations
1235 2003-11-30 Eran Domb <erand@mainsoft.com>
1236 * DataColumnCollection.cs (this[string name]) : Use IndexOf to find the column.
1237 (Add) : Find if the new column name is the same as the one found in IndexOf.
1238 (IndexOf) : New method.
1239 (Contains) : Use new IndexOf.
1240 (IndexOf) : Use new IndexOf.
1242 * DataRelationCollection.cs (DataRelationCollection.AddCore) : Add The Relation to the collection.
1243 (DataSetRelationCollection.AddCore) : First add the UniqueConstraint.
1245 * DataRow.cs (this[int columnIndex, DataRowVersion version]) : Change exceptions.
1246 (Delete) : Detach row if the RowState was Added.
1247 (GetChildRows) : Get the array form the ChildTable.
1248 (GetParentRows) : Get the array from the ParenTable.
1250 * DataRowCollection.cs (Remove) : Check if row state is Detached to avoid exception.
1252 * DataSet.cs (IXmlSerializable.ReadXml) : Do not call MoveToContent and ReadEndElement - the XmlSerializationReader does it.
1254 * DataTable.cs (PrimaryKey) : Fix bugs.
1255 (Compute) : First call Select. Then create ExpressionAggregate to aggregate the Select result.
1257 * DataTableCollection.cs (Add) : Fix a bug.
1259 * ExpressionElement.cs (ValidateExpression) : Turning ValidateExpression to static.
1260 (Result) : Added new interface to AggregateExpression that get DataRow[] as a param.
1261 Some code style changes (tab instead of whit spaces, alignment, etc...).
1263 * ForeignKeyConstraint.cs (_validateColumns) : Throw correct exception.
1265 * MergeManager.cs (AdjustSchema) : Fix a bug.
1269 2003-11-26 Miguel de Icaza <miguel@ximian.com>
1271 * DataSet.cs: Add a few more missing methods, code style updated
1274 2003-11-26 Tim Coleman <tim@timcoleman.com>
1276 * ConflictOptions.cs DataAdapterException.cs DataTableReader.cs
1277 * DbMetaData.cs FillOptions.cs IDataReader2.cs IDataRecord2.cs
1278 * IDataUpdatableRecord.cs IDbAsyncCommand.cs IDbAsyncConnection.cs
1279 * IDbExecutionContext.cs IGetTypedData.cs ISetTypedData.cs
1280 * LoadOption.cs OperationAbortedException.cs ResultSetOptions.cs
1281 * ResultSetSensitivity.cs StatementCompletedEventArgs.cs
1282 * StatementCompletedEventHandler.cs UpdateOptions.cs:
1283 New classes added for NET_2_0
1284 * DBConcurrencyException.cs DataRelation.cs DataSet.cs DataTable.cs
1285 * DataTableCollection.cs DataView.cs ForeignKeyConstraint.cs:
1286 Modifications to add new NET_2_0 functions
1288 2003-11-25 Tim Coleman <tim@timcoleman.com>
1292 2003-11-21 Pedro Martínez Juliá <yoros@wanadoo.es>
1294 * DataRow.cs: Detached row can be accesible (new rows from data
1295 table are detached). Closes but #51263.
1297 2003-11-19 Eran Domb <erand@mainsoft.com>
1298 * DataRow.cs : Throw exceptions if Row is Detached.
1299 (EndEdit) : Check that we are not in middle of ChangeEvent.
1300 (AcceptChanges) : Detach the row.
1302 * DataRelation.cs : throw correct exception.
1303 *UniqueConstraint.cs : throw correct exception.
1306 2003-11-09 Pedro Martínez Juliá <yoros@wanadoo.es>
1308 * DataRow.cs: Use RemoveInternal instead of Remove because the last
1309 one uses Delete and AcceptChanges.
1311 * DataRowCollection.cs: When removing, Delete and AcceptChanges
1312 method from the row are called. Added an internal method that will
1313 be used by DataRow to "physically" remove the row from the list.
1315 2003-11-09 Pedro Martínez Juliá <yoros@wanadoo.es>
1317 * DataRowCollection.cs: To follow the specification: Remove and
1318 RemoveAt should remove the row. But needed to call DeletingDataRow
1319 to prepare the deleting.
1321 * DataRow.cs: Don't call DeletingDataRow when it is called by the
1322 method Table.Rows.Remove.
1324 2003-11-09 Pedro Martínez Juliá <yoros@wanadoo.es>
1326 * DataRowCollection.cs: Make the row be deleted by itself. If not,
1327 it fails because we need to call OnRowDeleting and OnRowDeleted. It
1328 is full implemented inside DataRow.
1330 2003-11-05 Eran Domb <erand@mainsoft.com>
1331 * DataView.cs (ctor) : Changing default RowStateFilter to CurrentRow.
1333 2003-11-04 Eran Domb <erand@mainsoft.com>
1334 * DataRow.cs (CheckChildRows) : Improving the implementation - checking child for all FK, and not
1336 (GetChildRows) : Adding some checks.
1337 (GetParentRows) : Adding some checks. Fix a bug in implementation.
1338 (SetParentRow) : Added implementation.
1340 * DataRowCollection.cs (Add) : Added more checks on the row added to the collection.
1341 * DataTable.cs (Copy) : Set the During Loading flag to save unnecessary assertions.
1342 * ForeignKeyConstraint.cs (AssertConstraint) : Fixing bugs in implementation. Checking for DBNull values in the row.
1343 * MergeManager.cs : Check that the target table is not null.
1345 2003-10-27 Eran Domb <erand@mainsoft.com>
1346 * DataColumn.cs (DefaultValue) : Changing null value to DBNull. Checking that the type of the new default value
1347 can be converted to the column type.
1349 * DataRelationCollection.cs (AddCore) : Give the new FK the name of the relation.
1351 * DataRow.cs (EndEdit) : Check if we need to validate the constraints.
1352 (GetParentRows, GetChildRows) : Checking that the row has the wanted version, before accessing the row's value.
1354 * DataRowCollection.cs (Add) : Fixing a bug.
1355 (Clear) : Before clearing the array check that there is no violation of FK constraint.
1357 * DataSet.cs (Prefix) : If value is null chage it to empty string.
1358 (GetXml) : Removing the Processing Instructions from the xml string as in MS ADO.NET.
1360 * ExpressionElement : Adding support for IN expresion.
1362 * DataTable (CopyConstraints) : New method that copy the tables constraints to the copy table.
1363 (Select) : Adding support for DataViewwRowState.
1365 * ForeignKeyConstraint.cs (AssertConstraint) : Adding implementation.
1367 * MergeManager.cs (MergeRow) : Fix bugs.
1369 2003-10-27 Eran Domb <erand@mainsoft.com>
1370 * DataRow.cs (SetColumnValue): Donot check null value when in midle of loading data.
1371 check null values when ending loading data.
1373 * DataSet.cs (RejectChanges) : Imlementation.
1374 (Prefix) : If prefix was changed fire event. Check that the prefix is not null - if null,
1375 change it to empty string.
1377 * DataTable.cs (BeginLoadData, EndLoadData) : Impemantation.
1379 2003-10-22 Eran Domb <erand@mainsoft.com>
1380 * MergeManager.cs : Fixing bugs. Adding check for PrimaryKey matching.
1382 * ConstraintCollection.cs (RamoveAt): Change implemntation.
1384 * DataTableCollection (CanRemove): Removing cast to Constraint.
1386 2003-10-22 Eran Domb <erand@mainsoft.com>
1387 * DataRelationCollection.cs (AddCore): The unique constraint was added even if the createConstraints flag was false.
1388 (Clear): The collection was cleared without removing the relation from the parent and child tables.
1390 * DataSet.cs (Copy, Clone): The Relations of the DataSet were not copy.
1391 (HasChanges, Reset): Imlementation.
1393 * DataTable.cs (HasErrors): There is no flag for errors, instead the table ask her row if they have any errors.
\r
1394 This is because the we do not no when to turn off the flag.
1395 (Locale): Changing implementation to behave like ADO.NET.
1396 (AcceptChanges): Fix bug.
1397 (Clear): Check that this table is not referenced from a foreign key constraint.
1398 (Copy): Do not try to access a deleted row.
1399 (CopyProperties): Copy the PrimaryKey.
1400 (GetChanges, ImportRow): Implementation.
1401 (LoadDataRow): Adding implementation if the table has PrimaryKey.
1402 (ToString): Changing implementation to behave like ADO.NET.
1404 * UniqueConstraint.cs (AssertConstraint): support for Multiple DataColumns in the constraint.
1406 * DataRow.cs (Ctor): In the constructor we initiate the current array, but we should initiate only the proposed array for new rows.
1407 (HasErrors): Implementation.
1408 (Delete): Added checking for child rows of the deleted row.
1409 (EndEdit): Added checking for child row and firing events.
1410 (GetColumnError): Added a check that the method will not return null, as in ADO.NET(an empty string is returned).
1411 (GetColumnsInError): Added a check for null values in column error.
1412 (HasVersion): Added special treatment for special RowState.
1413 (CollectionChanged): More checks to avoid NullReferenceException.
1415 * DataRowCollection.cs (Remove): Fix a bug.
\r
1418 2003-10-01 Duncan Mak <duncan@ximian.com>
1420 More patches from Eran Domb <erand@mainsoft.com>.
1422 * MergeManager.cs: New file.
1424 * DataRelationCollection.cs (AddCore): Check that a
1425 UniqueConstraint is already exists. It loops over the Relations
1426 instead of the Constraints.
1427 (Add, AddCore): The relation was added twice.
1429 * DataSet.cs (Merge, GetChanges, HasChanges): Implemented.
1431 2003-09-30 Duncan Mak <duncan@ximian.com>
1433 Patches from Eran Domb <erand@mainsoft.com>.
1435 * DataRelation.cs (constructor): When the name of the relation is
1436 null, it should return an empty, not "Relation".
1438 * DataRow.cs (AcceptChanges): Added special case for
1440 (CancelEdit): Set editing flag to false.
1441 (IsNull): Check that the value is DBNull.
1443 * DataRowCollection.cs (Add): There was no check that the table of
1444 the collection is owned by a DataSet.
1446 * DataSet.cs (OnMergeFailed): Added.
1448 * UniqueConstraint.cs (AssertConstraint): There was no check that
1449 values in the row are not null, where it is a primary key
1450 column. Also check that the row has a proposed version, if not,
1451 get the current version when we compare the rows.
1453 2003-09-25 Duncan Mak <duncan@ximian.com>
1455 Patches from Eran Domb <erand@mainsoft.com>.
1457 * DataColumn.cs (Unique): Implemented.
1460 * ConstraintCollection.cs:
1461 * ForeignKeyConstraint.cs (_ensureUniqueConstraintExists): Fixes
1462 an Exception thrown. Details:
1463 http://lists.ximian.com/archives/public/mono-devel-list/2003-September/002130.html
1465 * DataRowCollection.cs (Add): There is no checking that there is
1466 no violation of the unique constrains.
1468 * UniqueConstraint.cs (AssertConstraint): There is no checking on
1469 all columns in the constraint.
1471 * DataTableCollection (Add): Correctly throw an Exception, more
1473 http://lists.ximian.com/archives/public/mono-devel-list/2003-September/002117.html
1474 (Remove, RemoveAt): Implemented.
1476 2003-07-31 Duncan Mak <duncan@ximian.com>
1478 * DBConcurrencyException.cs: Added new NET_1_1 no-param constructor.
1480 2003-07-25 Ravi Pratap <ravi@ximian.com>
1482 * DataRelation.cs (OnPropertyChanging): Calling the 'Invoke'
1483 method on a delegate is disallowed - fix this.
1485 2003-07-22 Lluis Sanchez Gual <lluis@ximian.com>
1487 * DataSet.cs: Implemented IXmlSerializable interface. Added basic support for
1488 xml serialization. Modified method of writing schema. Now it creates
1489 a XmlSchema object and serializes it using XmlSerializer.
1490 * XmlConstants.cs: Added constants for data type names.
1491 * XmlDataLoader.cs: Fixed deserialization of data. Now converts data to the
1492 type specified in the column.
1494 2003-04-20 Alan Tam <Tam@SiuLung.com>
1496 * DataRelationCollection.cs: Fix a bug that prevent relations
1497 from being added via DataSet.
1499 2003-04-12 Ville Palo <vi64pa@kolumbus.fi>
1501 * UniqueConstraint.cs: one tiny fix.
1503 2003-04-05 Ville Palo <vi64pa@kolumbus.fi>
1505 * DataTable.cs: Remove UniqueConstraints when adding new ones
1507 2003-04-04 Ville Palo <vi64pa@kolumbus.fi>
1509 * DataColumnCollection.cs: Little 'case sensitive' fix
1511 2003-04-04 Ville Palo <vi64pa@kolumbus.fi>
1513 * DataRow.cs: AutoIncrement handling to Constructor
1514 * DataRowCollection.cs: This doesnt need anymore AutoIncrements
1516 2003-03-27 Ville Palo <vi64pa@kolumbus.fi>
1518 * DataTable.cs: Some fixes to PrimaryKey etc...
1519 * UniqueConstraint.cs: Little clean up
1521 2003-03-27 Ville Palo <vi64pa@kolumbus.fi>
1523 * DataTable.cs: Tiny fix to ToString () -method
1525 2003-03-27 Ville Palo <vi64pa@kolumbus.fi>
1527 * ConstraintCollection.cs: Little fix.
1528 * DataColumn.cs: Added new internal method SetUnique()
1529 * UniqueConstraint.cs: some little fixes
1531 2003-03-26 Ville Palo <vi64pa@kolumbus.fi>
1533 * DataRowCollection.cs: Bugfixes, implementation,...
1535 2003-03-26 Ville Palo <vi64pa@kolumbus.fi>
1537 * DataColumn.cs: If DataType if set to something else than short, int
1538 or long and AutoIncrement is true, AutoIncrement is must set to false.
1540 2003-03-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1543 (BeginEdit): fixed array bound problem when a column has been added.
1544 (EndEdit): just assign proposed to current as proposed is set to null.
1545 This also fixes another array boudn problem.
1547 2003-03-21 Alan Tam <Tam@SiuLung.com>
1549 * DataRow.cs: Fixed problems in accessers, BeginEdit, CancelEdit,
1550 EndEdit and AcceptChanges to act correctly according to DataRowState
1552 * DataRowCollection.cs: Call AttachRow and DetachRow when a row is
1553 attached and detached from the collection.
1555 2003-03-20 Alan Tam <Tam@SiuLung.com>
1557 * DataColumn.cs: Store empty string for Expression when null is passed in.
1558 Classes generated by XSD.exe passes null by default.
1560 2003-03-16 Ville Palo <vi64pa@kolumbus.fi>
1562 * DataColumnCollection.cs: Tiny clean up
1564 2003-03-16 Ville Palo <vi64pa@kolumbus.fi>
1566 * DataColumn.cs: little fixes.
1567 * DataColumnCollection.cs: Lots of little fixes and improvments.
1569 2003-03-12 Alan Tam <Tam@SiuLung.com>
1571 * DataSet.cs: Fixed a bug that the file written does not close correctly.
1573 2003-03-08 Alan Tam <Tam@SiuLung.com>
1575 * DataRelationCollection.cs: Removed the mis-overridden methods
1576 * DataRow.cs: Fixed an attribute
1577 * DataSet.cs: Fixed the modifiers
1579 2003-03-06 Aleksey Demakov <avd@openlinksw.com>
1581 * DataTableCollection.cs: The Contains (string name),
1582 IndexOf (string name) methods, and item[string name] indexer
1583 now behave more like .NET with respect to case-sensitivity.
1584 That is if there is an exactly matching item then this one is used.
1585 If there is only one item differing in case then it used.
1586 If there are more than one item differing in case then
1587 Contains returns false, IndexOf returns -1, and item[]
1588 throws an ArgumentException.
1590 2003-02-28 Ville Palo <vi64pa@kolumbus.fi>
1592 * ExpressionElement.cs: More implementation.
1594 2003-02-28 Alan Tam <Tam@SiuLung.com>
1595 * DataSet.cs: Changed WriteTable so that it now calls the newly written
1596 WriteObjectXml to direct the call to the respective XmlConvert method.
1597 This fixes the wrong format written to XML files of bool, float,
1598 double, DateTime and TimeSpan types.
1600 2003-02-25 Alan Tam <Tam@SiuLung.com>
1602 * DataRelation.cs: Added SetDataSet for DataSetRelationCollection to use.
1603 * DataRelationCollection.cs: Implemented AddRange and Contains.
1604 Implemented AddRange, Clear, List and RemoveCore for DataSetRelationColletion.
1605 Implemented AddCore, List and RemoveCore for DataTableRelationCollection.
1606 Reimplemented most Add methods to eliminate duplicated checks.
1607 Centralized RelationName generation procedure in GetNextDefaultRelationName.
1609 2003-02-25 Alan Tam <Tam@SiuLung.com>
1611 * DataColumn.cs: Fixed wrong storage representation of Expression
1612 (using empty string instead of null) so that ToString() returns nothing.
1613 * DataColumnCollection.cs: Reimplemented GetNextDefaultColumnName so that
1614 auto column naming now works as expected. Reimplemented some Add methods
1615 to eliminate code duplication.
1617 2003-02-19 Ville Palo <vi64pa@kolumbus.fi>
1619 * DataTable.cs: DataTable.CaseSensitive follows parent
1620 DataSet.CaseSensitive property if DataTable.CaseSensitive has never
1621 been changed directly from DataTable
1623 2003-02-19 Ville Palo <vi64pa@kolumbus.fi>
1625 * DataSet.cs: When CaseSensitive property is changed all of the Tables
1626 of DataSet have to change too
1628 2003-02-19 Daniel Morgan <danmorg@sc.rr.com>
1630 * InternalDataCollectionBase.cs: revert change to field
1633 * DataViewManager.cs
1636 * DataSet.cs: commented use of DesignerAttribute
1637 because it broke the build. According to MSDN,
1638 DesignerAttribute does not have a zero-argument constructor
1640 2003-02-18 Ville Palo <vi64pa@kolumbus.fi>
1642 * DataColumnCollectin.cs: Little fix for indexer and case sensitivity
1644 2003-02-18 Alan Tam <Tam@SiuLung.com>
1646 * DataRow.cs: Implemented GetParentRow and GetParentRows.
1647 * DataSet.cs: Added stub for HasChanges, InferXmlSchema,
1648 OnPropertyChanging, OnRemoveRelation, OnRemoveTable,
1649 RaisePropertyChanging.
1650 * DataTable.cs: Implemented NewRowArray.
1651 * DataTablePropertyDescriptor: Fixed a modifier.
1652 * InternalDataCollectionBase.cs: Fixed modifiers. Implemented SyncRoot.
1653 * PropertyCollection.cs: Minor fix.
1654 * ConstraintCollection.cs DataColumn.cs DataColumnCollection.cs
1655 * DataRelation.cs DataRelationCollection.cs DataRow.cs
1656 * DataRowCollection.cs DataRowState.cs DataSet.cs DataTable.cs
1657 * DataTableCollection.cs DataTablePropertyDescriptor.cs DataView.cs
1658 * DataViewManager.cs DataViewRowState.cs DataViewSettingCollection.cs
1659 * ForeignKeyConstraint.cs InternalDataCollectionBase.cs
1660 * PropertyCollection.cs UniqueConstraint.cs: Added missing attributes
1662 2003-02-08 Ville Palo <vi64pa@koti.soon.fi>
1664 * ExpressionElement.cs: More implementation
1666 2003-02-05 Alan Tam <Tam@SiuLung.com>
1668 * DataSet.cs: Added framework for DataSet.Update Implemented missing
1669 methods GetSchemaSerializable, GetSerializationData,
1670 ReadXmlSerializable, ShouldSerializeRelations and ShouldSerializeTables
1672 * DataTable.cs: Implemented missing methods CreateInstance and
1673 GetRowType for DataTable
1675 2003-02-03 Ville Palo <vi64pa@koti.soon.fi>
1677 * DataSet.cs: Implemented private method MapType for
1678 mapping datatypes for XmlSchema
1680 2003-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1682 * DataView.cs: implemented Dispose.
1684 2003-01-30 Ville Palo <vi64pa@koti.soon.fi>
1686 * ExpressionElement.cs: Added new file. This file is for parsing
1687 and DataData.Select () -methods and DataColumn.Expression -property
1688 * DataTable.cs: Implemented Select(string) -method
1690 2003-01-28 Ville Palo <vi64pa@koti.soon.fi>
1692 * DataSet.cs: One little fix to writing xml
1694 2003-01-27 Ville Palo <vi64pa@koti.soon.fi>
1696 * XmlSchemaMapper.cs: Some fixes.
1697 * DatSet.cs: Some XmlFixes and BeginInit ()/ EndInit () -fix
1700 2003-01-24 Ville Palo <vi64pa@koti.soon.fi>
1702 * UniqueConstraint.cs: Do not set columns Unique property true
1704 * ForeignKeyConstraint.cs: Add UniqueConstraint to parent Table
1706 2003-01-18 Ville Palo <vi64pa@koti.soon.fi>
1708 * DataTableCollection.cs: Now names new DataTable if it doesn't
1709 already have a name.
1711 2003-01-17 Ville Palo <vi64pa@koti.soon.fi>
1713 * XmlSchemaMapper.cs: Improvments.
1714 * XmlConstaints.cs: Added more constants.
1715 * DataSet.cs: Improvments of reading and writing xml
1716 * DataColumn.cs: Added default values of properties.
1718 2003-01-14 Ville Palo <vi64pa@koti.soon.fi>
1720 * XmlSchemaMapper.cs: Some improvments
1722 2003-01-13 Ville Palo <vi64pa@koti.soon.fi>
1724 * DataRowCollection.cs: Added IndexOutOfRangeException
1725 * DataTableCollection.cs: Added OnCollectionChanging and
1726 OnCollectionChanged events.
1727 * DataSet.cs: Many fixes. Implemented Clone () and Copy () -methods
1728 * DataTable.cs: Implemented Copy () and Clone () methods.
1729 * XmlDataLoader.cs: some fixes.
1730 * XmlSchemaMapper.cs: comments.
1732 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1734 * DataColumnPropertyDescriptor.cs: store columnIndex in the .ctor.
1736 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1738 * DataColumnPropertyDescriptor.cs: fixed typo.
1739 * DataViewManagerListItemTypeDescriptor.cs: added new internal property
1740 to get the DataViewManager and removed TablePD class.
1741 * DataTablePropertyDescriptor.cs: TablePD class is now this one as
1742 suggested by danmorg.
1744 2003-01-06 Ville Palo <vi64pa@koti.soon.fi>
1746 * XmlDataLoader.cs: Moved diffgram stuff to new internal class
1748 * XmlDiffLoader.cs: new class for diffgrams. Added handling of
1749 diffgr:Errors and some fixes and changed XmlReader to XPathNavigator.
1751 2003-01-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1753 * DataView.cs: made dataViewManager internal.
1754 * DataViewManager.cs: use ICustomTypeDescriptor. We don't want the
1755 properties of the object, but the values of the columns present in a
1758 * DataViewManagerListItemTypeDescriptor.cs: implemented GetProperties,
1759 which returns a PropertyDescriptorCollection. Created a new class
1760 derived from PropertyDescriptor that treats Table as an object whose
1761 properties are DataRowView.
1763 2003-01-04 Ville Palo <vi64pa@koti.soon.fi>
1765 * XmlSchemaMapper.cs: Added handling for Constraints, Attributes.
1767 2003-01-04 Ville Palo <vi64pa@koti.soon.fi>
1769 * DataColumn.cs: ExtendedProperties is by default !null-
1771 2003-01-04 Ville Palo <vi64pa@koti.soon.fi>
1773 * DataColumnCollection.cs: Add (DataColumn Column) -method didn't
1774 set column's ordinal.
1776 2003-01-02 Ville Palo <vi64pa@koti.soon.fi>
1779 * XmlDataLoader.cs: XmlReader closing fixes.
1780 * XmlSchemaReader.cs: Added support for ref=
1782 2003-01-01 Ville Palo <vi64pa@koti.soon.fi>
1785 - Added XmlReader and XmlWriter Closing.
1786 - Moved ReadXmlSchema stuff to new internal class XmlSchemaMapper.
1787 * XmlSchemaMapper.cs
1788 - Much better way IMHO to map xmlschema than the old one in
1789 DataSet.cs. Its, more flexible, cleaner, ...
1791 2002-12-29 Ville Palo <vi64pa@koti.soon.fi>
1793 * XmlDataLoader.cs: Reading diffgrams.
1795 2002-12-29 Ville Palo <vi64pa@koti.soon.fi>
1797 * DataRow.cs: Little fix to indexer and DataColumnCang* trigger fixes.
1798 * DataTable.cs: Added ChanginDataColumn () for triggering
1799 DataColumnChanging event
1801 2002-12-28 Ville Palo <vi64pa@koti.soon.fi>
1803 * DataSet.cs: Indentations to WriteXmlSchema () and one little fix
1805 2002-12-28 Ville Palo <vi64pa@koti.soon.fi>
1807 * DataSet.cs: Indentations to WriteXml ()
1809 2002-12-27 Ville Palo <vi64pa@koti.soon.fi>
1812 * XmlDataLoader.cs: Moved ReadXml -stuff from DataSet.cs to new
1813 class XmlDataLoader.cs
1815 2002-12-19 Ville Palo <vi64pa@koti.soon.fi>
1817 * DataSet.cs Implemented ReadXml with XmlReadMode.ReadSchema
1819 2002-12-18 Ville Palo <vi64pa@koti.soon.fi>
1821 * DataSet.cs: Started to implement ReadXml-methods.
1823 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1825 * DataSet.cs: implemented DefaultViewManager and GetList.
1827 * DataViewManager.cs: a bit of work on IList and ITypedList needed by
1828 DataList in System.Web.
1830 * DataViewManagerListItemTypeDescriptor.cs: custom type descriptor for
1833 2002-12-16 Ville Palo <vi64pa@koti.soon.fi>
1836 * DataTable.cs: Fixed NullException (rollback -event)
1837 * DataSet.cs: WriteXml -method does not anymore write <?xml... row.
1839 2002-12-15 Ville Palo <vi64pa@koti.soon.fi>
1842 * DataRowCollection.cs: Moved event triggering from DataRow to
1845 2002-12-09 Ville Palo <vi64pa@koti.soon.fi>
1847 * DataSet.cs: Little fix to WriteTable () -method
1848 and DoReadXmlSchema () -method.
1850 2002-12-06 Ville Palo <vi64pa@koti.soon.fi>
1852 * DataSet.cs: Clean up to reading xmlschema. This looks much better
1853 now (work better too), but it not working correctly yet.
1855 2002-12-04 Ville Palo <vi64pa@koti.soon.fi>
1858 * DataRowCollection.cs: Added some event handlins stuff.
1859 * DataSet.cs: Some fixes.
1860 * DataTable.cs: Added event handlers.
1862 2002-11-30 Ville Palo <vi64pa@koti.soon.fi>
1864 * DataRowChangeEventArgs.cs: Implemented Action and Row properties
1866 2002-11-30 Ville Palo <vi64pa@koti.soon.fi>
1868 * System.Data/DataRow.cs: Added internal property XmlDataID
1870 2002-11-29 Ville Palo <vi64pa@koti.soon.fi>
1872 * DataSystem.Data.DataTableCollection.cs:
1873 Removed HashTable. There could be situations where DataTable
1874 is added to collection before it hava TableName. So using
1875 HashTable is impossible.
1877 2002-11-19 Carlos Guzmán Álvarez <carlosga@telefonica.net>
1879 * DataRow.cs: an object that is equal to null
1880 should be allowed to be set in this indexer too
1883 2002-11-06 Daniel Morgan <danmorg@sc.rr.com>
1885 * DataColumnPropertyDescriptor.cs: added file
1887 * System.Data/DataRowView.cs: started implementation
1889 * DataTable.cs: stubbed more interfaces. Implemented
1890 IListSource.GetList()
1892 * DataView.cs: stubbed more interfaces. Implemented
1893 some properties and methods: GetEnumerator(),
1894 ITypedList.GetItemProperties, Item indexer, CopyTo()
1896 2002-05-18 Nick Drochak <ndrochak@gol.com>
1898 * DataRow.cs: Fix typo.