1 2005-01-24 Atsushi Enomoto <atsushi@ximian.com>
3 * DataColumn.cs : set_MaxLength is not allowed when it is mapped to
4 SimpleContent. (However, it is weird but it never fails when we set
5 ColumnMapping = MappingType.SimpleContent when we have MaxLength.)
7 2005-01-21 Atsushi Enomoto <atsushi@ximian.com>
9 * DataRow.cs : more Current -> Default fixes. Check if it should throw
10 VersionNotFoundException. Patch by Ankit Jain.
12 2005-01-21 Atsushi Enomoto <atsushi@ximian.com>
14 * DataRow.cs : Default selects the right version for the current
15 state of the row. Current is not always available. Also change
16 that for GetParentRow(). Patch by Ankit Jain.
18 2005-01-21 Atsushi Enomoto <atsushi@ximian.com>
20 * DataTable.cs : CopyColumn() should copy AutoIncrement after
21 DefaultValue, or it will raise an error in some cases.
23 2005-01-20 Atsushi Enomoto <atsushi@ximian.com>
25 * ConstraintCollection.cs : Add() should throw ArgumentException when
26 the argument constraint fails validation.
27 DataTable.cs : set_PrimaryKey should throw ArgumentException when
28 the argument contains constraints which fail validation.
30 2005-01-19 Sureshkumar T <tsureshkumar@novell.com>
32 * DataRelationCollection.cs:
34 Method Remove : Donot throw exception if DataRelation argument is
35 null in DataRelationCollection.Remove method.
37 Method RemoveAt : Exception should be IndexOutOfRangeException if
38 row index is not in list range.
40 Fixes nunit failures DataRelationCollection.Remove and
41 DataRelationCollection.RemoveAt.
43 2005-01-19 Sureshkumar T <tsureshkumar@novell.com>
45 * ConstraintCollection.cs: Donot throw exception if constraints
46 are null in AddRange method. Check for null before using the
51 2004-01-19 Atsushi Enomoto <atsushi@ximian.com>
53 * XmlDataInferenceLoader.cs,
54 XmlDataReader.cs : Check if the XmlReader (node) represents DataSet
55 or a table, reusing code block in XmlDataInferenceLoader.
56 This fixes bug #60118.
58 2004-01-19 Atsushi Enomoto <atsushi@ximian.com>
60 * XmlDiffLoader.cs : Ankit Jain <radical@imt.ac.in> has a conflicting
61 patches and some good catches. Some attributes should be skipped,
62 and loaded value must be typed.
64 2004-01-19 Atsushi Enomoto <atsushi@ximian.com>
67 XmlDataInferenceLoader.cs,
68 XmlDataReader.cs : use common const for http://www.w3.org/2000/xmlns/.
69 * XmlDiffLoader.cs : It was not handling attributes. Fixed bug #70961.
71 2005-01-18 Sureshkumar T <tsureshkumar@novell.com>
73 Fix for bug #66838. This patch is submitted by "Ankit Jain"
74 <radical@corewars.org> and refactored.
76 * DataRow.cs: Allows to set a parent row even if the row is in
79 * DataRelation.cs: method "UpdateConstraints" is added to check
80 and create missing keys when adding a relation. This is refactored
81 approach from DataRelationCollection.Add method.
83 * DataRelationCollection.cs: AddCore methods of all relation types
84 are synchronized. A Check for existing constraints is
85 done. Relation is added to the list only if all checks are passed.
87 2004-01-18 Atsushi Enomoto <atsushi@ximian.com>
89 * DataColumnCollection.cs : Clear() throws ArgumentException that
90 wraps thrown innerException.
91 * XmlSchemaDataImporter.cs : removed FIXMEs.
93 2004-01-12 Atsushi Enomoto <atsushi@ximian.com>
95 * DataSet.cs : When serializing DataTable, BuildSchema() is passed
96 null relation collections.
97 Quick fix for XmlSerializer deserialization. It does not require
100 2004-01-11 Atsushi Enomoto <atsushi@ximian.com>
103 CustomDataClassGenerator.cs :
104 In DataSet class, IXmlSerializable.GetSchema() returns null.
105 In strongly-typed class, it returns schema.
107 2004-01-07 Atsushi Enomoto <atsushi@ximian.com>
109 * XmlDataInferenceLoader.cs : test driver class should be excluded.
111 2004-12-01 Miguel de Icaza <miguel@ximian.com>
113 * DataView.cs: Patch from Marc Haisenko that ensures that rowCache
116 2004-11-10 Atsushi Enomoto <atsushi@ximian.com>
118 * CustomDataClassGenerator.cs : generated foreign key constraint
119 construction code was creating empty child columns and thus it
120 was invalid. This fixes bug #69276 (patch by Martin Voelkle).
122 2004-11-02 Atsushi Enomoto <atsushi@ximian.com>
124 * CustomDataClassGenerator.cs : custom DataTable ctor should call
125 InitializeFields(), and those DataColumns created by that method
126 should take data type. This should fix bug #68972.
128 2004-10-15 Atsushi Enomoto <atsushi@ximian.com>
130 * DataSet.cs : Also clear UnhandledAttributes ArrayList before
131 generating next attribute column schema. This fixes bug #68432.
133 2004-10-14 Umadevi S <sumadevi@novell.com>
134 * DataTable.cs : Corrected the Clone method to use Activator.CreateInstance so that the
135 correct subclass is returned. This fixes bug #67631
137 2004-10-14 Umadevi S <sumadevi@novell.com>
138 * DataSet.cs : Corrected the Clone method to use Activator.CreateInstance so that the
139 correct subclass is returned. This fixes bug #67627
141 2004-10-13 Atsushi Enomoto <atsushi@ximian.com>
143 * DataSet.cs : clear UnhandledAttributes ArrayList before generating
144 next element column schema. This fixes bug #68256.
146 2004-10-12 Atsushi Enomoto <atsushi@ximian.com>
148 * DataSet.cs : now xs:schema contains xmlns="".
149 This fixes bug #68008.
151 2004-10-12 Atsushi Enomoto <atsushi@ximian.com>
153 * DataSet.cs : DBNull attribute column should not be written as
154 empty attribute. This fixes bug #68007.
156 2004-10-12 Atsushi Enomoto <atsushi@ximian.com>
158 * DataSet.cs, XmlConstant.cs, XmlSchemaDataImporter.cs:
159 DataColumn.ReadOnly was not handled. This fixes bug #68005.
160 Attribute defaultValue was not handled too.
162 2004-10-07 Atsushi Enomoto <atsushi@ximian.com>
165 - When AllowDBNull is false on attribute DataColumn, its schema
166 should contain use="required". This fixes bug #66792.
167 - If MaxLength is set on attribute DataColumn, the mapped schema
168 type should contain maxLength facet. This fixes bug #66793.
170 2004-10-04 Atsushi Enomoto <atsushi@ximian.com>
172 * DataSet.cs : For a row, when a relation is not nested, then it is
173 still output target since it won't be written as a child of its
174 parent. It fixes bug #66379.
176 2004-10-03 Atsushi Enomoto <atsushi@ximian.com>
178 * DataSet.cs : Attribute constraint field XPath must be written as
179 @blah. This fixes bug #66366.
181 2004-09-28 Umadevi S <sumadevi@novell.com>
182 * DataRow.cs - checked for Enforceconstraints, while using indices to search for related rows
184 2004-09-24 Sureshkumar T <tsureshkumar@novell.com>
186 * DataSet.cs : Don't check constraints for dataset clear
187 * DataRowCollection.cs : check for EnforceConstraints flag
188 before checking foriegn key constraints in Clear method
189 * DataTable.cs : Redundant checking removed in Clear method as it is
190 checked in DataRowCollection.Clear method.
193 2004-09-19 Sureshkumar T <tsureshkumar@novell.com>
194 * DataRow.cs : while deserialization of dataset, adding a current row precedes the original row.
195 hence, adding a row cache is necessary if the original row happens to be current.
198 2004-08-23 Martin Baulig <martin@ximian.com>
200 * XmlDataInferenceLoader.cs (Driver): Make this class internal,
203 2004-08-18 Umadevi S <sumadevi@novell.com>
204 * DataView.cs - Completed most of the event handling.
205 Thanks to Punit Todi <punit_todi@da-iict.org> for implementing most of it.
206 Thanks to Boris Kirzner <borisk@mainsoft.com> for commenting and suggesting changes to the implementation.
207 * DataTable.cs - Changed Access modifiers of class/methods since it was used by DataView.
209 2004-08-06 Atsushi Enomoto <atsushi@ximian.com>
211 * DataSet.cs : DataSet's ExtendedProperties were not XmlConverted.
213 2004-08-05 Atsushi Enomoto <atsushi@ximian.com>
215 * XmlConstants.cs : Added constants for "msprop" support.
216 * DataSet.cs : ExtendedProperties should be written in the schema.
217 This fixes bug #61233.
219 2004-07-27 Atsushi Enomoto <atsushi@ximian.com>
221 * DataSet.cs : on serialization to XmlWriter, XmlConvert should be
222 used. There were also some culture dependency problems to write int.
224 2004-06-27 Atsushi Enomoto <atsushi@ximian.com>
226 * XmlDataInferenceLoader.cs : It was not always filling relation
227 child table information correctly. This fixes bug #60742.
229 2004-06-23 Umadevi S <sumadevi@novell.com>
230 * UniqueConstraint.cs :changed a ifdef true to ifdef NET_1_1
232 2004-06-22 Atsushi Enomoto <atsushi@ximian.com>
234 * DataSet.cs : Fixed ReadXml(). When ReadMode is ReadSchema and the
235 schema is inside the document element (as created in XmlWriteMode
236 .WriteSchema), it should read schema from that non-document element.
237 This fixes one case reported in bug #60470.
239 2004-06-20 Atsushi Enomoto <atsushi@ximian.com>
241 * XmlDataInferenceLoader.cs : Kindly reject xml schema document as a
242 inference target. For bug #60470. (MS does not support schema
243 document inference and results in unconsistent dataset structure.)
245 2004-06-20 Atsushi Enomoto <atsushi@ximian.com>
247 * DataTableCollection.cs : reset the table's DataSet to null when
248 removing a table from this collection.
249 * DataTable.cs : When Namespace is not specified explicitly, its
250 Namespace property reflects DataSet's Namespace if exist.
251 This fixes bug #60469.
253 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
255 * DBConcurrentcyException.cs: CRLF to LF
256 * DataViewSetting.cs: CRLF to LF
258 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
260 * DataViewSetting.cs: renamed fields to match MS.NET
262 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
264 * DBConcurrencyException.cs: fixed serialization compatibility with
267 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
269 * ChangeLog : Fix for misspelled words.
271 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
273 * DataRowCollection.cs : Removed onColumnRemoved since it is not in use.
275 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
278 - Table stores default values for columns in special default values row.
279 It is allocated once (in NewRow).
280 - DataTable.Copy rewrited. It works with uninitialized rows for better perfomance.
281 - OnRemoveColumn has nothing to perform by now.
283 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
286 - Changed access of original, current and proposed indexes to internal.
287 - ColumnErrors reviewed : now column errors stored in ArrayList and allocated on demand only.
288 - Added new DataRow constructor that creates uninitialized DataRow (used in DataTable.Copy).
289 - Use DataContainer.CopyValue and default values row for faster set of default values in row.
290 - SetColumnValue become CheckValue. Now it does not changes the value, but only checks for its correctness.
291 Care about Null and DBNull values is now in DataContainer.
292 - Use DataColumn.AutoIncrementValue and GetInt64 for faster set of autoincrement value.
293 - Use Datacontainer.CopyValue and default values row to speed up CheckChildRows.
294 - Fix in CopyState : clone column errors.
295 - Removed CollectionChanged and onColumnRemoved since we are not using both of them anymore.
297 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
299 * DataColumnCollection.cs :
300 - Fix : Add() now delegates to Add(DataColumn).
301 - autoIncrement list holds DataColumn objects, and not just column names.
303 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
306 - AutoIncrementValue fixes. Now AutoIncrement uses DataContainer.GetInt64 to avoid boxing.
307 - DefaultValue fixes. Default value from now on is also stored in special record in
308 DataTable, so we're able to set default value for the column faster (typed).
311 2004-06-15 Atsushi Enomoto <atsushi@ximian.com>
313 * DataSet.cs : children of non-root rows were not properly written.
316 2004-06-10 Umadevi S <sumadevi@novell.com>
317 * DataRelation.cs - Constructor
318 - The datatypes of the parentcolumn(s) and the childcolumn(s) should match
320 2004-06-06 Atsushi Enomoto <atsushi@ximian.com>
322 * XmlSchemaDataImporter.cs : We should fill Namespace for DataTable.
324 2004-06-04 Gert Driesen <drieseng@users.sourceforge.net>
326 * Constraint.cs: marked methods internal to fix public API
327 * ConstraintCollection.cs: to fix public API, use
328 DataTable.fInitInProgress to check whether initialization
329 of DataTable is in progress
330 * DataColumn.cs: added stubs for missing methods
331 * DataRowBuilder.cs: marked Table property internal to
333 * DataSet.cs: removed extra empty destructor, marked
334 OnMergeFailed internal to fix public API
335 * DataTable.cs: use fInitInProgress field to hold init
336 status, to match MS.NET
337 * DataView.cs: added missing attributes on IsOpen
339 2004-06-03 Atsushi Enomoto <atsushi@ximian.com>
341 * DataSet.cs : Use NameTable.Get() before calling LookupNamespace()
342 in XmlNamespaceManager.
344 2004-06-03 Atsushi Enomoto <atsushi@ximian.com>
346 * DataSet.cs : complex table content child was not properly added
347 when it is the only one child in the parent table. Fixed bug #53959.
349 2004-06-02 Gert Driesen <drieseng@users.sourceforge.net>
350 * DataTableTypeConverter.cs: added
351 * DataView.cs: added missing attribute on Table property
352 * DataViewManager.cs: moved attribute to correct property
353 * UniqueConstraint.cs: removed extra ReadOnly attribute from
354 IsPrimaryKey property
356 2004-06-01 Atsushi Enomoto <atsushi@ximian.com>
358 * DataRow.cs : ColumnsChanged event is not required in .ctor().
360 2004-06-01 Atsushi Enomoto <atsushi@ximian.com>
362 * XmlDataReader.cs : type change is required before setting value
365 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
367 * DataSet.cs : Loop-break of the last fix was incorrect.
369 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
371 * DataSet.cs : When a row has no parent row but the table has parent
372 relation(s), that row had been always ignored.
374 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
376 * XmlDataInferenceLoader.cs : Fixed GetMappedTable() that incorrectly
377 rejected same-named tables in different hierarchy. Thanks to Boris.
379 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
381 * XmlDiffLoader.cs : Added some Skip() that is required not to go to
382 infinite loop. Thanks to Boris for this fix.
384 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
386 * XmlDataInferenceLoader.cs : XmlSchema elements should not be infered.
387 Thanks to Boris for this fix.
389 2004-05-30 Atsushi Enomoto <atsushi@ximian.com>
391 * DataTable.cs : serialization .ctor() should use XmlReadMode.DiffGram
392 for ReadXml(). Thanks to Boris.
394 2004-05-27 Boris Kirzner <borisk@mainsoft.com>
396 - CheckReadOnlyStatus : use typed (and faster comparing).
397 - EndEdit : bug fix - do not dispose record if it holds original version.
398 - SetValuesFromDataRecord : Take care about autoincrement columns.
401 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
403 * MergeManager.cs : don't output debug message to Console.
405 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
407 * XmlDataInferenceLoader.cs : Namespace are not imported to the table
408 structure. Thanks to Boris Kirzner for the fix.
410 2004-05-27 Umadevi S <sumadevi@novell.com>
411 * DataRelationCollection.cs - fixed nunit test errors
413 2004-05-27 Umadevi S <sumadevi@novell.com>
414 * DataTableCollection.cs - fixed nunit test errors
416 2004-05-21 Atsushi Enomoto <atsushi@ximian.com>
418 * DataColumnCollection.cs : NullReferenceException was thrown when
419 the table was not found.
420 * DataRowCollection.cs :
421 Find() just returns null for null value under MS.NET 1.1.
422 RemoveAt() should also avoid to call AcceptChanges() like Remove().
423 * UniqueConstraint.cs : in AssertConstraint() throw ConstraintException
424 directly under MS.NET (for nunit test).
426 2004-05-21 Atsushi Enomoto <atsushi@ximian.com>
428 * XmlSchemaDataImporter.cs : Setting startindex in LastIndexOf()
429 caused problem on qualified name to get schema Field name.
431 2004-05-21 Atsushi Enomoto <atsushi@ximian.com>
433 * XmlDataReader.cs : Now data reader is namespace aware in all places.
434 When table's namespace is different, it entered to infinite loop.
436 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
437 * MergeManager.cs : AdjustSchema now updates by reference new created table,
438 so in Merge you do not need to lookup for it (were unable to do this for unnamed tables).
441 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
443 * DataColumn.cs : In set_Item[int] - if autoincrement, adjust next autoincrement value.
444 * DataColumnCollection.cs : fixed parantethes.
446 - AcceptChanges : do nothing if row state is unchanged.
447 - GetChildRows, GetParentRows : bug fix (use correct index).
448 * DataRowCollection.cs : bug fix (compare all row's values).
449 * DataTable.cs : bug fix (use correct row version).
451 2004-05-20 Atsushi Enomoto <atsushi@ximian.com>
453 * XmlSchemaDataImporter.cs : xs:positiveInteger is mapped to ulong.
454 When content type is Mixed, text column is not required (it is
455 required only when the complex type has no particle).
456 "Repeated element" column is also created (considering maxOccurs=0
457 and complex content extension).
459 2004-05-20 Atsushi Enomoto <atsushi@ximian.com>
461 * XmlSchemaDataImporter.cs : XmlSchemaGroupBase was not handled
464 2004-05-20 Atsushi Enomoto <atsushi@ximian.com>
466 * XmlSchemaDataImporter.cs : Removed unused code and extra MonoTODO.
467 Fixed relation inference to consider attribute XPath.
469 2004-05-19 Atsushi Enomoto <atsushi@ximian.com>
471 * DataColumn.cs : Fixed set_Item[int]. Convert.ToInt64(DBNull.Value)
474 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
476 * DataColumn.cs - removed default member attribute.
478 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
481 DataColumnChangeEventArgs.cs,
482 DataColumnCollection.cs,
484 DataRowCollection.cs,
486 Index.cs : Data storage in the row is redesigned. Now data is stored in
487 typed containers inside DataColumn. Row holds its versions as indexes inside
488 each of data container, accessed through the row that holds it.
490 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
492 * UniqueConstraint.cs - added comment.
494 2004-05-19 Atsushi Enomoto <atsushi@ximian.com>
496 * XmlDataInferenceLoader.cs : Don't add already-existing DataTable to
499 2004-05-17 Atsushi Enomoto <atsushi@ximian.com>
502 XmlDataInferenceLoader.cs,
504 XmlSchemaDataImporter.cs : XmlDecode every local name to read and
505 XmlEncode every local name to write. This should fix bug #58268.
507 2004-05-17 Atsushi Enomoto <atsushi@ximian.com>
509 * DataSet.cs : Implemented ignored namespaces in InferXmlSchema().
510 Supported repeated elements. Removed MonoTODOs.
511 * XmlDataInferenceLoader.cs : Design change to support ignored
512 namespace and repeated elements.
513 * XmlSchemaDataImporter.cs : Added mapping support classes.
515 2004-05-15 Atsushi Enomoto <atsushi@ximian.com>
517 * CustomDataClassGenerator.cs :
518 Added property parent "[foo]Row" and children "Get[foo]Row" support
519 for custom DataRow classes.
520 Fixed DataColumn property accessibility (public --> internal).
522 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
524 * CustomDataClassGenerator.cs :
525 - Put classes inside custom DataSet class.
526 - Added automatic DataRelation creation support.
527 - Added Constraints creation support. That is done separate from
528 relations, since they might be independently created.
529 - Added non-MS public DataRelation fields.
530 - Removed extraneous "DataRelation type generation" code.
531 - Fixed custom_dataset.Initialize() not to create "c" field that
532 was created more than once.
533 - Implemented AddxxxRow() that takes parameters for every column.
535 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
537 * XmlSchemaDataImporter.cs : When primary key is used more than once,
538 DataRelation borked because of empty parent column name.
540 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
542 * XmlSchemaDataImporter.cs : When Creating constraints with related
543 to DataRelation creation, also set PrimaryKey to the parent table.
545 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
547 * XmlSchemaDataImporter.cs :
548 Design change to add indirect table and relation structures.
549 Support for "relation" annotation for local element.
550 Support for repeatable simple element column (maxOccurs > 1).
551 Fixed handling of Nested property on DataRelation (for globally
552 annotated relation, Nested is false).
554 2004-05-13 Atsushi Enomoto <atsushi@ximian.com>
556 * DataRow.cs : Added DataElement property to avoid storing every row-
557 element mapping. It stored even for nodes that should be removed.
559 2004-05-13 Umadevi S <sumadevi@novell.com>
561 * RelationshipConverter.cs - Stubbed this class
562 * DataRelation.cs - added TypeConveterAttribute
564 2004-05-13 Umadevi S <sumadevi@novell.com>
566 * DataColumnCollection.cs - Added ResDescriptionAttribute
567 * DataRelation.cs - Added TypeConverterAttribute
568 * DataRelationCollection.cs - Added DefaultPropertyAttribute
569 * DataRowView.cs - Added GetHashCode method with a TODO tag
570 * DataSet.cs - Added DesignerAttribute
571 * DataView.cs - Added DesignerAttribute
572 * DataViewManager.cs - Added DesignerAttribute
573 * DataViewSetting.cs - Added TypeConverterAttribute
575 2004-05-12 Atsushi Enomoto <atsushi@ximian.com>
577 * DataRow.cs : Added XmlDataElement initialization code.
579 2004-05-11 Atsushi Enomoto <atsushi@ximian.com>
581 * XmlDataInferenceLoader.cs :
582 It now requires XmlDocument as input. Improved identification of
583 DataSet element. Removed extra lines.
584 Moved boresome design notes to bottom of the source and
585 added standalone runnable driver (not included on build).
587 Update with related to the change above.
588 WriteXml() should call Flush() after writing. This fixes bug #58327.
589 * XmlSchemaDataImporter.cs :
590 Improved indentification of DataSet element.
592 2004-05-11 Gert Driesen (drieseng@users.sourceforge.net)
593 * DataTable: marked initStatus enum internal
595 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
596 * DataTable.cs: removed TypeConverterAttribute, marked RowsExist
598 * DataRowView.cs: removed extra Error property
599 * DataRow.cs: reduced accessibility of CollectionChanged method
601 * DataColumnPropertyDescriptor.cs: made class internal
602 * DataColumn.cs: removed extra TypeConvertorAttribute
603 * ConstrainCollection.cs: marked PostEndInit method internal
605 2004-05-07 Atsushi Enomoto <atsushi@ximian.com>
608 In WriteXmlSchema(), when complex type contains simple type content
609 attributes must not added to XmlSchemaComplexType directly. It
610 causes schema compilation error.
611 DataRelation should not be output when related columns are hidden.
613 2004-05-07 Atsushi Enomoto <atsushi@ximian.com>
615 * XmlDataInferenceReader.cs : Added. It does InferXmlSchema() (it is
616 also expected to do ReadXml(), but I will remove that feature and
617 support column reordering).
618 * XmlSchemaDataImporter.cs : Always initialize dataset name.
619 Always set Nested and primary key for parent table.
620 * XmlDataReader.cs : Now it is used.
621 Top level element might not match to dataset name nor any table
622 name, but still possible to read content tables.
623 Handle empty element correctly in some places.
624 Handle Fragment mode (read up XmlReader to the end).
625 * DataSet.cs : Modified InferXmlSchema() and ReadXml() to use
626 XmlDataInferenceLoader and XmlDataReader.
628 2004-05-06 Atsushi Enomoto <atsushi@ximian.com>
631 Eliminated CRLF injection.
632 More clear message in Clear().
633 Updates reflecting XmlSchemaDataImporter change.
634 Added duplicate check for XmlSerializerNamespaces in BuildSchema().
635 Don't use xmlns attribute for UnhandledAttributes (its not mandatory
636 but that depends on different behavior from ms.net).
637 Set locale also for DataTable.
638 Add xs:element only when target namespace matches to the
639 element's namespace. Otherwise, add xs:import for external namespace.
640 Put xs:sequence for dataset element's particle _only when_ actual
643 2004-05-06 Atsushi Enomoto <atsushi@ximian.com>
645 * XmlDataReader.cs : Added. This class will work better when our
646 schema inference and schema read engine gets improved. (It contains
647 standalone testable Driver class.)
649 2004-05-06 Atsushi Enomoto <atsushi@ximian.com>
651 * ForeignKeyConstraint.cs : Check step change. Existence then column
652 validity. just for tests.
653 * XmlSchemaDataImporter.cs : code simplification. reduced extraneous
656 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
658 * DataSet.cs : Ignore empty content only when output type is diffgram.
660 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
662 * CustomDataClassGenerator.cs : Modified that DataSet contains each
663 DataTable field so that each table property can access them directly.
664 (plus, modified standalone code driver code: shouldn't affect)
666 2004-05-05 Boris Kirzner <borisk@mainsoft.com>
668 * DataView.cs , DataRowView.cs : Added implementation to basic methods and properties.
670 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
672 * XmlSchemaDataImporter.cs :
673 SimpleContent column support.
674 Annotated relation support.
675 Top-level element is counted only when its type is complex.
676 xs:anyType is no longer treated as complex type.
677 dataset existence is mandatory now.
678 Improved DataType and DefaultValue support.
679 Attribute namespace is properly handled now.
680 Prohibited attribute is now treated as hidden column.
681 Reject list or union simple type.
683 Still incomplete 1) to read relationship in some cases, 2) to
684 determine whether an element is dataset or table, 3) thus to
685 exclude extraneous column, 4) to remove extraneous *_Id column.
687 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
690 We had better reuse DataSet's ReadXmlSchema() and ReadXml() in
691 serialization .ctor() (thus schema read/inference should be easier).
692 DataRowSorter should consider Table's Locale.
694 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
696 * DataColumnCollection.cs : We already had AutoIncrementValue(), so
697 use it instead of duplicating logic.
699 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
701 * ConstraintCollection.cs :
702 Use Table.CaseSensitive and Table.Locale to compare strings.
703 Duplicate constraint name exception does not occur under .NET 1.1.
705 2004-05-04 Lluis Sanchez Gual <lluis@ximian.com>
707 * XmlSchemaDataImporter.cs: Added little type check.
709 2004-05-04 Lluis Sanchez Gual <lluis@ximian.com>
711 * DataSet.cs: Implemented support for runtime serialization. Fixed support
712 for xml serialization.
713 * XmlDiffLoader.cs: Skip diffgram element when it is empty.
715 2004-04-30 Umadevi S <sumadevi@novell.com>
716 * DataColumnCollection.cs : Fixed nunit test errors, removed TODOs
717 * DataTableCollection.cs : Tested and removed TODO
718 * TypedDataSetGeneratorException.cs : Fixed a couple of TODOs
720 2004-04-29 Atsushi Enomoto <atsushi@ximian.com>
722 * DataRow.cs : My previous patch unintentionally reverted Boris patch.
724 2004-04-29 Boris Kirzner <borisk@mainsoft.com>
726 * UniqueConstraint.cs : Constraint columns becaomes unique after adding constraint ifand only if
727 constraint is defined on single column.
729 2004-04-29 Atsushi Enomoto <atsushi@ximian.com>
731 * DataRowCollection.cs : .NET 1.1 throws InvalidConstaintException,
732 not ArgumentException (maybe changed after 1.1).
734 2004-04-29 Atsushi Enomoto <atsushi@ximian.com>
736 * DataRow.cs : When Column was added and it was AutoIncrement column,
737 it extended the item object array incorrectly.
738 (Plus tiny comment and incorrect indentation fix.)
740 2004-04-29 Boris Kirzner <borisk@mainsoft.com>
742 * MergeManager.cs : added ( incomplete yet ) support for merging DataSet schema.
744 2004-04-29 Boris Kirzner <borisk@mainsoft.com>
746 * DataRow.cs : Bug fix in CopyValuesToRow().
748 2004-04-29 Boris Kirzner <borisk@mainsoft.com>
750 * UniqueConstraint.cs : There is no reason to mark constraint's columns as unique, because
751 each of the columns should not be unique, but only all the constraint's columns together.
753 2004-04-28 Boris Kirzner <borisk@mainsoft.com>
756 - Added using of list of autoIncrement columns
757 - SetColumnValue receives also DataColumn to avoid duplicate lookup in DatacolumnCollection
758 - Fix in CheckNullConstraints
759 - Fix in this[] and HasVersion() : when evaluating an expression deleted rows values can be accessed.
760 - Fix in SetColumnValue() , added CanAccess() method to avoid case of accessing internal array values berore it actually allocated.
761 - Added onColumnRemoved() method to threat column removal accurately.
763 * DataRowCollection.cs :
764 - Added using of DataRow._nullConstraintViolation (for perfomance fix in EndLoadData())
765 - Added method onColumnRemoved() - calls each row's onColumnRemoved() (to ensure column removal is treated accurately)
768 - Call DataRowCollection.onColumnRemoved() in OnRemoveColumn() (to ensure column removal is treated accurately)
770 * DataColumnCollection.cs :
772 - collection holds a list of its autoIncrement columns (avoids unnesessary lookup through whole collection)
773 - collection holds mapping from column names to DataColumn objects (avoids lookup through whole collection).
774 - automatic creation of column names rewrited (bug fixes + perfomance improvement)
777 - Uses autoincrement list of a table
779 2004-04-27 Atsushi Enomoto <atsushi@ximian.com>
781 * XmlDataLoader.cs : Even when it should ignore schema, it was
783 * XmlSchemaDataImporter.cs : DataRelation creation support.
784 Improved "DataSet" element handing. When attributes are on the
785 element, it is not a "DataSet" element.
786 Fixed parent key column name.
787 Unique name creation is not required. Just raise an error.
788 Fill facet also for attribute types.
790 2004-04-27 Atsushi Enomoto <atsushi@ximian.com>
792 * DataRow.cs : Null check for CheckReadOnlyStatus() and
793 CheckNullConstraints(), with some coding guideline fixes.
794 Type check should be done by Type instance comparison.
796 2004-04-27 Atsushi Enomoto <atsushi@ximian.com>
798 * DataColumnCollection.cs : When add a column to the collection, fill
799 auto-increment column.
801 2004-04-26 Boris Kirzner <borisk@mainsoft.com>
803 * DataColumn.cs : Small perfomance fix (avoid unnesessary string concatenation).
805 2004-04-26 Atsushi Enomoto <atsushi@ximian.com>
807 * CustomDataClassGenerator.cs : Added.
808 * TypedDataSetGenerator.cs : Implemented Generate().
809 Changed GenerateIdName() to call CustomDataClassGenerator.MakeSafeName
810 * XmlSchemaDataImporter.cs : Table Locale should be supplied.
812 2004-04-25 Boris Kirzner <borisk@mainsoft.com>
814 * DataTable.cs : Small perfomance fix (avoid unnesessary string concatenation).
816 2004-04-25 Boris Kirzner <borisk@mainsoft.com>
818 * Constraint.cs : Small perfomance fix (avoid unnesessary string concatenation).
820 2004-04-23 Umadevi S (sumadevi@novell.com)
821 * DataRow.cs: Checked BeginEdit,EndEdit,CancelEdit and Delete methods
822 - Added error handling to the above methods
824 2004-04-22 Atsushi Enomoto <atsushi@ximian.com>
826 * DataSet.cs : Data should be read when mode is IgnoreSchema (well,
827 the support is incomplete yet).
829 Reverted ReadModeSchema() argument change. XmlReadMode would be
830 useful to handle IgnoreSchema.
831 Don't overwrite DataSetName when mode is not such kind.
832 Set Prefix and Namespace as well as DataSetName.
833 AllowDBNull looks set false by default for element column.
834 Set unique constraint as primary key when infering the table schema.
836 2004-04-21 Atsushi Enomoto <atsushi@ximian.com>
839 Never set null string for Prefix and Namespace.
840 In InferXmlSchema() when null XmlReader is passed, just do nothing.
841 In WriteXmlSchema(string), earlier try block.
842 In BuildSchema(), try to add serialization namespaces for each
843 namespaces in DataSet/DataTable/DataColumn.
844 Removed namespace argument from WriteColumnAsElement() and don't
845 overwrite when namespace is "". This fixes bug #57330.
846 * DataColumn.cs : For Namespace and Prefix, never set null.
848 2004-04-21 Boris Kirzner <borisk@mainsoft.com>
850 * XmlSchemaMapper.cs : Check for not null unique constraint in ReadXmlSchemaKeyref()
851 before creating and adding foreign key constraint and relation.
853 2004-04-21 Boris Kirzner <borisk@mainsoft.com>
855 * MergeManager.cs : In AdjustSchema() source table clone should be added
856 and not the table itself.
858 2004-04-21 Boris Kirzner <borisk@mainsoft.com>
861 - CaseSensitive : Additional fix (removed unnesessary assignment).
862 - CopyProperties : Do not try to copy ExtendedProperties if the collection is empty.
864 2004-04-21 Boris Kirzner <borisk@mainsoft.com>
866 * DataTable.cs : Ensure that DataSet property is not null before using it in Clear().
868 2004-04-20 Boris Kirzner <borisk@mainsoft.com>
871 - EndLoadData() : perfomance fix in case of null constraint violation
872 during data load (also in DataRow.cs).
873 - CaseSensitive : If DataTable belongs to DataSet it should always use
874 DataSet.CaseSensitive untill explicitly changed.
875 - CopyProperties() : do not try to copy ExtendedProperties if the collection is empty.
878 - Pefromance fix in case of null constraint violation
879 during data load (also in DataTable.cs).
880 - CollectionChanged() : use correct column number after new DataColumn was added
881 (differs in case some DataColumn was previosly removed).
882 - EndEdit() - throw away proposed values only after CheckChildRows() complete.
884 2004-04-20 Boris Kirzner <borisk@mainsoft.com>
886 * DataColumnCollection.cs : Since unique constraint is added now
887 in DataColumn.SetTable() the additional creation of constraint in
888 DataColumnCollection.Add() is redundant and causes exception - fixed.
890 2004-04-19 Atsushi Enomoto <atsushi@ximian.com>
892 * XmlDataLoader.cs : Added "never add data rows" mode.
893 Removed unused code. However, it is temporary fixes to unify
894 ReadXml() and InferXmlSchema().
895 * DataSet.cs : Implemented InferXmlSchema(), though it is incomplete.
897 I'll create another XmlDataLoader since there are many problems
898 such that 1) it is too waste to read the entire xml into an
899 XmlDocument, 2) it does not handle attributes correctly, and 3) it
900 must handle "ignored namespaces".
902 2004-04-19 Atsushi Enomoto <atsushi@ximian.com>
904 * Added XmlSchemaDataImporter.cs (new schema reader).
905 * DataSet.cs : Use XmlSchemaDataImporter (right now for DataSet only)
907 Let schema reading work to ReadXmlSchema().
908 Don't return ReadSchema when argument read mode was DiffGram.
910 2004-04-15 Umadevi S (sumadevi@novell.com)
911 * Updated Clone/Copy methods in DataSet along with Testcase
912 * ForeignKeyConstraint.cs - special ctor implemented
913 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).
914 * Changes in ConstraintCollection.cs for the above
915 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.
918 2004-04-15 Atsushi Enomoto <atsushi@ximian.com>
920 * XmlSchemaMapper.cs : set parent key and foreign key info to
921 DataRelation when reading refkey constraints.
922 Supply constraint name for fkey.
924 2004-04-15 Atsushi Enomoto <atsushi@ximian.com>
926 * XmlDataLoader.cs : Don't overwrite existing DataSetName. When read
927 mode is Auto, just ignore the schema if there is already schema info.
928 * DataSet.cs : Similarly ignore schema info for XmlReadMode = Auto.
930 2004-04-14 Atsushi Enomoto <atsushi@ximian.com>
933 - In MS output, XML declaration looks to have standalone decl (yes).
934 - ReadXml(reader) just calls to ReadXml(reader, XmlReadMode.Auto)
935 - ReadXml(reader, mode)
936 1) return originally specified mode, instead of (always) Auto.
937 2) Check empty reader.
938 3) Check diffgram schema and content separately.
939 4) When diffgram exists, remaining (the same-level) contents
941 5) Similar fact should be applied, but somewhat different.
942 InferSchema and IgnoreSchema just skips, Fragment reads both
943 schema and content, others just reads schema.
944 - Removed unused code.
946 - Read() should skip in some ReadMode.
947 - Don't compare schema element name as case-insensitive (well,
948 should schemas be checked here?)
949 - Avoided BuildDocument() not to create confusing DataSet
951 - Don't add any tables when reader has single element.
953 When target table was not found, MS.NET doesn't raise an error.
954 * XmlSchemaMapper.cs :
955 When XmlSchema.Read() left xml reader at </xs:schema>, read once.
957 2004-04-13 Atsushi Enomoto <atsushi@ximian.com>
960 - InferXmlSchema(): Throw explicit NotImplementedException now.
961 - Don't put XML declaration everywhere. Write just for filename arg.
962 - xmlns="" should not be written. Maybe WebService problem is
963 because default namespace is overwritten. This patch will keep
964 the WS problem away and actually fixes some unit tests (i.e. use
965 explicit String.Empty for null namespace in WriteStartElement()).
966 - MoveToContent() should always be called, not only when
967 LocalName="xml". It will ignore prolog (DTD, PI, comment etc.).
968 - Even XmlReadMode is DiffGram, reader might not be "diffgram"
969 element. As to MSDN, diffgram does not contain schema.
971 2004-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
973 * DataTable.cs: made _initStatus private so that System.Data is CLS
976 2004-04-13 Umadevi S <sumadevi@novell.com>
977 * UniqueConstraint.cs:
978 * ConstraintCollection.cs:
980 - Implemented a Constructor for UniqueConstraint.cs
981 - Used EndInit on DataTable to call a delegate which adds the
982 constraints passed to the most recent call of AddRange().Used
983 AddRange() on ConstraintCollection to check whether
984 DataTable.BeginInit has occurred. If yes, save the argument
985 constraint collection passed, then return. If no, Check whether the
986 constraints are of type UniqueConstraint and initialized with the
987 special constructor If yes Initialized the table property of this
988 UniqueConstraint object with table assosciated with the current
989 instance of ConstraintCollection class.
991 2004-04-07 Marek Safar <marek.safar@seznam.cz>
993 * Constraint.cs: changed ClsCompliant to CLSCompliant, build fix.
995 2004-04-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
998 * DataColumnCollection.cs:
999 * DataRelationCollection.cs:
1000 * DataRowCollection.cs:
1001 * DataTableCollection.cs:
1002 * InternalDataCollectionBase.cs:
1003 * Node.cs: CLS compliance for System.Data. Patch by Gert Driesen.
1006 2004-04-05 Jackson Harper <jackson@ximian.com>
1008 * DataTable.cs: Add rows to the row list if there is no filter.
1010 2004-03-31 Juraj Skripsky <juraj@hotfeet.ch>
1012 * DataColumn.cs : Setting Caption to null sets it to the empty string
1013 (ms.net behaviour, testcase is in DataColumnTest).
1015 * DataRow.cs : Evaluate DataColumn.Expression when such a column's
1018 2004-03-30 Lluis Sanchez Gual <lluis@ximian.com>
1020 * DataColumn.cs: In Expression setter, set the expression member even if
1021 it is an empty string.
1022 * DataSet.cs: Support serialization of byte[] columns.
1023 * XmlDataLoader.cs: Support deserialization of Guid columns.
1024 Set MappingType.Attribute to columns infered from attributes.
1026 2004-03-29 Juraj Skripsky <juraj@hotfeet.ch>
1028 * ExpressionElements.cs : remove
1029 * DataColumn.cs, DataRelationCollection.cs, DataTable.cs :
1030 Integration of new Mono.Data.SqlExpressions classes used in
1031 DataTable.{Select, Compute}.
1032 Fixes bug #55503 and lots of failures in DataTableTest.cs.
1034 2004-03-28 Juraj Skripsky <juraj@hotfeet.ch>
1036 * Index.cs: Simple fix in ComparePartialRowNonUnique.
1037 This fixes bugs #56129 and #56014.
1039 2004-03-25 Lluis Sanchez Gual <lluis@ximian.com>
1041 * DataSet.cs: In WriteXml (string filename, XmlWriteMode mode), close the
1042 stream after writing the dataset. This fixes bug #52581.
1043 Also added several writer.Close into finally blocks, so writers are properly
1044 closed in case of an exception.
1046 2004-03-12 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1048 * Constraint.cs: DO NOT USE the consts scheme if types can be referenced directly!
1049 * DataColumn.cs: DO NOT USE the consts scheme if types can be referenced directly!
1050 * ColumnTypeConverter.cs: Added stub
1051 * DefaultValueTypeConverter: Added stub
1052 * ConstraintConverter.cs: Added stub
1054 2004-03-04 Eran Domb <erand@mainsoft.com>
1056 * XmlDataLoader.cs : Xml reading reviewed. Added support for additional xml formats as described
1057 in MS.NET documentation (missing DataSet element etc).
1059 2004-03-04 Eran Domb <erand@mainsoft.com>
1062 * Index.cs : Rollback last changes.
1064 2004-03-03 Atsushi Enomoto <atsushi@ximian.com>
1066 * Index.cs : justa build fix.
1068 2004-03-03 Eran Domb <erand@mainsoft.com>
1071 * Constraint.cs, ForeignKeyConstraint.cs, UniqueConstraint, ConstraintCollection.cs, DataColumn.cs,
1072 DataRow.cs, DataRowCollection.cs, DataSet.cs, DataTable.cs : Changes made for using indexes on tables.
1073 This changes made for performance improvement.
1075 2004-02-08 Eran Domb <erand@mainsoft.com>
1077 * XmlSchemaMapper.cs : Read columns is they were written as SimpleContent or as Attributes.
1079 2004-02-08 Eran Domb <erand@mainsoft.com>
1081 * DataSet.cs: Fix some bugs in ReadXml().
1083 2004-02-04 Lluis Sanchez Gual <lluis@ximian.com>
1085 * DataSet.cs: Added missing method that broke the build.
1087 2004-02-04 Eran Domb <erand@mainsoft.com>
1089 * DataRowCollection.cs (InsertAt): Add a check for null row. Replace check of IndexOf with RowId for
1091 * DataSet.cs (GetTableSchema) : Add supprot for simple content columns. Change the condition for a case
1092 when all column are attributes (elements count is 0), we still want to add the relations. No relations
1093 can be on simple contents.
1094 (AddUniqueConstraints) Check that the column of the constraint are not hidden.
1095 (AddForeignKeys) Check that the relation has constraints attach to it.
1096 * XmlConstants.cs : Added constant.
1098 2004-02-04 Eran Domb <erand@mainsoft.com>
1100 * DataSet.cs : GetSchemaSerializable() return null and not BuildSchema().
1101 DoWriteXmlSchema calls BuildSchema ().
1103 2004-02-04 Lluis Sanchez Gual <lluis@ximian.com>
1105 * DataRow.cs: Added SetOriginalValue(), which is used to set the original
1107 * DataRowCollection.cs: In InsertAt(), perform the correct checks and
1109 * DataSet.cs: Fixed method GetChanges(): Parent rows of modified rows must
1110 also be added to the dataset.
1111 In WriteTable(), do not write unchanged rows when writing the original
1112 version of the table.
1113 Added WriteIndividualTableContent(), for writing the contents of a single
1115 Changed BuildSchema and related methods, so it can generate a schema for
1116 any set of tables, not just the tables of the dataset (needed for
1117 single datatable serialization).
1118 * DataTable.cs: Implemented serialization constructor and GetObjectData method.
1119 Also implemented some ReadXmlSchema methods.
1120 * XmlDiffLoader.cs: Read and process the xml document directly from XmlReader,
1121 instead of loading the full dataset in an XmlDocument. It is faster and
1122 saves memory. Also fixed several problems when generating the changes.
1123 * XmlSchemaMapper.cs: Support reading schemas for single tables (used by
1124 table serialization).
1126 2004-02-02 Eran Domb <erand@mainsoft.com>
1128 * DataSet.cs : Add indentation to the xml serialization only if we create the XmlWriter.
1129 Add the namespace attribute even if namespace is an empty string for inteoperability with MS.NET.
1130 * DataTable.cs (NewRow): Create only one DataRowBuilder.
1131 Initiate new row with row id -1.
1132 * DataRow.cs : Add RowId property.
1133 * DataRowBuilder.cs : Add _rowId member.
1134 * DataRowCollection.cs (Add) : Use the RowId property of the new row to check if it is already exists in the collection.
1136 2004-01-26 Eran Domb <erand@mainsoft.com>
1138 * XmlConstants.cs : Added some constants.
1139 * DataColumn.cs : Added a method to retrive AutoIncrement value.
1140 * XmlDataLoader.cs : Set the value of the foriegn key column, according to the value of the
1141 parent table column.
1142 * XmlDiffLoader.cs : Convert the value comming from the xml.
1143 * XmlSchemaMapper.cs (Read) : Set the DataSet namespace.
1144 (ReadXmlSchemaSequence) : Change the logic that decides if this element is a column or a table.
1145 (ReadXmlSchemaElement) : Set the locale of the dataset.
1146 (ReadColumn) : Set the column type. Find if the column is AutoIncrement.
1147 (GetColumnType) : New method to get the column type from the attribute value.
1148 (ReadXmlSchemaUnique) : Improve parsing of XPath. Set the constraint as a PK if needed,
1149 and add the constraint to the table.
1150 (ReadXmlSchemaKeyref) : Improve parsing of XPath. Create the FK constraint and add it to
1152 * DataSet.cs : Improving writing of unique constraints, and foriegn key constraint. Givving them the correct names.
1153 Writing more information to the schema for interoperability with ms.net.
1154 Improve diffgarm writing mode.
1157 2004-01-21 Atsushi Enomoto <atsushi@ximian.com>
1159 * TypedDataSetGenerator.cs : Implemented GenerateIdName().
1161 2004-01-21 Eran Domb <erand@mainsoft.com>
1163 * XmlDataLoader.cs (AddRowToTable) : Give thre new relation correct name.
1164 Do not set the child column to be AutoIncrement.
1165 Create the new column for the relation as MappingType.Hidden so they will not be serialized
1166 when writing the dataset to xml.
1168 2004-01-20 Atsushi Enomoto <atsushi@ximian.com>
1170 * Added missing TypedDataSetGenerator.cs.
1172 2004-01-08 Eran Domb <erand@mainsoft.com>
1174 * XmlSchemaMapper.cs : Fix a bug. Check if table already in DataSet before adding it.
1175 * DataSet.cs (ReadXml) : Fix bugs. Read correctly the xml file with XmlReadMode of DiffGram,
1176 InferSchema, ReadSchema and IgnoreSchema.
1177 * XmlDataLoader.cs : All modes use the same logic.
1178 * XmlDiffLoader.cs : Adding BuildXmlDocument method to the class.
1180 2004-01-06 Eran Domb <erand@mainsoft.com>
1182 * DataRelationCollection.cs : Use IndexOf in indexer.
1183 * DataSet.cs : Adding support for WriteXml with diffgram. Code style changes.
1184 * XmlDataLoader.cs : Set the DataSet.enforceConstraints to false before loading the tables.
1185 * XmlDiffLoader.cs : Reading nested tables.
1186 * XmlSchemaMapper.cs : Reading the relation.
1187 * XmlConstants.cs : Adding some constants.
1189 2004-01-05 Jackson Harper <jackson@ximian.com>
1191 * DataView.cs: Set readonly property of property descriptor. This
1194 2004-01-01 Sanjay Gupta <gsanjay@novell.com>
1196 * DataRelationCollection.cs : Fixed incorrect generation of default
1198 * DataSet.cs : Added missing functionality in WriteXml().
1199 * XmlConstants.cs : Added new constants.
1201 2003-12-27 Atsushi Enomoto <atsushi@ximian.com>
1203 * DataSet.cs : Fixed incorrect WriteXml() signature.
1205 2003-12-18 Jackson Harper <jackson@ximian.com>
1207 * DataView.cs: Implement AddNew, Delete, and OnListChanged.
1209 2003-12-17 Atsushi Enomoto <atsushi@ximian.com>
1211 * DataSet.cs, XmlDataLoader.cs : Table name should be encoded before
1212 they take shape of xml. This fixed bug #52240
1214 2003-12-16 Tim Coleman <tim@timcoleman.com>
1215 * KeyRestrictionBehavior.cs:
1216 New stubs added for .NET 1.2
1220 2003-12-08 Eran Domb <erand@mainsoft.com>
1221 * DataColumn.cs (Expression) : Validate the expression.
1223 * DataRelationCollection.cs (IndexOf) : Added new method sensetive to case differences in relation name.
1224 (Contains, IndexOf, this[], Add) : Call new IndexOf when needed.
1226 * DataRow.cs (this[]) : Fix the condition for throwing RowNotInTableException.
1227 (RejectChanges) : Detach row when state was Added.
1228 (CollectionChanged) : Fix a bug.
1230 * ExpressionElement (ValidateExpression) : Fix a bug.
1232 * ForeignKeyConstraint.cs (AssertConstraint) : Added implementation. Check all rows from child table have
1233 a parent row in the parent table.
1234 (_validateColumns) : Fix bugs.
1236 * MergeManager.cs (AdjustSchema) : Fix a bug.
1238 * XmlDataLoader.cs (ReadModeInferSchema) : Change implementation. Now we can read nested xml, and we generate the relations
1241 2003-11-30 Eran Domb <erand@mainsoft.com>
1242 * DataColumnCollection.cs (this[string name]) : Use IndexOf to find the column.
1243 (Add) : Find if the new column name is the same as the one found in IndexOf.
1244 (IndexOf) : New method.
1245 (Contains) : Use new IndexOf.
1246 (IndexOf) : Use new IndexOf.
1248 * DataRelationCollection.cs (DataRelationCollection.AddCore) : Add The Relation to the collection.
1249 (DataSetRelationCollection.AddCore) : First add the UniqueConstraint.
1251 * DataRow.cs (this[int columnIndex, DataRowVersion version]) : Change exceptions.
1252 (Delete) : Detach row if the RowState was Added.
1253 (GetChildRows) : Get the array form the ChildTable.
1254 (GetParentRows) : Get the array from the ParenTable.
1256 * DataRowCollection.cs (Remove) : Check if row state is Detached to avoid exception.
1258 * DataSet.cs (IXmlSerializable.ReadXml) : Do not call MoveToContent and ReadEndElement - the XmlSerializationReader does it.
1260 * DataTable.cs (PrimaryKey) : Fix bugs.
1261 (Compute) : First call Select. Then create ExpressionAggregate to aggregate the Select result.
1263 * DataTableCollection.cs (Add) : Fix a bug.
1265 * ExpressionElement.cs (ValidateExpression) : Turning ValidateExpression to static.
1266 (Result) : Added new interface to AggregateExpression that get DataRow[] as a param.
1267 Some code style changes (tab instead of whit spaces, alignment, etc...).
1269 * ForeignKeyConstraint.cs (_validateColumns) : Throw correct exception.
1271 * MergeManager.cs (AdjustSchema) : Fix a bug.
1275 2003-11-26 Miguel de Icaza <miguel@ximian.com>
1277 * DataSet.cs: Add a few more missing methods, code style updated
1280 2003-11-26 Tim Coleman <tim@timcoleman.com>
1282 * ConflictOptions.cs DataAdapterException.cs DataTableReader.cs
1283 * DbMetaData.cs FillOptions.cs IDataReader2.cs IDataRecord2.cs
1284 * IDataUpdatableRecord.cs IDbAsyncCommand.cs IDbAsyncConnection.cs
1285 * IDbExecutionContext.cs IGetTypedData.cs ISetTypedData.cs
1286 * LoadOption.cs OperationAbortedException.cs ResultSetOptions.cs
1287 * ResultSetSensitivity.cs StatementCompletedEventArgs.cs
1288 * StatementCompletedEventHandler.cs UpdateOptions.cs:
1289 New classes added for NET_2_0
1290 * DBConcurrencyException.cs DataRelation.cs DataSet.cs DataTable.cs
1291 * DataTableCollection.cs DataView.cs ForeignKeyConstraint.cs:
1292 Modifications to add new NET_2_0 functions
1294 2003-11-25 Tim Coleman <tim@timcoleman.com>
1298 2003-11-21 Pedro Martínez Juliá <yoros@wanadoo.es>
1300 * DataRow.cs: Detached row can be accesible (new rows from data
1301 table are detached). Closes but #51263.
1303 2003-11-19 Eran Domb <erand@mainsoft.com>
1304 * DataRow.cs : Throw exceptions if Row is Detached.
1305 (EndEdit) : Check that we are not in middle of ChangeEvent.
1306 (AcceptChanges) : Detach the row.
1308 * DataRelation.cs : throw correct exception.
1309 *UniqueConstraint.cs : throw correct exception.
1312 2003-11-09 Pedro Martínez Juliá <yoros@wanadoo.es>
1314 * DataRow.cs: Use RemoveInternal instead of Remove because the last
1315 one uses Delete and AcceptChanges.
1317 * DataRowCollection.cs: When removing, Delete and AcceptChanges
1318 method from the row are called. Added an internal method that will
1319 be used by DataRow to "physically" remove the row from the list.
1321 2003-11-09 Pedro Martínez Juliá <yoros@wanadoo.es>
1323 * DataRowCollection.cs: To follow the specification: Remove and
1324 RemoveAt should remove the row. But needed to call DeletingDataRow
1325 to prepare the deleting.
1327 * DataRow.cs: Don't call DeletingDataRow when it is called by the
1328 method Table.Rows.Remove.
1330 2003-11-09 Pedro Martínez Juliá <yoros@wanadoo.es>
1332 * DataRowCollection.cs: Make the row be deleted by itself. If not,
1333 it fails because we need to call OnRowDeleting and OnRowDeleted. It
1334 is full implemented inside DataRow.
1336 2003-11-05 Eran Domb <erand@mainsoft.com>
1337 * DataView.cs (ctor) : Changing default RowStateFilter to CurrentRow.
1339 2003-11-04 Eran Domb <erand@mainsoft.com>
1340 * DataRow.cs (CheckChildRows) : Improving the implementation - checking child for all FK, and not
1342 (GetChildRows) : Adding some checks.
1343 (GetParentRows) : Adding some checks. Fix a bug in implementation.
1344 (SetParentRow) : Added implementation.
1346 * DataRowCollection.cs (Add) : Added more checks on the row added to the collection.
1347 * DataTable.cs (Copy) : Set the During Loading flag to save unnecessary assertions.
1348 * ForeignKeyConstraint.cs (AssertConstraint) : Fixing bugs in implementation. Checking for DBNull values in the row.
1349 * MergeManager.cs : Check that the target table is not null.
1351 2003-10-27 Eran Domb <erand@mainsoft.com>
1352 * DataColumn.cs (DefaultValue) : Changing null value to DBNull. Checking that the type of the new default value
1353 can be converted to the column type.
1355 * DataRelationCollection.cs (AddCore) : Give the new FK the name of the relation.
1357 * DataRow.cs (EndEdit) : Check if we need to validate the constraints.
1358 (GetParentRows, GetChildRows) : Checking that the row has the wanted version, before accessing the row's value.
1360 * DataRowCollection.cs (Add) : Fixing a bug.
1361 (Clear) : Before clearing the array check that there is no violation of FK constraint.
1363 * DataSet.cs (Prefix) : If value is null chage it to empty string.
1364 (GetXml) : Removing the Processing Instructions from the xml string as in MS ADO.NET.
1366 * ExpressionElement : Adding support for IN expresion.
1368 * DataTable (CopyConstraints) : New method that copy the tables constraints to the copy table.
1369 (Select) : Adding support for DataViewwRowState.
1371 * ForeignKeyConstraint.cs (AssertConstraint) : Adding implementation.
1373 * MergeManager.cs (MergeRow) : Fix bugs.
1375 2003-10-27 Eran Domb <erand@mainsoft.com>
1376 * DataRow.cs (SetColumnValue): Donot check null value when in midle of loading data.
1377 check null values when ending loading data.
1379 * DataSet.cs (RejectChanges) : Imlementation.
1380 (Prefix) : If prefix was changed fire event. Check that the prefix is not null - if null,
1381 change it to empty string.
1383 * DataTable.cs (BeginLoadData, EndLoadData) : Impemantation.
1385 2003-10-22 Eran Domb <erand@mainsoft.com>
1386 * MergeManager.cs : Fixing bugs. Adding check for PrimaryKey matching.
1388 * ConstraintCollection.cs (RamoveAt): Change implemntation.
1390 * DataTableCollection (CanRemove): Removing cast to Constraint.
1392 2003-10-22 Eran Domb <erand@mainsoft.com>
1393 * DataRelationCollection.cs (AddCore): The unique constraint was added even if the createConstraints flag was false.
1394 (Clear): The collection was cleared without removing the relation from the parent and child tables.
1396 * DataSet.cs (Copy, Clone): The Relations of the DataSet were not copy.
1397 (HasChanges, Reset): Imlementation.
1399 * DataTable.cs (HasErrors): There is no flag for errors, instead the table ask her row if they have any errors.
\r
1400 This is because the we do not no when to turn off the flag.
1401 (Locale): Changing implementation to behave like ADO.NET.
1402 (AcceptChanges): Fix bug.
1403 (Clear): Check that this table is not referenced from a foreign key constraint.
1404 (Copy): Do not try to access a deleted row.
1405 (CopyProperties): Copy the PrimaryKey.
1406 (GetChanges, ImportRow): Implementation.
1407 (LoadDataRow): Adding implementation if the table has PrimaryKey.
1408 (ToString): Changing implementation to behave like ADO.NET.
1410 * UniqueConstraint.cs (AssertConstraint): support for Multiple DataColumns in the constraint.
1412 * DataRow.cs (Ctor): In the constructor we initiate the current array, but we should initiate only the proposed array for new rows.
1413 (HasErrors): Implementation.
1414 (Delete): Added checking for child rows of the deleted row.
1415 (EndEdit): Added checking for child row and firing events.
1416 (GetColumnError): Added a check that the method will not return null, as in ADO.NET(an empty string is returned).
1417 (GetColumnsInError): Added a check for null values in column error.
1418 (HasVersion): Added special treatment for special RowState.
1419 (CollectionChanged): More checks to avoid NullReferenceException.
1421 * DataRowCollection.cs (Remove): Fix a bug.
\r
1424 2003-10-01 Duncan Mak <duncan@ximian.com>
1426 More patches from Eran Domb <erand@mainsoft.com>.
1428 * MergeManager.cs: New file.
1430 * DataRelationCollection.cs (AddCore): Check that a
1431 UniqueConstraint is already exists. It loops over the Relations
1432 instead of the Constraints.
1433 (Add, AddCore): The relation was added twice.
1435 * DataSet.cs (Merge, GetChanges, HasChanges): Implemented.
1437 2003-09-30 Duncan Mak <duncan@ximian.com>
1439 Patches from Eran Domb <erand@mainsoft.com>.
1441 * DataRelation.cs (constructor): When the name of the relation is
1442 null, it should return an empty, not "Relation".
1444 * DataRow.cs (AcceptChanges): Added special case for
1446 (CancelEdit): Set editing flag to false.
1447 (IsNull): Check that the value is DBNull.
1449 * DataRowCollection.cs (Add): There was no check that the table of
1450 the collection is owned by a DataSet.
1452 * DataSet.cs (OnMergeFailed): Added.
1454 * UniqueConstraint.cs (AssertConstraint): There was no check that
1455 values in the row are not null, where it is a primary key
1456 column. Also check that the row has a proposed version, if not,
1457 get the current version when we compare the rows.
1459 2003-09-25 Duncan Mak <duncan@ximian.com>
1461 Patches from Eran Domb <erand@mainsoft.com>.
1463 * DataColumn.cs (Unique): Implemented.
1466 * ConstraintCollection.cs:
1467 * ForeignKeyConstraint.cs (_ensureUniqueConstraintExists): Fixes
1468 an Exception thrown. Details:
1469 http://lists.ximian.com/archives/public/mono-devel-list/2003-September/002130.html
1471 * DataRowCollection.cs (Add): There is no checking that there is
1472 no violation of the unique constrains.
1474 * UniqueConstraint.cs (AssertConstraint): There is no checking on
1475 all columns in the constraint.
1477 * DataTableCollection (Add): Correctly throw an Exception, more
1479 http://lists.ximian.com/archives/public/mono-devel-list/2003-September/002117.html
1480 (Remove, RemoveAt): Implemented.
1482 2003-07-31 Duncan Mak <duncan@ximian.com>
1484 * DBConcurrencyException.cs: Added new NET_1_1 no-param constructor.
1486 2003-07-25 Ravi Pratap <ravi@ximian.com>
1488 * DataRelation.cs (OnPropertyChanging): Calling the 'Invoke'
1489 method on a delegate is disallowed - fix this.
1491 2003-07-22 Lluis Sanchez Gual <lluis@ximian.com>
1493 * DataSet.cs: Implemented IXmlSerializable interface. Added basic support for
1494 xml serialization. Modified method of writing schema. Now it creates
1495 a XmlSchema object and serializes it using XmlSerializer.
1496 * XmlConstants.cs: Added constants for data type names.
1497 * XmlDataLoader.cs: Fixed deserialization of data. Now converts data to the
1498 type specified in the column.
1500 2003-04-20 Alan Tam <Tam@SiuLung.com>
1502 * DataRelationCollection.cs: Fix a bug that prevent relations
1503 from being added via DataSet.
1505 2003-04-12 Ville Palo <vi64pa@kolumbus.fi>
1507 * UniqueConstraint.cs: one tiny fix.
1509 2003-04-05 Ville Palo <vi64pa@kolumbus.fi>
1511 * DataTable.cs: Remove UniqueConstraints when adding new ones
1513 2003-04-04 Ville Palo <vi64pa@kolumbus.fi>
1515 * DataColumnCollection.cs: Little 'case sensitive' fix
1517 2003-04-04 Ville Palo <vi64pa@kolumbus.fi>
1519 * DataRow.cs: AutoIncrement handling to Constructor
1520 * DataRowCollection.cs: This doesnt need anymore AutoIncrements
1522 2003-03-27 Ville Palo <vi64pa@kolumbus.fi>
1524 * DataTable.cs: Some fixes to PrimaryKey etc...
1525 * UniqueConstraint.cs: Little clean up
1527 2003-03-27 Ville Palo <vi64pa@kolumbus.fi>
1529 * DataTable.cs: Tiny fix to ToString () -method
1531 2003-03-27 Ville Palo <vi64pa@kolumbus.fi>
1533 * ConstraintCollection.cs: Little fix.
1534 * DataColumn.cs: Added new internal method SetUnique()
1535 * UniqueConstraint.cs: some little fixes
1537 2003-03-26 Ville Palo <vi64pa@kolumbus.fi>
1539 * DataRowCollection.cs: Bugfixes, implementation,...
1541 2003-03-26 Ville Palo <vi64pa@kolumbus.fi>
1543 * DataColumn.cs: If DataType if set to something else than short, int
1544 or long and AutoIncrement is true, AutoIncrement is must set to false.
1546 2003-03-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1549 (BeginEdit): fixed array bound problem when a column has been added.
1550 (EndEdit): just assign proposed to current as proposed is set to null.
1551 This also fixes another array boudn problem.
1553 2003-03-21 Alan Tam <Tam@SiuLung.com>
1555 * DataRow.cs: Fixed problems in accessers, BeginEdit, CancelEdit,
1556 EndEdit and AcceptChanges to act correctly according to DataRowState
1558 * DataRowCollection.cs: Call AttachRow and DetachRow when a row is
1559 attached and detached from the collection.
1561 2003-03-20 Alan Tam <Tam@SiuLung.com>
1563 * DataColumn.cs: Store empty string for Expression when null is passed in.
1564 Classes generated by XSD.exe passes null by default.
1566 2003-03-16 Ville Palo <vi64pa@kolumbus.fi>
1568 * DataColumnCollection.cs: Tiny clean up
1570 2003-03-16 Ville Palo <vi64pa@kolumbus.fi>
1572 * DataColumn.cs: little fixes.
1573 * DataColumnCollection.cs: Lots of little fixes and improvments.
1575 2003-03-12 Alan Tam <Tam@SiuLung.com>
1577 * DataSet.cs: Fixed a bug that the file written does not close correctly.
1579 2003-03-08 Alan Tam <Tam@SiuLung.com>
1581 * DataRelationCollection.cs: Removed the mis-overridden methods
1582 * DataRow.cs: Fixed an attribute
1583 * DataSet.cs: Fixed the modifiers
1585 2003-03-06 Aleksey Demakov <avd@openlinksw.com>
1587 * DataTableCollection.cs: The Contains (string name),
1588 IndexOf (string name) methods, and item[string name] indexer
1589 now behave more like .NET with respect to case-sensitivity.
1590 That is if there is an exactly matching item then this one is used.
1591 If there is only one item differing in case then it used.
1592 If there are more than one item differing in case then
1593 Contains returns false, IndexOf returns -1, and item[]
1594 throws an ArgumentException.
1596 2003-02-28 Ville Palo <vi64pa@kolumbus.fi>
1598 * ExpressionElement.cs: More implementation.
1600 2003-02-28 Alan Tam <Tam@SiuLung.com>
1601 * DataSet.cs: Changed WriteTable so that it now calls the newly written
1602 WriteObjectXml to direct the call to the respective XmlConvert method.
1603 This fixes the wrong format written to XML files of bool, float,
1604 double, DateTime and TimeSpan types.
1606 2003-02-25 Alan Tam <Tam@SiuLung.com>
1608 * DataRelation.cs: Added SetDataSet for DataSetRelationCollection to use.
1609 * DataRelationCollection.cs: Implemented AddRange and Contains.
1610 Implemented AddRange, Clear, List and RemoveCore for DataSetRelationColletion.
1611 Implemented AddCore, List and RemoveCore for DataTableRelationCollection.
1612 Reimplemented most Add methods to eliminate duplicated checks.
1613 Centralized RelationName generation procedure in GetNextDefaultRelationName.
1615 2003-02-25 Alan Tam <Tam@SiuLung.com>
1617 * DataColumn.cs: Fixed wrong storage representation of Expression
1618 (using empty string instead of null) so that ToString() returns nothing.
1619 * DataColumnCollection.cs: Reimplemented GetNextDefaultColumnName so that
1620 auto column naming now works as expected. Reimplemented some Add methods
1621 to eliminate code duplication.
1623 2003-02-19 Ville Palo <vi64pa@kolumbus.fi>
1625 * DataTable.cs: DataTable.CaseSensitive follows parent
1626 DataSet.CaseSensitive property if DataTable.CaseSensitive has never
1627 been changed directly from DataTable
1629 2003-02-19 Ville Palo <vi64pa@kolumbus.fi>
1631 * DataSet.cs: When CaseSensitive property is changed all of the Tables
1632 of DataSet have to change too
1634 2003-02-19 Daniel Morgan <danmorg@sc.rr.com>
1636 * InternalDataCollectionBase.cs: revert change to field
1639 * DataViewManager.cs
1642 * DataSet.cs: commented use of DesignerAttribute
1643 because it broke the build. According to MSDN,
1644 DesignerAttribute does not have a zero-argument constructor
1646 2003-02-18 Ville Palo <vi64pa@kolumbus.fi>
1648 * DataColumnCollectin.cs: Little fix for indexer and case sensitivity
1650 2003-02-18 Alan Tam <Tam@SiuLung.com>
1652 * DataRow.cs: Implemented GetParentRow and GetParentRows.
1653 * DataSet.cs: Added stub for HasChanges, InferXmlSchema,
1654 OnPropertyChanging, OnRemoveRelation, OnRemoveTable,
1655 RaisePropertyChanging.
1656 * DataTable.cs: Implemented NewRowArray.
1657 * DataTablePropertyDescriptor: Fixed a modifier.
1658 * InternalDataCollectionBase.cs: Fixed modifiers. Implemented SyncRoot.
1659 * PropertyCollection.cs: Minor fix.
1660 * ConstraintCollection.cs DataColumn.cs DataColumnCollection.cs
1661 * DataRelation.cs DataRelationCollection.cs DataRow.cs
1662 * DataRowCollection.cs DataRowState.cs DataSet.cs DataTable.cs
1663 * DataTableCollection.cs DataTablePropertyDescriptor.cs DataView.cs
1664 * DataViewManager.cs DataViewRowState.cs DataViewSettingCollection.cs
1665 * ForeignKeyConstraint.cs InternalDataCollectionBase.cs
1666 * PropertyCollection.cs UniqueConstraint.cs: Added missing attributes
1668 2003-02-08 Ville Palo <vi64pa@koti.soon.fi>
1670 * ExpressionElement.cs: More implementation
1672 2003-02-05 Alan Tam <Tam@SiuLung.com>
1674 * DataSet.cs: Added framework for DataSet.Update Implemented missing
1675 methods GetSchemaSerializable, GetSerializationData,
1676 ReadXmlSerializable, ShouldSerializeRelations and ShouldSerializeTables
1678 * DataTable.cs: Implemented missing methods CreateInstance and
1679 GetRowType for DataTable
1681 2003-02-03 Ville Palo <vi64pa@koti.soon.fi>
1683 * DataSet.cs: Implemented private method MapType for
1684 mapping datatypes for XmlSchema
1686 2003-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1688 * DataView.cs: implemented Dispose.
1690 2003-01-30 Ville Palo <vi64pa@koti.soon.fi>
1692 * ExpressionElement.cs: Added new file. This file is for parsing
1693 and DataData.Select () -methods and DataColumn.Expression -property
1694 * DataTable.cs: Implemented Select(string) -method
1696 2003-01-28 Ville Palo <vi64pa@koti.soon.fi>
1698 * DataSet.cs: One little fix to writing xml
1700 2003-01-27 Ville Palo <vi64pa@koti.soon.fi>
1702 * XmlSchemaMapper.cs: Some fixes.
1703 * DatSet.cs: Some XmlFixes and BeginInit ()/ EndInit () -fix
1706 2003-01-24 Ville Palo <vi64pa@koti.soon.fi>
1708 * UniqueConstraint.cs: Do not set columns Unique property true
1710 * ForeignKeyConstraint.cs: Add UniqueConstraint to parent Table
1712 2003-01-18 Ville Palo <vi64pa@koti.soon.fi>
1714 * DataTableCollection.cs: Now names new DataTable if it doesn't
1715 already have a name.
1717 2003-01-17 Ville Palo <vi64pa@koti.soon.fi>
1719 * XmlSchemaMapper.cs: Improvments.
1720 * XmlConstaints.cs: Added more constants.
1721 * DataSet.cs: Improvments of reading and writing xml
1722 * DataColumn.cs: Added default values of properties.
1724 2003-01-14 Ville Palo <vi64pa@koti.soon.fi>
1726 * XmlSchemaMapper.cs: Some improvments
1728 2003-01-13 Ville Palo <vi64pa@koti.soon.fi>
1730 * DataRowCollection.cs: Added IndexOutOfRangeException
1731 * DataTableCollection.cs: Added OnCollectionChanging and
1732 OnCollectionChanged events.
1733 * DataSet.cs: Many fixes. Implemented Clone () and Copy () -methods
1734 * DataTable.cs: Implemented Copy () and Clone () methods.
1735 * XmlDataLoader.cs: some fixes.
1736 * XmlSchemaMapper.cs: comments.
1738 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1740 * DataColumnPropertyDescriptor.cs: store columnIndex in the .ctor.
1742 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1744 * DataColumnPropertyDescriptor.cs: fixed typo.
1745 * DataViewManagerListItemTypeDescriptor.cs: added new internal property
1746 to get the DataViewManager and removed TablePD class.
1747 * DataTablePropertyDescriptor.cs: TablePD class is now this one as
1748 suggested by danmorg.
1750 2003-01-06 Ville Palo <vi64pa@koti.soon.fi>
1752 * XmlDataLoader.cs: Moved diffgram stuff to new internal class
1754 * XmlDiffLoader.cs: new class for diffgrams. Added handling of
1755 diffgr:Errors and some fixes and changed XmlReader to XPathNavigator.
1757 2003-01-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1759 * DataView.cs: made dataViewManager internal.
1760 * DataViewManager.cs: use ICustomTypeDescriptor. We don't want the
1761 properties of the object, but the values of the columns present in a
1764 * DataViewManagerListItemTypeDescriptor.cs: implemented GetProperties,
1765 which returns a PropertyDescriptorCollection. Created a new class
1766 derived from PropertyDescriptor that treats Table as an object whose
1767 properties are DataRowView.
1769 2003-01-04 Ville Palo <vi64pa@koti.soon.fi>
1771 * XmlSchemaMapper.cs: Added handling for Constraints, Attributes.
1773 2003-01-04 Ville Palo <vi64pa@koti.soon.fi>
1775 * DataColumn.cs: ExtendedProperties is by default !null-
1777 2003-01-04 Ville Palo <vi64pa@koti.soon.fi>
1779 * DataColumnCollection.cs: Add (DataColumn Column) -method didn't
1780 set column's ordinal.
1782 2003-01-02 Ville Palo <vi64pa@koti.soon.fi>
1785 * XmlDataLoader.cs: XmlReader closing fixes.
1786 * XmlSchemaReader.cs: Added support for ref=
1788 2003-01-01 Ville Palo <vi64pa@koti.soon.fi>
1791 - Added XmlReader and XmlWriter Closing.
1792 - Moved ReadXmlSchema stuff to new internal class XmlSchemaMapper.
1793 * XmlSchemaMapper.cs
1794 - Much better way IMHO to map xmlschema than the old one in
1795 DataSet.cs. Its, more flexible, cleaner, ...
1797 2002-12-29 Ville Palo <vi64pa@koti.soon.fi>
1799 * XmlDataLoader.cs: Reading diffgrams.
1801 2002-12-29 Ville Palo <vi64pa@koti.soon.fi>
1803 * DataRow.cs: Little fix to indexer and DataColumnCang* trigger fixes.
1804 * DataTable.cs: Added ChanginDataColumn () for triggering
1805 DataColumnChanging event
1807 2002-12-28 Ville Palo <vi64pa@koti.soon.fi>
1809 * DataSet.cs: Indentations to WriteXmlSchema () and one little fix
1811 2002-12-28 Ville Palo <vi64pa@koti.soon.fi>
1813 * DataSet.cs: Indentations to WriteXml ()
1815 2002-12-27 Ville Palo <vi64pa@koti.soon.fi>
1818 * XmlDataLoader.cs: Moved ReadXml -stuff from DataSet.cs to new
1819 class XmlDataLoader.cs
1821 2002-12-19 Ville Palo <vi64pa@koti.soon.fi>
1823 * DataSet.cs Implemented ReadXml with XmlReadMode.ReadSchema
1825 2002-12-18 Ville Palo <vi64pa@koti.soon.fi>
1827 * DataSet.cs: Started to implement ReadXml-methods.
1829 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1831 * DataSet.cs: implemented DefaultViewManager and GetList.
1833 * DataViewManager.cs: a bit of work on IList and ITypedList needed by
1834 DataList in System.Web.
1836 * DataViewManagerListItemTypeDescriptor.cs: custom type descriptor for
1839 2002-12-16 Ville Palo <vi64pa@koti.soon.fi>
1842 * DataTable.cs: Fixed NullException (rollback -event)
1843 * DataSet.cs: WriteXml -method does not anymore write <?xml... row.
1845 2002-12-15 Ville Palo <vi64pa@koti.soon.fi>
1848 * DataRowCollection.cs: Moved event triggering from DataRow to
1851 2002-12-09 Ville Palo <vi64pa@koti.soon.fi>
1853 * DataSet.cs: Little fix to WriteTable () -method
1854 and DoReadXmlSchema () -method.
1856 2002-12-06 Ville Palo <vi64pa@koti.soon.fi>
1858 * DataSet.cs: Clean up to reading xmlschema. This looks much better
1859 now (work better too), but it not working correctly yet.
1861 2002-12-04 Ville Palo <vi64pa@koti.soon.fi>
1864 * DataRowCollection.cs: Added some event handlins stuff.
1865 * DataSet.cs: Some fixes.
1866 * DataTable.cs: Added event handlers.
1868 2002-11-30 Ville Palo <vi64pa@koti.soon.fi>
1870 * DataRowChangeEventArgs.cs: Implemented Action and Row properties
1872 2002-11-30 Ville Palo <vi64pa@koti.soon.fi>
1874 * System.Data/DataRow.cs: Added internal property XmlDataID
1876 2002-11-29 Ville Palo <vi64pa@koti.soon.fi>
1878 * DataSystem.Data.DataTableCollection.cs:
1879 Removed HashTable. There could be situations where DataTable
1880 is added to collection before it hava TableName. So using
1881 HashTable is impossible.
1883 2002-11-19 Carlos Guzmán Álvarez <carlosga@telefonica.net>
1885 * DataRow.cs: an object that is equal to null
1886 should be allowed to be set in this indexer too
1889 2002-11-06 Daniel Morgan <danmorg@sc.rr.com>
1891 * DataColumnPropertyDescriptor.cs: added file
1893 * System.Data/DataRowView.cs: started implementation
1895 * DataTable.cs: stubbed more interfaces. Implemented
1896 IListSource.GetList()
1898 * DataView.cs: stubbed more interfaces. Implemented
1899 some properties and methods: GetEnumerator(),
1900 ITypedList.GetItemProperties, Item indexer, CopyTo()
1902 2002-05-18 Nick Drochak <ndrochak@gol.com>
1904 * DataRow.cs: Fix typo.