1 2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
3 * DataRowView.cs : Fixed IsEdit to reflect correct status of DataRow.
4 * DataRow.cs : Expose editing status internally.
6 2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
8 * DataView.cs : missing attributes.
10 2005-01-24 Atsushi Enomoto <atsushi@ximian.com>
12 * DataRowView.cs : implemented CreateChildView().
14 2005-01-24 Atsushi Enomoto <atsushi@ximian.com>
16 * DataTable.cs, DataView.cs :
17 Optimized DataView to compile only once RowFilter and Sort when
18 those properties are set. To make it possible, extracted
19 SortableColumn out of DataTable and added internal DataTable.Select()
20 that accepts precompiled IExpression and SortableColumns[].
22 2005-01-24 Atsushi Enomoto <atsushi@ximian.com>
24 * DataColumn.cs : set_MaxLength is not allowed when it is mapped to
25 SimpleContent. (However, it is weird but it never fails when we set
26 ColumnMapping = MappingType.SimpleContent when we fhave MaxLength.)
28 2005-01-21 Atsushi Enomoto <atsushi@ximian.com>
30 * DataRow.cs : more Current -> Default fixes. Check if it should throw
31 VersionNotFoundException. Patch by Ankit Jain.
33 2005-01-21 Atsushi Enomoto <atsushi@ximian.com>
35 * DataRow.cs : Default selects the right version for the current
36 state of the row. Current is not always available. Also change
37 that for GetParentRow(). Patch by Ankit Jain.
39 2005-01-21 Atsushi Enomoto <atsushi@ximian.com>
41 * DataTable.cs : CopyColumn() should copy AutoIncrement after
42 DefaultValue, or it will raise an error in some cases.
44 2005-01-20 Atsushi Enomoto <atsushi@ximian.com>
46 * ConstraintCollection.cs : Add() should throw ArgumentException when
47 the argument constraint fails validation.
48 DataTable.cs : set_PrimaryKey should throw ArgumentException when
49 the argument contains constraints which fail validation.
51 2005-01-19 Sureshkumar T <tsureshkumar@novell.com>
53 * DataRelationCollection.cs:
55 Method Remove : Donot throw exception if DataRelation argument is
56 null in DataRelationCollection.Remove method.
58 Method RemoveAt : Exception should be IndexOutOfRangeException if
59 row index is not in list range.
61 Fixes nunit failures DataRelationCollection.Remove and
62 DataRelationCollection.RemoveAt.
64 2005-01-19 Sureshkumar T <tsureshkumar@novell.com>
66 * ConstraintCollection.cs: Donot throw exception if constraints
67 are null in AddRange method. Check for null before using the
72 2004-01-19 Atsushi Enomoto <atsushi@ximian.com>
74 * XmlDataInferenceLoader.cs,
75 XmlDataReader.cs : Check if the XmlReader (node) represents DataSet
76 or a table, reusing code block in XmlDataInferenceLoader.
77 This fixes bug #60118.
79 2004-01-19 Atsushi Enomoto <atsushi@ximian.com>
81 * XmlDiffLoader.cs : Ankit Jain <radical@imt.ac.in> has a conflicting
82 patches and some good catches. Some attributes should be skipped,
83 and loaded value must be typed.
85 2004-01-19 Atsushi Enomoto <atsushi@ximian.com>
88 XmlDataInferenceLoader.cs,
89 XmlDataReader.cs : use common const for http://www.w3.org/2000/xmlns/.
90 * XmlDiffLoader.cs : It was not handling attributes. Fixed bug #70961.
92 2005-01-18 Sureshkumar T <tsureshkumar@novell.com>
94 Fix for bug #66838. This patch is submitted by "Ankit Jain"
95 <radical@corewars.org> and refactored.
97 * DataRow.cs: Allows to set a parent row even if the row is in
100 * DataRelation.cs: method "UpdateConstraints" is added to check
101 and create missing keys when adding a relation. This is refactored
102 approach from DataRelationCollection.Add method.
104 * DataRelationCollection.cs: AddCore methods of all relation types
105 are synchronized. A Check for existing constraints is
106 done. Relation is added to the list only if all checks are passed.
108 2004-01-18 Atsushi Enomoto <atsushi@ximian.com>
110 * DataColumnCollection.cs : Clear() throws ArgumentException that
111 wraps thrown innerException.
112 * XmlSchemaDataImporter.cs : removed FIXMEs.
114 2004-01-12 Atsushi Enomoto <atsushi@ximian.com>
116 * DataSet.cs : When serializing DataTable, BuildSchema() is passed
117 null relation collections.
118 Quick fix for XmlSerializer deserialization. It does not require
121 2004-01-11 Atsushi Enomoto <atsushi@ximian.com>
124 CustomDataClassGenerator.cs :
125 In DataSet class, IXmlSerializable.GetSchema() returns null.
126 In strongly-typed class, it returns schema.
128 2004-01-07 Atsushi Enomoto <atsushi@ximian.com>
130 * XmlDataInferenceLoader.cs : test driver class should be excluded.
132 2004-12-01 Miguel de Icaza <miguel@ximian.com>
134 * DataView.cs: Patch from Marc Haisenko that ensures that rowCache
137 2004-11-10 Atsushi Enomoto <atsushi@ximian.com>
139 * CustomDataClassGenerator.cs : generated foreign key constraint
140 construction code was creating empty child columns and thus it
141 was invalid. This fixes bug #69276 (patch by Martin Voelkle).
143 2004-11-02 Atsushi Enomoto <atsushi@ximian.com>
145 * CustomDataClassGenerator.cs : custom DataTable ctor should call
146 InitializeFields(), and those DataColumns created by that method
147 should take data type. This should fix bug #68972.
149 2004-10-15 Atsushi Enomoto <atsushi@ximian.com>
151 * DataSet.cs : Also clear UnhandledAttributes ArrayList before
152 generating next attribute column schema. This fixes bug #68432.
154 2004-10-14 Umadevi S <sumadevi@novell.com>
155 * DataTable.cs : Corrected the Clone method to use Activator.CreateInstance so that the
156 correct subclass is returned. This fixes bug #67631
158 2004-10-14 Umadevi S <sumadevi@novell.com>
159 * DataSet.cs : Corrected the Clone method to use Activator.CreateInstance so that the
160 correct subclass is returned. This fixes bug #67627
162 2004-10-13 Atsushi Enomoto <atsushi@ximian.com>
164 * DataSet.cs : clear UnhandledAttributes ArrayList before generating
165 next element column schema. This fixes bug #68256.
167 2004-10-12 Atsushi Enomoto <atsushi@ximian.com>
169 * DataSet.cs : now xs:schema contains xmlns="".
170 This fixes bug #68008.
172 2004-10-12 Atsushi Enomoto <atsushi@ximian.com>
174 * DataSet.cs : DBNull attribute column should not be written as
175 empty attribute. This fixes bug #68007.
177 2004-10-12 Atsushi Enomoto <atsushi@ximian.com>
179 * DataSet.cs, XmlConstant.cs, XmlSchemaDataImporter.cs:
180 DataColumn.ReadOnly was not handled. This fixes bug #68005.
181 Attribute defaultValue was not handled too.
183 2004-10-07 Atsushi Enomoto <atsushi@ximian.com>
186 - When AllowDBNull is false on attribute DataColumn, its schema
187 should contain use="required". This fixes bug #66792.
188 - If MaxLength is set on attribute DataColumn, the mapped schema
189 type should contain maxLength facet. This fixes bug #66793.
191 2004-10-04 Atsushi Enomoto <atsushi@ximian.com>
193 * DataSet.cs : For a row, when a relation is not nested, then it is
194 still output target since it won't be written as a child of its
195 parent. It fixes bug #66379.
197 2004-10-03 Atsushi Enomoto <atsushi@ximian.com>
199 * DataSet.cs : Attribute constraint field XPath must be written as
200 @blah. This fixes bug #66366.
202 2004-09-28 Umadevi S <sumadevi@novell.com>
203 * DataRow.cs - checked for Enforceconstraints, while using indices to search for related rows
205 2004-09-24 Sureshkumar T <tsureshkumar@novell.com>
207 * DataSet.cs : Don't check constraints for dataset clear
208 * DataRowCollection.cs : check for EnforceConstraints flag
209 before checking foriegn key constraints in Clear method
210 * DataTable.cs : Redundant checking removed in Clear method as it is
211 checked in DataRowCollection.Clear method.
214 2004-09-19 Sureshkumar T <tsureshkumar@novell.com>
215 * DataRow.cs : while deserialization of dataset, adding a current row precedes the original row.
216 hence, adding a row cache is necessary if the original row happens to be current.
219 2004-08-23 Martin Baulig <martin@ximian.com>
221 * XmlDataInferenceLoader.cs (Driver): Make this class internal,
224 2004-08-18 Umadevi S <sumadevi@novell.com>
225 * DataView.cs - Completed most of the event handling.
226 Thanks to Punit Todi <punit_todi@da-iict.org> for implementing most of it.
227 Thanks to Boris Kirzner <borisk@mainsoft.com> for commenting and suggesting changes to the implementation.
228 * DataTable.cs - Changed Access modifiers of class/methods since it was used by DataView.
230 2004-08-06 Atsushi Enomoto <atsushi@ximian.com>
232 * DataSet.cs : DataSet's ExtendedProperties were not XmlConverted.
234 2004-08-05 Atsushi Enomoto <atsushi@ximian.com>
236 * XmlConstants.cs : Added constants for "msprop" support.
237 * DataSet.cs : ExtendedProperties should be written in the schema.
238 This fixes bug #61233.
240 2004-07-27 Atsushi Enomoto <atsushi@ximian.com>
242 * DataSet.cs : on serialization to XmlWriter, XmlConvert should be
243 used. There were also some culture dependency problems to write int.
245 2004-06-27 Atsushi Enomoto <atsushi@ximian.com>
247 * XmlDataInferenceLoader.cs : It was not always filling relation
248 child table information correctly. This fixes bug #60742.
250 2004-06-23 Umadevi S <sumadevi@novell.com>
251 * UniqueConstraint.cs :changed a ifdef true to ifdef NET_1_1
253 2004-06-22 Atsushi Enomoto <atsushi@ximian.com>
255 * DataSet.cs : Fixed ReadXml(). When ReadMode is ReadSchema and the
256 schema is inside the document element (as created in XmlWriteMode
257 .WriteSchema), it should read schema from that non-document element.
258 This fixes one case reported in bug #60470.
260 2004-06-20 Atsushi Enomoto <atsushi@ximian.com>
262 * XmlDataInferenceLoader.cs : Kindly reject xml schema document as a
263 inference target. For bug #60470. (MS does not support schema
264 document inference and results in unconsistent dataset structure.)
266 2004-06-20 Atsushi Enomoto <atsushi@ximian.com>
268 * DataTableCollection.cs : reset the table's DataSet to null when
269 removing a table from this collection.
270 * DataTable.cs : When Namespace is not specified explicitly, its
271 Namespace property reflects DataSet's Namespace if exist.
272 This fixes bug #60469.
274 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
276 * DBConcurrentcyException.cs: CRLF to LF
277 * DataViewSetting.cs: CRLF to LF
279 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
281 * DataViewSetting.cs: renamed fields to match MS.NET
283 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
285 * DBConcurrencyException.cs: fixed serialization compatibility with
288 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
290 * ChangeLog : Fix for misspelled words.
292 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
294 * DataRowCollection.cs : Removed onColumnRemoved since it is not in use.
296 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
299 - Table stores default values for columns in special default values row.
300 It is allocated once (in NewRow).
301 - DataTable.Copy rewrited. It works with uninitialized rows for better perfomance.
302 - OnRemoveColumn has nothing to perform by now.
304 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
307 - Changed access of original, current and proposed indexes to internal.
308 - ColumnErrors reviewed : now column errors stored in ArrayList and allocated on demand only.
309 - Added new DataRow constructor that creates uninitialized DataRow (used in DataTable.Copy).
310 - Use DataContainer.CopyValue and default values row for faster set of default values in row.
311 - SetColumnValue become CheckValue. Now it does not changes the value, but only checks for its correctness.
312 Care about Null and DBNull values is now in DataContainer.
313 - Use DataColumn.AutoIncrementValue and GetInt64 for faster set of autoincrement value.
314 - Use Datacontainer.CopyValue and default values row to speed up CheckChildRows.
315 - Fix in CopyState : clone column errors.
316 - Removed CollectionChanged and onColumnRemoved since we are not using both of them anymore.
318 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
320 * DataColumnCollection.cs :
321 - Fix : Add() now delegates to Add(DataColumn).
322 - autoIncrement list holds DataColumn objects, and not just column names.
324 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
327 - AutoIncrementValue fixes. Now AutoIncrement uses DataContainer.GetInt64 to avoid boxing.
328 - DefaultValue fixes. Default value from now on is also stored in special record in
329 DataTable, so we're able to set default value for the column faster (typed).
332 2004-06-15 Atsushi Enomoto <atsushi@ximian.com>
334 * DataSet.cs : children of non-root rows were not properly written.
337 2004-06-10 Umadevi S <sumadevi@novell.com>
338 * DataRelation.cs - Constructor
339 - The datatypes of the parentcolumn(s) and the childcolumn(s) should match
341 2004-06-06 Atsushi Enomoto <atsushi@ximian.com>
343 * XmlSchemaDataImporter.cs : We should fill Namespace for DataTable.
345 2004-06-04 Gert Driesen <drieseng@users.sourceforge.net>
347 * Constraint.cs: marked methods internal to fix public API
348 * ConstraintCollection.cs: to fix public API, use
349 DataTable.fInitInProgress to check whether initialization
350 of DataTable is in progress
351 * DataColumn.cs: added stubs for missing methods
352 * DataRowBuilder.cs: marked Table property internal to
354 * DataSet.cs: removed extra empty destructor, marked
355 OnMergeFailed internal to fix public API
356 * DataTable.cs: use fInitInProgress field to hold init
357 status, to match MS.NET
358 * DataView.cs: added missing attributes on IsOpen
360 2004-06-03 Atsushi Enomoto <atsushi@ximian.com>
362 * DataSet.cs : Use NameTable.Get() before calling LookupNamespace()
363 in XmlNamespaceManager.
365 2004-06-03 Atsushi Enomoto <atsushi@ximian.com>
367 * DataSet.cs : complex table content child was not properly added
368 when it is the only one child in the parent table. Fixed bug #53959.
370 2004-06-02 Gert Driesen <drieseng@users.sourceforge.net>
371 * DataTableTypeConverter.cs: added
372 * DataView.cs: added missing attribute on Table property
373 * DataViewManager.cs: moved attribute to correct property
374 * UniqueConstraint.cs: removed extra ReadOnly attribute from
375 IsPrimaryKey property
377 2004-06-01 Atsushi Enomoto <atsushi@ximian.com>
379 * DataRow.cs : ColumnsChanged event is not required in .ctor().
381 2004-06-01 Atsushi Enomoto <atsushi@ximian.com>
383 * XmlDataReader.cs : type change is required before setting value
386 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
388 * DataSet.cs : Loop-break of the last fix was incorrect.
390 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
392 * DataSet.cs : When a row has no parent row but the table has parent
393 relation(s), that row had been always ignored.
395 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
397 * XmlDataInferenceLoader.cs : Fixed GetMappedTable() that incorrectly
398 rejected same-named tables in different hierarchy. Thanks to Boris.
400 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
402 * XmlDiffLoader.cs : Added some Skip() that is required not to go to
403 infinite loop. Thanks to Boris for this fix.
405 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
407 * XmlDataInferenceLoader.cs : XmlSchema elements should not be infered.
408 Thanks to Boris for this fix.
410 2004-05-30 Atsushi Enomoto <atsushi@ximian.com>
412 * DataTable.cs : serialization .ctor() should use XmlReadMode.DiffGram
413 for ReadXml(). Thanks to Boris.
415 2004-05-27 Boris Kirzner <borisk@mainsoft.com>
417 - CheckReadOnlyStatus : use typed (and faster comparing).
418 - EndEdit : bug fix - do not dispose record if it holds original version.
419 - SetValuesFromDataRecord : Take care about autoincrement columns.
422 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
424 * MergeManager.cs : don't output debug message to Console.
426 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
428 * XmlDataInferenceLoader.cs : Namespace are not imported to the table
429 structure. Thanks to Boris Kirzner for the fix.
431 2004-05-27 Umadevi S <sumadevi@novell.com>
432 * DataRelationCollection.cs - fixed nunit test errors
434 2004-05-27 Umadevi S <sumadevi@novell.com>
435 * DataTableCollection.cs - fixed nunit test errors
437 2004-05-21 Atsushi Enomoto <atsushi@ximian.com>
439 * DataColumnCollection.cs : NullReferenceException was thrown when
440 the table was not found.
441 * DataRowCollection.cs :
442 Find() just returns null for null value under MS.NET 1.1.
443 RemoveAt() should also avoid to call AcceptChanges() like Remove().
444 * UniqueConstraint.cs : in AssertConstraint() throw ConstraintException
445 directly under MS.NET (for nunit test).
447 2004-05-21 Atsushi Enomoto <atsushi@ximian.com>
449 * XmlSchemaDataImporter.cs : Setting startindex in LastIndexOf()
450 caused problem on qualified name to get schema Field name.
452 2004-05-21 Atsushi Enomoto <atsushi@ximian.com>
454 * XmlDataReader.cs : Now data reader is namespace aware in all places.
455 When table's namespace is different, it entered to infinite loop.
457 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
458 * MergeManager.cs : AdjustSchema now updates by reference new created table,
459 so in Merge you do not need to lookup for it (were unable to do this for unnamed tables).
462 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
464 * DataColumn.cs : In set_Item[int] - if autoincrement, adjust next autoincrement value.
465 * DataColumnCollection.cs : fixed parantethes.
467 - AcceptChanges : do nothing if row state is unchanged.
468 - GetChildRows, GetParentRows : bug fix (use correct index).
469 * DataRowCollection.cs : bug fix (compare all row's values).
470 * DataTable.cs : bug fix (use correct row version).
472 2004-05-20 Atsushi Enomoto <atsushi@ximian.com>
474 * XmlSchemaDataImporter.cs : xs:positiveInteger is mapped to ulong.
475 When content type is Mixed, text column is not required (it is
476 required only when the complex type has no particle).
477 "Repeated element" column is also created (considering maxOccurs=0
478 and complex content extension).
480 2004-05-20 Atsushi Enomoto <atsushi@ximian.com>
482 * XmlSchemaDataImporter.cs : XmlSchemaGroupBase was not handled
485 2004-05-20 Atsushi Enomoto <atsushi@ximian.com>
487 * XmlSchemaDataImporter.cs : Removed unused code and extra MonoTODO.
488 Fixed relation inference to consider attribute XPath.
490 2004-05-19 Atsushi Enomoto <atsushi@ximian.com>
492 * DataColumn.cs : Fixed set_Item[int]. Convert.ToInt64(DBNull.Value)
495 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
497 * DataColumn.cs - removed default member attribute.
499 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
502 DataColumnChangeEventArgs.cs,
503 DataColumnCollection.cs,
505 DataRowCollection.cs,
507 Index.cs : Data storage in the row is redesigned. Now data is stored in
508 typed containers inside DataColumn. Row holds its versions as indexes inside
509 each of data container, accessed through the row that holds it.
511 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
513 * UniqueConstraint.cs - added comment.
515 2004-05-19 Atsushi Enomoto <atsushi@ximian.com>
517 * XmlDataInferenceLoader.cs : Don't add already-existing DataTable to
520 2004-05-17 Atsushi Enomoto <atsushi@ximian.com>
523 XmlDataInferenceLoader.cs,
525 XmlSchemaDataImporter.cs : XmlDecode every local name to read and
526 XmlEncode every local name to write. This should fix bug #58268.
528 2004-05-17 Atsushi Enomoto <atsushi@ximian.com>
530 * DataSet.cs : Implemented ignored namespaces in InferXmlSchema().
531 Supported repeated elements. Removed MonoTODOs.
532 * XmlDataInferenceLoader.cs : Design change to support ignored
533 namespace and repeated elements.
534 * XmlSchemaDataImporter.cs : Added mapping support classes.
536 2004-05-15 Atsushi Enomoto <atsushi@ximian.com>
538 * CustomDataClassGenerator.cs :
539 Added property parent "[foo]Row" and children "Get[foo]Row" support
540 for custom DataRow classes.
541 Fixed DataColumn property accessibility (public --> internal).
543 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
545 * CustomDataClassGenerator.cs :
546 - Put classes inside custom DataSet class.
547 - Added automatic DataRelation creation support.
548 - Added Constraints creation support. That is done separate from
549 relations, since they might be independently created.
550 - Added non-MS public DataRelation fields.
551 - Removed extraneous "DataRelation type generation" code.
552 - Fixed custom_dataset.Initialize() not to create "c" field that
553 was created more than once.
554 - Implemented AddxxxRow() that takes parameters for every column.
556 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
558 * XmlSchemaDataImporter.cs : When primary key is used more than once,
559 DataRelation borked because of empty parent column name.
561 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
563 * XmlSchemaDataImporter.cs : When Creating constraints with related
564 to DataRelation creation, also set PrimaryKey to the parent table.
566 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
568 * XmlSchemaDataImporter.cs :
569 Design change to add indirect table and relation structures.
570 Support for "relation" annotation for local element.
571 Support for repeatable simple element column (maxOccurs > 1).
572 Fixed handling of Nested property on DataRelation (for globally
573 annotated relation, Nested is false).
575 2004-05-13 Atsushi Enomoto <atsushi@ximian.com>
577 * DataRow.cs : Added DataElement property to avoid storing every row-
578 element mapping. It stored even for nodes that should be removed.
580 2004-05-13 Umadevi S <sumadevi@novell.com>
582 * RelationshipConverter.cs - Stubbed this class
583 * DataRelation.cs - added TypeConveterAttribute
585 2004-05-13 Umadevi S <sumadevi@novell.com>
587 * DataColumnCollection.cs - Added ResDescriptionAttribute
588 * DataRelation.cs - Added TypeConverterAttribute
589 * DataRelationCollection.cs - Added DefaultPropertyAttribute
590 * DataRowView.cs - Added GetHashCode method with a TODO tag
591 * DataSet.cs - Added DesignerAttribute
592 * DataView.cs - Added DesignerAttribute
593 * DataViewManager.cs - Added DesignerAttribute
594 * DataViewSetting.cs - Added TypeConverterAttribute
596 2004-05-12 Atsushi Enomoto <atsushi@ximian.com>
598 * DataRow.cs : Added XmlDataElement initialization code.
600 2004-05-11 Atsushi Enomoto <atsushi@ximian.com>
602 * XmlDataInferenceLoader.cs :
603 It now requires XmlDocument as input. Improved identification of
604 DataSet element. Removed extra lines.
605 Moved boresome design notes to bottom of the source and
606 added standalone runnable driver (not included on build).
608 Update with related to the change above.
609 WriteXml() should call Flush() after writing. This fixes bug #58327.
610 * XmlSchemaDataImporter.cs :
611 Improved indentification of DataSet element.
613 2004-05-11 Gert Driesen (drieseng@users.sourceforge.net)
614 * DataTable: marked initStatus enum internal
616 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
617 * DataTable.cs: removed TypeConverterAttribute, marked RowsExist
619 * DataRowView.cs: removed extra Error property
620 * DataRow.cs: reduced accessibility of CollectionChanged method
622 * DataColumnPropertyDescriptor.cs: made class internal
623 * DataColumn.cs: removed extra TypeConvertorAttribute
624 * ConstrainCollection.cs: marked PostEndInit method internal
626 2004-05-07 Atsushi Enomoto <atsushi@ximian.com>
629 In WriteXmlSchema(), when complex type contains simple type content
630 attributes must not added to XmlSchemaComplexType directly. It
631 causes schema compilation error.
632 DataRelation should not be output when related columns are hidden.
634 2004-05-07 Atsushi Enomoto <atsushi@ximian.com>
636 * XmlDataInferenceReader.cs : Added. It does InferXmlSchema() (it is
637 also expected to do ReadXml(), but I will remove that feature and
638 support column reordering).
639 * XmlSchemaDataImporter.cs : Always initialize dataset name.
640 Always set Nested and primary key for parent table.
641 * XmlDataReader.cs : Now it is used.
642 Top level element might not match to dataset name nor any table
643 name, but still possible to read content tables.
644 Handle empty element correctly in some places.
645 Handle Fragment mode (read up XmlReader to the end).
646 * DataSet.cs : Modified InferXmlSchema() and ReadXml() to use
647 XmlDataInferenceLoader and XmlDataReader.
649 2004-05-06 Atsushi Enomoto <atsushi@ximian.com>
652 Eliminated CRLF injection.
653 More clear message in Clear().
654 Updates reflecting XmlSchemaDataImporter change.
655 Added duplicate check for XmlSerializerNamespaces in BuildSchema().
656 Don't use xmlns attribute for UnhandledAttributes (its not mandatory
657 but that depends on different behavior from ms.net).
658 Set locale also for DataTable.
659 Add xs:element only when target namespace matches to the
660 element's namespace. Otherwise, add xs:import for external namespace.
661 Put xs:sequence for dataset element's particle _only when_ actual
664 2004-05-06 Atsushi Enomoto <atsushi@ximian.com>
666 * XmlDataReader.cs : Added. This class will work better when our
667 schema inference and schema read engine gets improved. (It contains
668 standalone testable Driver class.)
670 2004-05-06 Atsushi Enomoto <atsushi@ximian.com>
672 * ForeignKeyConstraint.cs : Check step change. Existence then column
673 validity. just for tests.
674 * XmlSchemaDataImporter.cs : code simplification. reduced extraneous
677 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
679 * DataSet.cs : Ignore empty content only when output type is diffgram.
681 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
683 * CustomDataClassGenerator.cs : Modified that DataSet contains each
684 DataTable field so that each table property can access them directly.
685 (plus, modified standalone code driver code: shouldn't affect)
687 2004-05-05 Boris Kirzner <borisk@mainsoft.com>
689 * DataView.cs , DataRowView.cs : Added implementation to basic methods and properties.
691 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
693 * XmlSchemaDataImporter.cs :
694 SimpleContent column support.
695 Annotated relation support.
696 Top-level element is counted only when its type is complex.
697 xs:anyType is no longer treated as complex type.
698 dataset existence is mandatory now.
699 Improved DataType and DefaultValue support.
700 Attribute namespace is properly handled now.
701 Prohibited attribute is now treated as hidden column.
702 Reject list or union simple type.
704 Still incomplete 1) to read relationship in some cases, 2) to
705 determine whether an element is dataset or table, 3) thus to
706 exclude extraneous column, 4) to remove extraneous *_Id column.
708 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
711 We had better reuse DataSet's ReadXmlSchema() and ReadXml() in
712 serialization .ctor() (thus schema read/inference should be easier).
713 DataRowSorter should consider Table's Locale.
715 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
717 * DataColumnCollection.cs : We already had AutoIncrementValue(), so
718 use it instead of duplicating logic.
720 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
722 * ConstraintCollection.cs :
723 Use Table.CaseSensitive and Table.Locale to compare strings.
724 Duplicate constraint name exception does not occur under .NET 1.1.
726 2004-05-04 Lluis Sanchez Gual <lluis@ximian.com>
728 * XmlSchemaDataImporter.cs: Added little type check.
730 2004-05-04 Lluis Sanchez Gual <lluis@ximian.com>
732 * DataSet.cs: Implemented support for runtime serialization. Fixed support
733 for xml serialization.
734 * XmlDiffLoader.cs: Skip diffgram element when it is empty.
736 2004-04-30 Umadevi S <sumadevi@novell.com>
737 * DataColumnCollection.cs : Fixed nunit test errors, removed TODOs
738 * DataTableCollection.cs : Tested and removed TODO
739 * TypedDataSetGeneratorException.cs : Fixed a couple of TODOs
741 2004-04-29 Atsushi Enomoto <atsushi@ximian.com>
743 * DataRow.cs : My previous patch unintentionally reverted Boris patch.
745 2004-04-29 Boris Kirzner <borisk@mainsoft.com>
747 * UniqueConstraint.cs : Constraint columns becaomes unique after adding constraint ifand only if
748 constraint is defined on single column.
750 2004-04-29 Atsushi Enomoto <atsushi@ximian.com>
752 * DataRowCollection.cs : .NET 1.1 throws InvalidConstaintException,
753 not ArgumentException (maybe changed after 1.1).
755 2004-04-29 Atsushi Enomoto <atsushi@ximian.com>
757 * DataRow.cs : When Column was added and it was AutoIncrement column,
758 it extended the item object array incorrectly.
759 (Plus tiny comment and incorrect indentation fix.)
761 2004-04-29 Boris Kirzner <borisk@mainsoft.com>
763 * MergeManager.cs : added ( incomplete yet ) support for merging DataSet schema.
765 2004-04-29 Boris Kirzner <borisk@mainsoft.com>
767 * DataRow.cs : Bug fix in CopyValuesToRow().
769 2004-04-29 Boris Kirzner <borisk@mainsoft.com>
771 * UniqueConstraint.cs : There is no reason to mark constraint's columns as unique, because
772 each of the columns should not be unique, but only all the constraint's columns together.
774 2004-04-28 Boris Kirzner <borisk@mainsoft.com>
777 - Added using of list of autoIncrement columns
778 - SetColumnValue receives also DataColumn to avoid duplicate lookup in DatacolumnCollection
779 - Fix in CheckNullConstraints
780 - Fix in this[] and HasVersion() : when evaluating an expression deleted rows values can be accessed.
781 - Fix in SetColumnValue() , added CanAccess() method to avoid case of accessing internal array values berore it actually allocated.
782 - Added onColumnRemoved() method to threat column removal accurately.
784 * DataRowCollection.cs :
785 - Added using of DataRow._nullConstraintViolation (for perfomance fix in EndLoadData())
786 - Added method onColumnRemoved() - calls each row's onColumnRemoved() (to ensure column removal is treated accurately)
789 - Call DataRowCollection.onColumnRemoved() in OnRemoveColumn() (to ensure column removal is treated accurately)
791 * DataColumnCollection.cs :
793 - collection holds a list of its autoIncrement columns (avoids unnesessary lookup through whole collection)
794 - collection holds mapping from column names to DataColumn objects (avoids lookup through whole collection).
795 - automatic creation of column names rewrited (bug fixes + perfomance improvement)
798 - Uses autoincrement list of a table
800 2004-04-27 Atsushi Enomoto <atsushi@ximian.com>
802 * XmlDataLoader.cs : Even when it should ignore schema, it was
804 * XmlSchemaDataImporter.cs : DataRelation creation support.
805 Improved "DataSet" element handing. When attributes are on the
806 element, it is not a "DataSet" element.
807 Fixed parent key column name.
808 Unique name creation is not required. Just raise an error.
809 Fill facet also for attribute types.
811 2004-04-27 Atsushi Enomoto <atsushi@ximian.com>
813 * DataRow.cs : Null check for CheckReadOnlyStatus() and
814 CheckNullConstraints(), with some coding guideline fixes.
815 Type check should be done by Type instance comparison.
817 2004-04-27 Atsushi Enomoto <atsushi@ximian.com>
819 * DataColumnCollection.cs : When add a column to the collection, fill
820 auto-increment column.
822 2004-04-26 Boris Kirzner <borisk@mainsoft.com>
824 * DataColumn.cs : Small perfomance fix (avoid unnesessary string concatenation).
826 2004-04-26 Atsushi Enomoto <atsushi@ximian.com>
828 * CustomDataClassGenerator.cs : Added.
829 * TypedDataSetGenerator.cs : Implemented Generate().
830 Changed GenerateIdName() to call CustomDataClassGenerator.MakeSafeName
831 * XmlSchemaDataImporter.cs : Table Locale should be supplied.
833 2004-04-25 Boris Kirzner <borisk@mainsoft.com>
835 * DataTable.cs : Small perfomance fix (avoid unnesessary string concatenation).
837 2004-04-25 Boris Kirzner <borisk@mainsoft.com>
839 * Constraint.cs : Small perfomance fix (avoid unnesessary string concatenation).
841 2004-04-23 Umadevi S (sumadevi@novell.com)
842 * DataRow.cs: Checked BeginEdit,EndEdit,CancelEdit and Delete methods
843 - Added error handling to the above methods
845 2004-04-22 Atsushi Enomoto <atsushi@ximian.com>
847 * DataSet.cs : Data should be read when mode is IgnoreSchema (well,
848 the support is incomplete yet).
850 Reverted ReadModeSchema() argument change. XmlReadMode would be
851 useful to handle IgnoreSchema.
852 Don't overwrite DataSetName when mode is not such kind.
853 Set Prefix and Namespace as well as DataSetName.
854 AllowDBNull looks set false by default for element column.
855 Set unique constraint as primary key when infering the table schema.
857 2004-04-21 Atsushi Enomoto <atsushi@ximian.com>
860 Never set null string for Prefix and Namespace.
861 In InferXmlSchema() when null XmlReader is passed, just do nothing.
862 In WriteXmlSchema(string), earlier try block.
863 In BuildSchema(), try to add serialization namespaces for each
864 namespaces in DataSet/DataTable/DataColumn.
865 Removed namespace argument from WriteColumnAsElement() and don't
866 overwrite when namespace is "". This fixes bug #57330.
867 * DataColumn.cs : For Namespace and Prefix, never set null.
869 2004-04-21 Boris Kirzner <borisk@mainsoft.com>
871 * XmlSchemaMapper.cs : Check for not null unique constraint in ReadXmlSchemaKeyref()
872 before creating and adding foreign key constraint and relation.
874 2004-04-21 Boris Kirzner <borisk@mainsoft.com>
876 * MergeManager.cs : In AdjustSchema() source table clone should be added
877 and not the table itself.
879 2004-04-21 Boris Kirzner <borisk@mainsoft.com>
882 - CaseSensitive : Additional fix (removed unnesessary assignment).
883 - CopyProperties : Do not try to copy ExtendedProperties if the collection is empty.
885 2004-04-21 Boris Kirzner <borisk@mainsoft.com>
887 * DataTable.cs : Ensure that DataSet property is not null before using it in Clear().
889 2004-04-20 Boris Kirzner <borisk@mainsoft.com>
892 - EndLoadData() : perfomance fix in case of null constraint violation
893 during data load (also in DataRow.cs).
894 - CaseSensitive : If DataTable belongs to DataSet it should always use
895 DataSet.CaseSensitive untill explicitly changed.
896 - CopyProperties() : do not try to copy ExtendedProperties if the collection is empty.
899 - Pefromance fix in case of null constraint violation
900 during data load (also in DataTable.cs).
901 - CollectionChanged() : use correct column number after new DataColumn was added
902 (differs in case some DataColumn was previosly removed).
903 - EndEdit() - throw away proposed values only after CheckChildRows() complete.
905 2004-04-20 Boris Kirzner <borisk@mainsoft.com>
907 * DataColumnCollection.cs : Since unique constraint is added now
908 in DataColumn.SetTable() the additional creation of constraint in
909 DataColumnCollection.Add() is redundant and causes exception - fixed.
911 2004-04-19 Atsushi Enomoto <atsushi@ximian.com>
913 * XmlDataLoader.cs : Added "never add data rows" mode.
914 Removed unused code. However, it is temporary fixes to unify
915 ReadXml() and InferXmlSchema().
916 * DataSet.cs : Implemented InferXmlSchema(), though it is incomplete.
918 I'll create another XmlDataLoader since there are many problems
919 such that 1) it is too waste to read the entire xml into an
920 XmlDocument, 2) it does not handle attributes correctly, and 3) it
921 must handle "ignored namespaces".
923 2004-04-19 Atsushi Enomoto <atsushi@ximian.com>
925 * Added XmlSchemaDataImporter.cs (new schema reader).
926 * DataSet.cs : Use XmlSchemaDataImporter (right now for DataSet only)
928 Let schema reading work to ReadXmlSchema().
929 Don't return ReadSchema when argument read mode was DiffGram.
931 2004-04-15 Umadevi S (sumadevi@novell.com)
932 * Updated Clone/Copy methods in DataSet along with Testcase
933 * ForeignKeyConstraint.cs - special ctor implemented
934 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).
935 * Changes in ConstraintCollection.cs for the above
936 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.
939 2004-04-15 Atsushi Enomoto <atsushi@ximian.com>
941 * XmlSchemaMapper.cs : set parent key and foreign key info to
942 DataRelation when reading refkey constraints.
943 Supply constraint name for fkey.
945 2004-04-15 Atsushi Enomoto <atsushi@ximian.com>
947 * XmlDataLoader.cs : Don't overwrite existing DataSetName. When read
948 mode is Auto, just ignore the schema if there is already schema info.
949 * DataSet.cs : Similarly ignore schema info for XmlReadMode = Auto.
951 2004-04-14 Atsushi Enomoto <atsushi@ximian.com>
954 - In MS output, XML declaration looks to have standalone decl (yes).
955 - ReadXml(reader) just calls to ReadXml(reader, XmlReadMode.Auto)
956 - ReadXml(reader, mode)
957 1) return originally specified mode, instead of (always) Auto.
958 2) Check empty reader.
959 3) Check diffgram schema and content separately.
960 4) When diffgram exists, remaining (the same-level) contents
962 5) Similar fact should be applied, but somewhat different.
963 InferSchema and IgnoreSchema just skips, Fragment reads both
964 schema and content, others just reads schema.
965 - Removed unused code.
967 - Read() should skip in some ReadMode.
968 - Don't compare schema element name as case-insensitive (well,
969 should schemas be checked here?)
970 - Avoided BuildDocument() not to create confusing DataSet
972 - Don't add any tables when reader has single element.
974 When target table was not found, MS.NET doesn't raise an error.
975 * XmlSchemaMapper.cs :
976 When XmlSchema.Read() left xml reader at </xs:schema>, read once.
978 2004-04-13 Atsushi Enomoto <atsushi@ximian.com>
981 - InferXmlSchema(): Throw explicit NotImplementedException now.
982 - Don't put XML declaration everywhere. Write just for filename arg.
983 - xmlns="" should not be written. Maybe WebService problem is
984 because default namespace is overwritten. This patch will keep
985 the WS problem away and actually fixes some unit tests (i.e. use
986 explicit String.Empty for null namespace in WriteStartElement()).
987 - MoveToContent() should always be called, not only when
988 LocalName="xml". It will ignore prolog (DTD, PI, comment etc.).
989 - Even XmlReadMode is DiffGram, reader might not be "diffgram"
990 element. As to MSDN, diffgram does not contain schema.
992 2004-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
994 * DataTable.cs: made _initStatus private so that System.Data is CLS
997 2004-04-13 Umadevi S <sumadevi@novell.com>
998 * UniqueConstraint.cs:
999 * ConstraintCollection.cs:
1001 - Implemented a Constructor for UniqueConstraint.cs
1002 - Used EndInit on DataTable to call a delegate which adds the
1003 constraints passed to the most recent call of AddRange().Used
1004 AddRange() on ConstraintCollection to check whether
1005 DataTable.BeginInit has occurred. If yes, save the argument
1006 constraint collection passed, then return. If no, Check whether the
1007 constraints are of type UniqueConstraint and initialized with the
1008 special constructor If yes Initialized the table property of this
1009 UniqueConstraint object with table assosciated with the current
1010 instance of ConstraintCollection class.
1012 2004-04-07 Marek Safar <marek.safar@seznam.cz>
1014 * Constraint.cs: changed ClsCompliant to CLSCompliant, build fix.
1016 2004-04-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1019 * DataColumnCollection.cs:
1020 * DataRelationCollection.cs:
1021 * DataRowCollection.cs:
1022 * DataTableCollection.cs:
1023 * InternalDataCollectionBase.cs:
1024 * Node.cs: CLS compliance for System.Data. Patch by Gert Driesen.
1027 2004-04-05 Jackson Harper <jackson@ximian.com>
1029 * DataTable.cs: Add rows to the row list if there is no filter.
1031 2004-03-31 Juraj Skripsky <juraj@hotfeet.ch>
1033 * DataColumn.cs : Setting Caption to null sets it to the empty string
1034 (ms.net behaviour, testcase is in DataColumnTest).
1036 * DataRow.cs : Evaluate DataColumn.Expression when such a column's
1039 2004-03-30 Lluis Sanchez Gual <lluis@ximian.com>
1041 * DataColumn.cs: In Expression setter, set the expression member even if
1042 it is an empty string.
1043 * DataSet.cs: Support serialization of byte[] columns.
1044 * XmlDataLoader.cs: Support deserialization of Guid columns.
1045 Set MappingType.Attribute to columns infered from attributes.
1047 2004-03-29 Juraj Skripsky <juraj@hotfeet.ch>
1049 * ExpressionElements.cs : remove
1050 * DataColumn.cs, DataRelationCollection.cs, DataTable.cs :
1051 Integration of new Mono.Data.SqlExpressions classes used in
1052 DataTable.{Select, Compute}.
1053 Fixes bug #55503 and lots of failures in DataTableTest.cs.
1055 2004-03-28 Juraj Skripsky <juraj@hotfeet.ch>
1057 * Index.cs: Simple fix in ComparePartialRowNonUnique.
1058 This fixes bugs #56129 and #56014.
1060 2004-03-25 Lluis Sanchez Gual <lluis@ximian.com>
1062 * DataSet.cs: In WriteXml (string filename, XmlWriteMode mode), close the
1063 stream after writing the dataset. This fixes bug #52581.
1064 Also added several writer.Close into finally blocks, so writers are properly
1065 closed in case of an exception.
1067 2004-03-12 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1069 * Constraint.cs: DO NOT USE the consts scheme if types can be referenced directly!
1070 * DataColumn.cs: DO NOT USE the consts scheme if types can be referenced directly!
1071 * ColumnTypeConverter.cs: Added stub
1072 * DefaultValueTypeConverter: Added stub
1073 * ConstraintConverter.cs: Added stub
1075 2004-03-04 Eran Domb <erand@mainsoft.com>
1077 * XmlDataLoader.cs : Xml reading reviewed. Added support for additional xml formats as described
1078 in MS.NET documentation (missing DataSet element etc).
1080 2004-03-04 Eran Domb <erand@mainsoft.com>
1083 * Index.cs : Rollback last changes.
1085 2004-03-03 Atsushi Enomoto <atsushi@ximian.com>
1087 * Index.cs : justa build fix.
1089 2004-03-03 Eran Domb <erand@mainsoft.com>
1092 * Constraint.cs, ForeignKeyConstraint.cs, UniqueConstraint, ConstraintCollection.cs, DataColumn.cs,
1093 DataRow.cs, DataRowCollection.cs, DataSet.cs, DataTable.cs : Changes made for using indexes on tables.
1094 This changes made for performance improvement.
1096 2004-02-08 Eran Domb <erand@mainsoft.com>
1098 * XmlSchemaMapper.cs : Read columns is they were written as SimpleContent or as Attributes.
1100 2004-02-08 Eran Domb <erand@mainsoft.com>
1102 * DataSet.cs: Fix some bugs in ReadXml().
1104 2004-02-04 Lluis Sanchez Gual <lluis@ximian.com>
1106 * DataSet.cs: Added missing method that broke the build.
1108 2004-02-04 Eran Domb <erand@mainsoft.com>
1110 * DataRowCollection.cs (InsertAt): Add a check for null row. Replace check of IndexOf with RowId for
1112 * DataSet.cs (GetTableSchema) : Add supprot for simple content columns. Change the condition for a case
1113 when all column are attributes (elements count is 0), we still want to add the relations. No relations
1114 can be on simple contents.
1115 (AddUniqueConstraints) Check that the column of the constraint are not hidden.
1116 (AddForeignKeys) Check that the relation has constraints attach to it.
1117 * XmlConstants.cs : Added constant.
1119 2004-02-04 Eran Domb <erand@mainsoft.com>
1121 * DataSet.cs : GetSchemaSerializable() return null and not BuildSchema().
1122 DoWriteXmlSchema calls BuildSchema ().
1124 2004-02-04 Lluis Sanchez Gual <lluis@ximian.com>
1126 * DataRow.cs: Added SetOriginalValue(), which is used to set the original
1128 * DataRowCollection.cs: In InsertAt(), perform the correct checks and
1130 * DataSet.cs: Fixed method GetChanges(): Parent rows of modified rows must
1131 also be added to the dataset.
1132 In WriteTable(), do not write unchanged rows when writing the original
1133 version of the table.
1134 Added WriteIndividualTableContent(), for writing the contents of a single
1136 Changed BuildSchema and related methods, so it can generate a schema for
1137 any set of tables, not just the tables of the dataset (needed for
1138 single datatable serialization).
1139 * DataTable.cs: Implemented serialization constructor and GetObjectData method.
1140 Also implemented some ReadXmlSchema methods.
1141 * XmlDiffLoader.cs: Read and process the xml document directly from XmlReader,
1142 instead of loading the full dataset in an XmlDocument. It is faster and
1143 saves memory. Also fixed several problems when generating the changes.
1144 * XmlSchemaMapper.cs: Support reading schemas for single tables (used by
1145 table serialization).
1147 2004-02-02 Eran Domb <erand@mainsoft.com>
1149 * DataSet.cs : Add indentation to the xml serialization only if we create the XmlWriter.
1150 Add the namespace attribute even if namespace is an empty string for inteoperability with MS.NET.
1151 * DataTable.cs (NewRow): Create only one DataRowBuilder.
1152 Initiate new row with row id -1.
1153 * DataRow.cs : Add RowId property.
1154 * DataRowBuilder.cs : Add _rowId member.
1155 * DataRowCollection.cs (Add) : Use the RowId property of the new row to check if it is already exists in the collection.
1157 2004-01-26 Eran Domb <erand@mainsoft.com>
1159 * XmlConstants.cs : Added some constants.
1160 * DataColumn.cs : Added a method to retrive AutoIncrement value.
1161 * XmlDataLoader.cs : Set the value of the foriegn key column, according to the value of the
1162 parent table column.
1163 * XmlDiffLoader.cs : Convert the value comming from the xml.
1164 * XmlSchemaMapper.cs (Read) : Set the DataSet namespace.
1165 (ReadXmlSchemaSequence) : Change the logic that decides if this element is a column or a table.
1166 (ReadXmlSchemaElement) : Set the locale of the dataset.
1167 (ReadColumn) : Set the column type. Find if the column is AutoIncrement.
1168 (GetColumnType) : New method to get the column type from the attribute value.
1169 (ReadXmlSchemaUnique) : Improve parsing of XPath. Set the constraint as a PK if needed,
1170 and add the constraint to the table.
1171 (ReadXmlSchemaKeyref) : Improve parsing of XPath. Create the FK constraint and add it to
1173 * DataSet.cs : Improving writing of unique constraints, and foriegn key constraint. Givving them the correct names.
1174 Writing more information to the schema for interoperability with ms.net.
1175 Improve diffgarm writing mode.
1178 2004-01-21 Atsushi Enomoto <atsushi@ximian.com>
1180 * TypedDataSetGenerator.cs : Implemented GenerateIdName().
1182 2004-01-21 Eran Domb <erand@mainsoft.com>
1184 * XmlDataLoader.cs (AddRowToTable) : Give thre new relation correct name.
1185 Do not set the child column to be AutoIncrement.
1186 Create the new column for the relation as MappingType.Hidden so they will not be serialized
1187 when writing the dataset to xml.
1189 2004-01-20 Atsushi Enomoto <atsushi@ximian.com>
1191 * Added missing TypedDataSetGenerator.cs.
1193 2004-01-08 Eran Domb <erand@mainsoft.com>
1195 * XmlSchemaMapper.cs : Fix a bug. Check if table already in DataSet before adding it.
1196 * DataSet.cs (ReadXml) : Fix bugs. Read correctly the xml file with XmlReadMode of DiffGram,
1197 InferSchema, ReadSchema and IgnoreSchema.
1198 * XmlDataLoader.cs : All modes use the same logic.
1199 * XmlDiffLoader.cs : Adding BuildXmlDocument method to the class.
1201 2004-01-06 Eran Domb <erand@mainsoft.com>
1203 * DataRelationCollection.cs : Use IndexOf in indexer.
1204 * DataSet.cs : Adding support for WriteXml with diffgram. Code style changes.
1205 * XmlDataLoader.cs : Set the DataSet.enforceConstraints to false before loading the tables.
1206 * XmlDiffLoader.cs : Reading nested tables.
1207 * XmlSchemaMapper.cs : Reading the relation.
1208 * XmlConstants.cs : Adding some constants.
1210 2004-01-05 Jackson Harper <jackson@ximian.com>
1212 * DataView.cs: Set readonly property of property descriptor. This
1215 2004-01-01 Sanjay Gupta <gsanjay@novell.com>
1217 * DataRelationCollection.cs : Fixed incorrect generation of default
1219 * DataSet.cs : Added missing functionality in WriteXml().
1220 * XmlConstants.cs : Added new constants.
1222 2003-12-27 Atsushi Enomoto <atsushi@ximian.com>
1224 * DataSet.cs : Fixed incorrect WriteXml() signature.
1226 2003-12-18 Jackson Harper <jackson@ximian.com>
1228 * DataView.cs: Implement AddNew, Delete, and OnListChanged.
1230 2003-12-17 Atsushi Enomoto <atsushi@ximian.com>
1232 * DataSet.cs, XmlDataLoader.cs : Table name should be encoded before
1233 they take shape of xml. This fixed bug #52240
1235 2003-12-16 Tim Coleman <tim@timcoleman.com>
1236 * KeyRestrictionBehavior.cs:
1237 New stubs added for .NET 1.2
1241 2003-12-08 Eran Domb <erand@mainsoft.com>
1242 * DataColumn.cs (Expression) : Validate the expression.
1244 * DataRelationCollection.cs (IndexOf) : Added new method sensetive to case differences in relation name.
1245 (Contains, IndexOf, this[], Add) : Call new IndexOf when needed.
1247 * DataRow.cs (this[]) : Fix the condition for throwing RowNotInTableException.
1248 (RejectChanges) : Detach row when state was Added.
1249 (CollectionChanged) : Fix a bug.
1251 * ExpressionElement (ValidateExpression) : Fix a bug.
1253 * ForeignKeyConstraint.cs (AssertConstraint) : Added implementation. Check all rows from child table have
1254 a parent row in the parent table.
1255 (_validateColumns) : Fix bugs.
1257 * MergeManager.cs (AdjustSchema) : Fix a bug.
1259 * XmlDataLoader.cs (ReadModeInferSchema) : Change implementation. Now we can read nested xml, and we generate the relations
1262 2003-11-30 Eran Domb <erand@mainsoft.com>
1263 * DataColumnCollection.cs (this[string name]) : Use IndexOf to find the column.
1264 (Add) : Find if the new column name is the same as the one found in IndexOf.
1265 (IndexOf) : New method.
1266 (Contains) : Use new IndexOf.
1267 (IndexOf) : Use new IndexOf.
1269 * DataRelationCollection.cs (DataRelationCollection.AddCore) : Add The Relation to the collection.
1270 (DataSetRelationCollection.AddCore) : First add the UniqueConstraint.
1272 * DataRow.cs (this[int columnIndex, DataRowVersion version]) : Change exceptions.
1273 (Delete) : Detach row if the RowState was Added.
1274 (GetChildRows) : Get the array form the ChildTable.
1275 (GetParentRows) : Get the array from the ParenTable.
1277 * DataRowCollection.cs (Remove) : Check if row state is Detached to avoid exception.
1279 * DataSet.cs (IXmlSerializable.ReadXml) : Do not call MoveToContent and ReadEndElement - the XmlSerializationReader does it.
1281 * DataTable.cs (PrimaryKey) : Fix bugs.
1282 (Compute) : First call Select. Then create ExpressionAggregate to aggregate the Select result.
1284 * DataTableCollection.cs (Add) : Fix a bug.
1286 * ExpressionElement.cs (ValidateExpression) : Turning ValidateExpression to static.
1287 (Result) : Added new interface to AggregateExpression that get DataRow[] as a param.
1288 Some code style changes (tab instead of whit spaces, alignment, etc...).
1290 * ForeignKeyConstraint.cs (_validateColumns) : Throw correct exception.
1292 * MergeManager.cs (AdjustSchema) : Fix a bug.
1296 2003-11-26 Miguel de Icaza <miguel@ximian.com>
1298 * DataSet.cs: Add a few more missing methods, code style updated
1301 2003-11-26 Tim Coleman <tim@timcoleman.com>
1303 * ConflictOptions.cs DataAdapterException.cs DataTableReader.cs
1304 * DbMetaData.cs FillOptions.cs IDataReader2.cs IDataRecord2.cs
1305 * IDataUpdatableRecord.cs IDbAsyncCommand.cs IDbAsyncConnection.cs
1306 * IDbExecutionContext.cs IGetTypedData.cs ISetTypedData.cs
1307 * LoadOption.cs OperationAbortedException.cs ResultSetOptions.cs
1308 * ResultSetSensitivity.cs StatementCompletedEventArgs.cs
1309 * StatementCompletedEventHandler.cs UpdateOptions.cs:
1310 New classes added for NET_2_0
1311 * DBConcurrencyException.cs DataRelation.cs DataSet.cs DataTable.cs
1312 * DataTableCollection.cs DataView.cs ForeignKeyConstraint.cs:
1313 Modifications to add new NET_2_0 functions
1315 2003-11-25 Tim Coleman <tim@timcoleman.com>
1319 2003-11-21 Pedro Martínez Juliá <yoros@wanadoo.es>
1321 * DataRow.cs: Detached row can be accesible (new rows from data
1322 table are detached). Closes but #51263.
1324 2003-11-19 Eran Domb <erand@mainsoft.com>
1325 * DataRow.cs : Throw exceptions if Row is Detached.
1326 (EndEdit) : Check that we are not in middle of ChangeEvent.
1327 (AcceptChanges) : Detach the row.
1329 * DataRelation.cs : throw correct exception.
1330 *UniqueConstraint.cs : throw correct exception.
1333 2003-11-09 Pedro Martínez Juliá <yoros@wanadoo.es>
1335 * DataRow.cs: Use RemoveInternal instead of Remove because the last
1336 one uses Delete and AcceptChanges.
1338 * DataRowCollection.cs: When removing, Delete and AcceptChanges
1339 method from the row are called. Added an internal method that will
1340 be used by DataRow to "physically" remove the row from the list.
1342 2003-11-09 Pedro Martínez Juliá <yoros@wanadoo.es>
1344 * DataRowCollection.cs: To follow the specification: Remove and
1345 RemoveAt should remove the row. But needed to call DeletingDataRow
1346 to prepare the deleting.
1348 * DataRow.cs: Don't call DeletingDataRow when it is called by the
1349 method Table.Rows.Remove.
1351 2003-11-09 Pedro Martínez Juliá <yoros@wanadoo.es>
1353 * DataRowCollection.cs: Make the row be deleted by itself. If not,
1354 it fails because we need to call OnRowDeleting and OnRowDeleted. It
1355 is full implemented inside DataRow.
1357 2003-11-05 Eran Domb <erand@mainsoft.com>
1358 * DataView.cs (ctor) : Changing default RowStateFilter to CurrentRow.
1360 2003-11-04 Eran Domb <erand@mainsoft.com>
1361 * DataRow.cs (CheckChildRows) : Improving the implementation - checking child for all FK, and not
1363 (GetChildRows) : Adding some checks.
1364 (GetParentRows) : Adding some checks. Fix a bug in implementation.
1365 (SetParentRow) : Added implementation.
1367 * DataRowCollection.cs (Add) : Added more checks on the row added to the collection.
1368 * DataTable.cs (Copy) : Set the During Loading flag to save unnecessary assertions.
1369 * ForeignKeyConstraint.cs (AssertConstraint) : Fixing bugs in implementation. Checking for DBNull values in the row.
1370 * MergeManager.cs : Check that the target table is not null.
1372 2003-10-27 Eran Domb <erand@mainsoft.com>
1373 * DataColumn.cs (DefaultValue) : Changing null value to DBNull. Checking that the type of the new default value
1374 can be converted to the column type.
1376 * DataRelationCollection.cs (AddCore) : Give the new FK the name of the relation.
1378 * DataRow.cs (EndEdit) : Check if we need to validate the constraints.
1379 (GetParentRows, GetChildRows) : Checking that the row has the wanted version, before accessing the row's value.
1381 * DataRowCollection.cs (Add) : Fixing a bug.
1382 (Clear) : Before clearing the array check that there is no violation of FK constraint.
1384 * DataSet.cs (Prefix) : If value is null chage it to empty string.
1385 (GetXml) : Removing the Processing Instructions from the xml string as in MS ADO.NET.
1387 * ExpressionElement : Adding support for IN expresion.
1389 * DataTable (CopyConstraints) : New method that copy the tables constraints to the copy table.
1390 (Select) : Adding support for DataViewwRowState.
1392 * ForeignKeyConstraint.cs (AssertConstraint) : Adding implementation.
1394 * MergeManager.cs (MergeRow) : Fix bugs.
1396 2003-10-27 Eran Domb <erand@mainsoft.com>
1397 * DataRow.cs (SetColumnValue): Donot check null value when in midle of loading data.
1398 check null values when ending loading data.
1400 * DataSet.cs (RejectChanges) : Imlementation.
1401 (Prefix) : If prefix was changed fire event. Check that the prefix is not null - if null,
1402 change it to empty string.
1404 * DataTable.cs (BeginLoadData, EndLoadData) : Impemantation.
1406 2003-10-22 Eran Domb <erand@mainsoft.com>
1407 * MergeManager.cs : Fixing bugs. Adding check for PrimaryKey matching.
1409 * ConstraintCollection.cs (RamoveAt): Change implemntation.
1411 * DataTableCollection (CanRemove): Removing cast to Constraint.
1413 2003-10-22 Eran Domb <erand@mainsoft.com>
1414 * DataRelationCollection.cs (AddCore): The unique constraint was added even if the createConstraints flag was false.
1415 (Clear): The collection was cleared without removing the relation from the parent and child tables.
1417 * DataSet.cs (Copy, Clone): The Relations of the DataSet were not copy.
1418 (HasChanges, Reset): Imlementation.
1420 * DataTable.cs (HasErrors): There is no flag for errors, instead the table ask her row if they have any errors.
1421 This is because the we do not no when to turn off the flag.
1422 (Locale): Changing implementation to behave like ADO.NET.
1423 (AcceptChanges): Fix bug.
1424 (Clear): Check that this table is not referenced from a foreign key constraint.
1425 (Copy): Do not try to access a deleted row.
1426 (CopyProperties): Copy the PrimaryKey.
1427 (GetChanges, ImportRow): Implementation.
1428 (LoadDataRow): Adding implementation if the table has PrimaryKey.
1429 (ToString): Changing implementation to behave like ADO.NET.
1431 * UniqueConstraint.cs (AssertConstraint): support for Multiple DataColumns in the constraint.
1433 * DataRow.cs (Ctor): In the constructor we initiate the current array, but we should initiate only the proposed array for new rows.
1434 (HasErrors): Implementation.
1435 (Delete): Added checking for child rows of the deleted row.
1436 (EndEdit): Added checking for child row and firing events.
1437 (GetColumnError): Added a check that the method will not return null, as in ADO.NET(an empty string is returned).
1438 (GetColumnsInError): Added a check for null values in column error.
1439 (HasVersion): Added special treatment for special RowState.
1440 (CollectionChanged): More checks to avoid NullReferenceException.
1442 * DataRowCollection.cs (Remove): Fix a bug.
1445 2003-10-01 Duncan Mak <duncan@ximian.com>
1447 More patches from Eran Domb <erand@mainsoft.com>.
1449 * MergeManager.cs: New file.
1451 * DataRelationCollection.cs (AddCore): Check that a
1452 UniqueConstraint is already exists. It loops over the Relations
1453 instead of the Constraints.
1454 (Add, AddCore): The relation was added twice.
1456 * DataSet.cs (Merge, GetChanges, HasChanges): Implemented.
1458 2003-09-30 Duncan Mak <duncan@ximian.com>
1460 Patches from Eran Domb <erand@mainsoft.com>.
1462 * DataRelation.cs (constructor): When the name of the relation is
1463 null, it should return an empty, not "Relation".
1465 * DataRow.cs (AcceptChanges): Added special case for
1467 (CancelEdit): Set editing flag to false.
1468 (IsNull): Check that the value is DBNull.
1470 * DataRowCollection.cs (Add): There was no check that the table of
1471 the collection is owned by a DataSet.
1473 * DataSet.cs (OnMergeFailed): Added.
1475 * UniqueConstraint.cs (AssertConstraint): There was no check that
1476 values in the row are not null, where it is a primary key
1477 column. Also check that the row has a proposed version, if not,
1478 get the current version when we compare the rows.
1480 2003-09-25 Duncan Mak <duncan@ximian.com>
1482 Patches from Eran Domb <erand@mainsoft.com>.
1484 * DataColumn.cs (Unique): Implemented.
1487 * ConstraintCollection.cs:
1488 * ForeignKeyConstraint.cs (_ensureUniqueConstraintExists): Fixes
1489 an Exception thrown. Details:
1490 http://lists.ximian.com/archives/public/mono-devel-list/2003-September/002130.html
1492 * DataRowCollection.cs (Add): There is no checking that there is
1493 no violation of the unique constrains.
1495 * UniqueConstraint.cs (AssertConstraint): There is no checking on
1496 all columns in the constraint.
1498 * DataTableCollection (Add): Correctly throw an Exception, more
1500 http://lists.ximian.com/archives/public/mono-devel-list/2003-September/002117.html
1501 (Remove, RemoveAt): Implemented.
1503 2003-07-31 Duncan Mak <duncan@ximian.com>
1505 * DBConcurrencyException.cs: Added new NET_1_1 no-param constructor.
1507 2003-07-25 Ravi Pratap <ravi@ximian.com>
1509 * DataRelation.cs (OnPropertyChanging): Calling the 'Invoke'
1510 method on a delegate is disallowed - fix this.
1512 2003-07-22 Lluis Sanchez Gual <lluis@ximian.com>
1514 * DataSet.cs: Implemented IXmlSerializable interface. Added basic support for
1515 xml serialization. Modified method of writing schema. Now it creates
1516 a XmlSchema object and serializes it using XmlSerializer.
1517 * XmlConstants.cs: Added constants for data type names.
1518 * XmlDataLoader.cs: Fixed deserialization of data. Now converts data to the
1519 type specified in the column.
1521 2003-04-20 Alan Tam <Tam@SiuLung.com>
1523 * DataRelationCollection.cs: Fix a bug that prevent relations
1524 from being added via DataSet.
1526 2003-04-12 Ville Palo <vi64pa@kolumbus.fi>
1528 * UniqueConstraint.cs: one tiny fix.
1530 2003-04-05 Ville Palo <vi64pa@kolumbus.fi>
1532 * DataTable.cs: Remove UniqueConstraints when adding new ones
1534 2003-04-04 Ville Palo <vi64pa@kolumbus.fi>
1536 * DataColumnCollection.cs: Little 'case sensitive' fix
1538 2003-04-04 Ville Palo <vi64pa@kolumbus.fi>
1540 * DataRow.cs: AutoIncrement handling to Constructor
1541 * DataRowCollection.cs: This doesnt need anymore AutoIncrements
1543 2003-03-27 Ville Palo <vi64pa@kolumbus.fi>
1545 * DataTable.cs: Some fixes to PrimaryKey etc...
1546 * UniqueConstraint.cs: Little clean up
1548 2003-03-27 Ville Palo <vi64pa@kolumbus.fi>
1550 * DataTable.cs: Tiny fix to ToString () -method
1552 2003-03-27 Ville Palo <vi64pa@kolumbus.fi>
1554 * ConstraintCollection.cs: Little fix.
1555 * DataColumn.cs: Added new internal method SetUnique()
1556 * UniqueConstraint.cs: some little fixes
1558 2003-03-26 Ville Palo <vi64pa@kolumbus.fi>
1560 * DataRowCollection.cs: Bugfixes, implementation,...
1562 2003-03-26 Ville Palo <vi64pa@kolumbus.fi>
1564 * DataColumn.cs: If DataType if set to something else than short, int
1565 or long and AutoIncrement is true, AutoIncrement is must set to false.
1567 2003-03-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1570 (BeginEdit): fixed array bound problem when a column has been added.
1571 (EndEdit): just assign proposed to current as proposed is set to null.
1572 This also fixes another array boudn problem.
1574 2003-03-21 Alan Tam <Tam@SiuLung.com>
1576 * DataRow.cs: Fixed problems in accessers, BeginEdit, CancelEdit,
1577 EndEdit and AcceptChanges to act correctly according to DataRowState
1579 * DataRowCollection.cs: Call AttachRow and DetachRow when a row is
1580 attached and detached from the collection.
1582 2003-03-20 Alan Tam <Tam@SiuLung.com>
1584 * DataColumn.cs: Store empty string for Expression when null is passed in.
1585 Classes generated by XSD.exe passes null by default.
1587 2003-03-16 Ville Palo <vi64pa@kolumbus.fi>
1589 * DataColumnCollection.cs: Tiny clean up
1591 2003-03-16 Ville Palo <vi64pa@kolumbus.fi>
1593 * DataColumn.cs: little fixes.
1594 * DataColumnCollection.cs: Lots of little fixes and improvments.
1596 2003-03-12 Alan Tam <Tam@SiuLung.com>
1598 * DataSet.cs: Fixed a bug that the file written does not close correctly.
1600 2003-03-08 Alan Tam <Tam@SiuLung.com>
1602 * DataRelationCollection.cs: Removed the mis-overridden methods
1603 * DataRow.cs: Fixed an attribute
1604 * DataSet.cs: Fixed the modifiers
1606 2003-03-06 Aleksey Demakov <avd@openlinksw.com>
1608 * DataTableCollection.cs: The Contains (string name),
1609 IndexOf (string name) methods, and item[string name] indexer
1610 now behave more like .NET with respect to case-sensitivity.
1611 That is if there is an exactly matching item then this one is used.
1612 If there is only one item differing in case then it used.
1613 If there are more than one item differing in case then
1614 Contains returns false, IndexOf returns -1, and item[]
1615 throws an ArgumentException.
1617 2003-02-28 Ville Palo <vi64pa@kolumbus.fi>
1619 * ExpressionElement.cs: More implementation.
1621 2003-02-28 Alan Tam <Tam@SiuLung.com>
1622 * DataSet.cs: Changed WriteTable so that it now calls the newly written
1623 WriteObjectXml to direct the call to the respective XmlConvert method.
1624 This fixes the wrong format written to XML files of bool, float,
1625 double, DateTime and TimeSpan types.
1627 2003-02-25 Alan Tam <Tam@SiuLung.com>
1629 * DataRelation.cs: Added SetDataSet for DataSetRelationCollection to use.
1630 * DataRelationCollection.cs: Implemented AddRange and Contains.
1631 Implemented AddRange, Clear, List and RemoveCore for DataSetRelationColletion.
1632 Implemented AddCore, List and RemoveCore for DataTableRelationCollection.
1633 Reimplemented most Add methods to eliminate duplicated checks.
1634 Centralized RelationName generation procedure in GetNextDefaultRelationName.
1636 2003-02-25 Alan Tam <Tam@SiuLung.com>
1638 * DataColumn.cs: Fixed wrong storage representation of Expression
1639 (using empty string instead of null) so that ToString() returns nothing.
1640 * DataColumnCollection.cs: Reimplemented GetNextDefaultColumnName so that
1641 auto column naming now works as expected. Reimplemented some Add methods
1642 to eliminate code duplication.
1644 2003-02-19 Ville Palo <vi64pa@kolumbus.fi>
1646 * DataTable.cs: DataTable.CaseSensitive follows parent
1647 DataSet.CaseSensitive property if DataTable.CaseSensitive has never
1648 been changed directly from DataTable
1650 2003-02-19 Ville Palo <vi64pa@kolumbus.fi>
1652 * DataSet.cs: When CaseSensitive property is changed all of the Tables
1653 of DataSet have to change too
1655 2003-02-19 Daniel Morgan <danmorg@sc.rr.com>
1657 * InternalDataCollectionBase.cs: revert change to field
1660 * DataViewManager.cs
1663 * DataSet.cs: commented use of DesignerAttribute
1664 because it broke the build. According to MSDN,
1665 DesignerAttribute does not have a zero-argument constructor
1667 2003-02-18 Ville Palo <vi64pa@kolumbus.fi>
1669 * DataColumnCollectin.cs: Little fix for indexer and case sensitivity
1671 2003-02-18 Alan Tam <Tam@SiuLung.com>
1673 * DataRow.cs: Implemented GetParentRow and GetParentRows.
1674 * DataSet.cs: Added stub for HasChanges, InferXmlSchema,
1675 OnPropertyChanging, OnRemoveRelation, OnRemoveTable,
1676 RaisePropertyChanging.
1677 * DataTable.cs: Implemented NewRowArray.
1678 * DataTablePropertyDescriptor: Fixed a modifier.
1679 * InternalDataCollectionBase.cs: Fixed modifiers. Implemented SyncRoot.
1680 * PropertyCollection.cs: Minor fix.
1681 * ConstraintCollection.cs DataColumn.cs DataColumnCollection.cs
1682 * DataRelation.cs DataRelationCollection.cs DataRow.cs
1683 * DataRowCollection.cs DataRowState.cs DataSet.cs DataTable.cs
1684 * DataTableCollection.cs DataTablePropertyDescriptor.cs DataView.cs
1685 * DataViewManager.cs DataViewRowState.cs DataViewSettingCollection.cs
1686 * ForeignKeyConstraint.cs InternalDataCollectionBase.cs
1687 * PropertyCollection.cs UniqueConstraint.cs: Added missing attributes
1689 2003-02-08 Ville Palo <vi64pa@koti.soon.fi>
1691 * ExpressionElement.cs: More implementation
1693 2003-02-05 Alan Tam <Tam@SiuLung.com>
1695 * DataSet.cs: Added framework for DataSet.Update Implemented missing
1696 methods GetSchemaSerializable, GetSerializationData,
1697 ReadXmlSerializable, ShouldSerializeRelations and ShouldSerializeTables
1699 * DataTable.cs: Implemented missing methods CreateInstance and
1700 GetRowType for DataTable
1702 2003-02-03 Ville Palo <vi64pa@koti.soon.fi>
1704 * DataSet.cs: Implemented private method MapType for
1705 mapping datatypes for XmlSchema
1707 2003-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1709 * DataView.cs: implemented Dispose.
1711 2003-01-30 Ville Palo <vi64pa@koti.soon.fi>
1713 * ExpressionElement.cs: Added new file. This file is for parsing
1714 and DataData.Select () -methods and DataColumn.Expression -property
1715 * DataTable.cs: Implemented Select(string) -method
1717 2003-01-28 Ville Palo <vi64pa@koti.soon.fi>
1719 * DataSet.cs: One little fix to writing xml
1721 2003-01-27 Ville Palo <vi64pa@koti.soon.fi>
1723 * XmlSchemaMapper.cs: Some fixes.
1724 * DatSet.cs: Some XmlFixes and BeginInit ()/ EndInit () -fix
1727 2003-01-24 Ville Palo <vi64pa@koti.soon.fi>
1729 * UniqueConstraint.cs: Do not set columns Unique property true
1731 * ForeignKeyConstraint.cs: Add UniqueConstraint to parent Table
1733 2003-01-18 Ville Palo <vi64pa@koti.soon.fi>
1735 * DataTableCollection.cs: Now names new DataTable if it doesn't
1736 already have a name.
1738 2003-01-17 Ville Palo <vi64pa@koti.soon.fi>
1740 * XmlSchemaMapper.cs: Improvments.
1741 * XmlConstaints.cs: Added more constants.
1742 * DataSet.cs: Improvments of reading and writing xml
1743 * DataColumn.cs: Added default values of properties.
1745 2003-01-14 Ville Palo <vi64pa@koti.soon.fi>
1747 * XmlSchemaMapper.cs: Some improvments
1749 2003-01-13 Ville Palo <vi64pa@koti.soon.fi>
1751 * DataRowCollection.cs: Added IndexOutOfRangeException
1752 * DataTableCollection.cs: Added OnCollectionChanging and
1753 OnCollectionChanged events.
1754 * DataSet.cs: Many fixes. Implemented Clone () and Copy () -methods
1755 * DataTable.cs: Implemented Copy () and Clone () methods.
1756 * XmlDataLoader.cs: some fixes.
1757 * XmlSchemaMapper.cs: comments.
1759 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1761 * DataColumnPropertyDescriptor.cs: store columnIndex in the .ctor.
1763 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1765 * DataColumnPropertyDescriptor.cs: fixed typo.
1766 * DataViewManagerListItemTypeDescriptor.cs: added new internal property
1767 to get the DataViewManager and removed TablePD class.
1768 * DataTablePropertyDescriptor.cs: TablePD class is now this one as
1769 suggested by danmorg.
1771 2003-01-06 Ville Palo <vi64pa@koti.soon.fi>
1773 * XmlDataLoader.cs: Moved diffgram stuff to new internal class
1775 * XmlDiffLoader.cs: new class for diffgrams. Added handling of
1776 diffgr:Errors and some fixes and changed XmlReader to XPathNavigator.
1778 2003-01-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1780 * DataView.cs: made dataViewManager internal.
1781 * DataViewManager.cs: use ICustomTypeDescriptor. We don't want the
1782 properties of the object, but the values of the columns present in a
1785 * DataViewManagerListItemTypeDescriptor.cs: implemented GetProperties,
1786 which returns a PropertyDescriptorCollection. Created a new class
1787 derived from PropertyDescriptor that treats Table as an object whose
1788 properties are DataRowView.
1790 2003-01-04 Ville Palo <vi64pa@koti.soon.fi>
1792 * XmlSchemaMapper.cs: Added handling for Constraints, Attributes.
1794 2003-01-04 Ville Palo <vi64pa@koti.soon.fi>
1796 * DataColumn.cs: ExtendedProperties is by default !null-
1798 2003-01-04 Ville Palo <vi64pa@koti.soon.fi>
1800 * DataColumnCollection.cs: Add (DataColumn Column) -method didn't
1801 set column's ordinal.
1803 2003-01-02 Ville Palo <vi64pa@koti.soon.fi>
1806 * XmlDataLoader.cs: XmlReader closing fixes.
1807 * XmlSchemaReader.cs: Added support for ref=
1809 2003-01-01 Ville Palo <vi64pa@koti.soon.fi>
1812 - Added XmlReader and XmlWriter Closing.
1813 - Moved ReadXmlSchema stuff to new internal class XmlSchemaMapper.
1814 * XmlSchemaMapper.cs
1815 - Much better way IMHO to map xmlschema than the old one in
1816 DataSet.cs. Its, more flexible, cleaner, ...
1818 2002-12-29 Ville Palo <vi64pa@koti.soon.fi>
1820 * XmlDataLoader.cs: Reading diffgrams.
1822 2002-12-29 Ville Palo <vi64pa@koti.soon.fi>
1824 * DataRow.cs: Little fix to indexer and DataColumnCang* trigger fixes.
1825 * DataTable.cs: Added ChanginDataColumn () for triggering
1826 DataColumnChanging event
1828 2002-12-28 Ville Palo <vi64pa@koti.soon.fi>
1830 * DataSet.cs: Indentations to WriteXmlSchema () and one little fix
1832 2002-12-28 Ville Palo <vi64pa@koti.soon.fi>
1834 * DataSet.cs: Indentations to WriteXml ()
1836 2002-12-27 Ville Palo <vi64pa@koti.soon.fi>
1839 * XmlDataLoader.cs: Moved ReadXml -stuff from DataSet.cs to new
1840 class XmlDataLoader.cs
1842 2002-12-19 Ville Palo <vi64pa@koti.soon.fi>
1844 * DataSet.cs Implemented ReadXml with XmlReadMode.ReadSchema
1846 2002-12-18 Ville Palo <vi64pa@koti.soon.fi>
1848 * DataSet.cs: Started to implement ReadXml-methods.
1850 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1852 * DataSet.cs: implemented DefaultViewManager and GetList.
1854 * DataViewManager.cs: a bit of work on IList and ITypedList needed by
1855 DataList in System.Web.
1857 * DataViewManagerListItemTypeDescriptor.cs: custom type descriptor for
1860 2002-12-16 Ville Palo <vi64pa@koti.soon.fi>
1863 * DataTable.cs: Fixed NullException (rollback -event)
1864 * DataSet.cs: WriteXml -method does not anymore write <?xml... row.
1866 2002-12-15 Ville Palo <vi64pa@koti.soon.fi>
1869 * DataRowCollection.cs: Moved event triggering from DataRow to
1872 2002-12-09 Ville Palo <vi64pa@koti.soon.fi>
1874 * DataSet.cs: Little fix to WriteTable () -method
1875 and DoReadXmlSchema () -method.
1877 2002-12-06 Ville Palo <vi64pa@koti.soon.fi>
1879 * DataSet.cs: Clean up to reading xmlschema. This looks much better
1880 now (work better too), but it not working correctly yet.
1882 2002-12-04 Ville Palo <vi64pa@koti.soon.fi>
1885 * DataRowCollection.cs: Added some event handlins stuff.
1886 * DataSet.cs: Some fixes.
1887 * DataTable.cs: Added event handlers.
1889 2002-11-30 Ville Palo <vi64pa@koti.soon.fi>
1891 * DataRowChangeEventArgs.cs: Implemented Action and Row properties
1893 2002-11-30 Ville Palo <vi64pa@koti.soon.fi>
1895 * System.Data/DataRow.cs: Added internal property XmlDataID
1897 2002-11-29 Ville Palo <vi64pa@koti.soon.fi>
1899 * DataSystem.Data.DataTableCollection.cs:
1900 Removed HashTable. There could be situations where DataTable
1901 is added to collection before it hava TableName. So using
1902 HashTable is impossible.
1904 2002-11-19 Carlos Guzmán Álvarez <carlosga@telefonica.net>
1906 * DataRow.cs: an object that is equal to null
1907 should be allowed to be set in this indexer too
1910 2002-11-06 Daniel Morgan <danmorg@sc.rr.com>
1912 * DataColumnPropertyDescriptor.cs: added file
1914 * System.Data/DataRowView.cs: started implementation
1916 * DataTable.cs: stubbed more interfaces. Implemented
1917 IListSource.GetList()
1919 * DataView.cs: stubbed more interfaces. Implemented
1920 some properties and methods: GetEnumerator(),
1921 ITypedList.GetItemProperties, Item indexer, CopyTo()
1923 2002-05-18 Nick Drochak <ndrochak@gol.com>
1925 * DataRow.cs: Fix typo.