1 2005-01-31 Atsushi Enomoto <atsushi@ximian.com>
3 * DataView.cs :some interface implementations.
5 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
7 * DataView.cs : Add to table only when the row is not in the table.
9 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
11 * DataView.cs : implemented FindRows() (btw we should not use
12 DataTable since there are detached rows by AddNew().)
14 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
17 Code cleanup: privatify some members, remove unused methods.
18 Some event-based invocation methods should not raise NotImplemented.
20 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
22 * DataSet.cs : ReadXml() became closer to MS behavior, being hacky.
24 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
26 * XmlSchemaDataImporter.cs : empty element is not regarded as a column.
28 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
30 * UniqueConstraint.cs : mostly reverted the previous patch + check
31 IsPrimaryKey before validation.
33 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
35 * DataView.cs : Fixed duplicate insertion to Hashtable.
36 * UniqueConstraint.cs : Unique constrained pair of columns could be
39 2005-01-27 Atsushi Enomoto <atsushi@ximian.com>
42 Don't do anything for Sort/ApplyDefaultSort/RowFilter/RowStateFilter
43 when the same value is being set.
44 Examined UpdateIndex() and marked FIXME where MS does not invoke it.
45 Removed unused OnColumnChanged().
46 Now store rowViewPool and reuse DataRowView objects.
47 Optimized UpdateIndex() - avoid ArrayList. Avoid Haashtable.Rehash().
49 2005-01-27 Atsushi Enomoto <atsushi@ximian.com>
51 * DataViewSettings.cs : no MonoTODO anymore.
52 * DataViewManager.cs : pass itself to new DataView() (new ctor).
53 * DataRowView.cs : GetHashCode() returns its Row's hash.
54 * DataTablePropertyDescriptor.cs : use new ctor().
55 * DataView.cs : added new ctor()s that accept DataViewManager.
57 2005-01-27 Atsushi Enomoto <atsushi@ximian.com>
59 * DataView.cs, DataRowView.cs : AddNew() should not add the row to table
60 (it is still detached). So handle those rows differntly.
61 CancelEdit(), EndEdit() and Delete() propagates those events to
62 DataView (and handle row collection).
63 Eliminate "throw new Exception()".
64 Don't catch all the exception thrown in ListChanged event.
65 * DataTable.cs : made RowSorter as internal and use it in DataView.
66 no need to pass DataRow[] to .ctor().
68 2005-01-27 Atsushi Enomoto <atsushi@ximian.com>
70 * DataTable.cs : don't create DefaultView unless it is required. It
71 significantly improves performance. (i.e. DataView perf. is sick ;-)
73 2005-01-27 Atsushi Enomoto <atsushi@ximian.com>
76 DataViewSettingCollection.cs,
77 DataViewManager.cs : implemented basic members.
79 2005-01-26 Atsushi Enomoto <atsushi@ximian.com>
81 * Node.cs, DataColumnPropertyDescriptor.cs, DataTable.cs :
82 Eliminate "throw new Exception".
84 2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
86 * DataRow.cs : (set_Item) RowNotInTableExeption check should be done
87 regardless of index existence.
89 2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
91 * DataTable.cs : use new IExpression.EvalBoolean() to avoid extraneous
94 2005-01-25 Sureshkumar T <tsureshkumar@novell.com>
96 * DataTable.cs: ImportRow :Do not add to rows collection if the
97 import row is in detached state.
99 2005-01-25 Sureshkumar T <tsureshkumar@novell.com>
101 * DataRow.cs: CopyValuesToRow : set the column value with the
102 default version of the given row.
103 * DataTable.cs: ImportRow: Copy values before adding row.
104 * DataSet.cs: AddChangedRow: Add the row to the table after
107 Fixes bug #67317. Patch by Ankit Jain.
109 2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
111 * DataRowView.cs : Fixed IsEdit to reflect correct status of DataRow.
112 * DataRow.cs : Expose editing status internally.
114 2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
116 * DataView.cs : missing attributes.
118 2005-01-24 Atsushi Enomoto <atsushi@ximian.com>
120 * DataRowView.cs : implemented CreateChildView().
122 2005-01-24 Atsushi Enomoto <atsushi@ximian.com>
124 * DataTable.cs, DataView.cs :
125 Optimized DataView to compile only once RowFilter and Sort when
126 those properties are set. To make it possible, extracted
127 SortableColumn out of DataTable and added internal DataTable.Select()
128 that accepts precompiled IExpression and SortableColumns[].
130 2005-01-24 Atsushi Enomoto <atsushi@ximian.com>
132 * DataColumn.cs : set_MaxLength is not allowed when it is mapped to
133 SimpleContent. (However, it is weird but it never fails when we set
134 ColumnMapping = MappingType.SimpleContent when we fhave MaxLength.)
136 2005-01-21 Atsushi Enomoto <atsushi@ximian.com>
138 * DataRow.cs : more Current -> Default fixes. Check if it should throw
139 VersionNotFoundException. Patch by Ankit Jain.
141 2005-01-21 Atsushi Enomoto <atsushi@ximian.com>
143 * DataRow.cs : Default selects the right version for the current
144 state of the row. Current is not always available. Also change
145 that for GetParentRow(). Patch by Ankit Jain.
147 2005-01-21 Atsushi Enomoto <atsushi@ximian.com>
149 * DataTable.cs : CopyColumn() should copy AutoIncrement after
150 DefaultValue, or it will raise an error in some cases.
152 2005-01-20 Atsushi Enomoto <atsushi@ximian.com>
154 * ConstraintCollection.cs : Add() should throw ArgumentException when
155 the argument constraint fails validation.
156 DataTable.cs : set_PrimaryKey should throw ArgumentException when
157 the argument contains constraints which fail validation.
159 2005-01-19 Sureshkumar T <tsureshkumar@novell.com>
161 * DataRelationCollection.cs:
163 Method Remove : Donot throw exception if DataRelation argument is
164 null in DataRelationCollection.Remove method.
166 Method RemoveAt : Exception should be IndexOutOfRangeException if
167 row index is not in list range.
169 Fixes nunit failures DataRelationCollection.Remove and
170 DataRelationCollection.RemoveAt.
172 2005-01-19 Sureshkumar T <tsureshkumar@novell.com>
174 * ConstraintCollection.cs: Donot throw exception if constraints
175 are null in AddRange method. Check for null before using the
180 2004-01-19 Atsushi Enomoto <atsushi@ximian.com>
182 * XmlDataInferenceLoader.cs,
183 XmlDataReader.cs : Check if the XmlReader (node) represents DataSet
184 or a table, reusing code block in XmlDataInferenceLoader.
185 This fixes bug #60118.
187 2004-01-19 Atsushi Enomoto <atsushi@ximian.com>
189 * XmlDiffLoader.cs : Ankit Jain <radical@imt.ac.in> has a conflicting
190 patches and some good catches. Some attributes should be skipped,
191 and loaded value must be typed.
193 2004-01-19 Atsushi Enomoto <atsushi@ximian.com>
196 XmlDataInferenceLoader.cs,
197 XmlDataReader.cs : use common const for http://www.w3.org/2000/xmlns/.
198 * XmlDiffLoader.cs : It was not handling attributes. Fixed bug #70961.
200 2005-01-18 Sureshkumar T <tsureshkumar@novell.com>
202 Fix for bug #66838. This patch is submitted by "Ankit Jain"
203 <radical@corewars.org> and refactored.
205 * DataRow.cs: Allows to set a parent row even if the row is in
208 * DataRelation.cs: method "UpdateConstraints" is added to check
209 and create missing keys when adding a relation. This is refactored
210 approach from DataRelationCollection.Add method.
212 * DataRelationCollection.cs: AddCore methods of all relation types
213 are synchronized. A Check for existing constraints is
214 done. Relation is added to the list only if all checks are passed.
216 2004-01-18 Atsushi Enomoto <atsushi@ximian.com>
218 * DataColumnCollection.cs : Clear() throws ArgumentException that
219 wraps thrown innerException.
220 * XmlSchemaDataImporter.cs : removed FIXMEs.
222 2004-01-12 Atsushi Enomoto <atsushi@ximian.com>
224 * DataSet.cs : When serializing DataTable, BuildSchema() is passed
225 null relation collections.
226 Quick fix for XmlSerializer deserialization. It does not require
229 2004-01-11 Atsushi Enomoto <atsushi@ximian.com>
232 CustomDataClassGenerator.cs :
233 In DataSet class, IXmlSerializable.GetSchema() returns null.
234 In strongly-typed class, it returns schema.
236 2004-01-07 Atsushi Enomoto <atsushi@ximian.com>
238 * XmlDataInferenceLoader.cs : test driver class should be excluded.
240 2004-12-01 Miguel de Icaza <miguel@ximian.com>
242 * DataView.cs: Patch from Marc Haisenko that ensures that rowCache
245 2004-11-10 Atsushi Enomoto <atsushi@ximian.com>
247 * CustomDataClassGenerator.cs : generated foreign key constraint
248 construction code was creating empty child columns and thus it
249 was invalid. This fixes bug #69276 (patch by Martin Voelkle).
251 2004-11-02 Atsushi Enomoto <atsushi@ximian.com>
253 * CustomDataClassGenerator.cs : custom DataTable ctor should call
254 InitializeFields(), and those DataColumns created by that method
255 should take data type. This should fix bug #68972.
257 2004-10-15 Atsushi Enomoto <atsushi@ximian.com>
259 * DataSet.cs : Also clear UnhandledAttributes ArrayList before
260 generating next attribute column schema. This fixes bug #68432.
262 2004-10-14 Umadevi S <sumadevi@novell.com>
263 * DataTable.cs : Corrected the Clone method to use Activator.CreateInstance so that the
264 correct subclass is returned. This fixes bug #67631
266 2004-10-14 Umadevi S <sumadevi@novell.com>
267 * DataSet.cs : Corrected the Clone method to use Activator.CreateInstance so that the
268 correct subclass is returned. This fixes bug #67627
270 2004-10-13 Atsushi Enomoto <atsushi@ximian.com>
272 * DataSet.cs : clear UnhandledAttributes ArrayList before generating
273 next element column schema. This fixes bug #68256.
275 2004-10-12 Atsushi Enomoto <atsushi@ximian.com>
277 * DataSet.cs : now xs:schema contains xmlns="".
278 This fixes bug #68008.
280 2004-10-12 Atsushi Enomoto <atsushi@ximian.com>
282 * DataSet.cs : DBNull attribute column should not be written as
283 empty attribute. This fixes bug #68007.
285 2004-10-12 Atsushi Enomoto <atsushi@ximian.com>
287 * DataSet.cs, XmlConstant.cs, XmlSchemaDataImporter.cs:
288 DataColumn.ReadOnly was not handled. This fixes bug #68005.
289 Attribute defaultValue was not handled too.
291 2004-10-07 Atsushi Enomoto <atsushi@ximian.com>
294 - When AllowDBNull is false on attribute DataColumn, its schema
295 should contain use="required". This fixes bug #66792.
296 - If MaxLength is set on attribute DataColumn, the mapped schema
297 type should contain maxLength facet. This fixes bug #66793.
299 2004-10-04 Atsushi Enomoto <atsushi@ximian.com>
301 * DataSet.cs : For a row, when a relation is not nested, then it is
302 still output target since it won't be written as a child of its
303 parent. It fixes bug #66379.
305 2004-10-03 Atsushi Enomoto <atsushi@ximian.com>
307 * DataSet.cs : Attribute constraint field XPath must be written as
308 @blah. This fixes bug #66366.
310 2004-09-28 Umadevi S <sumadevi@novell.com>
311 * DataRow.cs - checked for Enforceconstraints, while using indices to search for related rows
313 2004-09-24 Sureshkumar T <tsureshkumar@novell.com>
315 * DataSet.cs : Don't check constraints for dataset clear
316 * DataRowCollection.cs : check for EnforceConstraints flag
317 before checking foriegn key constraints in Clear method
318 * DataTable.cs : Redundant checking removed in Clear method as it is
319 checked in DataRowCollection.Clear method.
322 2004-09-19 Sureshkumar T <tsureshkumar@novell.com>
323 * DataRow.cs : while deserialization of dataset, adding a current row precedes the original row.
324 hence, adding a row cache is necessary if the original row happens to be current.
327 2004-08-23 Martin Baulig <martin@ximian.com>
329 * XmlDataInferenceLoader.cs (Driver): Make this class internal,
332 2004-08-18 Umadevi S <sumadevi@novell.com>
333 * DataView.cs - Completed most of the event handling.
334 Thanks to Punit Todi <punit_todi@da-iict.org> for implementing most of it.
335 Thanks to Boris Kirzner <borisk@mainsoft.com> for commenting and suggesting changes to the implementation.
336 * DataTable.cs - Changed Access modifiers of class/methods since it was used by DataView.
338 2004-08-06 Atsushi Enomoto <atsushi@ximian.com>
340 * DataSet.cs : DataSet's ExtendedProperties were not XmlConverted.
342 2004-08-05 Atsushi Enomoto <atsushi@ximian.com>
344 * XmlConstants.cs : Added constants for "msprop" support.
345 * DataSet.cs : ExtendedProperties should be written in the schema.
346 This fixes bug #61233.
348 2004-07-27 Atsushi Enomoto <atsushi@ximian.com>
350 * DataSet.cs : on serialization to XmlWriter, XmlConvert should be
351 used. There were also some culture dependency problems to write int.
353 2004-06-27 Atsushi Enomoto <atsushi@ximian.com>
355 * XmlDataInferenceLoader.cs : It was not always filling relation
356 child table information correctly. This fixes bug #60742.
358 2004-06-23 Umadevi S <sumadevi@novell.com>
359 * UniqueConstraint.cs :changed a ifdef true to ifdef NET_1_1
361 2004-06-22 Atsushi Enomoto <atsushi@ximian.com>
363 * DataSet.cs : Fixed ReadXml(). When ReadMode is ReadSchema and the
364 schema is inside the document element (as created in XmlWriteMode
365 .WriteSchema), it should read schema from that non-document element.
366 This fixes one case reported in bug #60470.
368 2004-06-20 Atsushi Enomoto <atsushi@ximian.com>
370 * XmlDataInferenceLoader.cs : Kindly reject xml schema document as a
371 inference target. For bug #60470. (MS does not support schema
372 document inference and results in unconsistent dataset structure.)
374 2004-06-20 Atsushi Enomoto <atsushi@ximian.com>
376 * DataTableCollection.cs : reset the table's DataSet to null when
377 removing a table from this collection.
378 * DataTable.cs : When Namespace is not specified explicitly, its
379 Namespace property reflects DataSet's Namespace if exist.
380 This fixes bug #60469.
382 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
384 * DBConcurrentcyException.cs: CRLF to LF
385 * DataViewSetting.cs: CRLF to LF
387 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
389 * DataViewSetting.cs: renamed fields to match MS.NET
391 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
393 * DBConcurrencyException.cs: fixed serialization compatibility with
396 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
398 * ChangeLog : Fix for misspelled words.
400 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
402 * DataRowCollection.cs : Removed onColumnRemoved since it is not in use.
404 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
407 - Table stores default values for columns in special default values row.
408 It is allocated once (in NewRow).
409 - DataTable.Copy rewrited. It works with uninitialized rows for better perfomance.
410 - OnRemoveColumn has nothing to perform by now.
412 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
415 - Changed access of original, current and proposed indexes to internal.
416 - ColumnErrors reviewed : now column errors stored in ArrayList and allocated on demand only.
417 - Added new DataRow constructor that creates uninitialized DataRow (used in DataTable.Copy).
418 - Use DataContainer.CopyValue and default values row for faster set of default values in row.
419 - SetColumnValue become CheckValue. Now it does not changes the value, but only checks for its correctness.
420 Care about Null and DBNull values is now in DataContainer.
421 - Use DataColumn.AutoIncrementValue and GetInt64 for faster set of autoincrement value.
422 - Use Datacontainer.CopyValue and default values row to speed up CheckChildRows.
423 - Fix in CopyState : clone column errors.
424 - Removed CollectionChanged and onColumnRemoved since we are not using both of them anymore.
426 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
428 * DataColumnCollection.cs :
429 - Fix : Add() now delegates to Add(DataColumn).
430 - autoIncrement list holds DataColumn objects, and not just column names.
432 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
435 - AutoIncrementValue fixes. Now AutoIncrement uses DataContainer.GetInt64 to avoid boxing.
436 - DefaultValue fixes. Default value from now on is also stored in special record in
437 DataTable, so we're able to set default value for the column faster (typed).
440 2004-06-15 Atsushi Enomoto <atsushi@ximian.com>
442 * DataSet.cs : children of non-root rows were not properly written.
445 2004-06-10 Umadevi S <sumadevi@novell.com>
446 * DataRelation.cs - Constructor
447 - The datatypes of the parentcolumn(s) and the childcolumn(s) should match
449 2004-06-06 Atsushi Enomoto <atsushi@ximian.com>
451 * XmlSchemaDataImporter.cs : We should fill Namespace for DataTable.
453 2004-06-04 Gert Driesen <drieseng@users.sourceforge.net>
455 * Constraint.cs: marked methods internal to fix public API
456 * ConstraintCollection.cs: to fix public API, use
457 DataTable.fInitInProgress to check whether initialization
458 of DataTable is in progress
459 * DataColumn.cs: added stubs for missing methods
460 * DataRowBuilder.cs: marked Table property internal to
462 * DataSet.cs: removed extra empty destructor, marked
463 OnMergeFailed internal to fix public API
464 * DataTable.cs: use fInitInProgress field to hold init
465 status, to match MS.NET
466 * DataView.cs: added missing attributes on IsOpen
468 2004-06-03 Atsushi Enomoto <atsushi@ximian.com>
470 * DataSet.cs : Use NameTable.Get() before calling LookupNamespace()
471 in XmlNamespaceManager.
473 2004-06-03 Atsushi Enomoto <atsushi@ximian.com>
475 * DataSet.cs : complex table content child was not properly added
476 when it is the only one child in the parent table. Fixed bug #53959.
478 2004-06-02 Gert Driesen <drieseng@users.sourceforge.net>
479 * DataTableTypeConverter.cs: added
480 * DataView.cs: added missing attribute on Table property
481 * DataViewManager.cs: moved attribute to correct property
482 * UniqueConstraint.cs: removed extra ReadOnly attribute from
483 IsPrimaryKey property
485 2004-06-01 Atsushi Enomoto <atsushi@ximian.com>
487 * DataRow.cs : ColumnsChanged event is not required in .ctor().
489 2004-06-01 Atsushi Enomoto <atsushi@ximian.com>
491 * XmlDataReader.cs : type change is required before setting value
494 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
496 * DataSet.cs : Loop-break of the last fix was incorrect.
498 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
500 * DataSet.cs : When a row has no parent row but the table has parent
501 relation(s), that row had been always ignored.
503 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
505 * XmlDataInferenceLoader.cs : Fixed GetMappedTable() that incorrectly
506 rejected same-named tables in different hierarchy. Thanks to Boris.
508 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
510 * XmlDiffLoader.cs : Added some Skip() that is required not to go to
511 infinite loop. Thanks to Boris for this fix.
513 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
515 * XmlDataInferenceLoader.cs : XmlSchema elements should not be infered.
516 Thanks to Boris for this fix.
518 2004-05-30 Atsushi Enomoto <atsushi@ximian.com>
520 * DataTable.cs : serialization .ctor() should use XmlReadMode.DiffGram
521 for ReadXml(). Thanks to Boris.
523 2004-05-27 Boris Kirzner <borisk@mainsoft.com>
525 - CheckReadOnlyStatus : use typed (and faster comparing).
526 - EndEdit : bug fix - do not dispose record if it holds original version.
527 - SetValuesFromDataRecord : Take care about autoincrement columns.
530 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
532 * MergeManager.cs : don't output debug message to Console.
534 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
536 * XmlDataInferenceLoader.cs : Namespace are not imported to the table
537 structure. Thanks to Boris Kirzner for the fix.
539 2004-05-27 Umadevi S <sumadevi@novell.com>
540 * DataRelationCollection.cs - fixed nunit test errors
542 2004-05-27 Umadevi S <sumadevi@novell.com>
543 * DataTableCollection.cs - fixed nunit test errors
545 2004-05-21 Atsushi Enomoto <atsushi@ximian.com>
547 * DataColumnCollection.cs : NullReferenceException was thrown when
548 the table was not found.
549 * DataRowCollection.cs :
550 Find() just returns null for null value under MS.NET 1.1.
551 RemoveAt() should also avoid to call AcceptChanges() like Remove().
552 * UniqueConstraint.cs : in AssertConstraint() throw ConstraintException
553 directly under MS.NET (for nunit test).
555 2004-05-21 Atsushi Enomoto <atsushi@ximian.com>
557 * XmlSchemaDataImporter.cs : Setting startindex in LastIndexOf()
558 caused problem on qualified name to get schema Field name.
560 2004-05-21 Atsushi Enomoto <atsushi@ximian.com>
562 * XmlDataReader.cs : Now data reader is namespace aware in all places.
563 When table's namespace is different, it entered to infinite loop.
565 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
566 * MergeManager.cs : AdjustSchema now updates by reference new created table,
567 so in Merge you do not need to lookup for it (were unable to do this for unnamed tables).
570 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
572 * DataColumn.cs : In set_Item[int] - if autoincrement, adjust next autoincrement value.
573 * DataColumnCollection.cs : fixed parantethes.
575 - AcceptChanges : do nothing if row state is unchanged.
576 - GetChildRows, GetParentRows : bug fix (use correct index).
577 * DataRowCollection.cs : bug fix (compare all row's values).
578 * DataTable.cs : bug fix (use correct row version).
580 2004-05-20 Atsushi Enomoto <atsushi@ximian.com>
582 * XmlSchemaDataImporter.cs : xs:positiveInteger is mapped to ulong.
583 When content type is Mixed, text column is not required (it is
584 required only when the complex type has no particle).
585 "Repeated element" column is also created (considering maxOccurs=0
586 and complex content extension).
588 2004-05-20 Atsushi Enomoto <atsushi@ximian.com>
590 * XmlSchemaDataImporter.cs : XmlSchemaGroupBase was not handled
593 2004-05-20 Atsushi Enomoto <atsushi@ximian.com>
595 * XmlSchemaDataImporter.cs : Removed unused code and extra MonoTODO.
596 Fixed relation inference to consider attribute XPath.
598 2004-05-19 Atsushi Enomoto <atsushi@ximian.com>
600 * DataColumn.cs : Fixed set_Item[int]. Convert.ToInt64(DBNull.Value)
603 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
605 * DataColumn.cs - removed default member attribute.
607 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
610 DataColumnChangeEventArgs.cs,
611 DataColumnCollection.cs,
613 DataRowCollection.cs,
615 Index.cs : Data storage in the row is redesigned. Now data is stored in
616 typed containers inside DataColumn. Row holds its versions as indexes inside
617 each of data container, accessed through the row that holds it.
619 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
621 * UniqueConstraint.cs - added comment.
623 2004-05-19 Atsushi Enomoto <atsushi@ximian.com>
625 * XmlDataInferenceLoader.cs : Don't add already-existing DataTable to
628 2004-05-17 Atsushi Enomoto <atsushi@ximian.com>
631 XmlDataInferenceLoader.cs,
633 XmlSchemaDataImporter.cs : XmlDecode every local name to read and
634 XmlEncode every local name to write. This should fix bug #58268.
636 2004-05-17 Atsushi Enomoto <atsushi@ximian.com>
638 * DataSet.cs : Implemented ignored namespaces in InferXmlSchema().
639 Supported repeated elements. Removed MonoTODOs.
640 * XmlDataInferenceLoader.cs : Design change to support ignored
641 namespace and repeated elements.
642 * XmlSchemaDataImporter.cs : Added mapping support classes.
644 2004-05-15 Atsushi Enomoto <atsushi@ximian.com>
646 * CustomDataClassGenerator.cs :
647 Added property parent "[foo]Row" and children "Get[foo]Row" support
648 for custom DataRow classes.
649 Fixed DataColumn property accessibility (public --> internal).
651 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
653 * CustomDataClassGenerator.cs :
654 - Put classes inside custom DataSet class.
655 - Added automatic DataRelation creation support.
656 - Added Constraints creation support. That is done separate from
657 relations, since they might be independently created.
658 - Added non-MS public DataRelation fields.
659 - Removed extraneous "DataRelation type generation" code.
660 - Fixed custom_dataset.Initialize() not to create "c" field that
661 was created more than once.
662 - Implemented AddxxxRow() that takes parameters for every column.
664 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
666 * XmlSchemaDataImporter.cs : When primary key is used more than once,
667 DataRelation borked because of empty parent column name.
669 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
671 * XmlSchemaDataImporter.cs : When Creating constraints with related
672 to DataRelation creation, also set PrimaryKey to the parent table.
674 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
676 * XmlSchemaDataImporter.cs :
677 Design change to add indirect table and relation structures.
678 Support for "relation" annotation for local element.
679 Support for repeatable simple element column (maxOccurs > 1).
680 Fixed handling of Nested property on DataRelation (for globally
681 annotated relation, Nested is false).
683 2004-05-13 Atsushi Enomoto <atsushi@ximian.com>
685 * DataRow.cs : Added DataElement property to avoid storing every row-
686 element mapping. It stored even for nodes that should be removed.
688 2004-05-13 Umadevi S <sumadevi@novell.com>
690 * RelationshipConverter.cs - Stubbed this class
691 * DataRelation.cs - added TypeConveterAttribute
693 2004-05-13 Umadevi S <sumadevi@novell.com>
695 * DataColumnCollection.cs - Added ResDescriptionAttribute
696 * DataRelation.cs - Added TypeConverterAttribute
697 * DataRelationCollection.cs - Added DefaultPropertyAttribute
698 * DataRowView.cs - Added GetHashCode method with a TODO tag
699 * DataSet.cs - Added DesignerAttribute
700 * DataView.cs - Added DesignerAttribute
701 * DataViewManager.cs - Added DesignerAttribute
702 * DataViewSetting.cs - Added TypeConverterAttribute
704 2004-05-12 Atsushi Enomoto <atsushi@ximian.com>
706 * DataRow.cs : Added XmlDataElement initialization code.
708 2004-05-11 Atsushi Enomoto <atsushi@ximian.com>
710 * XmlDataInferenceLoader.cs :
711 It now requires XmlDocument as input. Improved identification of
712 DataSet element. Removed extra lines.
713 Moved boresome design notes to bottom of the source and
714 added standalone runnable driver (not included on build).
716 Update with related to the change above.
717 WriteXml() should call Flush() after writing. This fixes bug #58327.
718 * XmlSchemaDataImporter.cs :
719 Improved indentification of DataSet element.
721 2004-05-11 Gert Driesen (drieseng@users.sourceforge.net)
722 * DataTable: marked initStatus enum internal
724 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
725 * DataTable.cs: removed TypeConverterAttribute, marked RowsExist
727 * DataRowView.cs: removed extra Error property
728 * DataRow.cs: reduced accessibility of CollectionChanged method
730 * DataColumnPropertyDescriptor.cs: made class internal
731 * DataColumn.cs: removed extra TypeConvertorAttribute
732 * ConstrainCollection.cs: marked PostEndInit method internal
734 2004-05-07 Atsushi Enomoto <atsushi@ximian.com>
737 In WriteXmlSchema(), when complex type contains simple type content
738 attributes must not added to XmlSchemaComplexType directly. It
739 causes schema compilation error.
740 DataRelation should not be output when related columns are hidden.
742 2004-05-07 Atsushi Enomoto <atsushi@ximian.com>
744 * XmlDataInferenceReader.cs : Added. It does InferXmlSchema() (it is
745 also expected to do ReadXml(), but I will remove that feature and
746 support column reordering).
747 * XmlSchemaDataImporter.cs : Always initialize dataset name.
748 Always set Nested and primary key for parent table.
749 * XmlDataReader.cs : Now it is used.
750 Top level element might not match to dataset name nor any table
751 name, but still possible to read content tables.
752 Handle empty element correctly in some places.
753 Handle Fragment mode (read up XmlReader to the end).
754 * DataSet.cs : Modified InferXmlSchema() and ReadXml() to use
755 XmlDataInferenceLoader and XmlDataReader.
757 2004-05-06 Atsushi Enomoto <atsushi@ximian.com>
760 Eliminated CRLF injection.
761 More clear message in Clear().
762 Updates reflecting XmlSchemaDataImporter change.
763 Added duplicate check for XmlSerializerNamespaces in BuildSchema().
764 Don't use xmlns attribute for UnhandledAttributes (its not mandatory
765 but that depends on different behavior from ms.net).
766 Set locale also for DataTable.
767 Add xs:element only when target namespace matches to the
768 element's namespace. Otherwise, add xs:import for external namespace.
769 Put xs:sequence for dataset element's particle _only when_ actual
772 2004-05-06 Atsushi Enomoto <atsushi@ximian.com>
774 * XmlDataReader.cs : Added. This class will work better when our
775 schema inference and schema read engine gets improved. (It contains
776 standalone testable Driver class.)
778 2004-05-06 Atsushi Enomoto <atsushi@ximian.com>
780 * ForeignKeyConstraint.cs : Check step change. Existence then column
781 validity. just for tests.
782 * XmlSchemaDataImporter.cs : code simplification. reduced extraneous
785 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
787 * DataSet.cs : Ignore empty content only when output type is diffgram.
789 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
791 * CustomDataClassGenerator.cs : Modified that DataSet contains each
792 DataTable field so that each table property can access them directly.
793 (plus, modified standalone code driver code: shouldn't affect)
795 2004-05-05 Boris Kirzner <borisk@mainsoft.com>
797 * DataView.cs , DataRowView.cs : Added implementation to basic methods and properties.
799 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
801 * XmlSchemaDataImporter.cs :
802 SimpleContent column support.
803 Annotated relation support.
804 Top-level element is counted only when its type is complex.
805 xs:anyType is no longer treated as complex type.
806 dataset existence is mandatory now.
807 Improved DataType and DefaultValue support.
808 Attribute namespace is properly handled now.
809 Prohibited attribute is now treated as hidden column.
810 Reject list or union simple type.
812 Still incomplete 1) to read relationship in some cases, 2) to
813 determine whether an element is dataset or table, 3) thus to
814 exclude extraneous column, 4) to remove extraneous *_Id column.
816 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
819 We had better reuse DataSet's ReadXmlSchema() and ReadXml() in
820 serialization .ctor() (thus schema read/inference should be easier).
821 DataRowSorter should consider Table's Locale.
823 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
825 * DataColumnCollection.cs : We already had AutoIncrementValue(), so
826 use it instead of duplicating logic.
828 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
830 * ConstraintCollection.cs :
831 Use Table.CaseSensitive and Table.Locale to compare strings.
832 Duplicate constraint name exception does not occur under .NET 1.1.
834 2004-05-04 Lluis Sanchez Gual <lluis@ximian.com>
836 * XmlSchemaDataImporter.cs: Added little type check.
838 2004-05-04 Lluis Sanchez Gual <lluis@ximian.com>
840 * DataSet.cs: Implemented support for runtime serialization. Fixed support
841 for xml serialization.
842 * XmlDiffLoader.cs: Skip diffgram element when it is empty.
844 2004-04-30 Umadevi S <sumadevi@novell.com>
845 * DataColumnCollection.cs : Fixed nunit test errors, removed TODOs
846 * DataTableCollection.cs : Tested and removed TODO
847 * TypedDataSetGeneratorException.cs : Fixed a couple of TODOs
849 2004-04-29 Atsushi Enomoto <atsushi@ximian.com>
851 * DataRow.cs : My previous patch unintentionally reverted Boris patch.
853 2004-04-29 Boris Kirzner <borisk@mainsoft.com>
855 * UniqueConstraint.cs : Constraint columns becaomes unique after adding constraint ifand only if
856 constraint is defined on single column.
858 2004-04-29 Atsushi Enomoto <atsushi@ximian.com>
860 * DataRowCollection.cs : .NET 1.1 throws InvalidConstaintException,
861 not ArgumentException (maybe changed after 1.1).
863 2004-04-29 Atsushi Enomoto <atsushi@ximian.com>
865 * DataRow.cs : When Column was added and it was AutoIncrement column,
866 it extended the item object array incorrectly.
867 (Plus tiny comment and incorrect indentation fix.)
869 2004-04-29 Boris Kirzner <borisk@mainsoft.com>
871 * MergeManager.cs : added ( incomplete yet ) support for merging DataSet schema.
873 2004-04-29 Boris Kirzner <borisk@mainsoft.com>
875 * DataRow.cs : Bug fix in CopyValuesToRow().
877 2004-04-29 Boris Kirzner <borisk@mainsoft.com>
879 * UniqueConstraint.cs : There is no reason to mark constraint's columns as unique, because
880 each of the columns should not be unique, but only all the constraint's columns together.
882 2004-04-28 Boris Kirzner <borisk@mainsoft.com>
885 - Added using of list of autoIncrement columns
886 - SetColumnValue receives also DataColumn to avoid duplicate lookup in DatacolumnCollection
887 - Fix in CheckNullConstraints
888 - Fix in this[] and HasVersion() : when evaluating an expression deleted rows values can be accessed.
889 - Fix in SetColumnValue() , added CanAccess() method to avoid case of accessing internal array values berore it actually allocated.
890 - Added onColumnRemoved() method to threat column removal accurately.
892 * DataRowCollection.cs :
893 - Added using of DataRow._nullConstraintViolation (for perfomance fix in EndLoadData())
894 - Added method onColumnRemoved() - calls each row's onColumnRemoved() (to ensure column removal is treated accurately)
897 - Call DataRowCollection.onColumnRemoved() in OnRemoveColumn() (to ensure column removal is treated accurately)
899 * DataColumnCollection.cs :
901 - collection holds a list of its autoIncrement columns (avoids unnesessary lookup through whole collection)
902 - collection holds mapping from column names to DataColumn objects (avoids lookup through whole collection).
903 - automatic creation of column names rewrited (bug fixes + perfomance improvement)
906 - Uses autoincrement list of a table
908 2004-04-27 Atsushi Enomoto <atsushi@ximian.com>
910 * XmlDataLoader.cs : Even when it should ignore schema, it was
912 * XmlSchemaDataImporter.cs : DataRelation creation support.
913 Improved "DataSet" element handing. When attributes are on the
914 element, it is not a "DataSet" element.
915 Fixed parent key column name.
916 Unique name creation is not required. Just raise an error.
917 Fill facet also for attribute types.
919 2004-04-27 Atsushi Enomoto <atsushi@ximian.com>
921 * DataRow.cs : Null check for CheckReadOnlyStatus() and
922 CheckNullConstraints(), with some coding guideline fixes.
923 Type check should be done by Type instance comparison.
925 2004-04-27 Atsushi Enomoto <atsushi@ximian.com>
927 * DataColumnCollection.cs : When add a column to the collection, fill
928 auto-increment column.
930 2004-04-26 Boris Kirzner <borisk@mainsoft.com>
932 * DataColumn.cs : Small perfomance fix (avoid unnesessary string concatenation).
934 2004-04-26 Atsushi Enomoto <atsushi@ximian.com>
936 * CustomDataClassGenerator.cs : Added.
937 * TypedDataSetGenerator.cs : Implemented Generate().
938 Changed GenerateIdName() to call CustomDataClassGenerator.MakeSafeName
939 * XmlSchemaDataImporter.cs : Table Locale should be supplied.
941 2004-04-25 Boris Kirzner <borisk@mainsoft.com>
943 * DataTable.cs : Small perfomance fix (avoid unnesessary string concatenation).
945 2004-04-25 Boris Kirzner <borisk@mainsoft.com>
947 * Constraint.cs : Small perfomance fix (avoid unnesessary string concatenation).
949 2004-04-23 Umadevi S (sumadevi@novell.com)
950 * DataRow.cs: Checked BeginEdit,EndEdit,CancelEdit and Delete methods
951 - Added error handling to the above methods
953 2004-04-22 Atsushi Enomoto <atsushi@ximian.com>
955 * DataSet.cs : Data should be read when mode is IgnoreSchema (well,
956 the support is incomplete yet).
958 Reverted ReadModeSchema() argument change. XmlReadMode would be
959 useful to handle IgnoreSchema.
960 Don't overwrite DataSetName when mode is not such kind.
961 Set Prefix and Namespace as well as DataSetName.
962 AllowDBNull looks set false by default for element column.
963 Set unique constraint as primary key when infering the table schema.
965 2004-04-21 Atsushi Enomoto <atsushi@ximian.com>
968 Never set null string for Prefix and Namespace.
969 In InferXmlSchema() when null XmlReader is passed, just do nothing.
970 In WriteXmlSchema(string), earlier try block.
971 In BuildSchema(), try to add serialization namespaces for each
972 namespaces in DataSet/DataTable/DataColumn.
973 Removed namespace argument from WriteColumnAsElement() and don't
974 overwrite when namespace is "". This fixes bug #57330.
975 * DataColumn.cs : For Namespace and Prefix, never set null.
977 2004-04-21 Boris Kirzner <borisk@mainsoft.com>
979 * XmlSchemaMapper.cs : Check for not null unique constraint in ReadXmlSchemaKeyref()
980 before creating and adding foreign key constraint and relation.
982 2004-04-21 Boris Kirzner <borisk@mainsoft.com>
984 * MergeManager.cs : In AdjustSchema() source table clone should be added
985 and not the table itself.
987 2004-04-21 Boris Kirzner <borisk@mainsoft.com>
990 - CaseSensitive : Additional fix (removed unnesessary assignment).
991 - CopyProperties : Do not try to copy ExtendedProperties if the collection is empty.
993 2004-04-21 Boris Kirzner <borisk@mainsoft.com>
995 * DataTable.cs : Ensure that DataSet property is not null before using it in Clear().
997 2004-04-20 Boris Kirzner <borisk@mainsoft.com>
1000 - EndLoadData() : perfomance fix in case of null constraint violation
1001 during data load (also in DataRow.cs).
1002 - CaseSensitive : If DataTable belongs to DataSet it should always use
1003 DataSet.CaseSensitive untill explicitly changed.
1004 - CopyProperties() : do not try to copy ExtendedProperties if the collection is empty.
1007 - Pefromance fix in case of null constraint violation
1008 during data load (also in DataTable.cs).
1009 - CollectionChanged() : use correct column number after new DataColumn was added
1010 (differs in case some DataColumn was previosly removed).
1011 - EndEdit() - throw away proposed values only after CheckChildRows() complete.
1013 2004-04-20 Boris Kirzner <borisk@mainsoft.com>
1015 * DataColumnCollection.cs : Since unique constraint is added now
1016 in DataColumn.SetTable() the additional creation of constraint in
1017 DataColumnCollection.Add() is redundant and causes exception - fixed.
1019 2004-04-19 Atsushi Enomoto <atsushi@ximian.com>
1021 * XmlDataLoader.cs : Added "never add data rows" mode.
1022 Removed unused code. However, it is temporary fixes to unify
1023 ReadXml() and InferXmlSchema().
1024 * DataSet.cs : Implemented InferXmlSchema(), though it is incomplete.
1026 I'll create another XmlDataLoader since there are many problems
1027 such that 1) it is too waste to read the entire xml into an
1028 XmlDocument, 2) it does not handle attributes correctly, and 3) it
1029 must handle "ignored namespaces".
1031 2004-04-19 Atsushi Enomoto <atsushi@ximian.com>
1033 * Added XmlSchemaDataImporter.cs (new schema reader).
1034 * DataSet.cs : Use XmlSchemaDataImporter (right now for DataSet only)
1035 for ReadXmlSchema().
1036 Let schema reading work to ReadXmlSchema().
1037 Don't return ReadSchema when argument read mode was DiffGram.
1039 2004-04-15 Umadevi S (sumadevi@novell.com)
1040 * Updated Clone/Copy methods in DataSet along with Testcase
1041 * ForeignKeyConstraint.cs - special ctor implemented
1042 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).
1043 * Changes in ConstraintCollection.cs for the above
1044 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.
1047 2004-04-15 Atsushi Enomoto <atsushi@ximian.com>
1049 * XmlSchemaMapper.cs : set parent key and foreign key info to
1050 DataRelation when reading refkey constraints.
1051 Supply constraint name for fkey.
1053 2004-04-15 Atsushi Enomoto <atsushi@ximian.com>
1055 * XmlDataLoader.cs : Don't overwrite existing DataSetName. When read
1056 mode is Auto, just ignore the schema if there is already schema info.
1057 * DataSet.cs : Similarly ignore schema info for XmlReadMode = Auto.
1059 2004-04-14 Atsushi Enomoto <atsushi@ximian.com>
1062 - In MS output, XML declaration looks to have standalone decl (yes).
1063 - ReadXml(reader) just calls to ReadXml(reader, XmlReadMode.Auto)
1064 - ReadXml(reader, mode)
1065 1) return originally specified mode, instead of (always) Auto.
1066 2) Check empty reader.
1067 3) Check diffgram schema and content separately.
1068 4) When diffgram exists, remaining (the same-level) contents
1070 5) Similar fact should be applied, but somewhat different.
1071 InferSchema and IgnoreSchema just skips, Fragment reads both
1072 schema and content, others just reads schema.
1073 - Removed unused code.
1074 * XmlDataLoader.cs :
1075 - Read() should skip in some ReadMode.
1076 - Don't compare schema element name as case-insensitive (well,
1077 should schemas be checked here?)
1078 - Avoided BuildDocument() not to create confusing DataSet
1080 - Don't add any tables when reader has single element.
1081 * XmlDiffLoader.cs :
1082 When target table was not found, MS.NET doesn't raise an error.
1083 * XmlSchemaMapper.cs :
1084 When XmlSchema.Read() left xml reader at </xs:schema>, read once.
1086 2004-04-13 Atsushi Enomoto <atsushi@ximian.com>
1089 - InferXmlSchema(): Throw explicit NotImplementedException now.
1090 - Don't put XML declaration everywhere. Write just for filename arg.
1091 - xmlns="" should not be written. Maybe WebService problem is
1092 because default namespace is overwritten. This patch will keep
1093 the WS problem away and actually fixes some unit tests (i.e. use
1094 explicit String.Empty for null namespace in WriteStartElement()).
1095 - MoveToContent() should always be called, not only when
1096 LocalName="xml". It will ignore prolog (DTD, PI, comment etc.).
1097 - Even XmlReadMode is DiffGram, reader might not be "diffgram"
1098 element. As to MSDN, diffgram does not contain schema.
1100 2004-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1102 * DataTable.cs: made _initStatus private so that System.Data is CLS
1105 2004-04-13 Umadevi S <sumadevi@novell.com>
1106 * UniqueConstraint.cs:
1107 * ConstraintCollection.cs:
1109 - Implemented a Constructor for UniqueConstraint.cs
1110 - Used EndInit on DataTable to call a delegate which adds the
1111 constraints passed to the most recent call of AddRange().Used
1112 AddRange() on ConstraintCollection to check whether
1113 DataTable.BeginInit has occurred. If yes, save the argument
1114 constraint collection passed, then return. If no, Check whether the
1115 constraints are of type UniqueConstraint and initialized with the
1116 special constructor If yes Initialized the table property of this
1117 UniqueConstraint object with table assosciated with the current
1118 instance of ConstraintCollection class.
1120 2004-04-07 Marek Safar <marek.safar@seznam.cz>
1122 * Constraint.cs: changed ClsCompliant to CLSCompliant, build fix.
1124 2004-04-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1127 * DataColumnCollection.cs:
1128 * DataRelationCollection.cs:
1129 * DataRowCollection.cs:
1130 * DataTableCollection.cs:
1131 * InternalDataCollectionBase.cs:
1132 * Node.cs: CLS compliance for System.Data. Patch by Gert Driesen.
1135 2004-04-05 Jackson Harper <jackson@ximian.com>
1137 * DataTable.cs: Add rows to the row list if there is no filter.
1139 2004-03-31 Juraj Skripsky <juraj@hotfeet.ch>
1141 * DataColumn.cs : Setting Caption to null sets it to the empty string
1142 (ms.net behaviour, testcase is in DataColumnTest).
1144 * DataRow.cs : Evaluate DataColumn.Expression when such a column's
1147 2004-03-30 Lluis Sanchez Gual <lluis@ximian.com>
1149 * DataColumn.cs: In Expression setter, set the expression member even if
1150 it is an empty string.
1151 * DataSet.cs: Support serialization of byte[] columns.
1152 * XmlDataLoader.cs: Support deserialization of Guid columns.
1153 Set MappingType.Attribute to columns infered from attributes.
1155 2004-03-29 Juraj Skripsky <juraj@hotfeet.ch>
1157 * ExpressionElements.cs : remove
1158 * DataColumn.cs, DataRelationCollection.cs, DataTable.cs :
1159 Integration of new Mono.Data.SqlExpressions classes used in
1160 DataTable.{Select, Compute}.
1161 Fixes bug #55503 and lots of failures in DataTableTest.cs.
1163 2004-03-28 Juraj Skripsky <juraj@hotfeet.ch>
1165 * Index.cs: Simple fix in ComparePartialRowNonUnique.
1166 This fixes bugs #56129 and #56014.
1168 2004-03-25 Lluis Sanchez Gual <lluis@ximian.com>
1170 * DataSet.cs: In WriteXml (string filename, XmlWriteMode mode), close the
1171 stream after writing the dataset. This fixes bug #52581.
1172 Also added several writer.Close into finally blocks, so writers are properly
1173 closed in case of an exception.
1175 2004-03-12 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1177 * Constraint.cs: DO NOT USE the consts scheme if types can be referenced directly!
1178 * DataColumn.cs: DO NOT USE the consts scheme if types can be referenced directly!
1179 * ColumnTypeConverter.cs: Added stub
1180 * DefaultValueTypeConverter: Added stub
1181 * ConstraintConverter.cs: Added stub
1183 2004-03-04 Eran Domb <erand@mainsoft.com>
1185 * XmlDataLoader.cs : Xml reading reviewed. Added support for additional xml formats as described
1186 in MS.NET documentation (missing DataSet element etc).
1188 2004-03-04 Eran Domb <erand@mainsoft.com>
1191 * Index.cs : Rollback last changes.
1193 2004-03-03 Atsushi Enomoto <atsushi@ximian.com>
1195 * Index.cs : justa build fix.
1197 2004-03-03 Eran Domb <erand@mainsoft.com>
1200 * Constraint.cs, ForeignKeyConstraint.cs, UniqueConstraint, ConstraintCollection.cs, DataColumn.cs,
1201 DataRow.cs, DataRowCollection.cs, DataSet.cs, DataTable.cs : Changes made for using indexes on tables.
1202 This changes made for performance improvement.
1204 2004-02-08 Eran Domb <erand@mainsoft.com>
1206 * XmlSchemaMapper.cs : Read columns is they were written as SimpleContent or as Attributes.
1208 2004-02-08 Eran Domb <erand@mainsoft.com>
1210 * DataSet.cs: Fix some bugs in ReadXml().
1212 2004-02-04 Lluis Sanchez Gual <lluis@ximian.com>
1214 * DataSet.cs: Added missing method that broke the build.
1216 2004-02-04 Eran Domb <erand@mainsoft.com>
1218 * DataRowCollection.cs (InsertAt): Add a check for null row. Replace check of IndexOf with RowId for
1220 * DataSet.cs (GetTableSchema) : Add supprot for simple content columns. Change the condition for a case
1221 when all column are attributes (elements count is 0), we still want to add the relations. No relations
1222 can be on simple contents.
1223 (AddUniqueConstraints) Check that the column of the constraint are not hidden.
1224 (AddForeignKeys) Check that the relation has constraints attach to it.
1225 * XmlConstants.cs : Added constant.
1227 2004-02-04 Eran Domb <erand@mainsoft.com>
1229 * DataSet.cs : GetSchemaSerializable() return null and not BuildSchema().
1230 DoWriteXmlSchema calls BuildSchema ().
1232 2004-02-04 Lluis Sanchez Gual <lluis@ximian.com>
1234 * DataRow.cs: Added SetOriginalValue(), which is used to set the original
1236 * DataRowCollection.cs: In InsertAt(), perform the correct checks and
1238 * DataSet.cs: Fixed method GetChanges(): Parent rows of modified rows must
1239 also be added to the dataset.
1240 In WriteTable(), do not write unchanged rows when writing the original
1241 version of the table.
1242 Added WriteIndividualTableContent(), for writing the contents of a single
1244 Changed BuildSchema and related methods, so it can generate a schema for
1245 any set of tables, not just the tables of the dataset (needed for
1246 single datatable serialization).
1247 * DataTable.cs: Implemented serialization constructor and GetObjectData method.
1248 Also implemented some ReadXmlSchema methods.
1249 * XmlDiffLoader.cs: Read and process the xml document directly from XmlReader,
1250 instead of loading the full dataset in an XmlDocument. It is faster and
1251 saves memory. Also fixed several problems when generating the changes.
1252 * XmlSchemaMapper.cs: Support reading schemas for single tables (used by
1253 table serialization).
1255 2004-02-02 Eran Domb <erand@mainsoft.com>
1257 * DataSet.cs : Add indentation to the xml serialization only if we create the XmlWriter.
1258 Add the namespace attribute even if namespace is an empty string for inteoperability with MS.NET.
1259 * DataTable.cs (NewRow): Create only one DataRowBuilder.
1260 Initiate new row with row id -1.
1261 * DataRow.cs : Add RowId property.
1262 * DataRowBuilder.cs : Add _rowId member.
1263 * DataRowCollection.cs (Add) : Use the RowId property of the new row to check if it is already exists in the collection.
1265 2004-01-26 Eran Domb <erand@mainsoft.com>
1267 * XmlConstants.cs : Added some constants.
1268 * DataColumn.cs : Added a method to retrive AutoIncrement value.
1269 * XmlDataLoader.cs : Set the value of the foriegn key column, according to the value of the
1270 parent table column.
1271 * XmlDiffLoader.cs : Convert the value comming from the xml.
1272 * XmlSchemaMapper.cs (Read) : Set the DataSet namespace.
1273 (ReadXmlSchemaSequence) : Change the logic that decides if this element is a column or a table.
1274 (ReadXmlSchemaElement) : Set the locale of the dataset.
1275 (ReadColumn) : Set the column type. Find if the column is AutoIncrement.
1276 (GetColumnType) : New method to get the column type from the attribute value.
1277 (ReadXmlSchemaUnique) : Improve parsing of XPath. Set the constraint as a PK if needed,
1278 and add the constraint to the table.
1279 (ReadXmlSchemaKeyref) : Improve parsing of XPath. Create the FK constraint and add it to
1281 * DataSet.cs : Improving writing of unique constraints, and foriegn key constraint. Givving them the correct names.
1282 Writing more information to the schema for interoperability with ms.net.
1283 Improve diffgarm writing mode.
1286 2004-01-21 Atsushi Enomoto <atsushi@ximian.com>
1288 * TypedDataSetGenerator.cs : Implemented GenerateIdName().
1290 2004-01-21 Eran Domb <erand@mainsoft.com>
1292 * XmlDataLoader.cs (AddRowToTable) : Give thre new relation correct name.
1293 Do not set the child column to be AutoIncrement.
1294 Create the new column for the relation as MappingType.Hidden so they will not be serialized
1295 when writing the dataset to xml.
1297 2004-01-20 Atsushi Enomoto <atsushi@ximian.com>
1299 * Added missing TypedDataSetGenerator.cs.
1301 2004-01-08 Eran Domb <erand@mainsoft.com>
1303 * XmlSchemaMapper.cs : Fix a bug. Check if table already in DataSet before adding it.
1304 * DataSet.cs (ReadXml) : Fix bugs. Read correctly the xml file with XmlReadMode of DiffGram,
1305 InferSchema, ReadSchema and IgnoreSchema.
1306 * XmlDataLoader.cs : All modes use the same logic.
1307 * XmlDiffLoader.cs : Adding BuildXmlDocument method to the class.
1309 2004-01-06 Eran Domb <erand@mainsoft.com>
1311 * DataRelationCollection.cs : Use IndexOf in indexer.
1312 * DataSet.cs : Adding support for WriteXml with diffgram. Code style changes.
1313 * XmlDataLoader.cs : Set the DataSet.enforceConstraints to false before loading the tables.
1314 * XmlDiffLoader.cs : Reading nested tables.
1315 * XmlSchemaMapper.cs : Reading the relation.
1316 * XmlConstants.cs : Adding some constants.
1318 2004-01-05 Jackson Harper <jackson@ximian.com>
1320 * DataView.cs: Set readonly property of property descriptor. This
1323 2004-01-01 Sanjay Gupta <gsanjay@novell.com>
1325 * DataRelationCollection.cs : Fixed incorrect generation of default
1327 * DataSet.cs : Added missing functionality in WriteXml().
1328 * XmlConstants.cs : Added new constants.
1330 2003-12-27 Atsushi Enomoto <atsushi@ximian.com>
1332 * DataSet.cs : Fixed incorrect WriteXml() signature.
1334 2003-12-18 Jackson Harper <jackson@ximian.com>
1336 * DataView.cs: Implement AddNew, Delete, and OnListChanged.
1338 2003-12-17 Atsushi Enomoto <atsushi@ximian.com>
1340 * DataSet.cs, XmlDataLoader.cs : Table name should be encoded before
1341 they take shape of xml. This fixed bug #52240
1343 2003-12-16 Tim Coleman <tim@timcoleman.com>
1344 * KeyRestrictionBehavior.cs:
1345 New stubs added for .NET 1.2
1349 2003-12-08 Eran Domb <erand@mainsoft.com>
1350 * DataColumn.cs (Expression) : Validate the expression.
1352 * DataRelationCollection.cs (IndexOf) : Added new method sensetive to case differences in relation name.
1353 (Contains, IndexOf, this[], Add) : Call new IndexOf when needed.
1355 * DataRow.cs (this[]) : Fix the condition for throwing RowNotInTableException.
1356 (RejectChanges) : Detach row when state was Added.
1357 (CollectionChanged) : Fix a bug.
1359 * ExpressionElement (ValidateExpression) : Fix a bug.
1361 * ForeignKeyConstraint.cs (AssertConstraint) : Added implementation. Check all rows from child table have
1362 a parent row in the parent table.
1363 (_validateColumns) : Fix bugs.
1365 * MergeManager.cs (AdjustSchema) : Fix a bug.
1367 * XmlDataLoader.cs (ReadModeInferSchema) : Change implementation. Now we can read nested xml, and we generate the relations
1370 2003-11-30 Eran Domb <erand@mainsoft.com>
1371 * DataColumnCollection.cs (this[string name]) : Use IndexOf to find the column.
1372 (Add) : Find if the new column name is the same as the one found in IndexOf.
1373 (IndexOf) : New method.
1374 (Contains) : Use new IndexOf.
1375 (IndexOf) : Use new IndexOf.
1377 * DataRelationCollection.cs (DataRelationCollection.AddCore) : Add The Relation to the collection.
1378 (DataSetRelationCollection.AddCore) : First add the UniqueConstraint.
1380 * DataRow.cs (this[int columnIndex, DataRowVersion version]) : Change exceptions.
1381 (Delete) : Detach row if the RowState was Added.
1382 (GetChildRows) : Get the array form the ChildTable.
1383 (GetParentRows) : Get the array from the ParenTable.
1385 * DataRowCollection.cs (Remove) : Check if row state is Detached to avoid exception.
1387 * DataSet.cs (IXmlSerializable.ReadXml) : Do not call MoveToContent and ReadEndElement - the XmlSerializationReader does it.
1389 * DataTable.cs (PrimaryKey) : Fix bugs.
1390 (Compute) : First call Select. Then create ExpressionAggregate to aggregate the Select result.
1392 * DataTableCollection.cs (Add) : Fix a bug.
1394 * ExpressionElement.cs (ValidateExpression) : Turning ValidateExpression to static.
1395 (Result) : Added new interface to AggregateExpression that get DataRow[] as a param.
1396 Some code style changes (tab instead of whit spaces, alignment, etc...).
1398 * ForeignKeyConstraint.cs (_validateColumns) : Throw correct exception.
1400 * MergeManager.cs (AdjustSchema) : Fix a bug.
1404 2003-11-26 Miguel de Icaza <miguel@ximian.com>
1406 * DataSet.cs: Add a few more missing methods, code style updated
1409 2003-11-26 Tim Coleman <tim@timcoleman.com>
1411 * ConflictOptions.cs DataAdapterException.cs DataTableReader.cs
1412 * DbMetaData.cs FillOptions.cs IDataReader2.cs IDataRecord2.cs
1413 * IDataUpdatableRecord.cs IDbAsyncCommand.cs IDbAsyncConnection.cs
1414 * IDbExecutionContext.cs IGetTypedData.cs ISetTypedData.cs
1415 * LoadOption.cs OperationAbortedException.cs ResultSetOptions.cs
1416 * ResultSetSensitivity.cs StatementCompletedEventArgs.cs
1417 * StatementCompletedEventHandler.cs UpdateOptions.cs:
1418 New classes added for NET_2_0
1419 * DBConcurrencyException.cs DataRelation.cs DataSet.cs DataTable.cs
1420 * DataTableCollection.cs DataView.cs ForeignKeyConstraint.cs:
1421 Modifications to add new NET_2_0 functions
1423 2003-11-25 Tim Coleman <tim@timcoleman.com>
1427 2003-11-21 Pedro Martínez Juliá <yoros@wanadoo.es>
1429 * DataRow.cs: Detached row can be accesible (new rows from data
1430 table are detached). Closes but #51263.
1432 2003-11-19 Eran Domb <erand@mainsoft.com>
1433 * DataRow.cs : Throw exceptions if Row is Detached.
1434 (EndEdit) : Check that we are not in middle of ChangeEvent.
1435 (AcceptChanges) : Detach the row.
1437 * DataRelation.cs : throw correct exception.
1438 *UniqueConstraint.cs : throw correct exception.
1441 2003-11-09 Pedro Martínez Juliá <yoros@wanadoo.es>
1443 * DataRow.cs: Use RemoveInternal instead of Remove because the last
1444 one uses Delete and AcceptChanges.
1446 * DataRowCollection.cs: When removing, Delete and AcceptChanges
1447 method from the row are called. Added an internal method that will
1448 be used by DataRow to "physically" remove the row from the list.
1450 2003-11-09 Pedro Martínez Juliá <yoros@wanadoo.es>
1452 * DataRowCollection.cs: To follow the specification: Remove and
1453 RemoveAt should remove the row. But needed to call DeletingDataRow
1454 to prepare the deleting.
1456 * DataRow.cs: Don't call DeletingDataRow when it is called by the
1457 method Table.Rows.Remove.
1459 2003-11-09 Pedro Martínez Juliá <yoros@wanadoo.es>
1461 * DataRowCollection.cs: Make the row be deleted by itself. If not,
1462 it fails because we need to call OnRowDeleting and OnRowDeleted. It
1463 is full implemented inside DataRow.
1465 2003-11-05 Eran Domb <erand@mainsoft.com>
1466 * DataView.cs (ctor) : Changing default RowStateFilter to CurrentRow.
1468 2003-11-04 Eran Domb <erand@mainsoft.com>
1469 * DataRow.cs (CheckChildRows) : Improving the implementation - checking child for all FK, and not
1471 (GetChildRows) : Adding some checks.
1472 (GetParentRows) : Adding some checks. Fix a bug in implementation.
1473 (SetParentRow) : Added implementation.
1475 * DataRowCollection.cs (Add) : Added more checks on the row added to the collection.
1476 * DataTable.cs (Copy) : Set the During Loading flag to save unnecessary assertions.
1477 * ForeignKeyConstraint.cs (AssertConstraint) : Fixing bugs in implementation. Checking for DBNull values in the row.
1478 * MergeManager.cs : Check that the target table is not null.
1480 2003-10-27 Eran Domb <erand@mainsoft.com>
1481 * DataColumn.cs (DefaultValue) : Changing null value to DBNull. Checking that the type of the new default value
1482 can be converted to the column type.
1484 * DataRelationCollection.cs (AddCore) : Give the new FK the name of the relation.
1486 * DataRow.cs (EndEdit) : Check if we need to validate the constraints.
1487 (GetParentRows, GetChildRows) : Checking that the row has the wanted version, before accessing the row's value.
1489 * DataRowCollection.cs (Add) : Fixing a bug.
1490 (Clear) : Before clearing the array check that there is no violation of FK constraint.
1492 * DataSet.cs (Prefix) : If value is null chage it to empty string.
1493 (GetXml) : Removing the Processing Instructions from the xml string as in MS ADO.NET.
1495 * ExpressionElement : Adding support for IN expresion.
1497 * DataTable (CopyConstraints) : New method that copy the tables constraints to the copy table.
1498 (Select) : Adding support for DataViewwRowState.
1500 * ForeignKeyConstraint.cs (AssertConstraint) : Adding implementation.
1502 * MergeManager.cs (MergeRow) : Fix bugs.
1504 2003-10-27 Eran Domb <erand@mainsoft.com>
1505 * DataRow.cs (SetColumnValue): Donot check null value when in midle of loading data.
1506 check null values when ending loading data.
1508 * DataSet.cs (RejectChanges) : Imlementation.
1509 (Prefix) : If prefix was changed fire event. Check that the prefix is not null - if null,
1510 change it to empty string.
1512 * DataTable.cs (BeginLoadData, EndLoadData) : Impemantation.
1514 2003-10-22 Eran Domb <erand@mainsoft.com>
1515 * MergeManager.cs : Fixing bugs. Adding check for PrimaryKey matching.
1517 * ConstraintCollection.cs (RamoveAt): Change implemntation.
1519 * DataTableCollection (CanRemove): Removing cast to Constraint.
1521 2003-10-22 Eran Domb <erand@mainsoft.com>
1522 * DataRelationCollection.cs (AddCore): The unique constraint was added even if the createConstraints flag was false.
1523 (Clear): The collection was cleared without removing the relation from the parent and child tables.
1525 * DataSet.cs (Copy, Clone): The Relations of the DataSet were not copy.
1526 (HasChanges, Reset): Imlementation.
1528 * DataTable.cs (HasErrors): There is no flag for errors, instead the table ask her row if they have any errors.
1529 This is because the we do not no when to turn off the flag.
1530 (Locale): Changing implementation to behave like ADO.NET.
1531 (AcceptChanges): Fix bug.
1532 (Clear): Check that this table is not referenced from a foreign key constraint.
1533 (Copy): Do not try to access a deleted row.
1534 (CopyProperties): Copy the PrimaryKey.
1535 (GetChanges, ImportRow): Implementation.
1536 (LoadDataRow): Adding implementation if the table has PrimaryKey.
1537 (ToString): Changing implementation to behave like ADO.NET.
1539 * UniqueConstraint.cs (AssertConstraint): support for Multiple DataColumns in the constraint.
1541 * DataRow.cs (Ctor): In the constructor we initiate the current array, but we should initiate only the proposed array for new rows.
1542 (HasErrors): Implementation.
1543 (Delete): Added checking for child rows of the deleted row.
1544 (EndEdit): Added checking for child row and firing events.
1545 (GetColumnError): Added a check that the method will not return null, as in ADO.NET(an empty string is returned).
1546 (GetColumnsInError): Added a check for null values in column error.
1547 (HasVersion): Added special treatment for special RowState.
1548 (CollectionChanged): More checks to avoid NullReferenceException.
1550 * DataRowCollection.cs (Remove): Fix a bug.
1553 2003-10-01 Duncan Mak <duncan@ximian.com>
1555 More patches from Eran Domb <erand@mainsoft.com>.
1557 * MergeManager.cs: New file.
1559 * DataRelationCollection.cs (AddCore): Check that a
1560 UniqueConstraint is already exists. It loops over the Relations
1561 instead of the Constraints.
1562 (Add, AddCore): The relation was added twice.
1564 * DataSet.cs (Merge, GetChanges, HasChanges): Implemented.
1566 2003-09-30 Duncan Mak <duncan@ximian.com>
1568 Patches from Eran Domb <erand@mainsoft.com>.
1570 * DataRelation.cs (constructor): When the name of the relation is
1571 null, it should return an empty, not "Relation".
1573 * DataRow.cs (AcceptChanges): Added special case for
1575 (CancelEdit): Set editing flag to false.
1576 (IsNull): Check that the value is DBNull.
1578 * DataRowCollection.cs (Add): There was no check that the table of
1579 the collection is owned by a DataSet.
1581 * DataSet.cs (OnMergeFailed): Added.
1583 * UniqueConstraint.cs (AssertConstraint): There was no check that
1584 values in the row are not null, where it is a primary key
1585 column. Also check that the row has a proposed version, if not,
1586 get the current version when we compare the rows.
1588 2003-09-25 Duncan Mak <duncan@ximian.com>
1590 Patches from Eran Domb <erand@mainsoft.com>.
1592 * DataColumn.cs (Unique): Implemented.
1595 * ConstraintCollection.cs:
1596 * ForeignKeyConstraint.cs (_ensureUniqueConstraintExists): Fixes
1597 an Exception thrown. Details:
1598 http://lists.ximian.com/archives/public/mono-devel-list/2003-September/002130.html
1600 * DataRowCollection.cs (Add): There is no checking that there is
1601 no violation of the unique constrains.
1603 * UniqueConstraint.cs (AssertConstraint): There is no checking on
1604 all columns in the constraint.
1606 * DataTableCollection (Add): Correctly throw an Exception, more
1608 http://lists.ximian.com/archives/public/mono-devel-list/2003-September/002117.html
1609 (Remove, RemoveAt): Implemented.
1611 2003-07-31 Duncan Mak <duncan@ximian.com>
1613 * DBConcurrencyException.cs: Added new NET_1_1 no-param constructor.
1615 2003-07-25 Ravi Pratap <ravi@ximian.com>
1617 * DataRelation.cs (OnPropertyChanging): Calling the 'Invoke'
1618 method on a delegate is disallowed - fix this.
1620 2003-07-22 Lluis Sanchez Gual <lluis@ximian.com>
1622 * DataSet.cs: Implemented IXmlSerializable interface. Added basic support for
1623 xml serialization. Modified method of writing schema. Now it creates
1624 a XmlSchema object and serializes it using XmlSerializer.
1625 * XmlConstants.cs: Added constants for data type names.
1626 * XmlDataLoader.cs: Fixed deserialization of data. Now converts data to the
1627 type specified in the column.
1629 2003-04-20 Alan Tam <Tam@SiuLung.com>
1631 * DataRelationCollection.cs: Fix a bug that prevent relations
1632 from being added via DataSet.
1634 2003-04-12 Ville Palo <vi64pa@kolumbus.fi>
1636 * UniqueConstraint.cs: one tiny fix.
1638 2003-04-05 Ville Palo <vi64pa@kolumbus.fi>
1640 * DataTable.cs: Remove UniqueConstraints when adding new ones
1642 2003-04-04 Ville Palo <vi64pa@kolumbus.fi>
1644 * DataColumnCollection.cs: Little 'case sensitive' fix
1646 2003-04-04 Ville Palo <vi64pa@kolumbus.fi>
1648 * DataRow.cs: AutoIncrement handling to Constructor
1649 * DataRowCollection.cs: This doesnt need anymore AutoIncrements
1651 2003-03-27 Ville Palo <vi64pa@kolumbus.fi>
1653 * DataTable.cs: Some fixes to PrimaryKey etc...
1654 * UniqueConstraint.cs: Little clean up
1656 2003-03-27 Ville Palo <vi64pa@kolumbus.fi>
1658 * DataTable.cs: Tiny fix to ToString () -method
1660 2003-03-27 Ville Palo <vi64pa@kolumbus.fi>
1662 * ConstraintCollection.cs: Little fix.
1663 * DataColumn.cs: Added new internal method SetUnique()
1664 * UniqueConstraint.cs: some little fixes
1666 2003-03-26 Ville Palo <vi64pa@kolumbus.fi>
1668 * DataRowCollection.cs: Bugfixes, implementation,...
1670 2003-03-26 Ville Palo <vi64pa@kolumbus.fi>
1672 * DataColumn.cs: If DataType if set to something else than short, int
1673 or long and AutoIncrement is true, AutoIncrement is must set to false.
1675 2003-03-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1678 (BeginEdit): fixed array bound problem when a column has been added.
1679 (EndEdit): just assign proposed to current as proposed is set to null.
1680 This also fixes another array boudn problem.
1682 2003-03-21 Alan Tam <Tam@SiuLung.com>
1684 * DataRow.cs: Fixed problems in accessers, BeginEdit, CancelEdit,
1685 EndEdit and AcceptChanges to act correctly according to DataRowState
1687 * DataRowCollection.cs: Call AttachRow and DetachRow when a row is
1688 attached and detached from the collection.
1690 2003-03-20 Alan Tam <Tam@SiuLung.com>
1692 * DataColumn.cs: Store empty string for Expression when null is passed in.
1693 Classes generated by XSD.exe passes null by default.
1695 2003-03-16 Ville Palo <vi64pa@kolumbus.fi>
1697 * DataColumnCollection.cs: Tiny clean up
1699 2003-03-16 Ville Palo <vi64pa@kolumbus.fi>
1701 * DataColumn.cs: little fixes.
1702 * DataColumnCollection.cs: Lots of little fixes and improvments.
1704 2003-03-12 Alan Tam <Tam@SiuLung.com>
1706 * DataSet.cs: Fixed a bug that the file written does not close correctly.
1708 2003-03-08 Alan Tam <Tam@SiuLung.com>
1710 * DataRelationCollection.cs: Removed the mis-overridden methods
1711 * DataRow.cs: Fixed an attribute
1712 * DataSet.cs: Fixed the modifiers
1714 2003-03-06 Aleksey Demakov <avd@openlinksw.com>
1716 * DataTableCollection.cs: The Contains (string name),
1717 IndexOf (string name) methods, and item[string name] indexer
1718 now behave more like .NET with respect to case-sensitivity.
1719 That is if there is an exactly matching item then this one is used.
1720 If there is only one item differing in case then it used.
1721 If there are more than one item differing in case then
1722 Contains returns false, IndexOf returns -1, and item[]
1723 throws an ArgumentException.
1725 2003-02-28 Ville Palo <vi64pa@kolumbus.fi>
1727 * ExpressionElement.cs: More implementation.
1729 2003-02-28 Alan Tam <Tam@SiuLung.com>
1730 * DataSet.cs: Changed WriteTable so that it now calls the newly written
1731 WriteObjectXml to direct the call to the respective XmlConvert method.
1732 This fixes the wrong format written to XML files of bool, float,
1733 double, DateTime and TimeSpan types.
1735 2003-02-25 Alan Tam <Tam@SiuLung.com>
1737 * DataRelation.cs: Added SetDataSet for DataSetRelationCollection to use.
1738 * DataRelationCollection.cs: Implemented AddRange and Contains.
1739 Implemented AddRange, Clear, List and RemoveCore for DataSetRelationColletion.
1740 Implemented AddCore, List and RemoveCore for DataTableRelationCollection.
1741 Reimplemented most Add methods to eliminate duplicated checks.
1742 Centralized RelationName generation procedure in GetNextDefaultRelationName.
1744 2003-02-25 Alan Tam <Tam@SiuLung.com>
1746 * DataColumn.cs: Fixed wrong storage representation of Expression
1747 (using empty string instead of null) so that ToString() returns nothing.
1748 * DataColumnCollection.cs: Reimplemented GetNextDefaultColumnName so that
1749 auto column naming now works as expected. Reimplemented some Add methods
1750 to eliminate code duplication.
1752 2003-02-19 Ville Palo <vi64pa@kolumbus.fi>
1754 * DataTable.cs: DataTable.CaseSensitive follows parent
1755 DataSet.CaseSensitive property if DataTable.CaseSensitive has never
1756 been changed directly from DataTable
1758 2003-02-19 Ville Palo <vi64pa@kolumbus.fi>
1760 * DataSet.cs: When CaseSensitive property is changed all of the Tables
1761 of DataSet have to change too
1763 2003-02-19 Daniel Morgan <danmorg@sc.rr.com>
1765 * InternalDataCollectionBase.cs: revert change to field
1768 * DataViewManager.cs
1771 * DataSet.cs: commented use of DesignerAttribute
1772 because it broke the build. According to MSDN,
1773 DesignerAttribute does not have a zero-argument constructor
1775 2003-02-18 Ville Palo <vi64pa@kolumbus.fi>
1777 * DataColumnCollectin.cs: Little fix for indexer and case sensitivity
1779 2003-02-18 Alan Tam <Tam@SiuLung.com>
1781 * DataRow.cs: Implemented GetParentRow and GetParentRows.
1782 * DataSet.cs: Added stub for HasChanges, InferXmlSchema,
1783 OnPropertyChanging, OnRemoveRelation, OnRemoveTable,
1784 RaisePropertyChanging.
1785 * DataTable.cs: Implemented NewRowArray.
1786 * DataTablePropertyDescriptor: Fixed a modifier.
1787 * InternalDataCollectionBase.cs: Fixed modifiers. Implemented SyncRoot.
1788 * PropertyCollection.cs: Minor fix.
1789 * ConstraintCollection.cs DataColumn.cs DataColumnCollection.cs
1790 * DataRelation.cs DataRelationCollection.cs DataRow.cs
1791 * DataRowCollection.cs DataRowState.cs DataSet.cs DataTable.cs
1792 * DataTableCollection.cs DataTablePropertyDescriptor.cs DataView.cs
1793 * DataViewManager.cs DataViewRowState.cs DataViewSettingCollection.cs
1794 * ForeignKeyConstraint.cs InternalDataCollectionBase.cs
1795 * PropertyCollection.cs UniqueConstraint.cs: Added missing attributes
1797 2003-02-08 Ville Palo <vi64pa@koti.soon.fi>
1799 * ExpressionElement.cs: More implementation
1801 2003-02-05 Alan Tam <Tam@SiuLung.com>
1803 * DataSet.cs: Added framework for DataSet.Update Implemented missing
1804 methods GetSchemaSerializable, GetSerializationData,
1805 ReadXmlSerializable, ShouldSerializeRelations and ShouldSerializeTables
1807 * DataTable.cs: Implemented missing methods CreateInstance and
1808 GetRowType for DataTable
1810 2003-02-03 Ville Palo <vi64pa@koti.soon.fi>
1812 * DataSet.cs: Implemented private method MapType for
1813 mapping datatypes for XmlSchema
1815 2003-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1817 * DataView.cs: implemented Dispose.
1819 2003-01-30 Ville Palo <vi64pa@koti.soon.fi>
1821 * ExpressionElement.cs: Added new file. This file is for parsing
1822 and DataData.Select () -methods and DataColumn.Expression -property
1823 * DataTable.cs: Implemented Select(string) -method
1825 2003-01-28 Ville Palo <vi64pa@koti.soon.fi>
1827 * DataSet.cs: One little fix to writing xml
1829 2003-01-27 Ville Palo <vi64pa@koti.soon.fi>
1831 * XmlSchemaMapper.cs: Some fixes.
1832 * DatSet.cs: Some XmlFixes and BeginInit ()/ EndInit () -fix
1835 2003-01-24 Ville Palo <vi64pa@koti.soon.fi>
1837 * UniqueConstraint.cs: Do not set columns Unique property true
1839 * ForeignKeyConstraint.cs: Add UniqueConstraint to parent Table
1841 2003-01-18 Ville Palo <vi64pa@koti.soon.fi>
1843 * DataTableCollection.cs: Now names new DataTable if it doesn't
1844 already have a name.
1846 2003-01-17 Ville Palo <vi64pa@koti.soon.fi>
1848 * XmlSchemaMapper.cs: Improvments.
1849 * XmlConstaints.cs: Added more constants.
1850 * DataSet.cs: Improvments of reading and writing xml
1851 * DataColumn.cs: Added default values of properties.
1853 2003-01-14 Ville Palo <vi64pa@koti.soon.fi>
1855 * XmlSchemaMapper.cs: Some improvments
1857 2003-01-13 Ville Palo <vi64pa@koti.soon.fi>
1859 * DataRowCollection.cs: Added IndexOutOfRangeException
1860 * DataTableCollection.cs: Added OnCollectionChanging and
1861 OnCollectionChanged events.
1862 * DataSet.cs: Many fixes. Implemented Clone () and Copy () -methods
1863 * DataTable.cs: Implemented Copy () and Clone () methods.
1864 * XmlDataLoader.cs: some fixes.
1865 * XmlSchemaMapper.cs: comments.
1867 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1869 * DataColumnPropertyDescriptor.cs: store columnIndex in the .ctor.
1871 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1873 * DataColumnPropertyDescriptor.cs: fixed typo.
1874 * DataViewManagerListItemTypeDescriptor.cs: added new internal property
1875 to get the DataViewManager and removed TablePD class.
1876 * DataTablePropertyDescriptor.cs: TablePD class is now this one as
1877 suggested by danmorg.
1879 2003-01-06 Ville Palo <vi64pa@koti.soon.fi>
1881 * XmlDataLoader.cs: Moved diffgram stuff to new internal class
1883 * XmlDiffLoader.cs: new class for diffgrams. Added handling of
1884 diffgr:Errors and some fixes and changed XmlReader to XPathNavigator.
1886 2003-01-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1888 * DataView.cs: made dataViewManager internal.
1889 * DataViewManager.cs: use ICustomTypeDescriptor. We don't want the
1890 properties of the object, but the values of the columns present in a
1893 * DataViewManagerListItemTypeDescriptor.cs: implemented GetProperties,
1894 which returns a PropertyDescriptorCollection. Created a new class
1895 derived from PropertyDescriptor that treats Table as an object whose
1896 properties are DataRowView.
1898 2003-01-04 Ville Palo <vi64pa@koti.soon.fi>
1900 * XmlSchemaMapper.cs: Added handling for Constraints, Attributes.
1902 2003-01-04 Ville Palo <vi64pa@koti.soon.fi>
1904 * DataColumn.cs: ExtendedProperties is by default !null-
1906 2003-01-04 Ville Palo <vi64pa@koti.soon.fi>
1908 * DataColumnCollection.cs: Add (DataColumn Column) -method didn't
1909 set column's ordinal.
1911 2003-01-02 Ville Palo <vi64pa@koti.soon.fi>
1914 * XmlDataLoader.cs: XmlReader closing fixes.
1915 * XmlSchemaReader.cs: Added support for ref=
1917 2003-01-01 Ville Palo <vi64pa@koti.soon.fi>
1920 - Added XmlReader and XmlWriter Closing.
1921 - Moved ReadXmlSchema stuff to new internal class XmlSchemaMapper.
1922 * XmlSchemaMapper.cs
1923 - Much better way IMHO to map xmlschema than the old one in
1924 DataSet.cs. Its, more flexible, cleaner, ...
1926 2002-12-29 Ville Palo <vi64pa@koti.soon.fi>
1928 * XmlDataLoader.cs: Reading diffgrams.
1930 2002-12-29 Ville Palo <vi64pa@koti.soon.fi>
1932 * DataRow.cs: Little fix to indexer and DataColumnCang* trigger fixes.
1933 * DataTable.cs: Added ChanginDataColumn () for triggering
1934 DataColumnChanging event
1936 2002-12-28 Ville Palo <vi64pa@koti.soon.fi>
1938 * DataSet.cs: Indentations to WriteXmlSchema () and one little fix
1940 2002-12-28 Ville Palo <vi64pa@koti.soon.fi>
1942 * DataSet.cs: Indentations to WriteXml ()
1944 2002-12-27 Ville Palo <vi64pa@koti.soon.fi>
1947 * XmlDataLoader.cs: Moved ReadXml -stuff from DataSet.cs to new
1948 class XmlDataLoader.cs
1950 2002-12-19 Ville Palo <vi64pa@koti.soon.fi>
1952 * DataSet.cs Implemented ReadXml with XmlReadMode.ReadSchema
1954 2002-12-18 Ville Palo <vi64pa@koti.soon.fi>
1956 * DataSet.cs: Started to implement ReadXml-methods.
1958 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1960 * DataSet.cs: implemented DefaultViewManager and GetList.
1962 * DataViewManager.cs: a bit of work on IList and ITypedList needed by
1963 DataList in System.Web.
1965 * DataViewManagerListItemTypeDescriptor.cs: custom type descriptor for
1968 2002-12-16 Ville Palo <vi64pa@koti.soon.fi>
1971 * DataTable.cs: Fixed NullException (rollback -event)
1972 * DataSet.cs: WriteXml -method does not anymore write <?xml... row.
1974 2002-12-15 Ville Palo <vi64pa@koti.soon.fi>
1977 * DataRowCollection.cs: Moved event triggering from DataRow to
1980 2002-12-09 Ville Palo <vi64pa@koti.soon.fi>
1982 * DataSet.cs: Little fix to WriteTable () -method
1983 and DoReadXmlSchema () -method.
1985 2002-12-06 Ville Palo <vi64pa@koti.soon.fi>
1987 * DataSet.cs: Clean up to reading xmlschema. This looks much better
1988 now (work better too), but it not working correctly yet.
1990 2002-12-04 Ville Palo <vi64pa@koti.soon.fi>
1993 * DataRowCollection.cs: Added some event handlins stuff.
1994 * DataSet.cs: Some fixes.
1995 * DataTable.cs: Added event handlers.
1997 2002-11-30 Ville Palo <vi64pa@koti.soon.fi>
1999 * DataRowChangeEventArgs.cs: Implemented Action and Row properties
2001 2002-11-30 Ville Palo <vi64pa@koti.soon.fi>
2003 * System.Data/DataRow.cs: Added internal property XmlDataID
2005 2002-11-29 Ville Palo <vi64pa@koti.soon.fi>
2007 * DataSystem.Data.DataTableCollection.cs:
2008 Removed HashTable. There could be situations where DataTable
2009 is added to collection before it hava TableName. So using
2010 HashTable is impossible.
2012 2002-11-19 Carlos Guzmán Álvarez <carlosga@telefonica.net>
2014 * DataRow.cs: an object that is equal to null
2015 should be allowed to be set in this indexer too
2018 2002-11-06 Daniel Morgan <danmorg@sc.rr.com>
2020 * DataColumnPropertyDescriptor.cs: added file
2022 * System.Data/DataRowView.cs: started implementation
2024 * DataTable.cs: stubbed more interfaces. Implemented
2025 IListSource.GetList()
2027 * DataView.cs: stubbed more interfaces. Implemented
2028 some properties and methods: GetEnumerator(),
2029 ITypedList.GetItemProperties, Item indexer, CopyTo()
2031 2002-05-18 Nick Drochak <ndrochak@gol.com>
2033 * DataRow.cs: Fix typo.