1 2005-01-25 Sureshkumar T <tsureshkumar@novell.com>
3 * DataTable.cs: ImportRow :Do not add to rows collection if the
4 import row is in detached state.
6 2005-01-25 Sureshkumar T <tsureshkumar@novell.com>
8 * DataRow.cs: CopyValuesToRow : set the column value with the
9 default version of the given row.
10 * DataTable.cs: ImportRow: Copy values before adding row.
11 * DataSet.cs: AddChangedRow: Add the row to the table after
14 Fixes bug #67317. Patch by Ankit Jain.
16 2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
18 * DataRowView.cs : Fixed IsEdit to reflect correct status of DataRow.
19 * DataRow.cs : Expose editing status internally.
21 2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
23 * DataView.cs : missing attributes.
25 2005-01-24 Atsushi Enomoto <atsushi@ximian.com>
27 * DataRowView.cs : implemented CreateChildView().
29 2005-01-24 Atsushi Enomoto <atsushi@ximian.com>
31 * DataTable.cs, DataView.cs :
32 Optimized DataView to compile only once RowFilter and Sort when
33 those properties are set. To make it possible, extracted
34 SortableColumn out of DataTable and added internal DataTable.Select()
35 that accepts precompiled IExpression and SortableColumns[].
37 2005-01-24 Atsushi Enomoto <atsushi@ximian.com>
39 * DataColumn.cs : set_MaxLength is not allowed when it is mapped to
40 SimpleContent. (However, it is weird but it never fails when we set
41 ColumnMapping = MappingType.SimpleContent when we fhave MaxLength.)
43 2005-01-21 Atsushi Enomoto <atsushi@ximian.com>
45 * DataRow.cs : more Current -> Default fixes. Check if it should throw
46 VersionNotFoundException. Patch by Ankit Jain.
48 2005-01-21 Atsushi Enomoto <atsushi@ximian.com>
50 * DataRow.cs : Default selects the right version for the current
51 state of the row. Current is not always available. Also change
52 that for GetParentRow(). Patch by Ankit Jain.
54 2005-01-21 Atsushi Enomoto <atsushi@ximian.com>
56 * DataTable.cs : CopyColumn() should copy AutoIncrement after
57 DefaultValue, or it will raise an error in some cases.
59 2005-01-20 Atsushi Enomoto <atsushi@ximian.com>
61 * ConstraintCollection.cs : Add() should throw ArgumentException when
62 the argument constraint fails validation.
63 DataTable.cs : set_PrimaryKey should throw ArgumentException when
64 the argument contains constraints which fail validation.
66 2005-01-19 Sureshkumar T <tsureshkumar@novell.com>
68 * DataRelationCollection.cs:
70 Method Remove : Donot throw exception if DataRelation argument is
71 null in DataRelationCollection.Remove method.
73 Method RemoveAt : Exception should be IndexOutOfRangeException if
74 row index is not in list range.
76 Fixes nunit failures DataRelationCollection.Remove and
77 DataRelationCollection.RemoveAt.
79 2005-01-19 Sureshkumar T <tsureshkumar@novell.com>
81 * ConstraintCollection.cs: Donot throw exception if constraints
82 are null in AddRange method. Check for null before using the
87 2004-01-19 Atsushi Enomoto <atsushi@ximian.com>
89 * XmlDataInferenceLoader.cs,
90 XmlDataReader.cs : Check if the XmlReader (node) represents DataSet
91 or a table, reusing code block in XmlDataInferenceLoader.
92 This fixes bug #60118.
94 2004-01-19 Atsushi Enomoto <atsushi@ximian.com>
96 * XmlDiffLoader.cs : Ankit Jain <radical@imt.ac.in> has a conflicting
97 patches and some good catches. Some attributes should be skipped,
98 and loaded value must be typed.
100 2004-01-19 Atsushi Enomoto <atsushi@ximian.com>
103 XmlDataInferenceLoader.cs,
104 XmlDataReader.cs : use common const for http://www.w3.org/2000/xmlns/.
105 * XmlDiffLoader.cs : It was not handling attributes. Fixed bug #70961.
107 2005-01-18 Sureshkumar T <tsureshkumar@novell.com>
109 Fix for bug #66838. This patch is submitted by "Ankit Jain"
110 <radical@corewars.org> and refactored.
112 * DataRow.cs: Allows to set a parent row even if the row is in
115 * DataRelation.cs: method "UpdateConstraints" is added to check
116 and create missing keys when adding a relation. This is refactored
117 approach from DataRelationCollection.Add method.
119 * DataRelationCollection.cs: AddCore methods of all relation types
120 are synchronized. A Check for existing constraints is
121 done. Relation is added to the list only if all checks are passed.
123 2004-01-18 Atsushi Enomoto <atsushi@ximian.com>
125 * DataColumnCollection.cs : Clear() throws ArgumentException that
126 wraps thrown innerException.
127 * XmlSchemaDataImporter.cs : removed FIXMEs.
129 2004-01-12 Atsushi Enomoto <atsushi@ximian.com>
131 * DataSet.cs : When serializing DataTable, BuildSchema() is passed
132 null relation collections.
133 Quick fix for XmlSerializer deserialization. It does not require
136 2004-01-11 Atsushi Enomoto <atsushi@ximian.com>
139 CustomDataClassGenerator.cs :
140 In DataSet class, IXmlSerializable.GetSchema() returns null.
141 In strongly-typed class, it returns schema.
143 2004-01-07 Atsushi Enomoto <atsushi@ximian.com>
145 * XmlDataInferenceLoader.cs : test driver class should be excluded.
147 2004-12-01 Miguel de Icaza <miguel@ximian.com>
149 * DataView.cs: Patch from Marc Haisenko that ensures that rowCache
152 2004-11-10 Atsushi Enomoto <atsushi@ximian.com>
154 * CustomDataClassGenerator.cs : generated foreign key constraint
155 construction code was creating empty child columns and thus it
156 was invalid. This fixes bug #69276 (patch by Martin Voelkle).
158 2004-11-02 Atsushi Enomoto <atsushi@ximian.com>
160 * CustomDataClassGenerator.cs : custom DataTable ctor should call
161 InitializeFields(), and those DataColumns created by that method
162 should take data type. This should fix bug #68972.
164 2004-10-15 Atsushi Enomoto <atsushi@ximian.com>
166 * DataSet.cs : Also clear UnhandledAttributes ArrayList before
167 generating next attribute column schema. This fixes bug #68432.
169 2004-10-14 Umadevi S <sumadevi@novell.com>
170 * DataTable.cs : Corrected the Clone method to use Activator.CreateInstance so that the
171 correct subclass is returned. This fixes bug #67631
173 2004-10-14 Umadevi S <sumadevi@novell.com>
174 * DataSet.cs : Corrected the Clone method to use Activator.CreateInstance so that the
175 correct subclass is returned. This fixes bug #67627
177 2004-10-13 Atsushi Enomoto <atsushi@ximian.com>
179 * DataSet.cs : clear UnhandledAttributes ArrayList before generating
180 next element column schema. This fixes bug #68256.
182 2004-10-12 Atsushi Enomoto <atsushi@ximian.com>
184 * DataSet.cs : now xs:schema contains xmlns="".
185 This fixes bug #68008.
187 2004-10-12 Atsushi Enomoto <atsushi@ximian.com>
189 * DataSet.cs : DBNull attribute column should not be written as
190 empty attribute. This fixes bug #68007.
192 2004-10-12 Atsushi Enomoto <atsushi@ximian.com>
194 * DataSet.cs, XmlConstant.cs, XmlSchemaDataImporter.cs:
195 DataColumn.ReadOnly was not handled. This fixes bug #68005.
196 Attribute defaultValue was not handled too.
198 2004-10-07 Atsushi Enomoto <atsushi@ximian.com>
201 - When AllowDBNull is false on attribute DataColumn, its schema
202 should contain use="required". This fixes bug #66792.
203 - If MaxLength is set on attribute DataColumn, the mapped schema
204 type should contain maxLength facet. This fixes bug #66793.
206 2004-10-04 Atsushi Enomoto <atsushi@ximian.com>
208 * DataSet.cs : For a row, when a relation is not nested, then it is
209 still output target since it won't be written as a child of its
210 parent. It fixes bug #66379.
212 2004-10-03 Atsushi Enomoto <atsushi@ximian.com>
214 * DataSet.cs : Attribute constraint field XPath must be written as
215 @blah. This fixes bug #66366.
217 2004-09-28 Umadevi S <sumadevi@novell.com>
218 * DataRow.cs - checked for Enforceconstraints, while using indices to search for related rows
220 2004-09-24 Sureshkumar T <tsureshkumar@novell.com>
222 * DataSet.cs : Don't check constraints for dataset clear
223 * DataRowCollection.cs : check for EnforceConstraints flag
224 before checking foriegn key constraints in Clear method
225 * DataTable.cs : Redundant checking removed in Clear method as it is
226 checked in DataRowCollection.Clear method.
229 2004-09-19 Sureshkumar T <tsureshkumar@novell.com>
230 * DataRow.cs : while deserialization of dataset, adding a current row precedes the original row.
231 hence, adding a row cache is necessary if the original row happens to be current.
234 2004-08-23 Martin Baulig <martin@ximian.com>
236 * XmlDataInferenceLoader.cs (Driver): Make this class internal,
239 2004-08-18 Umadevi S <sumadevi@novell.com>
240 * DataView.cs - Completed most of the event handling.
241 Thanks to Punit Todi <punit_todi@da-iict.org> for implementing most of it.
242 Thanks to Boris Kirzner <borisk@mainsoft.com> for commenting and suggesting changes to the implementation.
243 * DataTable.cs - Changed Access modifiers of class/methods since it was used by DataView.
245 2004-08-06 Atsushi Enomoto <atsushi@ximian.com>
247 * DataSet.cs : DataSet's ExtendedProperties were not XmlConverted.
249 2004-08-05 Atsushi Enomoto <atsushi@ximian.com>
251 * XmlConstants.cs : Added constants for "msprop" support.
252 * DataSet.cs : ExtendedProperties should be written in the schema.
253 This fixes bug #61233.
255 2004-07-27 Atsushi Enomoto <atsushi@ximian.com>
257 * DataSet.cs : on serialization to XmlWriter, XmlConvert should be
258 used. There were also some culture dependency problems to write int.
260 2004-06-27 Atsushi Enomoto <atsushi@ximian.com>
262 * XmlDataInferenceLoader.cs : It was not always filling relation
263 child table information correctly. This fixes bug #60742.
265 2004-06-23 Umadevi S <sumadevi@novell.com>
266 * UniqueConstraint.cs :changed a ifdef true to ifdef NET_1_1
268 2004-06-22 Atsushi Enomoto <atsushi@ximian.com>
270 * DataSet.cs : Fixed ReadXml(). When ReadMode is ReadSchema and the
271 schema is inside the document element (as created in XmlWriteMode
272 .WriteSchema), it should read schema from that non-document element.
273 This fixes one case reported in bug #60470.
275 2004-06-20 Atsushi Enomoto <atsushi@ximian.com>
277 * XmlDataInferenceLoader.cs : Kindly reject xml schema document as a
278 inference target. For bug #60470. (MS does not support schema
279 document inference and results in unconsistent dataset structure.)
281 2004-06-20 Atsushi Enomoto <atsushi@ximian.com>
283 * DataTableCollection.cs : reset the table's DataSet to null when
284 removing a table from this collection.
285 * DataTable.cs : When Namespace is not specified explicitly, its
286 Namespace property reflects DataSet's Namespace if exist.
287 This fixes bug #60469.
289 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
291 * DBConcurrentcyException.cs: CRLF to LF
292 * DataViewSetting.cs: CRLF to LF
294 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
296 * DataViewSetting.cs: renamed fields to match MS.NET
298 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
300 * DBConcurrencyException.cs: fixed serialization compatibility with
303 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
305 * ChangeLog : Fix for misspelled words.
307 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
309 * DataRowCollection.cs : Removed onColumnRemoved since it is not in use.
311 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
314 - Table stores default values for columns in special default values row.
315 It is allocated once (in NewRow).
316 - DataTable.Copy rewrited. It works with uninitialized rows for better perfomance.
317 - OnRemoveColumn has nothing to perform by now.
319 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
322 - Changed access of original, current and proposed indexes to internal.
323 - ColumnErrors reviewed : now column errors stored in ArrayList and allocated on demand only.
324 - Added new DataRow constructor that creates uninitialized DataRow (used in DataTable.Copy).
325 - Use DataContainer.CopyValue and default values row for faster set of default values in row.
326 - SetColumnValue become CheckValue. Now it does not changes the value, but only checks for its correctness.
327 Care about Null and DBNull values is now in DataContainer.
328 - Use DataColumn.AutoIncrementValue and GetInt64 for faster set of autoincrement value.
329 - Use Datacontainer.CopyValue and default values row to speed up CheckChildRows.
330 - Fix in CopyState : clone column errors.
331 - Removed CollectionChanged and onColumnRemoved since we are not using both of them anymore.
333 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
335 * DataColumnCollection.cs :
336 - Fix : Add() now delegates to Add(DataColumn).
337 - autoIncrement list holds DataColumn objects, and not just column names.
339 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
342 - AutoIncrementValue fixes. Now AutoIncrement uses DataContainer.GetInt64 to avoid boxing.
343 - DefaultValue fixes. Default value from now on is also stored in special record in
344 DataTable, so we're able to set default value for the column faster (typed).
347 2004-06-15 Atsushi Enomoto <atsushi@ximian.com>
349 * DataSet.cs : children of non-root rows were not properly written.
352 2004-06-10 Umadevi S <sumadevi@novell.com>
353 * DataRelation.cs - Constructor
354 - The datatypes of the parentcolumn(s) and the childcolumn(s) should match
356 2004-06-06 Atsushi Enomoto <atsushi@ximian.com>
358 * XmlSchemaDataImporter.cs : We should fill Namespace for DataTable.
360 2004-06-04 Gert Driesen <drieseng@users.sourceforge.net>
362 * Constraint.cs: marked methods internal to fix public API
363 * ConstraintCollection.cs: to fix public API, use
364 DataTable.fInitInProgress to check whether initialization
365 of DataTable is in progress
366 * DataColumn.cs: added stubs for missing methods
367 * DataRowBuilder.cs: marked Table property internal to
369 * DataSet.cs: removed extra empty destructor, marked
370 OnMergeFailed internal to fix public API
371 * DataTable.cs: use fInitInProgress field to hold init
372 status, to match MS.NET
373 * DataView.cs: added missing attributes on IsOpen
375 2004-06-03 Atsushi Enomoto <atsushi@ximian.com>
377 * DataSet.cs : Use NameTable.Get() before calling LookupNamespace()
378 in XmlNamespaceManager.
380 2004-06-03 Atsushi Enomoto <atsushi@ximian.com>
382 * DataSet.cs : complex table content child was not properly added
383 when it is the only one child in the parent table. Fixed bug #53959.
385 2004-06-02 Gert Driesen <drieseng@users.sourceforge.net>
386 * DataTableTypeConverter.cs: added
387 * DataView.cs: added missing attribute on Table property
388 * DataViewManager.cs: moved attribute to correct property
389 * UniqueConstraint.cs: removed extra ReadOnly attribute from
390 IsPrimaryKey property
392 2004-06-01 Atsushi Enomoto <atsushi@ximian.com>
394 * DataRow.cs : ColumnsChanged event is not required in .ctor().
396 2004-06-01 Atsushi Enomoto <atsushi@ximian.com>
398 * XmlDataReader.cs : type change is required before setting value
401 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
403 * DataSet.cs : Loop-break of the last fix was incorrect.
405 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
407 * DataSet.cs : When a row has no parent row but the table has parent
408 relation(s), that row had been always ignored.
410 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
412 * XmlDataInferenceLoader.cs : Fixed GetMappedTable() that incorrectly
413 rejected same-named tables in different hierarchy. Thanks to Boris.
415 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
417 * XmlDiffLoader.cs : Added some Skip() that is required not to go to
418 infinite loop. Thanks to Boris for this fix.
420 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
422 * XmlDataInferenceLoader.cs : XmlSchema elements should not be infered.
423 Thanks to Boris for this fix.
425 2004-05-30 Atsushi Enomoto <atsushi@ximian.com>
427 * DataTable.cs : serialization .ctor() should use XmlReadMode.DiffGram
428 for ReadXml(). Thanks to Boris.
430 2004-05-27 Boris Kirzner <borisk@mainsoft.com>
432 - CheckReadOnlyStatus : use typed (and faster comparing).
433 - EndEdit : bug fix - do not dispose record if it holds original version.
434 - SetValuesFromDataRecord : Take care about autoincrement columns.
437 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
439 * MergeManager.cs : don't output debug message to Console.
441 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
443 * XmlDataInferenceLoader.cs : Namespace are not imported to the table
444 structure. Thanks to Boris Kirzner for the fix.
446 2004-05-27 Umadevi S <sumadevi@novell.com>
447 * DataRelationCollection.cs - fixed nunit test errors
449 2004-05-27 Umadevi S <sumadevi@novell.com>
450 * DataTableCollection.cs - fixed nunit test errors
452 2004-05-21 Atsushi Enomoto <atsushi@ximian.com>
454 * DataColumnCollection.cs : NullReferenceException was thrown when
455 the table was not found.
456 * DataRowCollection.cs :
457 Find() just returns null for null value under MS.NET 1.1.
458 RemoveAt() should also avoid to call AcceptChanges() like Remove().
459 * UniqueConstraint.cs : in AssertConstraint() throw ConstraintException
460 directly under MS.NET (for nunit test).
462 2004-05-21 Atsushi Enomoto <atsushi@ximian.com>
464 * XmlSchemaDataImporter.cs : Setting startindex in LastIndexOf()
465 caused problem on qualified name to get schema Field name.
467 2004-05-21 Atsushi Enomoto <atsushi@ximian.com>
469 * XmlDataReader.cs : Now data reader is namespace aware in all places.
470 When table's namespace is different, it entered to infinite loop.
472 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
473 * MergeManager.cs : AdjustSchema now updates by reference new created table,
474 so in Merge you do not need to lookup for it (were unable to do this for unnamed tables).
477 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
479 * DataColumn.cs : In set_Item[int] - if autoincrement, adjust next autoincrement value.
480 * DataColumnCollection.cs : fixed parantethes.
482 - AcceptChanges : do nothing if row state is unchanged.
483 - GetChildRows, GetParentRows : bug fix (use correct index).
484 * DataRowCollection.cs : bug fix (compare all row's values).
485 * DataTable.cs : bug fix (use correct row version).
487 2004-05-20 Atsushi Enomoto <atsushi@ximian.com>
489 * XmlSchemaDataImporter.cs : xs:positiveInteger is mapped to ulong.
490 When content type is Mixed, text column is not required (it is
491 required only when the complex type has no particle).
492 "Repeated element" column is also created (considering maxOccurs=0
493 and complex content extension).
495 2004-05-20 Atsushi Enomoto <atsushi@ximian.com>
497 * XmlSchemaDataImporter.cs : XmlSchemaGroupBase was not handled
500 2004-05-20 Atsushi Enomoto <atsushi@ximian.com>
502 * XmlSchemaDataImporter.cs : Removed unused code and extra MonoTODO.
503 Fixed relation inference to consider attribute XPath.
505 2004-05-19 Atsushi Enomoto <atsushi@ximian.com>
507 * DataColumn.cs : Fixed set_Item[int]. Convert.ToInt64(DBNull.Value)
510 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
512 * DataColumn.cs - removed default member attribute.
514 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
517 DataColumnChangeEventArgs.cs,
518 DataColumnCollection.cs,
520 DataRowCollection.cs,
522 Index.cs : Data storage in the row is redesigned. Now data is stored in
523 typed containers inside DataColumn. Row holds its versions as indexes inside
524 each of data container, accessed through the row that holds it.
526 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
528 * UniqueConstraint.cs - added comment.
530 2004-05-19 Atsushi Enomoto <atsushi@ximian.com>
532 * XmlDataInferenceLoader.cs : Don't add already-existing DataTable to
535 2004-05-17 Atsushi Enomoto <atsushi@ximian.com>
538 XmlDataInferenceLoader.cs,
540 XmlSchemaDataImporter.cs : XmlDecode every local name to read and
541 XmlEncode every local name to write. This should fix bug #58268.
543 2004-05-17 Atsushi Enomoto <atsushi@ximian.com>
545 * DataSet.cs : Implemented ignored namespaces in InferXmlSchema().
546 Supported repeated elements. Removed MonoTODOs.
547 * XmlDataInferenceLoader.cs : Design change to support ignored
548 namespace and repeated elements.
549 * XmlSchemaDataImporter.cs : Added mapping support classes.
551 2004-05-15 Atsushi Enomoto <atsushi@ximian.com>
553 * CustomDataClassGenerator.cs :
554 Added property parent "[foo]Row" and children "Get[foo]Row" support
555 for custom DataRow classes.
556 Fixed DataColumn property accessibility (public --> internal).
558 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
560 * CustomDataClassGenerator.cs :
561 - Put classes inside custom DataSet class.
562 - Added automatic DataRelation creation support.
563 - Added Constraints creation support. That is done separate from
564 relations, since they might be independently created.
565 - Added non-MS public DataRelation fields.
566 - Removed extraneous "DataRelation type generation" code.
567 - Fixed custom_dataset.Initialize() not to create "c" field that
568 was created more than once.
569 - Implemented AddxxxRow() that takes parameters for every column.
571 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
573 * XmlSchemaDataImporter.cs : When primary key is used more than once,
574 DataRelation borked because of empty parent column name.
576 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
578 * XmlSchemaDataImporter.cs : When Creating constraints with related
579 to DataRelation creation, also set PrimaryKey to the parent table.
581 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
583 * XmlSchemaDataImporter.cs :
584 Design change to add indirect table and relation structures.
585 Support for "relation" annotation for local element.
586 Support for repeatable simple element column (maxOccurs > 1).
587 Fixed handling of Nested property on DataRelation (for globally
588 annotated relation, Nested is false).
590 2004-05-13 Atsushi Enomoto <atsushi@ximian.com>
592 * DataRow.cs : Added DataElement property to avoid storing every row-
593 element mapping. It stored even for nodes that should be removed.
595 2004-05-13 Umadevi S <sumadevi@novell.com>
597 * RelationshipConverter.cs - Stubbed this class
598 * DataRelation.cs - added TypeConveterAttribute
600 2004-05-13 Umadevi S <sumadevi@novell.com>
602 * DataColumnCollection.cs - Added ResDescriptionAttribute
603 * DataRelation.cs - Added TypeConverterAttribute
604 * DataRelationCollection.cs - Added DefaultPropertyAttribute
605 * DataRowView.cs - Added GetHashCode method with a TODO tag
606 * DataSet.cs - Added DesignerAttribute
607 * DataView.cs - Added DesignerAttribute
608 * DataViewManager.cs - Added DesignerAttribute
609 * DataViewSetting.cs - Added TypeConverterAttribute
611 2004-05-12 Atsushi Enomoto <atsushi@ximian.com>
613 * DataRow.cs : Added XmlDataElement initialization code.
615 2004-05-11 Atsushi Enomoto <atsushi@ximian.com>
617 * XmlDataInferenceLoader.cs :
618 It now requires XmlDocument as input. Improved identification of
619 DataSet element. Removed extra lines.
620 Moved boresome design notes to bottom of the source and
621 added standalone runnable driver (not included on build).
623 Update with related to the change above.
624 WriteXml() should call Flush() after writing. This fixes bug #58327.
625 * XmlSchemaDataImporter.cs :
626 Improved indentification of DataSet element.
628 2004-05-11 Gert Driesen (drieseng@users.sourceforge.net)
629 * DataTable: marked initStatus enum internal
631 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
632 * DataTable.cs: removed TypeConverterAttribute, marked RowsExist
634 * DataRowView.cs: removed extra Error property
635 * DataRow.cs: reduced accessibility of CollectionChanged method
637 * DataColumnPropertyDescriptor.cs: made class internal
638 * DataColumn.cs: removed extra TypeConvertorAttribute
639 * ConstrainCollection.cs: marked PostEndInit method internal
641 2004-05-07 Atsushi Enomoto <atsushi@ximian.com>
644 In WriteXmlSchema(), when complex type contains simple type content
645 attributes must not added to XmlSchemaComplexType directly. It
646 causes schema compilation error.
647 DataRelation should not be output when related columns are hidden.
649 2004-05-07 Atsushi Enomoto <atsushi@ximian.com>
651 * XmlDataInferenceReader.cs : Added. It does InferXmlSchema() (it is
652 also expected to do ReadXml(), but I will remove that feature and
653 support column reordering).
654 * XmlSchemaDataImporter.cs : Always initialize dataset name.
655 Always set Nested and primary key for parent table.
656 * XmlDataReader.cs : Now it is used.
657 Top level element might not match to dataset name nor any table
658 name, but still possible to read content tables.
659 Handle empty element correctly in some places.
660 Handle Fragment mode (read up XmlReader to the end).
661 * DataSet.cs : Modified InferXmlSchema() and ReadXml() to use
662 XmlDataInferenceLoader and XmlDataReader.
664 2004-05-06 Atsushi Enomoto <atsushi@ximian.com>
667 Eliminated CRLF injection.
668 More clear message in Clear().
669 Updates reflecting XmlSchemaDataImporter change.
670 Added duplicate check for XmlSerializerNamespaces in BuildSchema().
671 Don't use xmlns attribute for UnhandledAttributes (its not mandatory
672 but that depends on different behavior from ms.net).
673 Set locale also for DataTable.
674 Add xs:element only when target namespace matches to the
675 element's namespace. Otherwise, add xs:import for external namespace.
676 Put xs:sequence for dataset element's particle _only when_ actual
679 2004-05-06 Atsushi Enomoto <atsushi@ximian.com>
681 * XmlDataReader.cs : Added. This class will work better when our
682 schema inference and schema read engine gets improved. (It contains
683 standalone testable Driver class.)
685 2004-05-06 Atsushi Enomoto <atsushi@ximian.com>
687 * ForeignKeyConstraint.cs : Check step change. Existence then column
688 validity. just for tests.
689 * XmlSchemaDataImporter.cs : code simplification. reduced extraneous
692 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
694 * DataSet.cs : Ignore empty content only when output type is diffgram.
696 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
698 * CustomDataClassGenerator.cs : Modified that DataSet contains each
699 DataTable field so that each table property can access them directly.
700 (plus, modified standalone code driver code: shouldn't affect)
702 2004-05-05 Boris Kirzner <borisk@mainsoft.com>
704 * DataView.cs , DataRowView.cs : Added implementation to basic methods and properties.
706 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
708 * XmlSchemaDataImporter.cs :
709 SimpleContent column support.
710 Annotated relation support.
711 Top-level element is counted only when its type is complex.
712 xs:anyType is no longer treated as complex type.
713 dataset existence is mandatory now.
714 Improved DataType and DefaultValue support.
715 Attribute namespace is properly handled now.
716 Prohibited attribute is now treated as hidden column.
717 Reject list or union simple type.
719 Still incomplete 1) to read relationship in some cases, 2) to
720 determine whether an element is dataset or table, 3) thus to
721 exclude extraneous column, 4) to remove extraneous *_Id column.
723 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
726 We had better reuse DataSet's ReadXmlSchema() and ReadXml() in
727 serialization .ctor() (thus schema read/inference should be easier).
728 DataRowSorter should consider Table's Locale.
730 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
732 * DataColumnCollection.cs : We already had AutoIncrementValue(), so
733 use it instead of duplicating logic.
735 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
737 * ConstraintCollection.cs :
738 Use Table.CaseSensitive and Table.Locale to compare strings.
739 Duplicate constraint name exception does not occur under .NET 1.1.
741 2004-05-04 Lluis Sanchez Gual <lluis@ximian.com>
743 * XmlSchemaDataImporter.cs: Added little type check.
745 2004-05-04 Lluis Sanchez Gual <lluis@ximian.com>
747 * DataSet.cs: Implemented support for runtime serialization. Fixed support
748 for xml serialization.
749 * XmlDiffLoader.cs: Skip diffgram element when it is empty.
751 2004-04-30 Umadevi S <sumadevi@novell.com>
752 * DataColumnCollection.cs : Fixed nunit test errors, removed TODOs
753 * DataTableCollection.cs : Tested and removed TODO
754 * TypedDataSetGeneratorException.cs : Fixed a couple of TODOs
756 2004-04-29 Atsushi Enomoto <atsushi@ximian.com>
758 * DataRow.cs : My previous patch unintentionally reverted Boris patch.
760 2004-04-29 Boris Kirzner <borisk@mainsoft.com>
762 * UniqueConstraint.cs : Constraint columns becaomes unique after adding constraint ifand only if
763 constraint is defined on single column.
765 2004-04-29 Atsushi Enomoto <atsushi@ximian.com>
767 * DataRowCollection.cs : .NET 1.1 throws InvalidConstaintException,
768 not ArgumentException (maybe changed after 1.1).
770 2004-04-29 Atsushi Enomoto <atsushi@ximian.com>
772 * DataRow.cs : When Column was added and it was AutoIncrement column,
773 it extended the item object array incorrectly.
774 (Plus tiny comment and incorrect indentation fix.)
776 2004-04-29 Boris Kirzner <borisk@mainsoft.com>
778 * MergeManager.cs : added ( incomplete yet ) support for merging DataSet schema.
780 2004-04-29 Boris Kirzner <borisk@mainsoft.com>
782 * DataRow.cs : Bug fix in CopyValuesToRow().
784 2004-04-29 Boris Kirzner <borisk@mainsoft.com>
786 * UniqueConstraint.cs : There is no reason to mark constraint's columns as unique, because
787 each of the columns should not be unique, but only all the constraint's columns together.
789 2004-04-28 Boris Kirzner <borisk@mainsoft.com>
792 - Added using of list of autoIncrement columns
793 - SetColumnValue receives also DataColumn to avoid duplicate lookup in DatacolumnCollection
794 - Fix in CheckNullConstraints
795 - Fix in this[] and HasVersion() : when evaluating an expression deleted rows values can be accessed.
796 - Fix in SetColumnValue() , added CanAccess() method to avoid case of accessing internal array values berore it actually allocated.
797 - Added onColumnRemoved() method to threat column removal accurately.
799 * DataRowCollection.cs :
800 - Added using of DataRow._nullConstraintViolation (for perfomance fix in EndLoadData())
801 - Added method onColumnRemoved() - calls each row's onColumnRemoved() (to ensure column removal is treated accurately)
804 - Call DataRowCollection.onColumnRemoved() in OnRemoveColumn() (to ensure column removal is treated accurately)
806 * DataColumnCollection.cs :
808 - collection holds a list of its autoIncrement columns (avoids unnesessary lookup through whole collection)
809 - collection holds mapping from column names to DataColumn objects (avoids lookup through whole collection).
810 - automatic creation of column names rewrited (bug fixes + perfomance improvement)
813 - Uses autoincrement list of a table
815 2004-04-27 Atsushi Enomoto <atsushi@ximian.com>
817 * XmlDataLoader.cs : Even when it should ignore schema, it was
819 * XmlSchemaDataImporter.cs : DataRelation creation support.
820 Improved "DataSet" element handing. When attributes are on the
821 element, it is not a "DataSet" element.
822 Fixed parent key column name.
823 Unique name creation is not required. Just raise an error.
824 Fill facet also for attribute types.
826 2004-04-27 Atsushi Enomoto <atsushi@ximian.com>
828 * DataRow.cs : Null check for CheckReadOnlyStatus() and
829 CheckNullConstraints(), with some coding guideline fixes.
830 Type check should be done by Type instance comparison.
832 2004-04-27 Atsushi Enomoto <atsushi@ximian.com>
834 * DataColumnCollection.cs : When add a column to the collection, fill
835 auto-increment column.
837 2004-04-26 Boris Kirzner <borisk@mainsoft.com>
839 * DataColumn.cs : Small perfomance fix (avoid unnesessary string concatenation).
841 2004-04-26 Atsushi Enomoto <atsushi@ximian.com>
843 * CustomDataClassGenerator.cs : Added.
844 * TypedDataSetGenerator.cs : Implemented Generate().
845 Changed GenerateIdName() to call CustomDataClassGenerator.MakeSafeName
846 * XmlSchemaDataImporter.cs : Table Locale should be supplied.
848 2004-04-25 Boris Kirzner <borisk@mainsoft.com>
850 * DataTable.cs : Small perfomance fix (avoid unnesessary string concatenation).
852 2004-04-25 Boris Kirzner <borisk@mainsoft.com>
854 * Constraint.cs : Small perfomance fix (avoid unnesessary string concatenation).
856 2004-04-23 Umadevi S (sumadevi@novell.com)
857 * DataRow.cs: Checked BeginEdit,EndEdit,CancelEdit and Delete methods
858 - Added error handling to the above methods
860 2004-04-22 Atsushi Enomoto <atsushi@ximian.com>
862 * DataSet.cs : Data should be read when mode is IgnoreSchema (well,
863 the support is incomplete yet).
865 Reverted ReadModeSchema() argument change. XmlReadMode would be
866 useful to handle IgnoreSchema.
867 Don't overwrite DataSetName when mode is not such kind.
868 Set Prefix and Namespace as well as DataSetName.
869 AllowDBNull looks set false by default for element column.
870 Set unique constraint as primary key when infering the table schema.
872 2004-04-21 Atsushi Enomoto <atsushi@ximian.com>
875 Never set null string for Prefix and Namespace.
876 In InferXmlSchema() when null XmlReader is passed, just do nothing.
877 In WriteXmlSchema(string), earlier try block.
878 In BuildSchema(), try to add serialization namespaces for each
879 namespaces in DataSet/DataTable/DataColumn.
880 Removed namespace argument from WriteColumnAsElement() and don't
881 overwrite when namespace is "". This fixes bug #57330.
882 * DataColumn.cs : For Namespace and Prefix, never set null.
884 2004-04-21 Boris Kirzner <borisk@mainsoft.com>
886 * XmlSchemaMapper.cs : Check for not null unique constraint in ReadXmlSchemaKeyref()
887 before creating and adding foreign key constraint and relation.
889 2004-04-21 Boris Kirzner <borisk@mainsoft.com>
891 * MergeManager.cs : In AdjustSchema() source table clone should be added
892 and not the table itself.
894 2004-04-21 Boris Kirzner <borisk@mainsoft.com>
897 - CaseSensitive : Additional fix (removed unnesessary assignment).
898 - CopyProperties : Do not try to copy ExtendedProperties if the collection is empty.
900 2004-04-21 Boris Kirzner <borisk@mainsoft.com>
902 * DataTable.cs : Ensure that DataSet property is not null before using it in Clear().
904 2004-04-20 Boris Kirzner <borisk@mainsoft.com>
907 - EndLoadData() : perfomance fix in case of null constraint violation
908 during data load (also in DataRow.cs).
909 - CaseSensitive : If DataTable belongs to DataSet it should always use
910 DataSet.CaseSensitive untill explicitly changed.
911 - CopyProperties() : do not try to copy ExtendedProperties if the collection is empty.
914 - Pefromance fix in case of null constraint violation
915 during data load (also in DataTable.cs).
916 - CollectionChanged() : use correct column number after new DataColumn was added
917 (differs in case some DataColumn was previosly removed).
918 - EndEdit() - throw away proposed values only after CheckChildRows() complete.
920 2004-04-20 Boris Kirzner <borisk@mainsoft.com>
922 * DataColumnCollection.cs : Since unique constraint is added now
923 in DataColumn.SetTable() the additional creation of constraint in
924 DataColumnCollection.Add() is redundant and causes exception - fixed.
926 2004-04-19 Atsushi Enomoto <atsushi@ximian.com>
928 * XmlDataLoader.cs : Added "never add data rows" mode.
929 Removed unused code. However, it is temporary fixes to unify
930 ReadXml() and InferXmlSchema().
931 * DataSet.cs : Implemented InferXmlSchema(), though it is incomplete.
933 I'll create another XmlDataLoader since there are many problems
934 such that 1) it is too waste to read the entire xml into an
935 XmlDocument, 2) it does not handle attributes correctly, and 3) it
936 must handle "ignored namespaces".
938 2004-04-19 Atsushi Enomoto <atsushi@ximian.com>
940 * Added XmlSchemaDataImporter.cs (new schema reader).
941 * DataSet.cs : Use XmlSchemaDataImporter (right now for DataSet only)
943 Let schema reading work to ReadXmlSchema().
944 Don't return ReadSchema when argument read mode was DiffGram.
946 2004-04-15 Umadevi S (sumadevi@novell.com)
947 * Updated Clone/Copy methods in DataSet along with Testcase
948 * ForeignKeyConstraint.cs - special ctor implemented
949 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).
950 * Changes in ConstraintCollection.cs for the above
951 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.
954 2004-04-15 Atsushi Enomoto <atsushi@ximian.com>
956 * XmlSchemaMapper.cs : set parent key and foreign key info to
957 DataRelation when reading refkey constraints.
958 Supply constraint name for fkey.
960 2004-04-15 Atsushi Enomoto <atsushi@ximian.com>
962 * XmlDataLoader.cs : Don't overwrite existing DataSetName. When read
963 mode is Auto, just ignore the schema if there is already schema info.
964 * DataSet.cs : Similarly ignore schema info for XmlReadMode = Auto.
966 2004-04-14 Atsushi Enomoto <atsushi@ximian.com>
969 - In MS output, XML declaration looks to have standalone decl (yes).
970 - ReadXml(reader) just calls to ReadXml(reader, XmlReadMode.Auto)
971 - ReadXml(reader, mode)
972 1) return originally specified mode, instead of (always) Auto.
973 2) Check empty reader.
974 3) Check diffgram schema and content separately.
975 4) When diffgram exists, remaining (the same-level) contents
977 5) Similar fact should be applied, but somewhat different.
978 InferSchema and IgnoreSchema just skips, Fragment reads both
979 schema and content, others just reads schema.
980 - Removed unused code.
982 - Read() should skip in some ReadMode.
983 - Don't compare schema element name as case-insensitive (well,
984 should schemas be checked here?)
985 - Avoided BuildDocument() not to create confusing DataSet
987 - Don't add any tables when reader has single element.
989 When target table was not found, MS.NET doesn't raise an error.
990 * XmlSchemaMapper.cs :
991 When XmlSchema.Read() left xml reader at </xs:schema>, read once.
993 2004-04-13 Atsushi Enomoto <atsushi@ximian.com>
996 - InferXmlSchema(): Throw explicit NotImplementedException now.
997 - Don't put XML declaration everywhere. Write just for filename arg.
998 - xmlns="" should not be written. Maybe WebService problem is
999 because default namespace is overwritten. This patch will keep
1000 the WS problem away and actually fixes some unit tests (i.e. use
1001 explicit String.Empty for null namespace in WriteStartElement()).
1002 - MoveToContent() should always be called, not only when
1003 LocalName="xml". It will ignore prolog (DTD, PI, comment etc.).
1004 - Even XmlReadMode is DiffGram, reader might not be "diffgram"
1005 element. As to MSDN, diffgram does not contain schema.
1007 2004-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1009 * DataTable.cs: made _initStatus private so that System.Data is CLS
1012 2004-04-13 Umadevi S <sumadevi@novell.com>
1013 * UniqueConstraint.cs:
1014 * ConstraintCollection.cs:
1016 - Implemented a Constructor for UniqueConstraint.cs
1017 - Used EndInit on DataTable to call a delegate which adds the
1018 constraints passed to the most recent call of AddRange().Used
1019 AddRange() on ConstraintCollection to check whether
1020 DataTable.BeginInit has occurred. If yes, save the argument
1021 constraint collection passed, then return. If no, Check whether the
1022 constraints are of type UniqueConstraint and initialized with the
1023 special constructor If yes Initialized the table property of this
1024 UniqueConstraint object with table assosciated with the current
1025 instance of ConstraintCollection class.
1027 2004-04-07 Marek Safar <marek.safar@seznam.cz>
1029 * Constraint.cs: changed ClsCompliant to CLSCompliant, build fix.
1031 2004-04-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1034 * DataColumnCollection.cs:
1035 * DataRelationCollection.cs:
1036 * DataRowCollection.cs:
1037 * DataTableCollection.cs:
1038 * InternalDataCollectionBase.cs:
1039 * Node.cs: CLS compliance for System.Data. Patch by Gert Driesen.
1042 2004-04-05 Jackson Harper <jackson@ximian.com>
1044 * DataTable.cs: Add rows to the row list if there is no filter.
1046 2004-03-31 Juraj Skripsky <juraj@hotfeet.ch>
1048 * DataColumn.cs : Setting Caption to null sets it to the empty string
1049 (ms.net behaviour, testcase is in DataColumnTest).
1051 * DataRow.cs : Evaluate DataColumn.Expression when such a column's
1054 2004-03-30 Lluis Sanchez Gual <lluis@ximian.com>
1056 * DataColumn.cs: In Expression setter, set the expression member even if
1057 it is an empty string.
1058 * DataSet.cs: Support serialization of byte[] columns.
1059 * XmlDataLoader.cs: Support deserialization of Guid columns.
1060 Set MappingType.Attribute to columns infered from attributes.
1062 2004-03-29 Juraj Skripsky <juraj@hotfeet.ch>
1064 * ExpressionElements.cs : remove
1065 * DataColumn.cs, DataRelationCollection.cs, DataTable.cs :
1066 Integration of new Mono.Data.SqlExpressions classes used in
1067 DataTable.{Select, Compute}.
1068 Fixes bug #55503 and lots of failures in DataTableTest.cs.
1070 2004-03-28 Juraj Skripsky <juraj@hotfeet.ch>
1072 * Index.cs: Simple fix in ComparePartialRowNonUnique.
1073 This fixes bugs #56129 and #56014.
1075 2004-03-25 Lluis Sanchez Gual <lluis@ximian.com>
1077 * DataSet.cs: In WriteXml (string filename, XmlWriteMode mode), close the
1078 stream after writing the dataset. This fixes bug #52581.
1079 Also added several writer.Close into finally blocks, so writers are properly
1080 closed in case of an exception.
1082 2004-03-12 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1084 * Constraint.cs: DO NOT USE the consts scheme if types can be referenced directly!
1085 * DataColumn.cs: DO NOT USE the consts scheme if types can be referenced directly!
1086 * ColumnTypeConverter.cs: Added stub
1087 * DefaultValueTypeConverter: Added stub
1088 * ConstraintConverter.cs: Added stub
1090 2004-03-04 Eran Domb <erand@mainsoft.com>
1092 * XmlDataLoader.cs : Xml reading reviewed. Added support for additional xml formats as described
1093 in MS.NET documentation (missing DataSet element etc).
1095 2004-03-04 Eran Domb <erand@mainsoft.com>
1098 * Index.cs : Rollback last changes.
1100 2004-03-03 Atsushi Enomoto <atsushi@ximian.com>
1102 * Index.cs : justa build fix.
1104 2004-03-03 Eran Domb <erand@mainsoft.com>
1107 * Constraint.cs, ForeignKeyConstraint.cs, UniqueConstraint, ConstraintCollection.cs, DataColumn.cs,
1108 DataRow.cs, DataRowCollection.cs, DataSet.cs, DataTable.cs : Changes made for using indexes on tables.
1109 This changes made for performance improvement.
1111 2004-02-08 Eran Domb <erand@mainsoft.com>
1113 * XmlSchemaMapper.cs : Read columns is they were written as SimpleContent or as Attributes.
1115 2004-02-08 Eran Domb <erand@mainsoft.com>
1117 * DataSet.cs: Fix some bugs in ReadXml().
1119 2004-02-04 Lluis Sanchez Gual <lluis@ximian.com>
1121 * DataSet.cs: Added missing method that broke the build.
1123 2004-02-04 Eran Domb <erand@mainsoft.com>
1125 * DataRowCollection.cs (InsertAt): Add a check for null row. Replace check of IndexOf with RowId for
1127 * DataSet.cs (GetTableSchema) : Add supprot for simple content columns. Change the condition for a case
1128 when all column are attributes (elements count is 0), we still want to add the relations. No relations
1129 can be on simple contents.
1130 (AddUniqueConstraints) Check that the column of the constraint are not hidden.
1131 (AddForeignKeys) Check that the relation has constraints attach to it.
1132 * XmlConstants.cs : Added constant.
1134 2004-02-04 Eran Domb <erand@mainsoft.com>
1136 * DataSet.cs : GetSchemaSerializable() return null and not BuildSchema().
1137 DoWriteXmlSchema calls BuildSchema ().
1139 2004-02-04 Lluis Sanchez Gual <lluis@ximian.com>
1141 * DataRow.cs: Added SetOriginalValue(), which is used to set the original
1143 * DataRowCollection.cs: In InsertAt(), perform the correct checks and
1145 * DataSet.cs: Fixed method GetChanges(): Parent rows of modified rows must
1146 also be added to the dataset.
1147 In WriteTable(), do not write unchanged rows when writing the original
1148 version of the table.
1149 Added WriteIndividualTableContent(), for writing the contents of a single
1151 Changed BuildSchema and related methods, so it can generate a schema for
1152 any set of tables, not just the tables of the dataset (needed for
1153 single datatable serialization).
1154 * DataTable.cs: Implemented serialization constructor and GetObjectData method.
1155 Also implemented some ReadXmlSchema methods.
1156 * XmlDiffLoader.cs: Read and process the xml document directly from XmlReader,
1157 instead of loading the full dataset in an XmlDocument. It is faster and
1158 saves memory. Also fixed several problems when generating the changes.
1159 * XmlSchemaMapper.cs: Support reading schemas for single tables (used by
1160 table serialization).
1162 2004-02-02 Eran Domb <erand@mainsoft.com>
1164 * DataSet.cs : Add indentation to the xml serialization only if we create the XmlWriter.
1165 Add the namespace attribute even if namespace is an empty string for inteoperability with MS.NET.
1166 * DataTable.cs (NewRow): Create only one DataRowBuilder.
1167 Initiate new row with row id -1.
1168 * DataRow.cs : Add RowId property.
1169 * DataRowBuilder.cs : Add _rowId member.
1170 * DataRowCollection.cs (Add) : Use the RowId property of the new row to check if it is already exists in the collection.
1172 2004-01-26 Eran Domb <erand@mainsoft.com>
1174 * XmlConstants.cs : Added some constants.
1175 * DataColumn.cs : Added a method to retrive AutoIncrement value.
1176 * XmlDataLoader.cs : Set the value of the foriegn key column, according to the value of the
1177 parent table column.
1178 * XmlDiffLoader.cs : Convert the value comming from the xml.
1179 * XmlSchemaMapper.cs (Read) : Set the DataSet namespace.
1180 (ReadXmlSchemaSequence) : Change the logic that decides if this element is a column or a table.
1181 (ReadXmlSchemaElement) : Set the locale of the dataset.
1182 (ReadColumn) : Set the column type. Find if the column is AutoIncrement.
1183 (GetColumnType) : New method to get the column type from the attribute value.
1184 (ReadXmlSchemaUnique) : Improve parsing of XPath. Set the constraint as a PK if needed,
1185 and add the constraint to the table.
1186 (ReadXmlSchemaKeyref) : Improve parsing of XPath. Create the FK constraint and add it to
1188 * DataSet.cs : Improving writing of unique constraints, and foriegn key constraint. Givving them the correct names.
1189 Writing more information to the schema for interoperability with ms.net.
1190 Improve diffgarm writing mode.
1193 2004-01-21 Atsushi Enomoto <atsushi@ximian.com>
1195 * TypedDataSetGenerator.cs : Implemented GenerateIdName().
1197 2004-01-21 Eran Domb <erand@mainsoft.com>
1199 * XmlDataLoader.cs (AddRowToTable) : Give thre new relation correct name.
1200 Do not set the child column to be AutoIncrement.
1201 Create the new column for the relation as MappingType.Hidden so they will not be serialized
1202 when writing the dataset to xml.
1204 2004-01-20 Atsushi Enomoto <atsushi@ximian.com>
1206 * Added missing TypedDataSetGenerator.cs.
1208 2004-01-08 Eran Domb <erand@mainsoft.com>
1210 * XmlSchemaMapper.cs : Fix a bug. Check if table already in DataSet before adding it.
1211 * DataSet.cs (ReadXml) : Fix bugs. Read correctly the xml file with XmlReadMode of DiffGram,
1212 InferSchema, ReadSchema and IgnoreSchema.
1213 * XmlDataLoader.cs : All modes use the same logic.
1214 * XmlDiffLoader.cs : Adding BuildXmlDocument method to the class.
1216 2004-01-06 Eran Domb <erand@mainsoft.com>
1218 * DataRelationCollection.cs : Use IndexOf in indexer.
1219 * DataSet.cs : Adding support for WriteXml with diffgram. Code style changes.
1220 * XmlDataLoader.cs : Set the DataSet.enforceConstraints to false before loading the tables.
1221 * XmlDiffLoader.cs : Reading nested tables.
1222 * XmlSchemaMapper.cs : Reading the relation.
1223 * XmlConstants.cs : Adding some constants.
1225 2004-01-05 Jackson Harper <jackson@ximian.com>
1227 * DataView.cs: Set readonly property of property descriptor. This
1230 2004-01-01 Sanjay Gupta <gsanjay@novell.com>
1232 * DataRelationCollection.cs : Fixed incorrect generation of default
1234 * DataSet.cs : Added missing functionality in WriteXml().
1235 * XmlConstants.cs : Added new constants.
1237 2003-12-27 Atsushi Enomoto <atsushi@ximian.com>
1239 * DataSet.cs : Fixed incorrect WriteXml() signature.
1241 2003-12-18 Jackson Harper <jackson@ximian.com>
1243 * DataView.cs: Implement AddNew, Delete, and OnListChanged.
1245 2003-12-17 Atsushi Enomoto <atsushi@ximian.com>
1247 * DataSet.cs, XmlDataLoader.cs : Table name should be encoded before
1248 they take shape of xml. This fixed bug #52240
1250 2003-12-16 Tim Coleman <tim@timcoleman.com>
1251 * KeyRestrictionBehavior.cs:
1252 New stubs added for .NET 1.2
1256 2003-12-08 Eran Domb <erand@mainsoft.com>
1257 * DataColumn.cs (Expression) : Validate the expression.
1259 * DataRelationCollection.cs (IndexOf) : Added new method sensetive to case differences in relation name.
1260 (Contains, IndexOf, this[], Add) : Call new IndexOf when needed.
1262 * DataRow.cs (this[]) : Fix the condition for throwing RowNotInTableException.
1263 (RejectChanges) : Detach row when state was Added.
1264 (CollectionChanged) : Fix a bug.
1266 * ExpressionElement (ValidateExpression) : Fix a bug.
1268 * ForeignKeyConstraint.cs (AssertConstraint) : Added implementation. Check all rows from child table have
1269 a parent row in the parent table.
1270 (_validateColumns) : Fix bugs.
1272 * MergeManager.cs (AdjustSchema) : Fix a bug.
1274 * XmlDataLoader.cs (ReadModeInferSchema) : Change implementation. Now we can read nested xml, and we generate the relations
1277 2003-11-30 Eran Domb <erand@mainsoft.com>
1278 * DataColumnCollection.cs (this[string name]) : Use IndexOf to find the column.
1279 (Add) : Find if the new column name is the same as the one found in IndexOf.
1280 (IndexOf) : New method.
1281 (Contains) : Use new IndexOf.
1282 (IndexOf) : Use new IndexOf.
1284 * DataRelationCollection.cs (DataRelationCollection.AddCore) : Add The Relation to the collection.
1285 (DataSetRelationCollection.AddCore) : First add the UniqueConstraint.
1287 * DataRow.cs (this[int columnIndex, DataRowVersion version]) : Change exceptions.
1288 (Delete) : Detach row if the RowState was Added.
1289 (GetChildRows) : Get the array form the ChildTable.
1290 (GetParentRows) : Get the array from the ParenTable.
1292 * DataRowCollection.cs (Remove) : Check if row state is Detached to avoid exception.
1294 * DataSet.cs (IXmlSerializable.ReadXml) : Do not call MoveToContent and ReadEndElement - the XmlSerializationReader does it.
1296 * DataTable.cs (PrimaryKey) : Fix bugs.
1297 (Compute) : First call Select. Then create ExpressionAggregate to aggregate the Select result.
1299 * DataTableCollection.cs (Add) : Fix a bug.
1301 * ExpressionElement.cs (ValidateExpression) : Turning ValidateExpression to static.
1302 (Result) : Added new interface to AggregateExpression that get DataRow[] as a param.
1303 Some code style changes (tab instead of whit spaces, alignment, etc...).
1305 * ForeignKeyConstraint.cs (_validateColumns) : Throw correct exception.
1307 * MergeManager.cs (AdjustSchema) : Fix a bug.
1311 2003-11-26 Miguel de Icaza <miguel@ximian.com>
1313 * DataSet.cs: Add a few more missing methods, code style updated
1316 2003-11-26 Tim Coleman <tim@timcoleman.com>
1318 * ConflictOptions.cs DataAdapterException.cs DataTableReader.cs
1319 * DbMetaData.cs FillOptions.cs IDataReader2.cs IDataRecord2.cs
1320 * IDataUpdatableRecord.cs IDbAsyncCommand.cs IDbAsyncConnection.cs
1321 * IDbExecutionContext.cs IGetTypedData.cs ISetTypedData.cs
1322 * LoadOption.cs OperationAbortedException.cs ResultSetOptions.cs
1323 * ResultSetSensitivity.cs StatementCompletedEventArgs.cs
1324 * StatementCompletedEventHandler.cs UpdateOptions.cs:
1325 New classes added for NET_2_0
1326 * DBConcurrencyException.cs DataRelation.cs DataSet.cs DataTable.cs
1327 * DataTableCollection.cs DataView.cs ForeignKeyConstraint.cs:
1328 Modifications to add new NET_2_0 functions
1330 2003-11-25 Tim Coleman <tim@timcoleman.com>
1334 2003-11-21 Pedro Martínez Juliá <yoros@wanadoo.es>
1336 * DataRow.cs: Detached row can be accesible (new rows from data
1337 table are detached). Closes but #51263.
1339 2003-11-19 Eran Domb <erand@mainsoft.com>
1340 * DataRow.cs : Throw exceptions if Row is Detached.
1341 (EndEdit) : Check that we are not in middle of ChangeEvent.
1342 (AcceptChanges) : Detach the row.
1344 * DataRelation.cs : throw correct exception.
1345 *UniqueConstraint.cs : throw correct exception.
1348 2003-11-09 Pedro Martínez Juliá <yoros@wanadoo.es>
1350 * DataRow.cs: Use RemoveInternal instead of Remove because the last
1351 one uses Delete and AcceptChanges.
1353 * DataRowCollection.cs: When removing, Delete and AcceptChanges
1354 method from the row are called. Added an internal method that will
1355 be used by DataRow to "physically" remove the row from the list.
1357 2003-11-09 Pedro Martínez Juliá <yoros@wanadoo.es>
1359 * DataRowCollection.cs: To follow the specification: Remove and
1360 RemoveAt should remove the row. But needed to call DeletingDataRow
1361 to prepare the deleting.
1363 * DataRow.cs: Don't call DeletingDataRow when it is called by the
1364 method Table.Rows.Remove.
1366 2003-11-09 Pedro Martínez Juliá <yoros@wanadoo.es>
1368 * DataRowCollection.cs: Make the row be deleted by itself. If not,
1369 it fails because we need to call OnRowDeleting and OnRowDeleted. It
1370 is full implemented inside DataRow.
1372 2003-11-05 Eran Domb <erand@mainsoft.com>
1373 * DataView.cs (ctor) : Changing default RowStateFilter to CurrentRow.
1375 2003-11-04 Eran Domb <erand@mainsoft.com>
1376 * DataRow.cs (CheckChildRows) : Improving the implementation - checking child for all FK, and not
1378 (GetChildRows) : Adding some checks.
1379 (GetParentRows) : Adding some checks. Fix a bug in implementation.
1380 (SetParentRow) : Added implementation.
1382 * DataRowCollection.cs (Add) : Added more checks on the row added to the collection.
1383 * DataTable.cs (Copy) : Set the During Loading flag to save unnecessary assertions.
1384 * ForeignKeyConstraint.cs (AssertConstraint) : Fixing bugs in implementation. Checking for DBNull values in the row.
1385 * MergeManager.cs : Check that the target table is not null.
1387 2003-10-27 Eran Domb <erand@mainsoft.com>
1388 * DataColumn.cs (DefaultValue) : Changing null value to DBNull. Checking that the type of the new default value
1389 can be converted to the column type.
1391 * DataRelationCollection.cs (AddCore) : Give the new FK the name of the relation.
1393 * DataRow.cs (EndEdit) : Check if we need to validate the constraints.
1394 (GetParentRows, GetChildRows) : Checking that the row has the wanted version, before accessing the row's value.
1396 * DataRowCollection.cs (Add) : Fixing a bug.
1397 (Clear) : Before clearing the array check that there is no violation of FK constraint.
1399 * DataSet.cs (Prefix) : If value is null chage it to empty string.
1400 (GetXml) : Removing the Processing Instructions from the xml string as in MS ADO.NET.
1402 * ExpressionElement : Adding support for IN expresion.
1404 * DataTable (CopyConstraints) : New method that copy the tables constraints to the copy table.
1405 (Select) : Adding support for DataViewwRowState.
1407 * ForeignKeyConstraint.cs (AssertConstraint) : Adding implementation.
1409 * MergeManager.cs (MergeRow) : Fix bugs.
1411 2003-10-27 Eran Domb <erand@mainsoft.com>
1412 * DataRow.cs (SetColumnValue): Donot check null value when in midle of loading data.
1413 check null values when ending loading data.
1415 * DataSet.cs (RejectChanges) : Imlementation.
1416 (Prefix) : If prefix was changed fire event. Check that the prefix is not null - if null,
1417 change it to empty string.
1419 * DataTable.cs (BeginLoadData, EndLoadData) : Impemantation.
1421 2003-10-22 Eran Domb <erand@mainsoft.com>
1422 * MergeManager.cs : Fixing bugs. Adding check for PrimaryKey matching.
1424 * ConstraintCollection.cs (RamoveAt): Change implemntation.
1426 * DataTableCollection (CanRemove): Removing cast to Constraint.
1428 2003-10-22 Eran Domb <erand@mainsoft.com>
1429 * DataRelationCollection.cs (AddCore): The unique constraint was added even if the createConstraints flag was false.
1430 (Clear): The collection was cleared without removing the relation from the parent and child tables.
1432 * DataSet.cs (Copy, Clone): The Relations of the DataSet were not copy.
1433 (HasChanges, Reset): Imlementation.
1435 * DataTable.cs (HasErrors): There is no flag for errors, instead the table ask her row if they have any errors.
1436 This is because the we do not no when to turn off the flag.
1437 (Locale): Changing implementation to behave like ADO.NET.
1438 (AcceptChanges): Fix bug.
1439 (Clear): Check that this table is not referenced from a foreign key constraint.
1440 (Copy): Do not try to access a deleted row.
1441 (CopyProperties): Copy the PrimaryKey.
1442 (GetChanges, ImportRow): Implementation.
1443 (LoadDataRow): Adding implementation if the table has PrimaryKey.
1444 (ToString): Changing implementation to behave like ADO.NET.
1446 * UniqueConstraint.cs (AssertConstraint): support for Multiple DataColumns in the constraint.
1448 * DataRow.cs (Ctor): In the constructor we initiate the current array, but we should initiate only the proposed array for new rows.
1449 (HasErrors): Implementation.
1450 (Delete): Added checking for child rows of the deleted row.
1451 (EndEdit): Added checking for child row and firing events.
1452 (GetColumnError): Added a check that the method will not return null, as in ADO.NET(an empty string is returned).
1453 (GetColumnsInError): Added a check for null values in column error.
1454 (HasVersion): Added special treatment for special RowState.
1455 (CollectionChanged): More checks to avoid NullReferenceException.
1457 * DataRowCollection.cs (Remove): Fix a bug.
1460 2003-10-01 Duncan Mak <duncan@ximian.com>
1462 More patches from Eran Domb <erand@mainsoft.com>.
1464 * MergeManager.cs: New file.
1466 * DataRelationCollection.cs (AddCore): Check that a
1467 UniqueConstraint is already exists. It loops over the Relations
1468 instead of the Constraints.
1469 (Add, AddCore): The relation was added twice.
1471 * DataSet.cs (Merge, GetChanges, HasChanges): Implemented.
1473 2003-09-30 Duncan Mak <duncan@ximian.com>
1475 Patches from Eran Domb <erand@mainsoft.com>.
1477 * DataRelation.cs (constructor): When the name of the relation is
1478 null, it should return an empty, not "Relation".
1480 * DataRow.cs (AcceptChanges): Added special case for
1482 (CancelEdit): Set editing flag to false.
1483 (IsNull): Check that the value is DBNull.
1485 * DataRowCollection.cs (Add): There was no check that the table of
1486 the collection is owned by a DataSet.
1488 * DataSet.cs (OnMergeFailed): Added.
1490 * UniqueConstraint.cs (AssertConstraint): There was no check that
1491 values in the row are not null, where it is a primary key
1492 column. Also check that the row has a proposed version, if not,
1493 get the current version when we compare the rows.
1495 2003-09-25 Duncan Mak <duncan@ximian.com>
1497 Patches from Eran Domb <erand@mainsoft.com>.
1499 * DataColumn.cs (Unique): Implemented.
1502 * ConstraintCollection.cs:
1503 * ForeignKeyConstraint.cs (_ensureUniqueConstraintExists): Fixes
1504 an Exception thrown. Details:
1505 http://lists.ximian.com/archives/public/mono-devel-list/2003-September/002130.html
1507 * DataRowCollection.cs (Add): There is no checking that there is
1508 no violation of the unique constrains.
1510 * UniqueConstraint.cs (AssertConstraint): There is no checking on
1511 all columns in the constraint.
1513 * DataTableCollection (Add): Correctly throw an Exception, more
1515 http://lists.ximian.com/archives/public/mono-devel-list/2003-September/002117.html
1516 (Remove, RemoveAt): Implemented.
1518 2003-07-31 Duncan Mak <duncan@ximian.com>
1520 * DBConcurrencyException.cs: Added new NET_1_1 no-param constructor.
1522 2003-07-25 Ravi Pratap <ravi@ximian.com>
1524 * DataRelation.cs (OnPropertyChanging): Calling the 'Invoke'
1525 method on a delegate is disallowed - fix this.
1527 2003-07-22 Lluis Sanchez Gual <lluis@ximian.com>
1529 * DataSet.cs: Implemented IXmlSerializable interface. Added basic support for
1530 xml serialization. Modified method of writing schema. Now it creates
1531 a XmlSchema object and serializes it using XmlSerializer.
1532 * XmlConstants.cs: Added constants for data type names.
1533 * XmlDataLoader.cs: Fixed deserialization of data. Now converts data to the
1534 type specified in the column.
1536 2003-04-20 Alan Tam <Tam@SiuLung.com>
1538 * DataRelationCollection.cs: Fix a bug that prevent relations
1539 from being added via DataSet.
1541 2003-04-12 Ville Palo <vi64pa@kolumbus.fi>
1543 * UniqueConstraint.cs: one tiny fix.
1545 2003-04-05 Ville Palo <vi64pa@kolumbus.fi>
1547 * DataTable.cs: Remove UniqueConstraints when adding new ones
1549 2003-04-04 Ville Palo <vi64pa@kolumbus.fi>
1551 * DataColumnCollection.cs: Little 'case sensitive' fix
1553 2003-04-04 Ville Palo <vi64pa@kolumbus.fi>
1555 * DataRow.cs: AutoIncrement handling to Constructor
1556 * DataRowCollection.cs: This doesnt need anymore AutoIncrements
1558 2003-03-27 Ville Palo <vi64pa@kolumbus.fi>
1560 * DataTable.cs: Some fixes to PrimaryKey etc...
1561 * UniqueConstraint.cs: Little clean up
1563 2003-03-27 Ville Palo <vi64pa@kolumbus.fi>
1565 * DataTable.cs: Tiny fix to ToString () -method
1567 2003-03-27 Ville Palo <vi64pa@kolumbus.fi>
1569 * ConstraintCollection.cs: Little fix.
1570 * DataColumn.cs: Added new internal method SetUnique()
1571 * UniqueConstraint.cs: some little fixes
1573 2003-03-26 Ville Palo <vi64pa@kolumbus.fi>
1575 * DataRowCollection.cs: Bugfixes, implementation,...
1577 2003-03-26 Ville Palo <vi64pa@kolumbus.fi>
1579 * DataColumn.cs: If DataType if set to something else than short, int
1580 or long and AutoIncrement is true, AutoIncrement is must set to false.
1582 2003-03-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1585 (BeginEdit): fixed array bound problem when a column has been added.
1586 (EndEdit): just assign proposed to current as proposed is set to null.
1587 This also fixes another array boudn problem.
1589 2003-03-21 Alan Tam <Tam@SiuLung.com>
1591 * DataRow.cs: Fixed problems in accessers, BeginEdit, CancelEdit,
1592 EndEdit and AcceptChanges to act correctly according to DataRowState
1594 * DataRowCollection.cs: Call AttachRow and DetachRow when a row is
1595 attached and detached from the collection.
1597 2003-03-20 Alan Tam <Tam@SiuLung.com>
1599 * DataColumn.cs: Store empty string for Expression when null is passed in.
1600 Classes generated by XSD.exe passes null by default.
1602 2003-03-16 Ville Palo <vi64pa@kolumbus.fi>
1604 * DataColumnCollection.cs: Tiny clean up
1606 2003-03-16 Ville Palo <vi64pa@kolumbus.fi>
1608 * DataColumn.cs: little fixes.
1609 * DataColumnCollection.cs: Lots of little fixes and improvments.
1611 2003-03-12 Alan Tam <Tam@SiuLung.com>
1613 * DataSet.cs: Fixed a bug that the file written does not close correctly.
1615 2003-03-08 Alan Tam <Tam@SiuLung.com>
1617 * DataRelationCollection.cs: Removed the mis-overridden methods
1618 * DataRow.cs: Fixed an attribute
1619 * DataSet.cs: Fixed the modifiers
1621 2003-03-06 Aleksey Demakov <avd@openlinksw.com>
1623 * DataTableCollection.cs: The Contains (string name),
1624 IndexOf (string name) methods, and item[string name] indexer
1625 now behave more like .NET with respect to case-sensitivity.
1626 That is if there is an exactly matching item then this one is used.
1627 If there is only one item differing in case then it used.
1628 If there are more than one item differing in case then
1629 Contains returns false, IndexOf returns -1, and item[]
1630 throws an ArgumentException.
1632 2003-02-28 Ville Palo <vi64pa@kolumbus.fi>
1634 * ExpressionElement.cs: More implementation.
1636 2003-02-28 Alan Tam <Tam@SiuLung.com>
1637 * DataSet.cs: Changed WriteTable so that it now calls the newly written
1638 WriteObjectXml to direct the call to the respective XmlConvert method.
1639 This fixes the wrong format written to XML files of bool, float,
1640 double, DateTime and TimeSpan types.
1642 2003-02-25 Alan Tam <Tam@SiuLung.com>
1644 * DataRelation.cs: Added SetDataSet for DataSetRelationCollection to use.
1645 * DataRelationCollection.cs: Implemented AddRange and Contains.
1646 Implemented AddRange, Clear, List and RemoveCore for DataSetRelationColletion.
1647 Implemented AddCore, List and RemoveCore for DataTableRelationCollection.
1648 Reimplemented most Add methods to eliminate duplicated checks.
1649 Centralized RelationName generation procedure in GetNextDefaultRelationName.
1651 2003-02-25 Alan Tam <Tam@SiuLung.com>
1653 * DataColumn.cs: Fixed wrong storage representation of Expression
1654 (using empty string instead of null) so that ToString() returns nothing.
1655 * DataColumnCollection.cs: Reimplemented GetNextDefaultColumnName so that
1656 auto column naming now works as expected. Reimplemented some Add methods
1657 to eliminate code duplication.
1659 2003-02-19 Ville Palo <vi64pa@kolumbus.fi>
1661 * DataTable.cs: DataTable.CaseSensitive follows parent
1662 DataSet.CaseSensitive property if DataTable.CaseSensitive has never
1663 been changed directly from DataTable
1665 2003-02-19 Ville Palo <vi64pa@kolumbus.fi>
1667 * DataSet.cs: When CaseSensitive property is changed all of the Tables
1668 of DataSet have to change too
1670 2003-02-19 Daniel Morgan <danmorg@sc.rr.com>
1672 * InternalDataCollectionBase.cs: revert change to field
1675 * DataViewManager.cs
1678 * DataSet.cs: commented use of DesignerAttribute
1679 because it broke the build. According to MSDN,
1680 DesignerAttribute does not have a zero-argument constructor
1682 2003-02-18 Ville Palo <vi64pa@kolumbus.fi>
1684 * DataColumnCollectin.cs: Little fix for indexer and case sensitivity
1686 2003-02-18 Alan Tam <Tam@SiuLung.com>
1688 * DataRow.cs: Implemented GetParentRow and GetParentRows.
1689 * DataSet.cs: Added stub for HasChanges, InferXmlSchema,
1690 OnPropertyChanging, OnRemoveRelation, OnRemoveTable,
1691 RaisePropertyChanging.
1692 * DataTable.cs: Implemented NewRowArray.
1693 * DataTablePropertyDescriptor: Fixed a modifier.
1694 * InternalDataCollectionBase.cs: Fixed modifiers. Implemented SyncRoot.
1695 * PropertyCollection.cs: Minor fix.
1696 * ConstraintCollection.cs DataColumn.cs DataColumnCollection.cs
1697 * DataRelation.cs DataRelationCollection.cs DataRow.cs
1698 * DataRowCollection.cs DataRowState.cs DataSet.cs DataTable.cs
1699 * DataTableCollection.cs DataTablePropertyDescriptor.cs DataView.cs
1700 * DataViewManager.cs DataViewRowState.cs DataViewSettingCollection.cs
1701 * ForeignKeyConstraint.cs InternalDataCollectionBase.cs
1702 * PropertyCollection.cs UniqueConstraint.cs: Added missing attributes
1704 2003-02-08 Ville Palo <vi64pa@koti.soon.fi>
1706 * ExpressionElement.cs: More implementation
1708 2003-02-05 Alan Tam <Tam@SiuLung.com>
1710 * DataSet.cs: Added framework for DataSet.Update Implemented missing
1711 methods GetSchemaSerializable, GetSerializationData,
1712 ReadXmlSerializable, ShouldSerializeRelations and ShouldSerializeTables
1714 * DataTable.cs: Implemented missing methods CreateInstance and
1715 GetRowType for DataTable
1717 2003-02-03 Ville Palo <vi64pa@koti.soon.fi>
1719 * DataSet.cs: Implemented private method MapType for
1720 mapping datatypes for XmlSchema
1722 2003-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1724 * DataView.cs: implemented Dispose.
1726 2003-01-30 Ville Palo <vi64pa@koti.soon.fi>
1728 * ExpressionElement.cs: Added new file. This file is for parsing
1729 and DataData.Select () -methods and DataColumn.Expression -property
1730 * DataTable.cs: Implemented Select(string) -method
1732 2003-01-28 Ville Palo <vi64pa@koti.soon.fi>
1734 * DataSet.cs: One little fix to writing xml
1736 2003-01-27 Ville Palo <vi64pa@koti.soon.fi>
1738 * XmlSchemaMapper.cs: Some fixes.
1739 * DatSet.cs: Some XmlFixes and BeginInit ()/ EndInit () -fix
1742 2003-01-24 Ville Palo <vi64pa@koti.soon.fi>
1744 * UniqueConstraint.cs: Do not set columns Unique property true
1746 * ForeignKeyConstraint.cs: Add UniqueConstraint to parent Table
1748 2003-01-18 Ville Palo <vi64pa@koti.soon.fi>
1750 * DataTableCollection.cs: Now names new DataTable if it doesn't
1751 already have a name.
1753 2003-01-17 Ville Palo <vi64pa@koti.soon.fi>
1755 * XmlSchemaMapper.cs: Improvments.
1756 * XmlConstaints.cs: Added more constants.
1757 * DataSet.cs: Improvments of reading and writing xml
1758 * DataColumn.cs: Added default values of properties.
1760 2003-01-14 Ville Palo <vi64pa@koti.soon.fi>
1762 * XmlSchemaMapper.cs: Some improvments
1764 2003-01-13 Ville Palo <vi64pa@koti.soon.fi>
1766 * DataRowCollection.cs: Added IndexOutOfRangeException
1767 * DataTableCollection.cs: Added OnCollectionChanging and
1768 OnCollectionChanged events.
1769 * DataSet.cs: Many fixes. Implemented Clone () and Copy () -methods
1770 * DataTable.cs: Implemented Copy () and Clone () methods.
1771 * XmlDataLoader.cs: some fixes.
1772 * XmlSchemaMapper.cs: comments.
1774 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1776 * DataColumnPropertyDescriptor.cs: store columnIndex in the .ctor.
1778 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1780 * DataColumnPropertyDescriptor.cs: fixed typo.
1781 * DataViewManagerListItemTypeDescriptor.cs: added new internal property
1782 to get the DataViewManager and removed TablePD class.
1783 * DataTablePropertyDescriptor.cs: TablePD class is now this one as
1784 suggested by danmorg.
1786 2003-01-06 Ville Palo <vi64pa@koti.soon.fi>
1788 * XmlDataLoader.cs: Moved diffgram stuff to new internal class
1790 * XmlDiffLoader.cs: new class for diffgrams. Added handling of
1791 diffgr:Errors and some fixes and changed XmlReader to XPathNavigator.
1793 2003-01-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1795 * DataView.cs: made dataViewManager internal.
1796 * DataViewManager.cs: use ICustomTypeDescriptor. We don't want the
1797 properties of the object, but the values of the columns present in a
1800 * DataViewManagerListItemTypeDescriptor.cs: implemented GetProperties,
1801 which returns a PropertyDescriptorCollection. Created a new class
1802 derived from PropertyDescriptor that treats Table as an object whose
1803 properties are DataRowView.
1805 2003-01-04 Ville Palo <vi64pa@koti.soon.fi>
1807 * XmlSchemaMapper.cs: Added handling for Constraints, Attributes.
1809 2003-01-04 Ville Palo <vi64pa@koti.soon.fi>
1811 * DataColumn.cs: ExtendedProperties is by default !null-
1813 2003-01-04 Ville Palo <vi64pa@koti.soon.fi>
1815 * DataColumnCollection.cs: Add (DataColumn Column) -method didn't
1816 set column's ordinal.
1818 2003-01-02 Ville Palo <vi64pa@koti.soon.fi>
1821 * XmlDataLoader.cs: XmlReader closing fixes.
1822 * XmlSchemaReader.cs: Added support for ref=
1824 2003-01-01 Ville Palo <vi64pa@koti.soon.fi>
1827 - Added XmlReader and XmlWriter Closing.
1828 - Moved ReadXmlSchema stuff to new internal class XmlSchemaMapper.
1829 * XmlSchemaMapper.cs
1830 - Much better way IMHO to map xmlschema than the old one in
1831 DataSet.cs. Its, more flexible, cleaner, ...
1833 2002-12-29 Ville Palo <vi64pa@koti.soon.fi>
1835 * XmlDataLoader.cs: Reading diffgrams.
1837 2002-12-29 Ville Palo <vi64pa@koti.soon.fi>
1839 * DataRow.cs: Little fix to indexer and DataColumnCang* trigger fixes.
1840 * DataTable.cs: Added ChanginDataColumn () for triggering
1841 DataColumnChanging event
1843 2002-12-28 Ville Palo <vi64pa@koti.soon.fi>
1845 * DataSet.cs: Indentations to WriteXmlSchema () and one little fix
1847 2002-12-28 Ville Palo <vi64pa@koti.soon.fi>
1849 * DataSet.cs: Indentations to WriteXml ()
1851 2002-12-27 Ville Palo <vi64pa@koti.soon.fi>
1854 * XmlDataLoader.cs: Moved ReadXml -stuff from DataSet.cs to new
1855 class XmlDataLoader.cs
1857 2002-12-19 Ville Palo <vi64pa@koti.soon.fi>
1859 * DataSet.cs Implemented ReadXml with XmlReadMode.ReadSchema
1861 2002-12-18 Ville Palo <vi64pa@koti.soon.fi>
1863 * DataSet.cs: Started to implement ReadXml-methods.
1865 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1867 * DataSet.cs: implemented DefaultViewManager and GetList.
1869 * DataViewManager.cs: a bit of work on IList and ITypedList needed by
1870 DataList in System.Web.
1872 * DataViewManagerListItemTypeDescriptor.cs: custom type descriptor for
1875 2002-12-16 Ville Palo <vi64pa@koti.soon.fi>
1878 * DataTable.cs: Fixed NullException (rollback -event)
1879 * DataSet.cs: WriteXml -method does not anymore write <?xml... row.
1881 2002-12-15 Ville Palo <vi64pa@koti.soon.fi>
1884 * DataRowCollection.cs: Moved event triggering from DataRow to
1887 2002-12-09 Ville Palo <vi64pa@koti.soon.fi>
1889 * DataSet.cs: Little fix to WriteTable () -method
1890 and DoReadXmlSchema () -method.
1892 2002-12-06 Ville Palo <vi64pa@koti.soon.fi>
1894 * DataSet.cs: Clean up to reading xmlschema. This looks much better
1895 now (work better too), but it not working correctly yet.
1897 2002-12-04 Ville Palo <vi64pa@koti.soon.fi>
1900 * DataRowCollection.cs: Added some event handlins stuff.
1901 * DataSet.cs: Some fixes.
1902 * DataTable.cs: Added event handlers.
1904 2002-11-30 Ville Palo <vi64pa@koti.soon.fi>
1906 * DataRowChangeEventArgs.cs: Implemented Action and Row properties
1908 2002-11-30 Ville Palo <vi64pa@koti.soon.fi>
1910 * System.Data/DataRow.cs: Added internal property XmlDataID
1912 2002-11-29 Ville Palo <vi64pa@koti.soon.fi>
1914 * DataSystem.Data.DataTableCollection.cs:
1915 Removed HashTable. There could be situations where DataTable
1916 is added to collection before it hava TableName. So using
1917 HashTable is impossible.
1919 2002-11-19 Carlos Guzmán Álvarez <carlosga@telefonica.net>
1921 * DataRow.cs: an object that is equal to null
1922 should be allowed to be set in this indexer too
1925 2002-11-06 Daniel Morgan <danmorg@sc.rr.com>
1927 * DataColumnPropertyDescriptor.cs: added file
1929 * System.Data/DataRowView.cs: started implementation
1931 * DataTable.cs: stubbed more interfaces. Implemented
1932 IListSource.GetList()
1934 * DataView.cs: stubbed more interfaces. Implemented
1935 some properties and methods: GetEnumerator(),
1936 ITypedList.GetItemProperties, Item indexer, CopyTo()
1938 2002-05-18 Nick Drochak <ndrochak@gol.com>
1940 * DataRow.cs: Fix typo.