1 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
3 * DataView.cs : implemented FindRows() (btw we should not use
4 DataTable since there are detached rows by AddNew().)
6 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
9 Code cleanup: privatify some members, remove unused methods.
10 Some event-based invocation methods should not raise NotImplemented.
12 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
14 * DataSet.cs : ReadXml() became closer to MS behavior, being hacky.
16 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
18 * XmlSchemaDataImporter.cs : empty element is not regarded as a column.
20 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
22 * UniqueConstraint.cs : mostly reverted the previous patch + check
23 IsPrimaryKey before validation.
25 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
27 * DataView.cs : Fixed duplicate insertion to Hashtable.
28 * UniqueConstraint.cs : Unique constrained pair of columns could be
31 2005-01-27 Atsushi Enomoto <atsushi@ximian.com>
34 Don't do anything for Sort/ApplyDefaultSort/RowFilter/RowStateFilter
35 when the same value is being set.
36 Examined UpdateIndex() and marked FIXME where MS does not invoke it.
37 Removed unused OnColumnChanged().
38 Now store rowViewPool and reuse DataRowView objects.
39 Optimized UpdateIndex() - avoid ArrayList. Avoid Haashtable.Rehash().
41 2005-01-27 Atsushi Enomoto <atsushi@ximian.com>
43 * DataViewSettings.cs : no MonoTODO anymore.
44 * DataViewManager.cs : pass itself to new DataView() (new ctor).
45 * DataRowView.cs : GetHashCode() returns its Row's hash.
46 * DataTablePropertyDescriptor.cs : use new ctor().
47 * DataView.cs : added new ctor()s that accept DataViewManager.
49 2005-01-27 Atsushi Enomoto <atsushi@ximian.com>
51 * DataView.cs, DataRowView.cs : AddNew() should not add the row to table
52 (it is still detached). So handle those rows differntly.
53 CancelEdit(), EndEdit() and Delete() propagates those events to
54 DataView (and handle row collection).
55 Eliminate "throw new Exception()".
56 Don't catch all the exception thrown in ListChanged event.
57 * DataTable.cs : made RowSorter as internal and use it in DataView.
58 no need to pass DataRow[] to .ctor().
60 2005-01-27 Atsushi Enomoto <atsushi@ximian.com>
62 * DataTable.cs : don't create DefaultView unless it is required. It
63 significantly improves performance. (i.e. DataView perf. is sick ;-)
65 2005-01-27 Atsushi Enomoto <atsushi@ximian.com>
68 DataViewSettingCollection.cs,
69 DataViewManager.cs : implemented basic members.
71 2005-01-26 Atsushi Enomoto <atsushi@ximian.com>
73 * Node.cs, DataColumnPropertyDescriptor.cs, DataTable.cs :
74 Eliminate "throw new Exception".
76 2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
78 * DataRow.cs : (set_Item) RowNotInTableExeption check should be done
79 regardless of index existence.
81 2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
83 * DataTable.cs : use new IExpression.EvalBoolean() to avoid extraneous
86 2005-01-25 Sureshkumar T <tsureshkumar@novell.com>
88 * DataTable.cs: ImportRow :Do not add to rows collection if the
89 import row is in detached state.
91 2005-01-25 Sureshkumar T <tsureshkumar@novell.com>
93 * DataRow.cs: CopyValuesToRow : set the column value with the
94 default version of the given row.
95 * DataTable.cs: ImportRow: Copy values before adding row.
96 * DataSet.cs: AddChangedRow: Add the row to the table after
99 Fixes bug #67317. Patch by Ankit Jain.
101 2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
103 * DataRowView.cs : Fixed IsEdit to reflect correct status of DataRow.
104 * DataRow.cs : Expose editing status internally.
106 2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
108 * DataView.cs : missing attributes.
110 2005-01-24 Atsushi Enomoto <atsushi@ximian.com>
112 * DataRowView.cs : implemented CreateChildView().
114 2005-01-24 Atsushi Enomoto <atsushi@ximian.com>
116 * DataTable.cs, DataView.cs :
117 Optimized DataView to compile only once RowFilter and Sort when
118 those properties are set. To make it possible, extracted
119 SortableColumn out of DataTable and added internal DataTable.Select()
120 that accepts precompiled IExpression and SortableColumns[].
122 2005-01-24 Atsushi Enomoto <atsushi@ximian.com>
124 * DataColumn.cs : set_MaxLength is not allowed when it is mapped to
125 SimpleContent. (However, it is weird but it never fails when we set
126 ColumnMapping = MappingType.SimpleContent when we fhave MaxLength.)
128 2005-01-21 Atsushi Enomoto <atsushi@ximian.com>
130 * DataRow.cs : more Current -> Default fixes. Check if it should throw
131 VersionNotFoundException. Patch by Ankit Jain.
133 2005-01-21 Atsushi Enomoto <atsushi@ximian.com>
135 * DataRow.cs : Default selects the right version for the current
136 state of the row. Current is not always available. Also change
137 that for GetParentRow(). Patch by Ankit Jain.
139 2005-01-21 Atsushi Enomoto <atsushi@ximian.com>
141 * DataTable.cs : CopyColumn() should copy AutoIncrement after
142 DefaultValue, or it will raise an error in some cases.
144 2005-01-20 Atsushi Enomoto <atsushi@ximian.com>
146 * ConstraintCollection.cs : Add() should throw ArgumentException when
147 the argument constraint fails validation.
148 DataTable.cs : set_PrimaryKey should throw ArgumentException when
149 the argument contains constraints which fail validation.
151 2005-01-19 Sureshkumar T <tsureshkumar@novell.com>
153 * DataRelationCollection.cs:
155 Method Remove : Donot throw exception if DataRelation argument is
156 null in DataRelationCollection.Remove method.
158 Method RemoveAt : Exception should be IndexOutOfRangeException if
159 row index is not in list range.
161 Fixes nunit failures DataRelationCollection.Remove and
162 DataRelationCollection.RemoveAt.
164 2005-01-19 Sureshkumar T <tsureshkumar@novell.com>
166 * ConstraintCollection.cs: Donot throw exception if constraints
167 are null in AddRange method. Check for null before using the
172 2004-01-19 Atsushi Enomoto <atsushi@ximian.com>
174 * XmlDataInferenceLoader.cs,
175 XmlDataReader.cs : Check if the XmlReader (node) represents DataSet
176 or a table, reusing code block in XmlDataInferenceLoader.
177 This fixes bug #60118.
179 2004-01-19 Atsushi Enomoto <atsushi@ximian.com>
181 * XmlDiffLoader.cs : Ankit Jain <radical@imt.ac.in> has a conflicting
182 patches and some good catches. Some attributes should be skipped,
183 and loaded value must be typed.
185 2004-01-19 Atsushi Enomoto <atsushi@ximian.com>
188 XmlDataInferenceLoader.cs,
189 XmlDataReader.cs : use common const for http://www.w3.org/2000/xmlns/.
190 * XmlDiffLoader.cs : It was not handling attributes. Fixed bug #70961.
192 2005-01-18 Sureshkumar T <tsureshkumar@novell.com>
194 Fix for bug #66838. This patch is submitted by "Ankit Jain"
195 <radical@corewars.org> and refactored.
197 * DataRow.cs: Allows to set a parent row even if the row is in
200 * DataRelation.cs: method "UpdateConstraints" is added to check
201 and create missing keys when adding a relation. This is refactored
202 approach from DataRelationCollection.Add method.
204 * DataRelationCollection.cs: AddCore methods of all relation types
205 are synchronized. A Check for existing constraints is
206 done. Relation is added to the list only if all checks are passed.
208 2004-01-18 Atsushi Enomoto <atsushi@ximian.com>
210 * DataColumnCollection.cs : Clear() throws ArgumentException that
211 wraps thrown innerException.
212 * XmlSchemaDataImporter.cs : removed FIXMEs.
214 2004-01-12 Atsushi Enomoto <atsushi@ximian.com>
216 * DataSet.cs : When serializing DataTable, BuildSchema() is passed
217 null relation collections.
218 Quick fix for XmlSerializer deserialization. It does not require
221 2004-01-11 Atsushi Enomoto <atsushi@ximian.com>
224 CustomDataClassGenerator.cs :
225 In DataSet class, IXmlSerializable.GetSchema() returns null.
226 In strongly-typed class, it returns schema.
228 2004-01-07 Atsushi Enomoto <atsushi@ximian.com>
230 * XmlDataInferenceLoader.cs : test driver class should be excluded.
232 2004-12-01 Miguel de Icaza <miguel@ximian.com>
234 * DataView.cs: Patch from Marc Haisenko that ensures that rowCache
237 2004-11-10 Atsushi Enomoto <atsushi@ximian.com>
239 * CustomDataClassGenerator.cs : generated foreign key constraint
240 construction code was creating empty child columns and thus it
241 was invalid. This fixes bug #69276 (patch by Martin Voelkle).
243 2004-11-02 Atsushi Enomoto <atsushi@ximian.com>
245 * CustomDataClassGenerator.cs : custom DataTable ctor should call
246 InitializeFields(), and those DataColumns created by that method
247 should take data type. This should fix bug #68972.
249 2004-10-15 Atsushi Enomoto <atsushi@ximian.com>
251 * DataSet.cs : Also clear UnhandledAttributes ArrayList before
252 generating next attribute column schema. This fixes bug #68432.
254 2004-10-14 Umadevi S <sumadevi@novell.com>
255 * DataTable.cs : Corrected the Clone method to use Activator.CreateInstance so that the
256 correct subclass is returned. This fixes bug #67631
258 2004-10-14 Umadevi S <sumadevi@novell.com>
259 * DataSet.cs : Corrected the Clone method to use Activator.CreateInstance so that the
260 correct subclass is returned. This fixes bug #67627
262 2004-10-13 Atsushi Enomoto <atsushi@ximian.com>
264 * DataSet.cs : clear UnhandledAttributes ArrayList before generating
265 next element column schema. This fixes bug #68256.
267 2004-10-12 Atsushi Enomoto <atsushi@ximian.com>
269 * DataSet.cs : now xs:schema contains xmlns="".
270 This fixes bug #68008.
272 2004-10-12 Atsushi Enomoto <atsushi@ximian.com>
274 * DataSet.cs : DBNull attribute column should not be written as
275 empty attribute. This fixes bug #68007.
277 2004-10-12 Atsushi Enomoto <atsushi@ximian.com>
279 * DataSet.cs, XmlConstant.cs, XmlSchemaDataImporter.cs:
280 DataColumn.ReadOnly was not handled. This fixes bug #68005.
281 Attribute defaultValue was not handled too.
283 2004-10-07 Atsushi Enomoto <atsushi@ximian.com>
286 - When AllowDBNull is false on attribute DataColumn, its schema
287 should contain use="required". This fixes bug #66792.
288 - If MaxLength is set on attribute DataColumn, the mapped schema
289 type should contain maxLength facet. This fixes bug #66793.
291 2004-10-04 Atsushi Enomoto <atsushi@ximian.com>
293 * DataSet.cs : For a row, when a relation is not nested, then it is
294 still output target since it won't be written as a child of its
295 parent. It fixes bug #66379.
297 2004-10-03 Atsushi Enomoto <atsushi@ximian.com>
299 * DataSet.cs : Attribute constraint field XPath must be written as
300 @blah. This fixes bug #66366.
302 2004-09-28 Umadevi S <sumadevi@novell.com>
303 * DataRow.cs - checked for Enforceconstraints, while using indices to search for related rows
305 2004-09-24 Sureshkumar T <tsureshkumar@novell.com>
307 * DataSet.cs : Don't check constraints for dataset clear
308 * DataRowCollection.cs : check for EnforceConstraints flag
309 before checking foriegn key constraints in Clear method
310 * DataTable.cs : Redundant checking removed in Clear method as it is
311 checked in DataRowCollection.Clear method.
314 2004-09-19 Sureshkumar T <tsureshkumar@novell.com>
315 * DataRow.cs : while deserialization of dataset, adding a current row precedes the original row.
316 hence, adding a row cache is necessary if the original row happens to be current.
319 2004-08-23 Martin Baulig <martin@ximian.com>
321 * XmlDataInferenceLoader.cs (Driver): Make this class internal,
324 2004-08-18 Umadevi S <sumadevi@novell.com>
325 * DataView.cs - Completed most of the event handling.
326 Thanks to Punit Todi <punit_todi@da-iict.org> for implementing most of it.
327 Thanks to Boris Kirzner <borisk@mainsoft.com> for commenting and suggesting changes to the implementation.
328 * DataTable.cs - Changed Access modifiers of class/methods since it was used by DataView.
330 2004-08-06 Atsushi Enomoto <atsushi@ximian.com>
332 * DataSet.cs : DataSet's ExtendedProperties were not XmlConverted.
334 2004-08-05 Atsushi Enomoto <atsushi@ximian.com>
336 * XmlConstants.cs : Added constants for "msprop" support.
337 * DataSet.cs : ExtendedProperties should be written in the schema.
338 This fixes bug #61233.
340 2004-07-27 Atsushi Enomoto <atsushi@ximian.com>
342 * DataSet.cs : on serialization to XmlWriter, XmlConvert should be
343 used. There were also some culture dependency problems to write int.
345 2004-06-27 Atsushi Enomoto <atsushi@ximian.com>
347 * XmlDataInferenceLoader.cs : It was not always filling relation
348 child table information correctly. This fixes bug #60742.
350 2004-06-23 Umadevi S <sumadevi@novell.com>
351 * UniqueConstraint.cs :changed a ifdef true to ifdef NET_1_1
353 2004-06-22 Atsushi Enomoto <atsushi@ximian.com>
355 * DataSet.cs : Fixed ReadXml(). When ReadMode is ReadSchema and the
356 schema is inside the document element (as created in XmlWriteMode
357 .WriteSchema), it should read schema from that non-document element.
358 This fixes one case reported in bug #60470.
360 2004-06-20 Atsushi Enomoto <atsushi@ximian.com>
362 * XmlDataInferenceLoader.cs : Kindly reject xml schema document as a
363 inference target. For bug #60470. (MS does not support schema
364 document inference and results in unconsistent dataset structure.)
366 2004-06-20 Atsushi Enomoto <atsushi@ximian.com>
368 * DataTableCollection.cs : reset the table's DataSet to null when
369 removing a table from this collection.
370 * DataTable.cs : When Namespace is not specified explicitly, its
371 Namespace property reflects DataSet's Namespace if exist.
372 This fixes bug #60469.
374 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
376 * DBConcurrentcyException.cs: CRLF to LF
377 * DataViewSetting.cs: CRLF to LF
379 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
381 * DataViewSetting.cs: renamed fields to match MS.NET
383 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
385 * DBConcurrencyException.cs: fixed serialization compatibility with
388 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
390 * ChangeLog : Fix for misspelled words.
392 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
394 * DataRowCollection.cs : Removed onColumnRemoved since it is not in use.
396 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
399 - Table stores default values for columns in special default values row.
400 It is allocated once (in NewRow).
401 - DataTable.Copy rewrited. It works with uninitialized rows for better perfomance.
402 - OnRemoveColumn has nothing to perform by now.
404 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
407 - Changed access of original, current and proposed indexes to internal.
408 - ColumnErrors reviewed : now column errors stored in ArrayList and allocated on demand only.
409 - Added new DataRow constructor that creates uninitialized DataRow (used in DataTable.Copy).
410 - Use DataContainer.CopyValue and default values row for faster set of default values in row.
411 - SetColumnValue become CheckValue. Now it does not changes the value, but only checks for its correctness.
412 Care about Null and DBNull values is now in DataContainer.
413 - Use DataColumn.AutoIncrementValue and GetInt64 for faster set of autoincrement value.
414 - Use Datacontainer.CopyValue and default values row to speed up CheckChildRows.
415 - Fix in CopyState : clone column errors.
416 - Removed CollectionChanged and onColumnRemoved since we are not using both of them anymore.
418 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
420 * DataColumnCollection.cs :
421 - Fix : Add() now delegates to Add(DataColumn).
422 - autoIncrement list holds DataColumn objects, and not just column names.
424 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
427 - AutoIncrementValue fixes. Now AutoIncrement uses DataContainer.GetInt64 to avoid boxing.
428 - DefaultValue fixes. Default value from now on is also stored in special record in
429 DataTable, so we're able to set default value for the column faster (typed).
432 2004-06-15 Atsushi Enomoto <atsushi@ximian.com>
434 * DataSet.cs : children of non-root rows were not properly written.
437 2004-06-10 Umadevi S <sumadevi@novell.com>
438 * DataRelation.cs - Constructor
439 - The datatypes of the parentcolumn(s) and the childcolumn(s) should match
441 2004-06-06 Atsushi Enomoto <atsushi@ximian.com>
443 * XmlSchemaDataImporter.cs : We should fill Namespace for DataTable.
445 2004-06-04 Gert Driesen <drieseng@users.sourceforge.net>
447 * Constraint.cs: marked methods internal to fix public API
448 * ConstraintCollection.cs: to fix public API, use
449 DataTable.fInitInProgress to check whether initialization
450 of DataTable is in progress
451 * DataColumn.cs: added stubs for missing methods
452 * DataRowBuilder.cs: marked Table property internal to
454 * DataSet.cs: removed extra empty destructor, marked
455 OnMergeFailed internal to fix public API
456 * DataTable.cs: use fInitInProgress field to hold init
457 status, to match MS.NET
458 * DataView.cs: added missing attributes on IsOpen
460 2004-06-03 Atsushi Enomoto <atsushi@ximian.com>
462 * DataSet.cs : Use NameTable.Get() before calling LookupNamespace()
463 in XmlNamespaceManager.
465 2004-06-03 Atsushi Enomoto <atsushi@ximian.com>
467 * DataSet.cs : complex table content child was not properly added
468 when it is the only one child in the parent table. Fixed bug #53959.
470 2004-06-02 Gert Driesen <drieseng@users.sourceforge.net>
471 * DataTableTypeConverter.cs: added
472 * DataView.cs: added missing attribute on Table property
473 * DataViewManager.cs: moved attribute to correct property
474 * UniqueConstraint.cs: removed extra ReadOnly attribute from
475 IsPrimaryKey property
477 2004-06-01 Atsushi Enomoto <atsushi@ximian.com>
479 * DataRow.cs : ColumnsChanged event is not required in .ctor().
481 2004-06-01 Atsushi Enomoto <atsushi@ximian.com>
483 * XmlDataReader.cs : type change is required before setting value
486 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
488 * DataSet.cs : Loop-break of the last fix was incorrect.
490 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
492 * DataSet.cs : When a row has no parent row but the table has parent
493 relation(s), that row had been always ignored.
495 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
497 * XmlDataInferenceLoader.cs : Fixed GetMappedTable() that incorrectly
498 rejected same-named tables in different hierarchy. Thanks to Boris.
500 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
502 * XmlDiffLoader.cs : Added some Skip() that is required not to go to
503 infinite loop. Thanks to Boris for this fix.
505 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
507 * XmlDataInferenceLoader.cs : XmlSchema elements should not be infered.
508 Thanks to Boris for this fix.
510 2004-05-30 Atsushi Enomoto <atsushi@ximian.com>
512 * DataTable.cs : serialization .ctor() should use XmlReadMode.DiffGram
513 for ReadXml(). Thanks to Boris.
515 2004-05-27 Boris Kirzner <borisk@mainsoft.com>
517 - CheckReadOnlyStatus : use typed (and faster comparing).
518 - EndEdit : bug fix - do not dispose record if it holds original version.
519 - SetValuesFromDataRecord : Take care about autoincrement columns.
522 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
524 * MergeManager.cs : don't output debug message to Console.
526 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
528 * XmlDataInferenceLoader.cs : Namespace are not imported to the table
529 structure. Thanks to Boris Kirzner for the fix.
531 2004-05-27 Umadevi S <sumadevi@novell.com>
532 * DataRelationCollection.cs - fixed nunit test errors
534 2004-05-27 Umadevi S <sumadevi@novell.com>
535 * DataTableCollection.cs - fixed nunit test errors
537 2004-05-21 Atsushi Enomoto <atsushi@ximian.com>
539 * DataColumnCollection.cs : NullReferenceException was thrown when
540 the table was not found.
541 * DataRowCollection.cs :
542 Find() just returns null for null value under MS.NET 1.1.
543 RemoveAt() should also avoid to call AcceptChanges() like Remove().
544 * UniqueConstraint.cs : in AssertConstraint() throw ConstraintException
545 directly under MS.NET (for nunit test).
547 2004-05-21 Atsushi Enomoto <atsushi@ximian.com>
549 * XmlSchemaDataImporter.cs : Setting startindex in LastIndexOf()
550 caused problem on qualified name to get schema Field name.
552 2004-05-21 Atsushi Enomoto <atsushi@ximian.com>
554 * XmlDataReader.cs : Now data reader is namespace aware in all places.
555 When table's namespace is different, it entered to infinite loop.
557 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
558 * MergeManager.cs : AdjustSchema now updates by reference new created table,
559 so in Merge you do not need to lookup for it (were unable to do this for unnamed tables).
562 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
564 * DataColumn.cs : In set_Item[int] - if autoincrement, adjust next autoincrement value.
565 * DataColumnCollection.cs : fixed parantethes.
567 - AcceptChanges : do nothing if row state is unchanged.
568 - GetChildRows, GetParentRows : bug fix (use correct index).
569 * DataRowCollection.cs : bug fix (compare all row's values).
570 * DataTable.cs : bug fix (use correct row version).
572 2004-05-20 Atsushi Enomoto <atsushi@ximian.com>
574 * XmlSchemaDataImporter.cs : xs:positiveInteger is mapped to ulong.
575 When content type is Mixed, text column is not required (it is
576 required only when the complex type has no particle).
577 "Repeated element" column is also created (considering maxOccurs=0
578 and complex content extension).
580 2004-05-20 Atsushi Enomoto <atsushi@ximian.com>
582 * XmlSchemaDataImporter.cs : XmlSchemaGroupBase was not handled
585 2004-05-20 Atsushi Enomoto <atsushi@ximian.com>
587 * XmlSchemaDataImporter.cs : Removed unused code and extra MonoTODO.
588 Fixed relation inference to consider attribute XPath.
590 2004-05-19 Atsushi Enomoto <atsushi@ximian.com>
592 * DataColumn.cs : Fixed set_Item[int]. Convert.ToInt64(DBNull.Value)
595 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
597 * DataColumn.cs - removed default member attribute.
599 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
602 DataColumnChangeEventArgs.cs,
603 DataColumnCollection.cs,
605 DataRowCollection.cs,
607 Index.cs : Data storage in the row is redesigned. Now data is stored in
608 typed containers inside DataColumn. Row holds its versions as indexes inside
609 each of data container, accessed through the row that holds it.
611 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
613 * UniqueConstraint.cs - added comment.
615 2004-05-19 Atsushi Enomoto <atsushi@ximian.com>
617 * XmlDataInferenceLoader.cs : Don't add already-existing DataTable to
620 2004-05-17 Atsushi Enomoto <atsushi@ximian.com>
623 XmlDataInferenceLoader.cs,
625 XmlSchemaDataImporter.cs : XmlDecode every local name to read and
626 XmlEncode every local name to write. This should fix bug #58268.
628 2004-05-17 Atsushi Enomoto <atsushi@ximian.com>
630 * DataSet.cs : Implemented ignored namespaces in InferXmlSchema().
631 Supported repeated elements. Removed MonoTODOs.
632 * XmlDataInferenceLoader.cs : Design change to support ignored
633 namespace and repeated elements.
634 * XmlSchemaDataImporter.cs : Added mapping support classes.
636 2004-05-15 Atsushi Enomoto <atsushi@ximian.com>
638 * CustomDataClassGenerator.cs :
639 Added property parent "[foo]Row" and children "Get[foo]Row" support
640 for custom DataRow classes.
641 Fixed DataColumn property accessibility (public --> internal).
643 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
645 * CustomDataClassGenerator.cs :
646 - Put classes inside custom DataSet class.
647 - Added automatic DataRelation creation support.
648 - Added Constraints creation support. That is done separate from
649 relations, since they might be independently created.
650 - Added non-MS public DataRelation fields.
651 - Removed extraneous "DataRelation type generation" code.
652 - Fixed custom_dataset.Initialize() not to create "c" field that
653 was created more than once.
654 - Implemented AddxxxRow() that takes parameters for every column.
656 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
658 * XmlSchemaDataImporter.cs : When primary key is used more than once,
659 DataRelation borked because of empty parent column name.
661 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
663 * XmlSchemaDataImporter.cs : When Creating constraints with related
664 to DataRelation creation, also set PrimaryKey to the parent table.
666 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
668 * XmlSchemaDataImporter.cs :
669 Design change to add indirect table and relation structures.
670 Support for "relation" annotation for local element.
671 Support for repeatable simple element column (maxOccurs > 1).
672 Fixed handling of Nested property on DataRelation (for globally
673 annotated relation, Nested is false).
675 2004-05-13 Atsushi Enomoto <atsushi@ximian.com>
677 * DataRow.cs : Added DataElement property to avoid storing every row-
678 element mapping. It stored even for nodes that should be removed.
680 2004-05-13 Umadevi S <sumadevi@novell.com>
682 * RelationshipConverter.cs - Stubbed this class
683 * DataRelation.cs - added TypeConveterAttribute
685 2004-05-13 Umadevi S <sumadevi@novell.com>
687 * DataColumnCollection.cs - Added ResDescriptionAttribute
688 * DataRelation.cs - Added TypeConverterAttribute
689 * DataRelationCollection.cs - Added DefaultPropertyAttribute
690 * DataRowView.cs - Added GetHashCode method with a TODO tag
691 * DataSet.cs - Added DesignerAttribute
692 * DataView.cs - Added DesignerAttribute
693 * DataViewManager.cs - Added DesignerAttribute
694 * DataViewSetting.cs - Added TypeConverterAttribute
696 2004-05-12 Atsushi Enomoto <atsushi@ximian.com>
698 * DataRow.cs : Added XmlDataElement initialization code.
700 2004-05-11 Atsushi Enomoto <atsushi@ximian.com>
702 * XmlDataInferenceLoader.cs :
703 It now requires XmlDocument as input. Improved identification of
704 DataSet element. Removed extra lines.
705 Moved boresome design notes to bottom of the source and
706 added standalone runnable driver (not included on build).
708 Update with related to the change above.
709 WriteXml() should call Flush() after writing. This fixes bug #58327.
710 * XmlSchemaDataImporter.cs :
711 Improved indentification of DataSet element.
713 2004-05-11 Gert Driesen (drieseng@users.sourceforge.net)
714 * DataTable: marked initStatus enum internal
716 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
717 * DataTable.cs: removed TypeConverterAttribute, marked RowsExist
719 * DataRowView.cs: removed extra Error property
720 * DataRow.cs: reduced accessibility of CollectionChanged method
722 * DataColumnPropertyDescriptor.cs: made class internal
723 * DataColumn.cs: removed extra TypeConvertorAttribute
724 * ConstrainCollection.cs: marked PostEndInit method internal
726 2004-05-07 Atsushi Enomoto <atsushi@ximian.com>
729 In WriteXmlSchema(), when complex type contains simple type content
730 attributes must not added to XmlSchemaComplexType directly. It
731 causes schema compilation error.
732 DataRelation should not be output when related columns are hidden.
734 2004-05-07 Atsushi Enomoto <atsushi@ximian.com>
736 * XmlDataInferenceReader.cs : Added. It does InferXmlSchema() (it is
737 also expected to do ReadXml(), but I will remove that feature and
738 support column reordering).
739 * XmlSchemaDataImporter.cs : Always initialize dataset name.
740 Always set Nested and primary key for parent table.
741 * XmlDataReader.cs : Now it is used.
742 Top level element might not match to dataset name nor any table
743 name, but still possible to read content tables.
744 Handle empty element correctly in some places.
745 Handle Fragment mode (read up XmlReader to the end).
746 * DataSet.cs : Modified InferXmlSchema() and ReadXml() to use
747 XmlDataInferenceLoader and XmlDataReader.
749 2004-05-06 Atsushi Enomoto <atsushi@ximian.com>
752 Eliminated CRLF injection.
753 More clear message in Clear().
754 Updates reflecting XmlSchemaDataImporter change.
755 Added duplicate check for XmlSerializerNamespaces in BuildSchema().
756 Don't use xmlns attribute for UnhandledAttributes (its not mandatory
757 but that depends on different behavior from ms.net).
758 Set locale also for DataTable.
759 Add xs:element only when target namespace matches to the
760 element's namespace. Otherwise, add xs:import for external namespace.
761 Put xs:sequence for dataset element's particle _only when_ actual
764 2004-05-06 Atsushi Enomoto <atsushi@ximian.com>
766 * XmlDataReader.cs : Added. This class will work better when our
767 schema inference and schema read engine gets improved. (It contains
768 standalone testable Driver class.)
770 2004-05-06 Atsushi Enomoto <atsushi@ximian.com>
772 * ForeignKeyConstraint.cs : Check step change. Existence then column
773 validity. just for tests.
774 * XmlSchemaDataImporter.cs : code simplification. reduced extraneous
777 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
779 * DataSet.cs : Ignore empty content only when output type is diffgram.
781 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
783 * CustomDataClassGenerator.cs : Modified that DataSet contains each
784 DataTable field so that each table property can access them directly.
785 (plus, modified standalone code driver code: shouldn't affect)
787 2004-05-05 Boris Kirzner <borisk@mainsoft.com>
789 * DataView.cs , DataRowView.cs : Added implementation to basic methods and properties.
791 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
793 * XmlSchemaDataImporter.cs :
794 SimpleContent column support.
795 Annotated relation support.
796 Top-level element is counted only when its type is complex.
797 xs:anyType is no longer treated as complex type.
798 dataset existence is mandatory now.
799 Improved DataType and DefaultValue support.
800 Attribute namespace is properly handled now.
801 Prohibited attribute is now treated as hidden column.
802 Reject list or union simple type.
804 Still incomplete 1) to read relationship in some cases, 2) to
805 determine whether an element is dataset or table, 3) thus to
806 exclude extraneous column, 4) to remove extraneous *_Id column.
808 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
811 We had better reuse DataSet's ReadXmlSchema() and ReadXml() in
812 serialization .ctor() (thus schema read/inference should be easier).
813 DataRowSorter should consider Table's Locale.
815 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
817 * DataColumnCollection.cs : We already had AutoIncrementValue(), so
818 use it instead of duplicating logic.
820 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
822 * ConstraintCollection.cs :
823 Use Table.CaseSensitive and Table.Locale to compare strings.
824 Duplicate constraint name exception does not occur under .NET 1.1.
826 2004-05-04 Lluis Sanchez Gual <lluis@ximian.com>
828 * XmlSchemaDataImporter.cs: Added little type check.
830 2004-05-04 Lluis Sanchez Gual <lluis@ximian.com>
832 * DataSet.cs: Implemented support for runtime serialization. Fixed support
833 for xml serialization.
834 * XmlDiffLoader.cs: Skip diffgram element when it is empty.
836 2004-04-30 Umadevi S <sumadevi@novell.com>
837 * DataColumnCollection.cs : Fixed nunit test errors, removed TODOs
838 * DataTableCollection.cs : Tested and removed TODO
839 * TypedDataSetGeneratorException.cs : Fixed a couple of TODOs
841 2004-04-29 Atsushi Enomoto <atsushi@ximian.com>
843 * DataRow.cs : My previous patch unintentionally reverted Boris patch.
845 2004-04-29 Boris Kirzner <borisk@mainsoft.com>
847 * UniqueConstraint.cs : Constraint columns becaomes unique after adding constraint ifand only if
848 constraint is defined on single column.
850 2004-04-29 Atsushi Enomoto <atsushi@ximian.com>
852 * DataRowCollection.cs : .NET 1.1 throws InvalidConstaintException,
853 not ArgumentException (maybe changed after 1.1).
855 2004-04-29 Atsushi Enomoto <atsushi@ximian.com>
857 * DataRow.cs : When Column was added and it was AutoIncrement column,
858 it extended the item object array incorrectly.
859 (Plus tiny comment and incorrect indentation fix.)
861 2004-04-29 Boris Kirzner <borisk@mainsoft.com>
863 * MergeManager.cs : added ( incomplete yet ) support for merging DataSet schema.
865 2004-04-29 Boris Kirzner <borisk@mainsoft.com>
867 * DataRow.cs : Bug fix in CopyValuesToRow().
869 2004-04-29 Boris Kirzner <borisk@mainsoft.com>
871 * UniqueConstraint.cs : There is no reason to mark constraint's columns as unique, because
872 each of the columns should not be unique, but only all the constraint's columns together.
874 2004-04-28 Boris Kirzner <borisk@mainsoft.com>
877 - Added using of list of autoIncrement columns
878 - SetColumnValue receives also DataColumn to avoid duplicate lookup in DatacolumnCollection
879 - Fix in CheckNullConstraints
880 - Fix in this[] and HasVersion() : when evaluating an expression deleted rows values can be accessed.
881 - Fix in SetColumnValue() , added CanAccess() method to avoid case of accessing internal array values berore it actually allocated.
882 - Added onColumnRemoved() method to threat column removal accurately.
884 * DataRowCollection.cs :
885 - Added using of DataRow._nullConstraintViolation (for perfomance fix in EndLoadData())
886 - Added method onColumnRemoved() - calls each row's onColumnRemoved() (to ensure column removal is treated accurately)
889 - Call DataRowCollection.onColumnRemoved() in OnRemoveColumn() (to ensure column removal is treated accurately)
891 * DataColumnCollection.cs :
893 - collection holds a list of its autoIncrement columns (avoids unnesessary lookup through whole collection)
894 - collection holds mapping from column names to DataColumn objects (avoids lookup through whole collection).
895 - automatic creation of column names rewrited (bug fixes + perfomance improvement)
898 - Uses autoincrement list of a table
900 2004-04-27 Atsushi Enomoto <atsushi@ximian.com>
902 * XmlDataLoader.cs : Even when it should ignore schema, it was
904 * XmlSchemaDataImporter.cs : DataRelation creation support.
905 Improved "DataSet" element handing. When attributes are on the
906 element, it is not a "DataSet" element.
907 Fixed parent key column name.
908 Unique name creation is not required. Just raise an error.
909 Fill facet also for attribute types.
911 2004-04-27 Atsushi Enomoto <atsushi@ximian.com>
913 * DataRow.cs : Null check for CheckReadOnlyStatus() and
914 CheckNullConstraints(), with some coding guideline fixes.
915 Type check should be done by Type instance comparison.
917 2004-04-27 Atsushi Enomoto <atsushi@ximian.com>
919 * DataColumnCollection.cs : When add a column to the collection, fill
920 auto-increment column.
922 2004-04-26 Boris Kirzner <borisk@mainsoft.com>
924 * DataColumn.cs : Small perfomance fix (avoid unnesessary string concatenation).
926 2004-04-26 Atsushi Enomoto <atsushi@ximian.com>
928 * CustomDataClassGenerator.cs : Added.
929 * TypedDataSetGenerator.cs : Implemented Generate().
930 Changed GenerateIdName() to call CustomDataClassGenerator.MakeSafeName
931 * XmlSchemaDataImporter.cs : Table Locale should be supplied.
933 2004-04-25 Boris Kirzner <borisk@mainsoft.com>
935 * DataTable.cs : Small perfomance fix (avoid unnesessary string concatenation).
937 2004-04-25 Boris Kirzner <borisk@mainsoft.com>
939 * Constraint.cs : Small perfomance fix (avoid unnesessary string concatenation).
941 2004-04-23 Umadevi S (sumadevi@novell.com)
942 * DataRow.cs: Checked BeginEdit,EndEdit,CancelEdit and Delete methods
943 - Added error handling to the above methods
945 2004-04-22 Atsushi Enomoto <atsushi@ximian.com>
947 * DataSet.cs : Data should be read when mode is IgnoreSchema (well,
948 the support is incomplete yet).
950 Reverted ReadModeSchema() argument change. XmlReadMode would be
951 useful to handle IgnoreSchema.
952 Don't overwrite DataSetName when mode is not such kind.
953 Set Prefix and Namespace as well as DataSetName.
954 AllowDBNull looks set false by default for element column.
955 Set unique constraint as primary key when infering the table schema.
957 2004-04-21 Atsushi Enomoto <atsushi@ximian.com>
960 Never set null string for Prefix and Namespace.
961 In InferXmlSchema() when null XmlReader is passed, just do nothing.
962 In WriteXmlSchema(string), earlier try block.
963 In BuildSchema(), try to add serialization namespaces for each
964 namespaces in DataSet/DataTable/DataColumn.
965 Removed namespace argument from WriteColumnAsElement() and don't
966 overwrite when namespace is "". This fixes bug #57330.
967 * DataColumn.cs : For Namespace and Prefix, never set null.
969 2004-04-21 Boris Kirzner <borisk@mainsoft.com>
971 * XmlSchemaMapper.cs : Check for not null unique constraint in ReadXmlSchemaKeyref()
972 before creating and adding foreign key constraint and relation.
974 2004-04-21 Boris Kirzner <borisk@mainsoft.com>
976 * MergeManager.cs : In AdjustSchema() source table clone should be added
977 and not the table itself.
979 2004-04-21 Boris Kirzner <borisk@mainsoft.com>
982 - CaseSensitive : Additional fix (removed unnesessary assignment).
983 - CopyProperties : Do not try to copy ExtendedProperties if the collection is empty.
985 2004-04-21 Boris Kirzner <borisk@mainsoft.com>
987 * DataTable.cs : Ensure that DataSet property is not null before using it in Clear().
989 2004-04-20 Boris Kirzner <borisk@mainsoft.com>
992 - EndLoadData() : perfomance fix in case of null constraint violation
993 during data load (also in DataRow.cs).
994 - CaseSensitive : If DataTable belongs to DataSet it should always use
995 DataSet.CaseSensitive untill explicitly changed.
996 - CopyProperties() : do not try to copy ExtendedProperties if the collection is empty.
999 - Pefromance fix in case of null constraint violation
1000 during data load (also in DataTable.cs).
1001 - CollectionChanged() : use correct column number after new DataColumn was added
1002 (differs in case some DataColumn was previosly removed).
1003 - EndEdit() - throw away proposed values only after CheckChildRows() complete.
1005 2004-04-20 Boris Kirzner <borisk@mainsoft.com>
1007 * DataColumnCollection.cs : Since unique constraint is added now
1008 in DataColumn.SetTable() the additional creation of constraint in
1009 DataColumnCollection.Add() is redundant and causes exception - fixed.
1011 2004-04-19 Atsushi Enomoto <atsushi@ximian.com>
1013 * XmlDataLoader.cs : Added "never add data rows" mode.
1014 Removed unused code. However, it is temporary fixes to unify
1015 ReadXml() and InferXmlSchema().
1016 * DataSet.cs : Implemented InferXmlSchema(), though it is incomplete.
1018 I'll create another XmlDataLoader since there are many problems
1019 such that 1) it is too waste to read the entire xml into an
1020 XmlDocument, 2) it does not handle attributes correctly, and 3) it
1021 must handle "ignored namespaces".
1023 2004-04-19 Atsushi Enomoto <atsushi@ximian.com>
1025 * Added XmlSchemaDataImporter.cs (new schema reader).
1026 * DataSet.cs : Use XmlSchemaDataImporter (right now for DataSet only)
1027 for ReadXmlSchema().
1028 Let schema reading work to ReadXmlSchema().
1029 Don't return ReadSchema when argument read mode was DiffGram.
1031 2004-04-15 Umadevi S (sumadevi@novell.com)
1032 * Updated Clone/Copy methods in DataSet along with Testcase
1033 * ForeignKeyConstraint.cs - special ctor implemented
1034 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).
1035 * Changes in ConstraintCollection.cs for the above
1036 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.
1039 2004-04-15 Atsushi Enomoto <atsushi@ximian.com>
1041 * XmlSchemaMapper.cs : set parent key and foreign key info to
1042 DataRelation when reading refkey constraints.
1043 Supply constraint name for fkey.
1045 2004-04-15 Atsushi Enomoto <atsushi@ximian.com>
1047 * XmlDataLoader.cs : Don't overwrite existing DataSetName. When read
1048 mode is Auto, just ignore the schema if there is already schema info.
1049 * DataSet.cs : Similarly ignore schema info for XmlReadMode = Auto.
1051 2004-04-14 Atsushi Enomoto <atsushi@ximian.com>
1054 - In MS output, XML declaration looks to have standalone decl (yes).
1055 - ReadXml(reader) just calls to ReadXml(reader, XmlReadMode.Auto)
1056 - ReadXml(reader, mode)
1057 1) return originally specified mode, instead of (always) Auto.
1058 2) Check empty reader.
1059 3) Check diffgram schema and content separately.
1060 4) When diffgram exists, remaining (the same-level) contents
1062 5) Similar fact should be applied, but somewhat different.
1063 InferSchema and IgnoreSchema just skips, Fragment reads both
1064 schema and content, others just reads schema.
1065 - Removed unused code.
1066 * XmlDataLoader.cs :
1067 - Read() should skip in some ReadMode.
1068 - Don't compare schema element name as case-insensitive (well,
1069 should schemas be checked here?)
1070 - Avoided BuildDocument() not to create confusing DataSet
1072 - Don't add any tables when reader has single element.
1073 * XmlDiffLoader.cs :
1074 When target table was not found, MS.NET doesn't raise an error.
1075 * XmlSchemaMapper.cs :
1076 When XmlSchema.Read() left xml reader at </xs:schema>, read once.
1078 2004-04-13 Atsushi Enomoto <atsushi@ximian.com>
1081 - InferXmlSchema(): Throw explicit NotImplementedException now.
1082 - Don't put XML declaration everywhere. Write just for filename arg.
1083 - xmlns="" should not be written. Maybe WebService problem is
1084 because default namespace is overwritten. This patch will keep
1085 the WS problem away and actually fixes some unit tests (i.e. use
1086 explicit String.Empty for null namespace in WriteStartElement()).
1087 - MoveToContent() should always be called, not only when
1088 LocalName="xml". It will ignore prolog (DTD, PI, comment etc.).
1089 - Even XmlReadMode is DiffGram, reader might not be "diffgram"
1090 element. As to MSDN, diffgram does not contain schema.
1092 2004-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1094 * DataTable.cs: made _initStatus private so that System.Data is CLS
1097 2004-04-13 Umadevi S <sumadevi@novell.com>
1098 * UniqueConstraint.cs:
1099 * ConstraintCollection.cs:
1101 - Implemented a Constructor for UniqueConstraint.cs
1102 - Used EndInit on DataTable to call a delegate which adds the
1103 constraints passed to the most recent call of AddRange().Used
1104 AddRange() on ConstraintCollection to check whether
1105 DataTable.BeginInit has occurred. If yes, save the argument
1106 constraint collection passed, then return. If no, Check whether the
1107 constraints are of type UniqueConstraint and initialized with the
1108 special constructor If yes Initialized the table property of this
1109 UniqueConstraint object with table assosciated with the current
1110 instance of ConstraintCollection class.
1112 2004-04-07 Marek Safar <marek.safar@seznam.cz>
1114 * Constraint.cs: changed ClsCompliant to CLSCompliant, build fix.
1116 2004-04-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1119 * DataColumnCollection.cs:
1120 * DataRelationCollection.cs:
1121 * DataRowCollection.cs:
1122 * DataTableCollection.cs:
1123 * InternalDataCollectionBase.cs:
1124 * Node.cs: CLS compliance for System.Data. Patch by Gert Driesen.
1127 2004-04-05 Jackson Harper <jackson@ximian.com>
1129 * DataTable.cs: Add rows to the row list if there is no filter.
1131 2004-03-31 Juraj Skripsky <juraj@hotfeet.ch>
1133 * DataColumn.cs : Setting Caption to null sets it to the empty string
1134 (ms.net behaviour, testcase is in DataColumnTest).
1136 * DataRow.cs : Evaluate DataColumn.Expression when such a column's
1139 2004-03-30 Lluis Sanchez Gual <lluis@ximian.com>
1141 * DataColumn.cs: In Expression setter, set the expression member even if
1142 it is an empty string.
1143 * DataSet.cs: Support serialization of byte[] columns.
1144 * XmlDataLoader.cs: Support deserialization of Guid columns.
1145 Set MappingType.Attribute to columns infered from attributes.
1147 2004-03-29 Juraj Skripsky <juraj@hotfeet.ch>
1149 * ExpressionElements.cs : remove
1150 * DataColumn.cs, DataRelationCollection.cs, DataTable.cs :
1151 Integration of new Mono.Data.SqlExpressions classes used in
1152 DataTable.{Select, Compute}.
1153 Fixes bug #55503 and lots of failures in DataTableTest.cs.
1155 2004-03-28 Juraj Skripsky <juraj@hotfeet.ch>
1157 * Index.cs: Simple fix in ComparePartialRowNonUnique.
1158 This fixes bugs #56129 and #56014.
1160 2004-03-25 Lluis Sanchez Gual <lluis@ximian.com>
1162 * DataSet.cs: In WriteXml (string filename, XmlWriteMode mode), close the
1163 stream after writing the dataset. This fixes bug #52581.
1164 Also added several writer.Close into finally blocks, so writers are properly
1165 closed in case of an exception.
1167 2004-03-12 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1169 * Constraint.cs: DO NOT USE the consts scheme if types can be referenced directly!
1170 * DataColumn.cs: DO NOT USE the consts scheme if types can be referenced directly!
1171 * ColumnTypeConverter.cs: Added stub
1172 * DefaultValueTypeConverter: Added stub
1173 * ConstraintConverter.cs: Added stub
1175 2004-03-04 Eran Domb <erand@mainsoft.com>
1177 * XmlDataLoader.cs : Xml reading reviewed. Added support for additional xml formats as described
1178 in MS.NET documentation (missing DataSet element etc).
1180 2004-03-04 Eran Domb <erand@mainsoft.com>
1183 * Index.cs : Rollback last changes.
1185 2004-03-03 Atsushi Enomoto <atsushi@ximian.com>
1187 * Index.cs : justa build fix.
1189 2004-03-03 Eran Domb <erand@mainsoft.com>
1192 * Constraint.cs, ForeignKeyConstraint.cs, UniqueConstraint, ConstraintCollection.cs, DataColumn.cs,
1193 DataRow.cs, DataRowCollection.cs, DataSet.cs, DataTable.cs : Changes made for using indexes on tables.
1194 This changes made for performance improvement.
1196 2004-02-08 Eran Domb <erand@mainsoft.com>
1198 * XmlSchemaMapper.cs : Read columns is they were written as SimpleContent or as Attributes.
1200 2004-02-08 Eran Domb <erand@mainsoft.com>
1202 * DataSet.cs: Fix some bugs in ReadXml().
1204 2004-02-04 Lluis Sanchez Gual <lluis@ximian.com>
1206 * DataSet.cs: Added missing method that broke the build.
1208 2004-02-04 Eran Domb <erand@mainsoft.com>
1210 * DataRowCollection.cs (InsertAt): Add a check for null row. Replace check of IndexOf with RowId for
1212 * DataSet.cs (GetTableSchema) : Add supprot for simple content columns. Change the condition for a case
1213 when all column are attributes (elements count is 0), we still want to add the relations. No relations
1214 can be on simple contents.
1215 (AddUniqueConstraints) Check that the column of the constraint are not hidden.
1216 (AddForeignKeys) Check that the relation has constraints attach to it.
1217 * XmlConstants.cs : Added constant.
1219 2004-02-04 Eran Domb <erand@mainsoft.com>
1221 * DataSet.cs : GetSchemaSerializable() return null and not BuildSchema().
1222 DoWriteXmlSchema calls BuildSchema ().
1224 2004-02-04 Lluis Sanchez Gual <lluis@ximian.com>
1226 * DataRow.cs: Added SetOriginalValue(), which is used to set the original
1228 * DataRowCollection.cs: In InsertAt(), perform the correct checks and
1230 * DataSet.cs: Fixed method GetChanges(): Parent rows of modified rows must
1231 also be added to the dataset.
1232 In WriteTable(), do not write unchanged rows when writing the original
1233 version of the table.
1234 Added WriteIndividualTableContent(), for writing the contents of a single
1236 Changed BuildSchema and related methods, so it can generate a schema for
1237 any set of tables, not just the tables of the dataset (needed for
1238 single datatable serialization).
1239 * DataTable.cs: Implemented serialization constructor and GetObjectData method.
1240 Also implemented some ReadXmlSchema methods.
1241 * XmlDiffLoader.cs: Read and process the xml document directly from XmlReader,
1242 instead of loading the full dataset in an XmlDocument. It is faster and
1243 saves memory. Also fixed several problems when generating the changes.
1244 * XmlSchemaMapper.cs: Support reading schemas for single tables (used by
1245 table serialization).
1247 2004-02-02 Eran Domb <erand@mainsoft.com>
1249 * DataSet.cs : Add indentation to the xml serialization only if we create the XmlWriter.
1250 Add the namespace attribute even if namespace is an empty string for inteoperability with MS.NET.
1251 * DataTable.cs (NewRow): Create only one DataRowBuilder.
1252 Initiate new row with row id -1.
1253 * DataRow.cs : Add RowId property.
1254 * DataRowBuilder.cs : Add _rowId member.
1255 * DataRowCollection.cs (Add) : Use the RowId property of the new row to check if it is already exists in the collection.
1257 2004-01-26 Eran Domb <erand@mainsoft.com>
1259 * XmlConstants.cs : Added some constants.
1260 * DataColumn.cs : Added a method to retrive AutoIncrement value.
1261 * XmlDataLoader.cs : Set the value of the foriegn key column, according to the value of the
1262 parent table column.
1263 * XmlDiffLoader.cs : Convert the value comming from the xml.
1264 * XmlSchemaMapper.cs (Read) : Set the DataSet namespace.
1265 (ReadXmlSchemaSequence) : Change the logic that decides if this element is a column or a table.
1266 (ReadXmlSchemaElement) : Set the locale of the dataset.
1267 (ReadColumn) : Set the column type. Find if the column is AutoIncrement.
1268 (GetColumnType) : New method to get the column type from the attribute value.
1269 (ReadXmlSchemaUnique) : Improve parsing of XPath. Set the constraint as a PK if needed,
1270 and add the constraint to the table.
1271 (ReadXmlSchemaKeyref) : Improve parsing of XPath. Create the FK constraint and add it to
1273 * DataSet.cs : Improving writing of unique constraints, and foriegn key constraint. Givving them the correct names.
1274 Writing more information to the schema for interoperability with ms.net.
1275 Improve diffgarm writing mode.
1278 2004-01-21 Atsushi Enomoto <atsushi@ximian.com>
1280 * TypedDataSetGenerator.cs : Implemented GenerateIdName().
1282 2004-01-21 Eran Domb <erand@mainsoft.com>
1284 * XmlDataLoader.cs (AddRowToTable) : Give thre new relation correct name.
1285 Do not set the child column to be AutoIncrement.
1286 Create the new column for the relation as MappingType.Hidden so they will not be serialized
1287 when writing the dataset to xml.
1289 2004-01-20 Atsushi Enomoto <atsushi@ximian.com>
1291 * Added missing TypedDataSetGenerator.cs.
1293 2004-01-08 Eran Domb <erand@mainsoft.com>
1295 * XmlSchemaMapper.cs : Fix a bug. Check if table already in DataSet before adding it.
1296 * DataSet.cs (ReadXml) : Fix bugs. Read correctly the xml file with XmlReadMode of DiffGram,
1297 InferSchema, ReadSchema and IgnoreSchema.
1298 * XmlDataLoader.cs : All modes use the same logic.
1299 * XmlDiffLoader.cs : Adding BuildXmlDocument method to the class.
1301 2004-01-06 Eran Domb <erand@mainsoft.com>
1303 * DataRelationCollection.cs : Use IndexOf in indexer.
1304 * DataSet.cs : Adding support for WriteXml with diffgram. Code style changes.
1305 * XmlDataLoader.cs : Set the DataSet.enforceConstraints to false before loading the tables.
1306 * XmlDiffLoader.cs : Reading nested tables.
1307 * XmlSchemaMapper.cs : Reading the relation.
1308 * XmlConstants.cs : Adding some constants.
1310 2004-01-05 Jackson Harper <jackson@ximian.com>
1312 * DataView.cs: Set readonly property of property descriptor. This
1315 2004-01-01 Sanjay Gupta <gsanjay@novell.com>
1317 * DataRelationCollection.cs : Fixed incorrect generation of default
1319 * DataSet.cs : Added missing functionality in WriteXml().
1320 * XmlConstants.cs : Added new constants.
1322 2003-12-27 Atsushi Enomoto <atsushi@ximian.com>
1324 * DataSet.cs : Fixed incorrect WriteXml() signature.
1326 2003-12-18 Jackson Harper <jackson@ximian.com>
1328 * DataView.cs: Implement AddNew, Delete, and OnListChanged.
1330 2003-12-17 Atsushi Enomoto <atsushi@ximian.com>
1332 * DataSet.cs, XmlDataLoader.cs : Table name should be encoded before
1333 they take shape of xml. This fixed bug #52240
1335 2003-12-16 Tim Coleman <tim@timcoleman.com>
1336 * KeyRestrictionBehavior.cs:
1337 New stubs added for .NET 1.2
1341 2003-12-08 Eran Domb <erand@mainsoft.com>
1342 * DataColumn.cs (Expression) : Validate the expression.
1344 * DataRelationCollection.cs (IndexOf) : Added new method sensetive to case differences in relation name.
1345 (Contains, IndexOf, this[], Add) : Call new IndexOf when needed.
1347 * DataRow.cs (this[]) : Fix the condition for throwing RowNotInTableException.
1348 (RejectChanges) : Detach row when state was Added.
1349 (CollectionChanged) : Fix a bug.
1351 * ExpressionElement (ValidateExpression) : Fix a bug.
1353 * ForeignKeyConstraint.cs (AssertConstraint) : Added implementation. Check all rows from child table have
1354 a parent row in the parent table.
1355 (_validateColumns) : Fix bugs.
1357 * MergeManager.cs (AdjustSchema) : Fix a bug.
1359 * XmlDataLoader.cs (ReadModeInferSchema) : Change implementation. Now we can read nested xml, and we generate the relations
1362 2003-11-30 Eran Domb <erand@mainsoft.com>
1363 * DataColumnCollection.cs (this[string name]) : Use IndexOf to find the column.
1364 (Add) : Find if the new column name is the same as the one found in IndexOf.
1365 (IndexOf) : New method.
1366 (Contains) : Use new IndexOf.
1367 (IndexOf) : Use new IndexOf.
1369 * DataRelationCollection.cs (DataRelationCollection.AddCore) : Add The Relation to the collection.
1370 (DataSetRelationCollection.AddCore) : First add the UniqueConstraint.
1372 * DataRow.cs (this[int columnIndex, DataRowVersion version]) : Change exceptions.
1373 (Delete) : Detach row if the RowState was Added.
1374 (GetChildRows) : Get the array form the ChildTable.
1375 (GetParentRows) : Get the array from the ParenTable.
1377 * DataRowCollection.cs (Remove) : Check if row state is Detached to avoid exception.
1379 * DataSet.cs (IXmlSerializable.ReadXml) : Do not call MoveToContent and ReadEndElement - the XmlSerializationReader does it.
1381 * DataTable.cs (PrimaryKey) : Fix bugs.
1382 (Compute) : First call Select. Then create ExpressionAggregate to aggregate the Select result.
1384 * DataTableCollection.cs (Add) : Fix a bug.
1386 * ExpressionElement.cs (ValidateExpression) : Turning ValidateExpression to static.
1387 (Result) : Added new interface to AggregateExpression that get DataRow[] as a param.
1388 Some code style changes (tab instead of whit spaces, alignment, etc...).
1390 * ForeignKeyConstraint.cs (_validateColumns) : Throw correct exception.
1392 * MergeManager.cs (AdjustSchema) : Fix a bug.
1396 2003-11-26 Miguel de Icaza <miguel@ximian.com>
1398 * DataSet.cs: Add a few more missing methods, code style updated
1401 2003-11-26 Tim Coleman <tim@timcoleman.com>
1403 * ConflictOptions.cs DataAdapterException.cs DataTableReader.cs
1404 * DbMetaData.cs FillOptions.cs IDataReader2.cs IDataRecord2.cs
1405 * IDataUpdatableRecord.cs IDbAsyncCommand.cs IDbAsyncConnection.cs
1406 * IDbExecutionContext.cs IGetTypedData.cs ISetTypedData.cs
1407 * LoadOption.cs OperationAbortedException.cs ResultSetOptions.cs
1408 * ResultSetSensitivity.cs StatementCompletedEventArgs.cs
1409 * StatementCompletedEventHandler.cs UpdateOptions.cs:
1410 New classes added for NET_2_0
1411 * DBConcurrencyException.cs DataRelation.cs DataSet.cs DataTable.cs
1412 * DataTableCollection.cs DataView.cs ForeignKeyConstraint.cs:
1413 Modifications to add new NET_2_0 functions
1415 2003-11-25 Tim Coleman <tim@timcoleman.com>
1419 2003-11-21 Pedro Martínez Juliá <yoros@wanadoo.es>
1421 * DataRow.cs: Detached row can be accesible (new rows from data
1422 table are detached). Closes but #51263.
1424 2003-11-19 Eran Domb <erand@mainsoft.com>
1425 * DataRow.cs : Throw exceptions if Row is Detached.
1426 (EndEdit) : Check that we are not in middle of ChangeEvent.
1427 (AcceptChanges) : Detach the row.
1429 * DataRelation.cs : throw correct exception.
1430 *UniqueConstraint.cs : throw correct exception.
1433 2003-11-09 Pedro Martínez Juliá <yoros@wanadoo.es>
1435 * DataRow.cs: Use RemoveInternal instead of Remove because the last
1436 one uses Delete and AcceptChanges.
1438 * DataRowCollection.cs: When removing, Delete and AcceptChanges
1439 method from the row are called. Added an internal method that will
1440 be used by DataRow to "physically" remove the row from the list.
1442 2003-11-09 Pedro Martínez Juliá <yoros@wanadoo.es>
1444 * DataRowCollection.cs: To follow the specification: Remove and
1445 RemoveAt should remove the row. But needed to call DeletingDataRow
1446 to prepare the deleting.
1448 * DataRow.cs: Don't call DeletingDataRow when it is called by the
1449 method Table.Rows.Remove.
1451 2003-11-09 Pedro Martínez Juliá <yoros@wanadoo.es>
1453 * DataRowCollection.cs: Make the row be deleted by itself. If not,
1454 it fails because we need to call OnRowDeleting and OnRowDeleted. It
1455 is full implemented inside DataRow.
1457 2003-11-05 Eran Domb <erand@mainsoft.com>
1458 * DataView.cs (ctor) : Changing default RowStateFilter to CurrentRow.
1460 2003-11-04 Eran Domb <erand@mainsoft.com>
1461 * DataRow.cs (CheckChildRows) : Improving the implementation - checking child for all FK, and not
1463 (GetChildRows) : Adding some checks.
1464 (GetParentRows) : Adding some checks. Fix a bug in implementation.
1465 (SetParentRow) : Added implementation.
1467 * DataRowCollection.cs (Add) : Added more checks on the row added to the collection.
1468 * DataTable.cs (Copy) : Set the During Loading flag to save unnecessary assertions.
1469 * ForeignKeyConstraint.cs (AssertConstraint) : Fixing bugs in implementation. Checking for DBNull values in the row.
1470 * MergeManager.cs : Check that the target table is not null.
1472 2003-10-27 Eran Domb <erand@mainsoft.com>
1473 * DataColumn.cs (DefaultValue) : Changing null value to DBNull. Checking that the type of the new default value
1474 can be converted to the column type.
1476 * DataRelationCollection.cs (AddCore) : Give the new FK the name of the relation.
1478 * DataRow.cs (EndEdit) : Check if we need to validate the constraints.
1479 (GetParentRows, GetChildRows) : Checking that the row has the wanted version, before accessing the row's value.
1481 * DataRowCollection.cs (Add) : Fixing a bug.
1482 (Clear) : Before clearing the array check that there is no violation of FK constraint.
1484 * DataSet.cs (Prefix) : If value is null chage it to empty string.
1485 (GetXml) : Removing the Processing Instructions from the xml string as in MS ADO.NET.
1487 * ExpressionElement : Adding support for IN expresion.
1489 * DataTable (CopyConstraints) : New method that copy the tables constraints to the copy table.
1490 (Select) : Adding support for DataViewwRowState.
1492 * ForeignKeyConstraint.cs (AssertConstraint) : Adding implementation.
1494 * MergeManager.cs (MergeRow) : Fix bugs.
1496 2003-10-27 Eran Domb <erand@mainsoft.com>
1497 * DataRow.cs (SetColumnValue): Donot check null value when in midle of loading data.
1498 check null values when ending loading data.
1500 * DataSet.cs (RejectChanges) : Imlementation.
1501 (Prefix) : If prefix was changed fire event. Check that the prefix is not null - if null,
1502 change it to empty string.
1504 * DataTable.cs (BeginLoadData, EndLoadData) : Impemantation.
1506 2003-10-22 Eran Domb <erand@mainsoft.com>
1507 * MergeManager.cs : Fixing bugs. Adding check for PrimaryKey matching.
1509 * ConstraintCollection.cs (RamoveAt): Change implemntation.
1511 * DataTableCollection (CanRemove): Removing cast to Constraint.
1513 2003-10-22 Eran Domb <erand@mainsoft.com>
1514 * DataRelationCollection.cs (AddCore): The unique constraint was added even if the createConstraints flag was false.
1515 (Clear): The collection was cleared without removing the relation from the parent and child tables.
1517 * DataSet.cs (Copy, Clone): The Relations of the DataSet were not copy.
1518 (HasChanges, Reset): Imlementation.
1520 * DataTable.cs (HasErrors): There is no flag for errors, instead the table ask her row if they have any errors.
1521 This is because the we do not no when to turn off the flag.
1522 (Locale): Changing implementation to behave like ADO.NET.
1523 (AcceptChanges): Fix bug.
1524 (Clear): Check that this table is not referenced from a foreign key constraint.
1525 (Copy): Do not try to access a deleted row.
1526 (CopyProperties): Copy the PrimaryKey.
1527 (GetChanges, ImportRow): Implementation.
1528 (LoadDataRow): Adding implementation if the table has PrimaryKey.
1529 (ToString): Changing implementation to behave like ADO.NET.
1531 * UniqueConstraint.cs (AssertConstraint): support for Multiple DataColumns in the constraint.
1533 * DataRow.cs (Ctor): In the constructor we initiate the current array, but we should initiate only the proposed array for new rows.
1534 (HasErrors): Implementation.
1535 (Delete): Added checking for child rows of the deleted row.
1536 (EndEdit): Added checking for child row and firing events.
1537 (GetColumnError): Added a check that the method will not return null, as in ADO.NET(an empty string is returned).
1538 (GetColumnsInError): Added a check for null values in column error.
1539 (HasVersion): Added special treatment for special RowState.
1540 (CollectionChanged): More checks to avoid NullReferenceException.
1542 * DataRowCollection.cs (Remove): Fix a bug.
1545 2003-10-01 Duncan Mak <duncan@ximian.com>
1547 More patches from Eran Domb <erand@mainsoft.com>.
1549 * MergeManager.cs: New file.
1551 * DataRelationCollection.cs (AddCore): Check that a
1552 UniqueConstraint is already exists. It loops over the Relations
1553 instead of the Constraints.
1554 (Add, AddCore): The relation was added twice.
1556 * DataSet.cs (Merge, GetChanges, HasChanges): Implemented.
1558 2003-09-30 Duncan Mak <duncan@ximian.com>
1560 Patches from Eran Domb <erand@mainsoft.com>.
1562 * DataRelation.cs (constructor): When the name of the relation is
1563 null, it should return an empty, not "Relation".
1565 * DataRow.cs (AcceptChanges): Added special case for
1567 (CancelEdit): Set editing flag to false.
1568 (IsNull): Check that the value is DBNull.
1570 * DataRowCollection.cs (Add): There was no check that the table of
1571 the collection is owned by a DataSet.
1573 * DataSet.cs (OnMergeFailed): Added.
1575 * UniqueConstraint.cs (AssertConstraint): There was no check that
1576 values in the row are not null, where it is a primary key
1577 column. Also check that the row has a proposed version, if not,
1578 get the current version when we compare the rows.
1580 2003-09-25 Duncan Mak <duncan@ximian.com>
1582 Patches from Eran Domb <erand@mainsoft.com>.
1584 * DataColumn.cs (Unique): Implemented.
1587 * ConstraintCollection.cs:
1588 * ForeignKeyConstraint.cs (_ensureUniqueConstraintExists): Fixes
1589 an Exception thrown. Details:
1590 http://lists.ximian.com/archives/public/mono-devel-list/2003-September/002130.html
1592 * DataRowCollection.cs (Add): There is no checking that there is
1593 no violation of the unique constrains.
1595 * UniqueConstraint.cs (AssertConstraint): There is no checking on
1596 all columns in the constraint.
1598 * DataTableCollection (Add): Correctly throw an Exception, more
1600 http://lists.ximian.com/archives/public/mono-devel-list/2003-September/002117.html
1601 (Remove, RemoveAt): Implemented.
1603 2003-07-31 Duncan Mak <duncan@ximian.com>
1605 * DBConcurrencyException.cs: Added new NET_1_1 no-param constructor.
1607 2003-07-25 Ravi Pratap <ravi@ximian.com>
1609 * DataRelation.cs (OnPropertyChanging): Calling the 'Invoke'
1610 method on a delegate is disallowed - fix this.
1612 2003-07-22 Lluis Sanchez Gual <lluis@ximian.com>
1614 * DataSet.cs: Implemented IXmlSerializable interface. Added basic support for
1615 xml serialization. Modified method of writing schema. Now it creates
1616 a XmlSchema object and serializes it using XmlSerializer.
1617 * XmlConstants.cs: Added constants for data type names.
1618 * XmlDataLoader.cs: Fixed deserialization of data. Now converts data to the
1619 type specified in the column.
1621 2003-04-20 Alan Tam <Tam@SiuLung.com>
1623 * DataRelationCollection.cs: Fix a bug that prevent relations
1624 from being added via DataSet.
1626 2003-04-12 Ville Palo <vi64pa@kolumbus.fi>
1628 * UniqueConstraint.cs: one tiny fix.
1630 2003-04-05 Ville Palo <vi64pa@kolumbus.fi>
1632 * DataTable.cs: Remove UniqueConstraints when adding new ones
1634 2003-04-04 Ville Palo <vi64pa@kolumbus.fi>
1636 * DataColumnCollection.cs: Little 'case sensitive' fix
1638 2003-04-04 Ville Palo <vi64pa@kolumbus.fi>
1640 * DataRow.cs: AutoIncrement handling to Constructor
1641 * DataRowCollection.cs: This doesnt need anymore AutoIncrements
1643 2003-03-27 Ville Palo <vi64pa@kolumbus.fi>
1645 * DataTable.cs: Some fixes to PrimaryKey etc...
1646 * UniqueConstraint.cs: Little clean up
1648 2003-03-27 Ville Palo <vi64pa@kolumbus.fi>
1650 * DataTable.cs: Tiny fix to ToString () -method
1652 2003-03-27 Ville Palo <vi64pa@kolumbus.fi>
1654 * ConstraintCollection.cs: Little fix.
1655 * DataColumn.cs: Added new internal method SetUnique()
1656 * UniqueConstraint.cs: some little fixes
1658 2003-03-26 Ville Palo <vi64pa@kolumbus.fi>
1660 * DataRowCollection.cs: Bugfixes, implementation,...
1662 2003-03-26 Ville Palo <vi64pa@kolumbus.fi>
1664 * DataColumn.cs: If DataType if set to something else than short, int
1665 or long and AutoIncrement is true, AutoIncrement is must set to false.
1667 2003-03-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1670 (BeginEdit): fixed array bound problem when a column has been added.
1671 (EndEdit): just assign proposed to current as proposed is set to null.
1672 This also fixes another array boudn problem.
1674 2003-03-21 Alan Tam <Tam@SiuLung.com>
1676 * DataRow.cs: Fixed problems in accessers, BeginEdit, CancelEdit,
1677 EndEdit and AcceptChanges to act correctly according to DataRowState
1679 * DataRowCollection.cs: Call AttachRow and DetachRow when a row is
1680 attached and detached from the collection.
1682 2003-03-20 Alan Tam <Tam@SiuLung.com>
1684 * DataColumn.cs: Store empty string for Expression when null is passed in.
1685 Classes generated by XSD.exe passes null by default.
1687 2003-03-16 Ville Palo <vi64pa@kolumbus.fi>
1689 * DataColumnCollection.cs: Tiny clean up
1691 2003-03-16 Ville Palo <vi64pa@kolumbus.fi>
1693 * DataColumn.cs: little fixes.
1694 * DataColumnCollection.cs: Lots of little fixes and improvments.
1696 2003-03-12 Alan Tam <Tam@SiuLung.com>
1698 * DataSet.cs: Fixed a bug that the file written does not close correctly.
1700 2003-03-08 Alan Tam <Tam@SiuLung.com>
1702 * DataRelationCollection.cs: Removed the mis-overridden methods
1703 * DataRow.cs: Fixed an attribute
1704 * DataSet.cs: Fixed the modifiers
1706 2003-03-06 Aleksey Demakov <avd@openlinksw.com>
1708 * DataTableCollection.cs: The Contains (string name),
1709 IndexOf (string name) methods, and item[string name] indexer
1710 now behave more like .NET with respect to case-sensitivity.
1711 That is if there is an exactly matching item then this one is used.
1712 If there is only one item differing in case then it used.
1713 If there are more than one item differing in case then
1714 Contains returns false, IndexOf returns -1, and item[]
1715 throws an ArgumentException.
1717 2003-02-28 Ville Palo <vi64pa@kolumbus.fi>
1719 * ExpressionElement.cs: More implementation.
1721 2003-02-28 Alan Tam <Tam@SiuLung.com>
1722 * DataSet.cs: Changed WriteTable so that it now calls the newly written
1723 WriteObjectXml to direct the call to the respective XmlConvert method.
1724 This fixes the wrong format written to XML files of bool, float,
1725 double, DateTime and TimeSpan types.
1727 2003-02-25 Alan Tam <Tam@SiuLung.com>
1729 * DataRelation.cs: Added SetDataSet for DataSetRelationCollection to use.
1730 * DataRelationCollection.cs: Implemented AddRange and Contains.
1731 Implemented AddRange, Clear, List and RemoveCore for DataSetRelationColletion.
1732 Implemented AddCore, List and RemoveCore for DataTableRelationCollection.
1733 Reimplemented most Add methods to eliminate duplicated checks.
1734 Centralized RelationName generation procedure in GetNextDefaultRelationName.
1736 2003-02-25 Alan Tam <Tam@SiuLung.com>
1738 * DataColumn.cs: Fixed wrong storage representation of Expression
1739 (using empty string instead of null) so that ToString() returns nothing.
1740 * DataColumnCollection.cs: Reimplemented GetNextDefaultColumnName so that
1741 auto column naming now works as expected. Reimplemented some Add methods
1742 to eliminate code duplication.
1744 2003-02-19 Ville Palo <vi64pa@kolumbus.fi>
1746 * DataTable.cs: DataTable.CaseSensitive follows parent
1747 DataSet.CaseSensitive property if DataTable.CaseSensitive has never
1748 been changed directly from DataTable
1750 2003-02-19 Ville Palo <vi64pa@kolumbus.fi>
1752 * DataSet.cs: When CaseSensitive property is changed all of the Tables
1753 of DataSet have to change too
1755 2003-02-19 Daniel Morgan <danmorg@sc.rr.com>
1757 * InternalDataCollectionBase.cs: revert change to field
1760 * DataViewManager.cs
1763 * DataSet.cs: commented use of DesignerAttribute
1764 because it broke the build. According to MSDN,
1765 DesignerAttribute does not have a zero-argument constructor
1767 2003-02-18 Ville Palo <vi64pa@kolumbus.fi>
1769 * DataColumnCollectin.cs: Little fix for indexer and case sensitivity
1771 2003-02-18 Alan Tam <Tam@SiuLung.com>
1773 * DataRow.cs: Implemented GetParentRow and GetParentRows.
1774 * DataSet.cs: Added stub for HasChanges, InferXmlSchema,
1775 OnPropertyChanging, OnRemoveRelation, OnRemoveTable,
1776 RaisePropertyChanging.
1777 * DataTable.cs: Implemented NewRowArray.
1778 * DataTablePropertyDescriptor: Fixed a modifier.
1779 * InternalDataCollectionBase.cs: Fixed modifiers. Implemented SyncRoot.
1780 * PropertyCollection.cs: Minor fix.
1781 * ConstraintCollection.cs DataColumn.cs DataColumnCollection.cs
1782 * DataRelation.cs DataRelationCollection.cs DataRow.cs
1783 * DataRowCollection.cs DataRowState.cs DataSet.cs DataTable.cs
1784 * DataTableCollection.cs DataTablePropertyDescriptor.cs DataView.cs
1785 * DataViewManager.cs DataViewRowState.cs DataViewSettingCollection.cs
1786 * ForeignKeyConstraint.cs InternalDataCollectionBase.cs
1787 * PropertyCollection.cs UniqueConstraint.cs: Added missing attributes
1789 2003-02-08 Ville Palo <vi64pa@koti.soon.fi>
1791 * ExpressionElement.cs: More implementation
1793 2003-02-05 Alan Tam <Tam@SiuLung.com>
1795 * DataSet.cs: Added framework for DataSet.Update Implemented missing
1796 methods GetSchemaSerializable, GetSerializationData,
1797 ReadXmlSerializable, ShouldSerializeRelations and ShouldSerializeTables
1799 * DataTable.cs: Implemented missing methods CreateInstance and
1800 GetRowType for DataTable
1802 2003-02-03 Ville Palo <vi64pa@koti.soon.fi>
1804 * DataSet.cs: Implemented private method MapType for
1805 mapping datatypes for XmlSchema
1807 2003-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1809 * DataView.cs: implemented Dispose.
1811 2003-01-30 Ville Palo <vi64pa@koti.soon.fi>
1813 * ExpressionElement.cs: Added new file. This file is for parsing
1814 and DataData.Select () -methods and DataColumn.Expression -property
1815 * DataTable.cs: Implemented Select(string) -method
1817 2003-01-28 Ville Palo <vi64pa@koti.soon.fi>
1819 * DataSet.cs: One little fix to writing xml
1821 2003-01-27 Ville Palo <vi64pa@koti.soon.fi>
1823 * XmlSchemaMapper.cs: Some fixes.
1824 * DatSet.cs: Some XmlFixes and BeginInit ()/ EndInit () -fix
1827 2003-01-24 Ville Palo <vi64pa@koti.soon.fi>
1829 * UniqueConstraint.cs: Do not set columns Unique property true
1831 * ForeignKeyConstraint.cs: Add UniqueConstraint to parent Table
1833 2003-01-18 Ville Palo <vi64pa@koti.soon.fi>
1835 * DataTableCollection.cs: Now names new DataTable if it doesn't
1836 already have a name.
1838 2003-01-17 Ville Palo <vi64pa@koti.soon.fi>
1840 * XmlSchemaMapper.cs: Improvments.
1841 * XmlConstaints.cs: Added more constants.
1842 * DataSet.cs: Improvments of reading and writing xml
1843 * DataColumn.cs: Added default values of properties.
1845 2003-01-14 Ville Palo <vi64pa@koti.soon.fi>
1847 * XmlSchemaMapper.cs: Some improvments
1849 2003-01-13 Ville Palo <vi64pa@koti.soon.fi>
1851 * DataRowCollection.cs: Added IndexOutOfRangeException
1852 * DataTableCollection.cs: Added OnCollectionChanging and
1853 OnCollectionChanged events.
1854 * DataSet.cs: Many fixes. Implemented Clone () and Copy () -methods
1855 * DataTable.cs: Implemented Copy () and Clone () methods.
1856 * XmlDataLoader.cs: some fixes.
1857 * XmlSchemaMapper.cs: comments.
1859 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1861 * DataColumnPropertyDescriptor.cs: store columnIndex in the .ctor.
1863 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1865 * DataColumnPropertyDescriptor.cs: fixed typo.
1866 * DataViewManagerListItemTypeDescriptor.cs: added new internal property
1867 to get the DataViewManager and removed TablePD class.
1868 * DataTablePropertyDescriptor.cs: TablePD class is now this one as
1869 suggested by danmorg.
1871 2003-01-06 Ville Palo <vi64pa@koti.soon.fi>
1873 * XmlDataLoader.cs: Moved diffgram stuff to new internal class
1875 * XmlDiffLoader.cs: new class for diffgrams. Added handling of
1876 diffgr:Errors and some fixes and changed XmlReader to XPathNavigator.
1878 2003-01-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1880 * DataView.cs: made dataViewManager internal.
1881 * DataViewManager.cs: use ICustomTypeDescriptor. We don't want the
1882 properties of the object, but the values of the columns present in a
1885 * DataViewManagerListItemTypeDescriptor.cs: implemented GetProperties,
1886 which returns a PropertyDescriptorCollection. Created a new class
1887 derived from PropertyDescriptor that treats Table as an object whose
1888 properties are DataRowView.
1890 2003-01-04 Ville Palo <vi64pa@koti.soon.fi>
1892 * XmlSchemaMapper.cs: Added handling for Constraints, Attributes.
1894 2003-01-04 Ville Palo <vi64pa@koti.soon.fi>
1896 * DataColumn.cs: ExtendedProperties is by default !null-
1898 2003-01-04 Ville Palo <vi64pa@koti.soon.fi>
1900 * DataColumnCollection.cs: Add (DataColumn Column) -method didn't
1901 set column's ordinal.
1903 2003-01-02 Ville Palo <vi64pa@koti.soon.fi>
1906 * XmlDataLoader.cs: XmlReader closing fixes.
1907 * XmlSchemaReader.cs: Added support for ref=
1909 2003-01-01 Ville Palo <vi64pa@koti.soon.fi>
1912 - Added XmlReader and XmlWriter Closing.
1913 - Moved ReadXmlSchema stuff to new internal class XmlSchemaMapper.
1914 * XmlSchemaMapper.cs
1915 - Much better way IMHO to map xmlschema than the old one in
1916 DataSet.cs. Its, more flexible, cleaner, ...
1918 2002-12-29 Ville Palo <vi64pa@koti.soon.fi>
1920 * XmlDataLoader.cs: Reading diffgrams.
1922 2002-12-29 Ville Palo <vi64pa@koti.soon.fi>
1924 * DataRow.cs: Little fix to indexer and DataColumnCang* trigger fixes.
1925 * DataTable.cs: Added ChanginDataColumn () for triggering
1926 DataColumnChanging event
1928 2002-12-28 Ville Palo <vi64pa@koti.soon.fi>
1930 * DataSet.cs: Indentations to WriteXmlSchema () and one little fix
1932 2002-12-28 Ville Palo <vi64pa@koti.soon.fi>
1934 * DataSet.cs: Indentations to WriteXml ()
1936 2002-12-27 Ville Palo <vi64pa@koti.soon.fi>
1939 * XmlDataLoader.cs: Moved ReadXml -stuff from DataSet.cs to new
1940 class XmlDataLoader.cs
1942 2002-12-19 Ville Palo <vi64pa@koti.soon.fi>
1944 * DataSet.cs Implemented ReadXml with XmlReadMode.ReadSchema
1946 2002-12-18 Ville Palo <vi64pa@koti.soon.fi>
1948 * DataSet.cs: Started to implement ReadXml-methods.
1950 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1952 * DataSet.cs: implemented DefaultViewManager and GetList.
1954 * DataViewManager.cs: a bit of work on IList and ITypedList needed by
1955 DataList in System.Web.
1957 * DataViewManagerListItemTypeDescriptor.cs: custom type descriptor for
1960 2002-12-16 Ville Palo <vi64pa@koti.soon.fi>
1963 * DataTable.cs: Fixed NullException (rollback -event)
1964 * DataSet.cs: WriteXml -method does not anymore write <?xml... row.
1966 2002-12-15 Ville Palo <vi64pa@koti.soon.fi>
1969 * DataRowCollection.cs: Moved event triggering from DataRow to
1972 2002-12-09 Ville Palo <vi64pa@koti.soon.fi>
1974 * DataSet.cs: Little fix to WriteTable () -method
1975 and DoReadXmlSchema () -method.
1977 2002-12-06 Ville Palo <vi64pa@koti.soon.fi>
1979 * DataSet.cs: Clean up to reading xmlschema. This looks much better
1980 now (work better too), but it not working correctly yet.
1982 2002-12-04 Ville Palo <vi64pa@koti.soon.fi>
1985 * DataRowCollection.cs: Added some event handlins stuff.
1986 * DataSet.cs: Some fixes.
1987 * DataTable.cs: Added event handlers.
1989 2002-11-30 Ville Palo <vi64pa@koti.soon.fi>
1991 * DataRowChangeEventArgs.cs: Implemented Action and Row properties
1993 2002-11-30 Ville Palo <vi64pa@koti.soon.fi>
1995 * System.Data/DataRow.cs: Added internal property XmlDataID
1997 2002-11-29 Ville Palo <vi64pa@koti.soon.fi>
1999 * DataSystem.Data.DataTableCollection.cs:
2000 Removed HashTable. There could be situations where DataTable
2001 is added to collection before it hava TableName. So using
2002 HashTable is impossible.
2004 2002-11-19 Carlos Guzmán Álvarez <carlosga@telefonica.net>
2006 * DataRow.cs: an object that is equal to null
2007 should be allowed to be set in this indexer too
2010 2002-11-06 Daniel Morgan <danmorg@sc.rr.com>
2012 * DataColumnPropertyDescriptor.cs: added file
2014 * System.Data/DataRowView.cs: started implementation
2016 * DataTable.cs: stubbed more interfaces. Implemented
2017 IListSource.GetList()
2019 * DataView.cs: stubbed more interfaces. Implemented
2020 some properties and methods: GetEnumerator(),
2021 ITypedList.GetItemProperties, Item indexer, CopyTo()
2023 2002-05-18 Nick Drochak <ndrochak@gol.com>
2025 * DataRow.cs: Fix typo.