1 2010-07-23 Veerapuram Varadhan <v.varadhan@gmail.com>
4 * DataColumnCollection.cs (MoveColumn): Fix shifting of DataColumn
5 according to the direction of movement.
7 2010-06-23 Veerapuram Varadhan <vvaradhan@novell.com>
10 * DataRelationCollection.cs (Add, Remove): Use DataRelation obj instead
11 of this when raising OnCollectionChang(ing, ed) events.
13 2010-04-11 Veerapuram Varadhan <vvaradhan@novell.com>
16 * DataColumn.cs (Clone): Use propert to clone Expression as it builds
17 compiled expression also, if any.
19 2010-04-10 Veerapuram Varadhan <vvaradhan@novell.com>
22 * DataColumn.cs (set_DataType): Preserve autoIncrement value
23 for Decimal types as well.
25 2010-04-09 Veerapuram Varadhan <vvaradhan@novell.com>
27 ** Fixes #576520 - Based on a patch by Greg SIROU <gspam@secway.fr>
28 * DataSet.cs (WriteColumnAsElement): Handle system.object types sanely.
30 2010-04-09 Veerapuram Varadhan <vvaradhan@novell.com>
33 * DataColumn.cs (Clone): Clone extended properties as well
35 2010-02-10 Marek Habersack <mhabersack@novell.com>
37 * XmlSchemaDataImporter.cs: the <connections> element might be
38 empty - make sure FirstChild of the element is not null before
39 attempting to use it. Fixes bug #578587
41 2009-10-30 Veerapuram Varadhan <vvaradhan@novell.com>
43 * DataTable.cs: Reuse old utility methods for raising DataTable
44 clearing/cleared events.
45 * DataRowCollection.cs (Clear): Raise DataTable clearing/cleared
46 events only for non 1.x profiles. Fixes broken 1.x build.
48 2009-10-30 Veerapuram Varadhan <vvaradhan@novell.com>
51 * DataTable.cs (Clear): Do not raise TableClearing/Cleared events as
52 they will be raised from DataRowCollection.Clear(). New utility methods
53 for raising TableClearing/TableCleared events from outside DataTable.
54 Don't manually reset indexes as ResetIndexes is called from
55 DataRowCollection.Clear
56 * DataRowCollection.cs (Clear): Raise TableClearing/Cleared events accordingly.
58 2009-10-29 Veerapuram Varadhan <vvaradhan@novell.com>
60 ** Fixes 332875 - based on analysis by Ben Martin <ben@trustorm.com.au>
61 * XmlSchemaDataImporter.cs (AddParentKeyColumn): If a table already has a
62 PrimaryKey column defined, when called again, fill the PKCol data into the
63 passed DataColumn and return.
65 2009-10-29 Veerapuram Varadhan <vvaradhan@novell.com>
67 ** Fixes #550960 - Patch by Stefano <stefano.sapienti@apsystems.it>
68 * DataTable.cs (BinarySerialize): Use datatype from DataColumn
69 instead of value of the column.
71 2009-10-14 Jonathan Pryor <jpryor@novell.com>
73 * XmlSchemaDataImporter.cs: Remove DbProviderFactories dependency in
74 the MonoTouch profile.
76 2009-10-13 Veerapuram Varadhan <vvaradhan@novell.com>
79 * XmlDiffLoader (LoadColumnAttributes/Children): Decode column names in
80 case if they are encoded.
82 2009-09-26 Veerapuram Varadhan <vvaradhan@novell.com>
84 ** Fixes part of #427769 - Patch by John Lenz <jlenz2@math.uiuc.edu>
85 * DataSet.cs: XML serialization improvements to be compatible with MS impl.
87 2009-09-15 Veerapuram Varadhan <vvaradhan@novell.com>
89 ** Fixes #536194 - Patch by Andrew Kurochk <aaki.viper@gmail.com>
90 * MergeManager.cs (Merge*): Do nothing when source and target
93 2009-09-10 Veerapuram Varadhan <vvaradhan@novell.com>
96 * DataView.cs (OnRowChanged/OnRowDeleted): Raise appropriate events iff
97 view is affected. This silence of the numerous Add/Change events that were
98 getting raised from DataView.
99 (ToTable): Use appropriate index to generated DataTable in case of
100 RowFilter / Sort conditions.
102 * DataRow.cs (AcceptChanges/RejectChanges): Raise appropriate Changing events
104 2009-09-03 Ivan N. Zlatev <contact@i-nz.net>
106 * DataColumnPropertyDescriptor.cs, DataView.cs: Not browsable if Hidden.
107 [Fixes the second part of bug #536547]
109 2009-08-25 Veerapuram Varadhan <vvaradhan@novell.com>
112 * DataViewManager.cs (CollectionToListChangeEventArgs) : Use a corresponding
113 DataTable/DataRelation obj instead of only DataRelation.
115 2009-07-30 Veerapuram Varadhan <vvaradhan@novell.com>
117 * CustomDataClassGenerator.cs (MakeSafeName): Throw NRE instead of
118 ArgumentNullException - fixes failing tests.
120 2009-07-23 Veerapuram Varadhan <vvaradhan@novell.com>
122 * XmlSchemaDataImporter.cs (HandleDataSourceAnnotation): Don't rely
123 on the order of elements.
125 2009-07-23 Veerapuram Varadhan <vvaradhan@novell.com>
127 * XmlSchemaDataImporter.cs: String.IsNullOrEmpty changes
129 2009-07-23 Veerapuram Varadhan <vvaradhan@novell.com>
131 * XmlSchemaDataImporter.cs: Added null checks.
133 2009-07-22 Veerapuram Varadhan <vvaradhan@novell.com>
135 * XmlSchemaDataImporter.cs:
136 CustomDataClassGenerator.cs: Silence off CWLs.
138 2009-07-22 Veerapuram Varadhan <vvaradhan@novell.com>
140 * CustomDataClassGenerator.cs (CreateCommandCollectionInitializeMethod):
141 Fix generation of DbCommand[] instead of DbCommand()[]. Fix IndexRef to
143 Avoid using SourceColumnNullMapping property in the constructor
144 of DbParameter while creating the code.
146 2009-07-18 Veerapuram Varadhan <vvaradhan@novell.com>
148 * CustomDataClassGenerator.cs (CreateDbSourceMethods): Handle cases of Scalar
149 and NoData QueryTypes.
151 2009-07-17 Veerapuram Varadhan <vvaradhan@novell.com>
153 * TableAdapterSchemaInfo.cs: Wrap DbCommand within DbCommandInfo and
154 define MethodInfo to hold method properties common to both Get and Fill.
156 * CustomDataClassGenerator.cs (CreateDbSourceMethods): Handle cases of Fill
157 and Get appropriately.
159 2009-07-16 Veerapuram Varadhan <vvaradhan@novell.com>
161 * CustomDataClassGenerator.cs (CreateDbSourceMethods): Handle
162 methods of type "Fill".
164 * XmlSchemaDataImporter.cs (ProcessDbParameters): Handle empty strings
165 while setting parameter properties.
167 2009-07-15 Veerapuram Varadhan <vvaradhan@novell.com>
169 ** Part of fix for #325464
170 * CustomDataClassGenerator.cs: Add implementation to generate
173 * DataSet.cs (TableAdapterSchemaData): New internal property that
174 holds TableAdapter details to generate code from.
176 * XmlConstants.cs: Add Msdatasource constant to handle
177 <...:xml-msdatasource> elements.
179 * XmlSchemaDataImporter.cs: Implement handling of <TableAdapter ...>
180 * TableAdapterSchemaInfo.cs: New
182 2009-05-16 Veerapuram Varadhan <vvaradhan@novell.com>
184 ** Fixes #325464 - ToolItems.xsd
185 * CustomDataClassGenerator.cs (CreateDataSetTableMembers): Prefix a "_" to
186 member names when it is same as that of the dataset. Fixes the CS0542 error
187 during compilation of the generated source.
189 2009-03-25 Ivan N. Zlatev <contact@i-nz.net>
191 * DataView.cs: Fire ListChanged when the RowFilter changes.
194 2009-02-24 Veerapuram Varadhan <vvaradhan@novell.com>
196 * *Fixes #377146 - in a better way
197 * XmlDataReader.cs (ReadElementElement): For reference types that
198 implement IXmlSerializable, call the corresponding ReadXml.
199 * DataSet.cs (WriteColumnAsElement): For reference types that implement
200 IXmlSerializable, call the corresponding WriteXml.
202 2009-02-24 Veerapuram Varadhan <vvaradhan@novell.com>
205 * DbType.cs: Add DateTime2 and DateTimeOffset - 3.5 additions
206 Patch by Jay Wren <jrwren@xmtp.net>
208 2009-01-05 Raja R Harinath <harinath@hurrynot.org>
210 * DataRelationCollection.cs (BinarySerialize): New. Carved out of ...
211 * DataSet.cs (BinarySerialize): ... this.
213 2009-01-04 Raja R Harinath <harinath@hurrynot.org>
215 * DataRelationCollection.cs: Sequester NET_2_0 and NET_1_1
216 specific code into separate parts.
218 * DataTableCollection.cs (BinarySerialize_Schema): New.
219 (BinarySerialize_Data): Likewise. Carved out of ...
220 * DataSet.cs (BinarySerialize): ... this.
222 2009-01-04 Raja R Harinath <harinath@hurrynot.org>
224 * DataTableCollection.cs: Sequester NET_2_0 and NET_1_1 specific
225 code into separate parts.
227 2009-01-02 Ivan N. Zlatev <contact@i-nz.net>
229 * DataViewManager.cs: Implement all MonoTODO. Fixes the WinForms
230 DataBinding unit tests.
232 2009-01-01 Ivan N. Zlatev <contact@i-nz.net>
234 * DataViewManager.cs: Hookup to the table/relations changed events and
235 raise ListChanged events accordingly.
237 2008-12-30 Gert Driesen <drieseng@users.sourceforge.net>
239 * DBConcurrencyException.cs: Marked .ctor taking DataRow [] as
240 internal so we can use it on the 1.0 profile (internally). Implemented
243 2008-12-29 Gert Driesen <drieseng@users.sourceforge.net>
245 * SqlDbType: Added Date and Time (2.0 only).
247 2008-11-18 Raja R Harinath <harinath@hurrynot.org>
250 * XmlConstants.cs (QnUnsignedShort): Rename from QnUsigned short
251 and fix the value too.
252 * XmlSchemaWriter.cs (XmlQualifiedName): Update to changes.
254 2008-09-27 Raja R Harinath <harinath@hurrynot.org>
256 * DataView.cs: Convert into a partial class and sequester
257 interface-implementations and NET_2_0 pieces into separate parts.
259 2008-09-16 brandin claar <brandin.claar@gmail.com>
260 Raja R Harinath <harinath@hurrynot.org>
262 * DataTable.cs (BinarySerialize): Handle empty DataTables.
263 (DeserializeRecords): Likewise.
264 (BinaryDeserializeTable): Allow DefaultValue to be set to any value.
266 2008-09-12 Raja R Harinath <harinath@hurrynot.org>
268 * DataTable.cs (NewRowAdded): Make into partial method.
269 (DataTableClearing, DataTableCleared): New partial methods.
272 * DataTable.cs: Sequester ISupportInitializationNotification
273 pieces into separate part.
274 (DataTableInitialized): Turn into a 'partial method' to avoid #ifs.
276 * DataTable.cs (AssertNotNullConstraints): Hoist out a more useful
277 loop-invariant by inverting loops.
278 (RowExists): Outdent. Rewrite for slightly better clarity.
279 (BeginLoadData): Outdent.
280 (GetChanges): Outdent. Replace GetEnumerator/while with foreach.
282 * DataTable.cs: Convert to a partial class, sequester NET_2_0
283 specific and IXmlSerializable specific pieces into separate parts.
285 2008-09-07 Raja R Harinath <harinath@hurrynot.org>
287 * DataSet.cs: Convert to a partial class and sequester NET_2_0
288 pieces into a separate part.
290 * DataRowView.cs: Convert to a partial class, and sequester
291 NET_2_0 parts into a separate part. Use partial classes instead
292 of ugly #region directives.
293 (Item): Remove redundant attributes. Cleanup slightly.
295 2008-09-05 Raja R Harinath <harinath@hurrynot.org>
297 * DataRowCollection.cs (RemoveInternal): Update RowIDs of rows
298 after the deleted row.
299 (IndexOf): Avoid loop to search for a row, since we already know
300 where a row is: its RowID.
301 (Remove): Use IndexOf rather than List.Contains.
303 * DataRowCollection.cs (InsertRow): Delegate setting of RowId
304 to the row itself. Use 'row.AttachAt' instead of 'row.AttachRow'.
305 (AddInternal): Likewise. Also delegate handling of
306 ChangeCurrentAndOriginal to AttachAt.
307 * DataRow.cs (AttachAt): Rename from AttachRow. Set rowId from
308 passed-in id. Handle ChangeCurrentAndOriginal and ChangeOriginal
311 * DataRow.cs (_hasParentCollection): Remove. Implied by _rowId >= 0.
312 (HasParentCollection): Remove.
313 * DataRowCollection.cs (AddInternal, InsertAt): Update to changes.
315 * DataTable.cs (NewRowArray): Special case size == 0 to avoid
316 creating a lot of garbage.
318 * DataRow.cs (Detach): Rename from DetachRow. Make private.
319 Simplify code to be more uniform. Move common prefix code here ...
320 (AcceptChanges) [Deleted]: ... from here ...
321 (Delete) [Added]: ... and here ...
322 (RejectChanges) [Added]: ... and here.
324 2008-09-04 Raja R Harinath <harinath@hurrynot.org>
326 * DataRow.cs (CheckChildRows) <1-arg variant>: Remove excessive
328 (CheckChildRows) <3-arg variant>: Likewise. Move/split loop
330 (EndEdit): Out-dent some code.
331 (IsNullColumns): Simplify slightly.
333 * DataRelationCollection.cs (CanRemove): Simplify slightly.
335 * DataRelation.cs (CheckStateForProperty): Use the childColumn to
338 * DataColumn.cs (AllowDBNull.set): Rearrange code to be more readable.
339 (AutoIncrement.set): Likewise.
341 (SetDefaultValue): Likewise.
343 2008-08-28 Raja R Harinath <harinath@hurrynot.org>
345 * Constraint.cs (SetExtendedProperties): New internal method.
347 (ExtendedProperties.set): ... here. Kill a #ifdef.
348 * DataTable.cs (DeserializeConstraints): Update to changes.
350 2008-08-27 Raja R Harinath <harinath@hurrynot.org>
352 * ConstraintCollection.cs (Item) <string variant>: Don't incur
353 additional check for index that's returned by 'IndexOf'.
354 (_createNewConstraintName): Improve readability of code.
355 (_isDuplicateConstraintName): Perform cheaper test first.
357 * ConstraintCollection.cs: Reduce some #ifdef by using partial
358 classes. Move 'sealed' and '[Serializable]' to appropriate
359 partial class declarations.
360 * DataRowCollection.cs: Likewise.
362 2008-08-13 Marek Habersack <mhabersack@novell.com>
364 * DataRow.cs: do not check whether a column is read-only when
367 2008-08-08 Raja R Harinath <harinath@hurrynot.org>
369 * DataColumn.cs: Update to changes in DataCollection.
371 2008-07-29 Veerapuram Varadhan <vvaradhan@novell.com>
374 * XmlDataReader.cs (ReadElementElement): Handle custom reference types sanely.
376 2008-07-20 Gert Driesen <drieseng@users.sourceforge.net>
378 * DataColumnCollection.cs (IndexOf): Include name of column - for which
379 there are multiple matches in a different case - in the exception
381 * DataRow.cs (this [int]): On 2.0 profile, throw ArgumentException if
382 value is null and datatype of column is a value type. On 1.0 profile,
383 only allow null value if datatype of column is string. Do not replace
384 value with DBNull.Value if value is null.
386 2008-07-04 Gert Driesen <drieseng@users.sourceforge.net>
388 * DataRow.cs: Use indexer of DataColumnCollection instead of IndexOf.
389 Cosmetic changes to exception message.
390 * DataColumnCollection.cs: Fixed off by one error in index check. Added
391 null check in name indexer. In Clear, also reset columnNameCount and
394 2008-07-03 Gert Driesen <drieseng@users.sourceforge.net>
396 * DataRow.cs: Added missing null checks. Cosmetic changes to exception
399 2008-07-03 Marek Habersack <mhabersack@novell.com>
401 * DataRow.cs (this []): Use DBNull instead of throwing an exception
403 2008-07-01 Rodrigo Kumpera <rkumpera@novell.com>
405 * DataTable.cs: Kill some foreach loops.
409 2008-07-01 Marek Safar <marek.safar@gmail.com>
411 * DataColumnCollection.cs: Made few simple optimizations.
413 2008-06-28 Zoltan Varga <vargaz@gmail.com>
415 * DataTable.cs (NewRowArray): Avoid using reflection if possible.
417 2008-06-19 Atsushi Enomoto <atsushi@ximian.com>
419 * DataRelation.cs : keep createConstraints flag for cloning in
420 DataSet.Merge(). Use different flag for initialization instead.
421 * MergeManager.cs : When cloning DataRelation, createConstraints
422 flag should depend on the source.
423 * XmlSchemaDataImporter.cs : create constraints when creating
426 2008-06-18 Atsushi Enomoto <atsushi@ximian.com>
428 * DataSet.cs : when InferSchema mode, ReadXml() should do "merging
430 * XmlDataInferenceLoader.cs : fixed primary key processing in
431 merging inference mode. Reuse existing one, instead of rejecting
434 2008-06-17 Atsushi Enomoto <atsushi@ximian.com>
436 * XmlSchemaWriter.cs, DataSet.cs, XmlTableWriter.cs, DataTable.cs,
437 XmlDataInferenceLoader.cs, XmlSchemaDataImporter.cs:
438 fix xsd output on msdata:Locale and msdata.UseCurrentCulture.
439 Output explicit Locale only when it is explicitly specified.
440 On the other hand, ReadXml/ReadXmlSchema fills Locale as en-US
441 by default (on .NET).
442 Some code unification in DataTable.WriteXmlSchema() overloads.
444 2008-06-16 Atsushi Enomoto <atsushi@ximian.com>
446 * DataColumn.cs : replaced Activator.CreateInstance() with
447 returning explicit Null member for each SqlXxx type.
449 2008-06-13 Atsushi Enomoto <atsushi@ximian.com>
452 DefaultValue can be non-DBNull. For SqlXxx type, it becomes
453 SqlXxx.Null. Also, changing DataType may change DefaultValue
454 to be consistent with the new type (say, having int DefaultValue
455 for new string DataType is wrong).
458 This should be fixed to take non-DBNull default value into
461 2008-06-12 Atsushi Enomoto <atsushi@ximian.com>
463 * DataSet.cs, DataTable.cs, XmlSchemaDataImporter.cs : constraints
464 on missing tables are ignored when reading a DataTable schema.
465 Fixes part of DataTableTest.ReadXmlSchema() test.
467 2008-05-30 Marek Habersack <mhabersack@novell.com>
469 * Constraint.cs: do not use synthetized event accessors (to avoid
472 2008-05-29 Marek Habersack <mhabersack@novell.com>
474 * DataColumn.cs: do not use synthetic methods for events - this
475 avoids unnecessary locking, especially for internal events.
477 2008-04-21 Gert Driesen <drieseng@users.sourceforge.net>
479 * DataRowView.cs: Modified argument names to match MS. Use
480 String.Empty instead of "". Code formatting.
482 2008-04-16 Veerapuram Varadhan <vvaradhan@novell.com>
484 * XmlDataInferenceLoader.cs (ReadXml): Make sure the name of
485 reference key column(s) in child tables are unique.
487 * XmlSchemaWriter.cs (WriteSchema, WriteDataSetElement,
488 WriteTableType, WriteChildRelations): Handle the scenario wherein
489 we have a relation and only one table. This can occur when we
490 have an XML with same parent/child table names.
492 2008-03-31 Veerapuram Varadhan <vvaradhan@novell.com>
494 * DataView.cs: Reverting rev#98474 changes - as it broke quite a
497 2008-03-23 Gert Driesen <drieseng@users.sourceforge.net>
499 * DataSet.cs: Corcompare fix.
500 * IDataRecord.cs: Corcompare fix.
502 2008-03-22 Gert Driesen <drieseng@users.sourceforge.net>
504 * DataViewSettingCollection.cs: Corcompare fixes and code formatting.
505 * SyntaxErrorException.cs: Corcompare fixes and code formatting.
506 * EvaluateException.cs: Corcompare fixes and code formatting.
507 * StrongTypingException.cs: Coecompare fixes and code formatting.
508 * ReadOnlyException.cs: Corcompare fixes and code formatting.
509 * DataTableCollection.cs: Corcompare fixes and code formatting.
510 * MissingPrimaryKeyException.cs: Corcompare fixes and code formatting.
511 * DeletedRowInaccesibleException.cs: Corcompare fixes and code
513 * DataSet.cs: Corcompare fixes and code formatting.
514 * DuplicateNameException.cs: Corcompare fixes and code formatting.
515 * DataView.cs: Corcompare fixes and code formatting.
516 * VersionNotFoundException.cs: Corcompare fixes and code formatting.
517 * MergeFailedEventArgs.cs: Corcomare fixes and code formatting.
518 * InvalidExpressionException.cs: Corcompare fixes and code formatting.
519 * DBConcurrencyException.cs: Corcompare fixes and code formatting.
520 * DataRowView.cs: Corcompare fixes and code formatting.
521 * DataViewManager.cs: Corcompare fixes and code formatting.
522 * ConstraintException.cs: Corcompare fixes and code formatting.
523 * InvalidConstraintException.cs: Corcompare fixes and code formatting.
524 * IDataRecord.cs: Corcompare fixes.
525 * RowNotInTableException.cs: Corcompare fixes and code formatting.
526 * TypeDataSetGeneratorException.cs: Corcompare fixes and code
528 * InRowChangingEventException.cs: Corcompare fixes and code formatting.
529 * NoNullAllowedException.cs: Corcompare fixes and code formatting.
530 * DataException.cs: Corcompare fixes and code formatting.
532 2008-03-17 Veerapuram Varadhan <vvaradhan@novell.com>
534 ** Fixes part1 of #357947
535 * DataView.cs: (OnRowDeleted): Don't call update, instead delete the row
536 directly from Index. Peformance fix submitted by Hubert FONGARNAND
537 <informatique.internet@fiducial.fr>.
539 2008-02-04 Arina Itkes <arinai@mainsoft.com>
541 * DataTable.cs: Fix for IXmlSerializable.ReadXml.
543 2008-01-28 Arina Itkes <arinai@mainsoft.com>
545 * DataTable.cs: Fix for IXmlSerializable.WriteXml.
547 2007-10-21 Gert Driesen <drieseng@users.sourceforge.net>
549 * DataColumn.cs: Fixed ParamName of ArgumentNullException. Modified
550 exception message for invalid DateTimeMode value to match MS. Code
553 2007-10-19 Nagappan <anagappan@novell.com>
555 * DataRelation.cs: Removed bogus TODO.
557 2007-09-27 Nagappan A <anagappan@novell.com>
559 * DataRelationCollection.cs: Added LAME spec comment as there is no
560 relevant event. Removed MonoTODO too.
562 2007-09-26 Nagappan A <anagappan@novell.com>
564 * DataView.cs (ToTable): Added params keyword.
566 * DataTable.cs: Added XmlSchemaProvider attribute.
568 2007-09-25 Konstantin Triger <kostat@mainsoft.com>
570 * DataSet.cs: correct WriteAttributeString while writing xml with
571 XmlWriteMode.WriteSchema.
573 2007-09-25 Nagappan A <anagappan@novell.com>
575 * DataTable.cs: Code alignment.
577 2007-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
579 * DataColumnCollection.cs: refactoring, fixed columnNameCount comparer
580 to remove culture sensitive ToLower() calls
582 2007-07-22 Nagappan A <anagappan@novell.com>
584 * DataRow.cs: Added internal set property for Table in 2.0
587 * DataColumn.cs: Added internal set property for Table in 2.0
590 2007-07-01 Gert Driesen <drieseng@users.sourceforge.net>
592 * DataRowCollection.cs: Only override Count on 2.0 profile.
593 * RelatedDataView.cs: Fixed line endings.
594 * XmlDataInferenceLoader.cs: Fixed line endings.
596 2007-06-30 Gert Driesen <drieseng@users.sourceforge.net>
598 * DataTableCollection.cs: CopyTo is 2.0 only. Removed extra tabs,
599 and changed spaces to tabs.
601 2007-06-06 Nagappan A <anagappan@novell.com>
603 * DataTable.cs (Select): Removed ununsed variable.
605 2007-05-30 Nagappan A <anagappan@novell.com>
607 * DataColumnCollection.cs (CopyTo): Method specific to 2.0
610 * DataRowCollection.cs (Count): Property is overridden in 2.0
613 * TypedDataSetGenerator.cs: Class is obsolete in 2.0 profile.
615 * DataRelationCollection.cs (CopyTo): Method specific to 2.0
618 2007-05-18 Rolf Bjarne Kvinge <RKvinge@novell.com>
620 * CustomDataClassGenerator.cs: Misc fixes in order to emit correct VB code.
621 CreateDataSetDefaultCtor: we're creating a delegate, not an object, so use a DelegateCreateExpression.
622 CreateDataSetSchemaChanged: we're comparing value types, use the correct equality operator.
623 CreateTableGetEnumerator: explicity state that the method is an implementation of IEnumerable.GetEnumerator.
624 CreateTableEventStarter: we're invoking a delegate, so use a DelegateInvokeExpression.
625 Several changes to not generate members with names that only differ by case.
627 2007-05-18 Chris Toshok <toshok@ximian.com>
629 * DataColumnCollection.cs (Add ()): handle the default name case
631 (Add (string)): same - let Add(DataColumn) handle the default name
633 (Add (DataColumn)): in the 1.1 case, we need to add the column's
634 PropertyChanged handler *before* possibly setting the column name
635 to the default so we emit the right events (Changed/Added). In
636 the 2.0 case, we add the event handler after the name is set, and
637 therefore only emit the Added event.
639 2007-05-07 Adar Wesley <adarw@mainsoft.com>
641 * ConstraintCollection.cs: added CopyTo method with strongly typed Constraint[]
644 * DataTable.cs: added implementation of IXmlSerializable. Added missing
645 method ReadXmlSerializable.
647 2007-04-19 Chris Toshok <toshok@ximian.com>
649 * DataColumnCollection.cs (Add): the Element in our
650 CollectionChangedEventArgs should be the column, not the
651 collection. Also, add an event handler for the column's
652 PropertyChanged event so we can propagate metadata changes.
653 (Remove): Analogous change to the CollectionChangedEventArgs as in
654 Add. Also, unhook the column's PropertyChanged event.
655 (OnCollectionmetaDataChanged): emit our new event.
656 (ColumnPropertyChanged): called when the column's ColumnName
657 property changes. Emit the proper CollectionChangeEvent.
659 * DataView.cs (ColumnCollectionChanged): fix up the comment about
660 CollectionChangeAction.Refresh, and make explicit what generates
662 (RegisterEventHandlers): hook up
663 DataColumnCollectoin.CollectionMetaDataChanged.
664 (RegisterEventHandlers): unhook
665 DataColumnCollectoin.CollectionMetaDataChanged.
667 2007-02-23 Nagappan A <anagappan@novell.com>
669 * DataRow.cs (Item): Checks whether this DataRow exist in the
670 DataRowCollection, then compute the expression. Fixes bug #
673 * DataRowCollection.cs (IndexOf): Modified as internal method for
676 * XmlDataReader.cs (StringToObject): DataTables containing
677 System.Type throw exception on deserializing. Fixes bug # 80596.
679 * XmlDataLoader.cs (StringToObject): DataTables containing
680 System.Type throw exception on deserializing. Fixes bug # 80596.
682 2007-02-20 Konstantin Triger <kostat@mainsoft.com>
684 * XmlSchemaDataImporter.cs: ensure the tables are created in document order.
686 2007-02-19 Konstantin Triger <kostat@mainsoft.com>
688 * XmlDataReader.cs, XmlDataInferenceLoader.cs, XmlDiffLoader.cs:
689 ignore attributes from "http://www.w3.org/XML/1998/namespace".
690 * XmlConstants.cs: add constant for "http://www.w3.org/XML/1998/namespace".
691 * XmlDataInferenceLoader.cs: track the added elements index to fix the
692 added column ordinal.
694 2006-12-11 Chris Toshok <toshok@ximian.com>
696 * DataView.cs: GetItemProperties should return an empty collection
697 if we have no data table. Presently we NRE.
699 2006-12-08 Nagappan A <anagappan@novell.com>
701 * DataTable.cs (ReadXml): Removed if condition, as it should not
702 check the exception string.
704 2006-12-07 Chris Toshok <toshok@ximian.com>
706 * DataView.cs: add CollectionChangeEventHandler's on the
707 ChildRelations and ParentRelations collections, and emit
708 ListChanged events with PropertyDescriptor.Added/Deleted/Changed
711 2006-12-07 Nagappan A <anagappan@novell.com>
713 * DataTable.cs (ReadXml): Integrated the implementation of
714 ReadXml, patch provided by deepak_2603@yahoo.com.
716 2006-12-05 Nagappan A <anagappan@novell.com>
718 * DataTable.cs (WriteXmlSchema): Using XmlTextWriter instead of
719 XmlWriter, solved the File Sharing IO Exception.
721 2006-11-28 Hubert FONGARNAND, FrAcdAcric Mestayer <informatique.internet@fiducial.fr>
723 * DataColumnCollection.cs : Improved Column searching when not
724 using exact column name (case sensitivity). Fixes bug # 80075.
726 2006-11-28 Nagappan A <anagappan@novell.com>
728 * XmlSchemaDataImporter.cs: Fixed 2.0 profile compilation
729 warnings. Using AttributeSchemaType instead of AttributeType and
730 ElementSchemaType instead of ElementType.
732 * TypedDataSetGenerator.cs: Modified the profile check from
733 !NET_1_1 to !NET_1_0, as this class is obsolete from 1.1 profile.
735 * DataRelationCollection.cs (Item): Modified the property Item as
736 abstract and implemented it in DataSetRelationCollection and
737 DataTableRelationCollection classes.
739 * DataRowView.cs: Remove bogus MonoTODOs.
741 * ForeignKeyConstraint.cs (ForeignKeyConstraint): Implemented
742 2.0 profile's missing constructor.
744 * XmlDataLoader.cs (StringToObject): Modify XmlConvert.ToDateTime
745 to use XmlDateTimeSerializationMode, as the default ToDataTime
748 * XmlDataReader.cs (StringToObject): Modify XmlConvert.ToDateTime
749 to use XmlDateTimeSerializationMode, as the default ToDataTime
752 * DataView.cs (IsInitialized): Added browsable attribute.
754 * DataViewSettingCollection.cs (CopyTo): Implemented missing 2.0
757 * DataRelation.cs (DataRelation): Added 2.0 profile constructor to
758 take parentTableNameSpace and childTableNameSpace as argument.
759 (FinishInit): Update parentTableNameSpace and childTableNameSpace,
760 when the string is not empty in 2.0 profile.
762 * DataRowCollection.cs: Implemented Count public property.
763 Added !NET_2_0 for List protected property, as it has been removed
765 (IndexOf): Implemented new public method.
766 (CopyTo): Implemented new public override method.
767 (GetEnumerator): Implemented new public override method.
769 * DataTable.cs (Load): Throw ArgumentNullException, when reader
771 (WriteXmlSchema): Throw InvalidOperationException, when table name
772 is empty. When DataSet Namespace is set, append that with '_x003A_'
774 (IsInitialized): Added browsable attribute.
776 * DataSet.cs (Load): Throw ArgumentNullException, when reader
778 (IsInitialized): Added browsable attribute.
779 (WriteObjectXml): Modify XmlConvert.ToDateTime to use
780 XmlDateTimeSerializationMode, as the default ToDataTime method id
783 * XmlSchemaWriter.cs (WriteSchema): Modified UseCurrentCulture to
785 (WriteDataSetElement): Added minOccurs attribute.
786 (WriteConstraints): Check for tables length, if > 1 then add the
787 relations to XmlSchema.
789 2006-11-21 Nagappan A <anagappan@novell.com>
791 * DataView.cs: Added public event Initialized.
792 (IsInitialized): Implemented public function to check whether a
793 dataview is initialized or not.
795 * DataSet.cs: Added ISupportInitializeNotification for .NET 2.0
797 (RemotingFormat): Set the default value attribute as
798 SerializationFormat.Xml.
799 (IsInitialized): Implemented public function to check whether a
800 table is initialized or not.
801 (CreateDataReader): Added params keyword in argument.
802 (Load): Implemented all Load overloaded functions.
803 (GetObjectData): Modified to public for .NET 2.0 implementation.
804 (IsBinarySerialized): Implemented the public API to check whether
805 the given stream is binary serialized or not.
806 * DataTable.cs: Added ISupportInitializeNotification for .NET 2.0
809 2006-11-15 Nagappan A <anagappan@novell.com>
811 * DataTable.cs (RemotingFormat): Set the default value attribute
812 as SerializationFormat.Xml.
813 (OnTableNewRow, NewRowAdded): Implemented new function to raise an
814 event when a new row is added to the table.
815 (DataTableInitialized, OnTableInitialized): Implemented new
816 function to raise an event when a table is initialized.
817 (IsInitialized): Implemented public function to check whether a
818 table is initialized or not.
819 (OnTableClearing): Raise an event before the table is cleared.
820 (GetObjectData): Modified to public for .NET 2.0 implementation.
821 (Load): Implemented missing API to call the registered delegate
822 function on load exception.
823 (WriteXmlSchema): Implemented overloaded function to write the
824 hierarchy with XML Schema.
826 2006-11-15 Konstantin Triger <kostat@mainsoft.com>
828 * DataTable.cs: Fixed LoadDataRow scenarios.
829 * DataRowCollection.cs: Added override for AddInternal taking DataRowAction parameter.
831 2006-11-14 Konstantin Triger <kostat@mainsoft.com>
833 * DataColumn.cs: consider row version wen checking row.IsNull().
835 2006-10-18 Nagappan A <anagappan@novell.com>
837 * ForeignKeyConstraint.cs (_validateColumns): Parent and child
838 columns can't be the same column - Exception, bug # 79689
840 2006-10-13 Nagappan A <anagappan@novell.com>
842 * DataTable.cs (DeserializeConstraints): Fine tuned the
843 serialization and deserialization of constraints.
845 * DataRelationCollection.cs (Contains): Fixes bug
846 #79233. DuplicateNameException when two relations for different
847 DataTables in DataSet are defined
849 2006-10-06 Patrick Earl <mono@patearl.net>
851 * DataTable.cs, XmlTableWriter.cs, XmlSchemaWriter.cs, DataSet.cs:
852 Implemented DataTable.WriteXml
854 2006-09-26 Nagappan A <anagappan@novell.com>
856 * DataTable.cs, DataSet.cs, DataColumn.cs, Constraint.cs,
857 DataRow.cs: Implementation of Binary Serialization /
860 * DataTable.cs (RowsExist): Check rows based on version.
862 * DataRow.cs: Raise exception same as MS.NET. Thanks to
863 Hubert FONGARNAND <informatique.internet@fiducial.fr> for
864 providing this patch.
866 2006-09-07 Vladimir Krasnov <vladimirk@mainsoft.com>
868 * DataSet.cs: added 2.0 stubs to solve typed dataset porting issues
870 2006-08-30 Nagappan A <anagappan@novell.com>
872 * DataRow.cs (EndEdit): DataRow.EndEdit emits RowChanged too
873 often. Fixes bug # 78885.
875 2006-08-14 Konstantin Triger <kostat@mainsoft.com>
877 * DataTableCollection.cs, DataRelationCollection.cs, DataRowCollection.cs,
878 DataColumnCollection.cs: implemented specialized CopyTo() method.
880 2006-07-26 Nagappan A <anagappan@novell.com>
882 * DataTable.cs (GetIndex): Fixes memory explode on
883 DataTable.Select - Bug # 77691.
885 2006-07-25 Nagappan A <anagappan@novell.com>
887 * DataView.cs (OnRowCollectionChanged): On DataTable.Clear,
888 setting rowCache to empty DataRowView. Fixes bug # 78610.
890 * DataTable.cs (AcceptChanges): Raises Reset event. Fixes bug #
893 2006-07-20 Senganal T <tsenganal@novell.com>
896 - Merge : moved the columntypecheck to AdjustSchema,
897 Remove the unncessary calls to Table.ResetIndexes.
898 - AdjustSchema : check for columntypes
899 Thanks to Deepak Kr Valechha for the patch
901 2006-07-17 Senganal T <tsenganal@novell.com>
904 - ToTable : Implemented all the overloads
905 - Equals : Implemented
906 - IBindingListView : Implemented the interface
908 2006-07-15 Senganal T <tsenganal@novell.com>
910 * DataTableCollection.cs :
911 - Contain,IndexOf,Remove,Add,Indexer : support for table
912 namespace. Remove redundant checks in Remove/Add.
914 2006-07-14 Senganal T <tsenganal@novell.com>
917 - SetOrdinal : Implemented
918 - Ordinal : added internal set
919 * DataColumnCollection.cs :
920 - Add : Set the column ordinals
921 - MoveColumn : Changes the position of column in the
924 2006-07-14 Senganal T <tsenganal@novell.com>
927 - Merge - Implement the merge methods
928 - Clone - Ensure column's DateTimeMode property is also copied
930 - DateTimeMode : Implemement
931 - DataTypeMatches : Added. In 2.0 profile, test DateTime
932 property when verifying column types.
934 - ctr : For DateTime columns, check DateTimeMode property
935 * ForeignKeyConstraint.cs :
936 - _validateColumns : For DateTime columns, check DateTimeMode
939 - Merge : Added. Overload to merge two tables
940 - ResolveColumns : Change the method to use a table instead of
942 - Renamed AdjustSchema to AdjustSchemaRelations
944 2006-07-13 Senganal T <tsenganal@novell.com>
947 - WriteTables : Remove some commented out code
948 - WriteTable : Fix the logic to skip the table data when the
949 table has a nested relation.
952 2006-07-12 Senganal T <tsenganal@novell.com>
954 * ConstraintCollection.cs :
955 - Remove (string): If constraint name is not found, throw exception
956 - Remove (Constraint): Set the ConstraintCollection of the removed
958 Thanks to Deepak Kr Velachha for reporting the bug.
960 2006-07-12 Senganal T <tsenganal@novell.com>
963 - LoadColumnChildren : If schema name is missing, skip the
965 Thanks to Deepak Kr Velachha for identifying the bug.
967 2006-07-11 Senganal T <tsenganal@novell.com>
969 * XmlSchemaWriter.cs :
970 - WriteTableType : If Relation.Nested is true, then nest the
971 table schemas. Correct the xml to add the table element within
972 the <Sequence> element.
973 - WriteChildRelations : Correct the Xml element name and
974 attributes. Close the attribute correctly.
976 * XmlSchemaDataImporter.cs :
977 - GenerateRelationship : When creating the relations, if
978 ParentColumn exists but Corr ChildCol is null, create a child
979 Column with the same name and type as the parent column.
980 - Renamed DataSetDefinesPrimaryKey to DataSetDefinesKey
981 - DataSetDefinesKey : if either xsd:key or xsd:keyref is
982 defined for the dataset, do not manually create the relations.
983 - AddParentKeyColumn : if Columnname already exists, use
984 colname_0 instead of throwing an exception.
985 - FillDataColumnRepeatedSimpleElement : Do not set the Unique
986 value as it creates a constraint by default. The unique value
987 is automatically set when pk is set.
988 - CreateChildColumns : Added. Creates a ChildColumn duplicating
989 ParentColumn properties.
991 2006-06-30 Senganal T <tsenganal@novell.com>
994 - SetAdded, SetModified : new methods in 2.0
996 2006-06-30 Senganal T <tsenganal@novell.com>
997 * SerializationFormat.cs, DataSetDateTime.cs, DataTableNewRowEventArgs.cs,
998 DataTableNewRowEventHandler.cs : Added
999 * SyntaxErrorException.cs EvaluateException.cs StrongTypingException.cs
1000 IsolationLevel.cs ReadOnlyException.cs DataTableCollection.cs
1001 DataRowState.cs MissingPrimaryKeyException.cs DeletedRowInaccessibleException.cs
1002 DuplicateNameException.cs PropertyAttributes.cs StatementType.cs
1003 VersionNotFoundException.cs FillErrorEventHandler.cs DataRowChangeEventHandler.cs
1004 XmlWriteMode.cs InvalidExpressionException.cs StateChangeEventHandler.cs
1005 DbType.cs DataColumnChangeEventHandler.cs KeyRestrictionBehavior.cs
1006 ConnectionState.cs SchemaType.cs MergeFailedEventHandler.cs SqlDbType.cs
1007 DataRowVersion.cs ForeignKeyConstraint.cs DBConcurrencyException.cs
1008 OperationAbortedException.cs MissingSchemaAction.cs DataTableClearEventHandler.cs
1009 DataRowView.cs DataRowAction.cs ConstraintCollection.cs DataTableReader.cs
1010 LoadOption.cs InvalidConstraintException.cs InternalDataCollectionBase.cs
1011 ParameterDirection.cs AcceptRejectRule.cs UpdateRowSource.cs XmlReadMode.cs
1012 TypedDataSetGenerator.cs RowNotInTableException.cs TypeDataSetGeneratorException.cs
1013 InRowChangingEventException.cs MissingMappingAction.cs NoNullAllowedException.cs
1014 CommandBehavior.cs PropertyCollection.cs CommandType.cs
1015 UpdateStatus.cs ConflictOption.cs DataViewRowState.cs Rule.cs
1016 DataColumnCollection.cs :
1019 2006-06-27 Senganal T <tsenganal@novell.com>
1021 * DataSet.cs, DataTable.cs : implement CreateDataReader methods
1022 * InternalDataCollectionBase.cs
1023 - ToArray () : helper method
1024 * DataTableReader.cs :
1025 - GetSchemaTable : set the schema info correctly
1026 - GetProvider*, GetChars, GetBytes, GetValues :
1027 Implemented the methods
1028 - GetName : return the name of corresponding schema.
1029 - ValidateSchemaIntact, OnColumnCollectionChanged,
1031 Listen and raise expception if schema changes
1033 2006-06-21 Chris Toshok <toshok@ximian.com>
1035 * DataView.cs: update the index after we successfully add the new
1036 row. This keeps the dataview's row view count in sync with the
1039 2006-06-20 Chris Toshok <toshok@ximian.com>
1041 * DataView.cs: the PropertyDescriptorCollection returned by
1042 ITyepdList.GetItemProperties should include the child relations of
1043 our table, in order to match MS's behavior.
1045 * DataViewManager.cs: ICollection.Count property is always 1.
1047 2006-06-15 Senganal T <tsenganal@novell.com>
1050 - Select : If Sort String is not provided, sort the result
1051 DataRows in Ascending Order of the Columns used in the filter
1053 2006-06-15 Senganal T <tsenganal@novell.com>
1056 - InternalEnforceConstraints : Check if any null constraints
1057 are violated. Throw ConstraintException only after all the errors
1060 - EnforceConstraints : Move away the logic to check for
1061 NullConstraintViolation.
1062 - AssertNotNullConstraint : Checks for Null Constraint
1064 - EndLoadData : Do not throw any exceptions here. All the
1065 errors have to be found and RowErrors set before throwing the
1068 - ImportRecrod : Check the values of the row for any null
1070 - SetColumnError : If the error for column is already set,
1071 do not add a new error but edit the existing error.
1072 - CheckValue : Set the NullConstraintViolation flag if either
1073 table is being loaded or if EnforceConstraints is set to
1075 * Constraint.cs : Do not throw exception when EnforceConstraints is
1076 set to false or table is being loaded.
1077 * UniqueConstraint.cs : Correct the error message. Set ColumnErrors
1078 along with the RowError.
1080 2006-05-31 Gert Driesen <drieseng@users.sourceforge.net>
1082 * DataTable.cs: Renamed initInProgress to fInitInProgress. BeginInit
1083 and EndInit must only be virtual in 2.0 profile. Set eol-style to CRLF.
1085 2006-05-31 Senganal T <tsenganal@novell.com>
1087 * XmlDataInferenceLoader.cs :
1088 - InferTableElement : Repeated element should result in a single
1090 Patch from Deepak Kr Velachha
1092 2006-04-21 Senganal T <tsenganal@novell.com>
1094 * DataRowCollection.cs :
1095 - Find : If search on the table using PrimaryKey fails and if
1096 index is not being maintained (during table load), search the
1098 - Find (int) : Removed. Deadcode.
1100 - Not necessary to delete each row from the Index.
1101 Just reset the Indexes after cleaning up the row
1103 - Simplify dependency check for child tables
1106 - Do not use DataRowCollection.Find to search for
1107 existing records as this wud check even newly loaded rows.
1109 - Do not add new records to Index. Update Index only
1110 if an existing record is modified. New records will be
1111 taken care by EndLoadData.
1113 2006-04-19 Senganal T <tsenganal@novell.com>
1115 * XmlHelper.cs : A helper class for encoding/decoding schema names.
1116 Caches the Schema names to minimize encoding/decoding operations and
1117 duplicate strings created.
1119 - Use XmlHelper for encoding/decoding schema names.
1120 - Encode ConstraintNames when writing as xml.
1123 * XmlDataInferenceLoader.cs
1124 * XmlSchemaDataImporter.cs
1125 - Use XmlHelper for encoding/decoding schema names.
1126 * DataTableCollections : Minor code refactor.
1127 * DataRow.cs : Create XmlElement only if required.
1129 2006-04-07 Senganal T <tsenganal@novell.com>
1132 - InternalEnforceConstraints() : Reset Indexes of all tables
1133 before validating constraints. Fixes #78010
1135 2006-03-04 Boris Kirzner <borisk@mainsoft.com>
1136 * TypeDataSetGeneratorException.cs: fix .Net Soap serialization compatibility.
1138 2006-03-25 Senganal T <tsenganal@novell.com>
1141 - RejectChanges : When row is in Deleted state, add the row back to
1142 Indexes and Validate the row.
1145 2006-03-23 Senganal T <tsenganal@novell.com>
1148 - LoadDataRow : Add the row to the indexes, when loading a new row.
1150 2006-03-22 Senganal T <tsenganal@novell.com>
1153 - PrimaryKey : Set the IsPrimaryKey attribute before Removing from collection.
1154 - RemoveUniqueConstraints : Removed. dead code.
1157 - If adding/removing constraint fails, retain Unique value
1158 - Remove redundant code
1159 * UniqueConstraint.cs :
1160 - SetIsPrimaryKey : Added. Sets the value of IsPrimaryKey.
1161 - RemoveFromConstraintCollectionCleanup : If constraint is on a single column, then
1162 set Unique for that column to false.
1163 - CanRemoveFromCollection : Do not remove constraint, if its a PrimaryKey
1165 2006-03-20 Senganal T <tsenganal@novell.com>
1168 - CopyRelations () : When copying the relation, do not add constraints
1169 automatically for the relation.
1170 - OnMergeFailed () : If merge fails and no handler is set for the MergeFailedEvent,
1171 then throw DataException
1172 * ConstraintCollection.cs :
1173 - Add () : Check if a constraint already exists on the Columns that are being
1175 - IndexOf () : Do not check for equivalent constraints, check for the exact instance.
1176 * MergeManager.cs ():
1178 - Handle the MissingSchemaAction.Error case,
1179 - Do not create constraints when mergin the DataRelation
1180 - Follow the semantics for schema merge/validation when constraints are already present
1181 in the target DataSet.
1182 - AdjustPrimaryKeys () :
1184 - Verify Order of Columns in the PrimaryKey when merging.
1185 - ResolveColumns : Changed the arument to DataSet. Simplifies code elsewhere.
1186 - CompareColumnArrays, CompareColumnArrays : Helper funtions.
1188 2006-03-09 Senganal T <tsenganal@novell.com>
1191 - RejectChanges () : Add the row to index, if it was in deleted state and
1192 Update the index if in Modified State.
1193 - AcceptChanges () : Do not update the Indexes.
1194 - EndEdit () : Update the indexes even if BeginLoadData has been called
1195 on the table. Ideally, indexes should not be maintained during DataLoad,
1196 but this needs to handled in multiple places correctly. For now, just maintain
1197 the index to ensure correct operation.
1199 2006-03-05 Senganal T <tsenganal@novell.com>
1202 - BeginInit (), EndInit () : Implemented methods
1203 - InitInProgress : Added.
1205 - EndInit () : Move the adding of columns and constraints
1207 - FinishInit () : Added. Adds the Constraints and Columns
1209 - InitInProgress : Added.
1211 - FinishInit () : Added. Virtual method
1212 - InitInProgress : Added. Virtual property
1213 * UniqueConstraint.cs
1214 * ForeignKeyConstraint.cs
1215 - FinishInit () : Added.
1216 - InitInProgress : Added.
1217 - DataColsNotValidated : Removed.
1218 * ConstraintCollection.cs
1219 - PostAddRange : Removed event
1220 - PostEndEdit () : Renamed to PostAddRange
1221 - Add () : Simplified the testing if constraint is initialized
1222 - AddRange () : Simplified initializing the constraints
1223 * DataTableCollection.cs
1224 - PostAddRange () : Added. Adds the tables to the collection
1225 * DataColumnColletion.cs
1226 - PostEndInit () : Renamed to PostAddRange.Also, add column to
1227 the collection only if not null.
1229 Added/Implemented methods for design time support. Renamed some methods for consistency
1230 in naming across classes for methods serving the same purpose.
1232 2006-02-24 Senganal T <tsenganal@novell.com>
1234 * UniqueConstraint.cs :
1235 - ChildConstraint : Added. Simplifies verifying if constraints are
1237 - CanRemoveFromCollection : Fixed the check to verify if constraints is
1238 linked to a ForeignKeyConstraint. Fixes #77630
1239 * ForeignKeyConstraint.cs :
1240 - _validateRemoveParentConstraint : Removed. Not used anymore
1241 - ParentConstraint : Added. Simplifies verifying if constraints are
1243 2006-02-22 Senganal T <tsenganal@novell.com>
1246 - RejectChanges : Do not remove Row from Indexes when state is Deleted.
1247 - CheckChildRows : When checking for the ChildRows, use the current value
1248 and not the original value.
1250 2006-02-18 Atsushi Enomoto <atsushi@ximian.com>
1252 * CustomDataClassGenerator.cs : Patch by Marek Habersack. xsd now
1253 outputs AutoIncrement, AutoIncrementSeed, AutoIncrementStep and
1254 ReadOnly properties. This fixes bug #77576.
1256 2006-02-17 Chris Toshok <toshok@ximian.com>
1258 * System.Data/DataSet.cs, System.Data/DataView.cs,
1259 System.Data/ForeignKeyConstraint.cs,
1260 System.Data/DataViewManager.cs, System.Data/DataRow.cs,
1261 System.Data/DataSysDescriptionAttribute.cs,
1262 System.Data/UniqueConstraint.cs, System.Data/DataTable.cs,
1263 System.Data/DataRelation.cs: lots of attribute work, removing
1264 DataSysDescription atributes (and marking the class obsolete) for
1267 2006-02-17 Chris Toshok <toshok@ximian.com>
1269 * DataAdapterException.cs: remove this file.
1271 2006-02-17 Chris Toshok <toshok@ximian.com>
1273 * DataTableReader.cs: Switch to the (bool) form of Dispose to
1274 override, as the no-arg form isn't virtual.
1276 * Constraint.cs: #ifdef out more DataSysDescriptions.
1278 * ConstraintException.cs: add ..ctor (string, Exception) for 2.0.
1280 2006-02-17 Chris Toshok <toshok@ximian.com>
1282 * DataColumn.cs: #ifdef all the DataSysDescriptions !NET_2_0.
1284 * AdapterMappingException.cs: nuke this file.
1286 * IDbAsyncConnection.cs, IDbAsyncCommand.cs, IGetTypedData.cs,
1287 ISetTypedData.cs, IDataReader2.cs, IDataSources.cs,
1288 IDbExecutionContext.cs, IDataRecord2.cs, IDataUpdatableRecord.cs:
1289 remove these 2.0 files.
1291 2006-02-17 Chris Toshok <toshok@ximian.com>
1293 * ConstraintCollection.cs: in 2.0, class is not serializable and
1294 is sealed. make all the "virtuals" #if !NET_2_0 as well.
1296 * Constraint.cs: not serializable in 2.0.
1298 * DataColumnCollection.cs: in 2.0, class is not serializable and
1299 is sealed. make all the "virtuals" #if !NET_2_0 as well.
1301 * DataRelationCollection.cs: not serializable in 2.0.
1303 * DataRelation.cs: not serializable in 2.0.
1305 * DataRowBuilder.cs: class is sealed in 2.0.
1307 * DataRowCollection.cs: in 2.0, class is not serialized and is
1308 sealed. Also, Add isn't virtual in 2.0 (as the class is sealed).
1310 * DataRow.cs: not serializable in 2.0.
1312 * DataSet.cs: remove some DataSysDescriptions from the 2.0 build,
1313 and s/GetDataReader/CreateDataReader.
1315 * DataTableCollection.cs: in 2.0, class is not serializable and is
1316 sealed. make all the "virtuals" #if !NET_2_0 as well.
1318 * DataTableReader.cs: remove VisibleFieldCount property.
1320 * DataViewSettingCollection.cs: not serializable in 2.0.
1322 * DataViewSetting.cs: not serializable in 2.0.
1324 * ForeignKeyConstraint.cs: serializable in 2.0.
1326 * OperationAbortedException.cs: class is sealed and serializable.
1328 * PropertyCollection.cs: serializable in 2.0.
1330 * StatementCompletedEventArgs.cs: class is sealed.
1332 * UniqueConstraint.cs: not serializable in 2.0.
1334 2006-02-16 Senganal T <tsenganal@novell.com>
1337 WriteDataSetElement : Add an annotation element if exists.
1338 WriteDataRelationAnnotation : New. Write a DataRelation as an annotation.
1339 WriteConstraints : Write ForeignKeyConstraint even when not associated with
1340 a DataRelation and add a "ConstraintOnly=true" attribute for such constraints.
1341 * XmlConstants.cs : Add a new constant - ConstraintOnly
1342 * XmlSchemaImporter.cs :
1343 - ConstraintStructure : Add field ,IsConstraintOnly, to distinguish if a foreignkeyconstraint
1344 is related to relation or not.
1345 - GenerateRelation : Handle the case when parentkey and childkey contain multiple columnnames.
1347 2006-02-11 Senganal T <tsenganal@novell.com>
1349 * UniqueConstraint.cs :
1350 - PostAddRange : Check PrimaryKey is not already set for the table
1352 - PrimaryKey : follow ms.net behavior when BeginInit , EndInit is used.
1353 - Add new priamry key only when EndInit is called.
1354 - Incase of an error, retain old primarykey
1356 - Add Constraints after columns are added.
1357 - If both PrimaryKey Property and PrimaryKey Constraint are set,
1358 then the Constraint takes precedence.
1361 2006-02-03 Senganal T <tsenganal@novell.com>
1363 * DataTableCollection.cs :
1364 - Remove () : Check for invalid TableName
1365 - Add () : Verify the table doesn't belong to another dataset
1367 - CompleteLastAdded () : Do not raise ItemAdded Event as it is
1368 already raised in AddNew().
1370 - Expression : Verify that the Column names in the expression are valid
1371 - ResetCollectionInfo : Renamed to ResetColumnInfo
1373 - RejectChanges () : Reorganized the code to do the Right thing.
1374 - Item : Dont check for detached and deleted rows as these are
1376 * DataRowCollection.cs :
1377 - Add () : Check for null value
1379 - PrimaryKey : Set AllowDBNull=false for all the key columns
1380 - ImportRow : Import the row only if it is not in Detached state. if in Deleted
1381 state, perform the validation when AcceptChanges/RejectChanges is called.
1382 * DataColumnCollection.cs :
1383 - Add : Validate the column expression before adding it to the collection.
1384 - GetColumnDependency () : New. Get the dependencies on the column
1385 - CanRemove : Move checks to GetColumnDependency
1386 - Clear () : Simplified code. Remove unncessary checks.Also, dont check Expression col.
1387 - IndexOf - Check argument.
1388 Overall , appropriate error msg's are thrown if Remove/Clear fails. Removed a few
1389 redundant checks performed and moved the common code to GetColumnDependency.
1391 2006-01-31 Senganal T <tsenganal@novell.com>
1393 * DataSet.cs : Modified CopyRelations ()
1394 - Added code to copy ForeignKeyConstraints. Fixes #77411.
1396 2006-01-18 Boris Kirzner <borisk@mainsoft.com>
1397 * DataColumn.cs: added PropertyCchangedEvent handling.
1399 2006-01-17 Senganal T <tsenganal@novell.com>
1402 ItemArray : Modified to raise RowInTableException only if
1403 the concerned row has been removed from the table.Fixes
1406 2006-01-16 Boris Kirzner <borisk@mainsoft.com>
1407 * DataTable.cs: Drop dependend indexes on column removal.
1409 2006-01-16 Atsushi Enomoto <atsushi@ximian.com>
1411 * CustomDataClassGenerator.cs :
1412 When a DataRelation connects the same table as parent and child,
1413 generate parent row property as BlahRowParent. Fixed bug #77248.
1415 2006-01-10 Senganal T <tsenganal@novell.com>
1416 * DataRowCollection.cs
1417 - Added ListChangedEvent to notify reset of the collection.
1419 - Subscribes to the ListChangedEvent of DataRowCollection
1422 2006-01-09 Senganal T <tsenganal@novell.com>
1423 * RelatedDataView.cs
1425 - Resolving a name clash in IExpression
1427 2006-01-06 Senganal T <tsenganal@novell.com>
1430 * DataColumnCollection.cs
1431 - Reset the Parameters of DataColumn to Default Values when
1432 column is removed from the Table's Collection
1434 2006-01-03 Senganal T <tsenganal@novell.com>
1437 - ParseSortString() : Changed the way the sort string is parsed.
1438 Using a regex to parse the string.Fixes bug #77104
1440 2005-12-12 Konstantin Triger <kostat@mainsoft.com>
1442 * DataRow.cs: Added index Updates.
1443 EndEdit() fixed to first update indices and then AssertConstraints
1444 based on those indices.
1445 Added Validate() and AssertConstraints() functions.
1446 * DataRowCollection.cs: Removed ValidateDataRowInternal().
1447 * DataTable: Fixed Clear().
1449 2005-12-06 Atsushi Enomoto <atsushi@ximian.com>
1451 * CustomDataClassGenerator.cs : (InitializeFields) handle AllowDBNull
1452 and DefaultValue as well. Patch by Marek Habersack (bug #76709).
1454 2005-12-01 Miguel de Icaza <miguel@novell.com>
1456 * DataSet.cs: Apply patch from Robert Jordan, to fix #76817
1458 2005-11-26 Konstantin Triger <kostat@mainsoft.com>
1460 * ConflictOption.cs: TARGET_JVM include.
1462 2005-11-11 Senganal T <tsenganal@novell.com>
1464 * ConflictOption.cs (new file)
1465 - Added ConflictOption Enumeration
1466 * DataTableReader.cs
1468 - GetProviderSpecificFieldType : Corrected the method name
1470 2005-11-11 Senganal T <tsenganal@novell.com>
1472 * DataSet.cs : Added the SchemaSerializationMode Property for NET_2_0
1474 * SchemaSerializationMode.cs : Added SchemaSerializationMode Enumeration
1475 for NET_2_0 compatibility.
1479 2005-10-20 Atsushi Enomoto <atsushi@ximian.com>
1481 * XmlSchemaWriter.cs : escape names in the schema with XmlConvert.
1484 2005-10-14 Sureshkumar T <tsureshkumar@novell.com>
1486 * DataView.cs: Correct multiple throwing of events. Patch from
1488 (RowStateFilter): Fire ListChangedEvent.
1489 (ApplyDefaultSort): Fire ListChangedEvent.
1490 (CompleteLastAdded): call UpdateIndex to remove the row from rowCache.
1491 (IBindingList.Find): Implemented.
1493 2005-10-11 Sureshkumar T <tsureshkumar@novell.com>
1495 * DataView.cs (IBindingList): Implemented methods for IBindingList interface.
1497 2005-09-26 Lluis Sanchez Gual <lluis@novell.com>
1499 * DataSet.cs: In IXmlSerializable.GetSchema, return null again for
1500 untyped datasets. Fixes bug #76101.
1502 2005-09-21 Boris Kirzner <borisk@mainsoft.com>
1503 * DataRow.cs: Fixes for index updating.
1505 - Reset case-sensitive indexes also if their filter contains columns
1507 - Use GetIndex instead of FindIndex, so the indexes created in Select()
1509 * RelatedDataView.cs: implement IExpression.Equals() and GetHashCode().
1511 2005-09-20 Sureshkumar T <tsureshkumar@novell.com>
1513 * DataView.cs (Sort): Apply default Sorting Order if Sort property
1514 is reset to null. Sort property handles this. Patch from Marc.
1516 * DataTable.cs (ParseSortString): Patch from Marc Haisenko for
1517 allowing [ & ] in DataView.Sort string.
1519 2005-09-01 Boris Kirzner <borisk@mainsoft.com>
1520 * System.Data/DataRowCollection.cs: indexes should be updated even if
1521 EnforceConstraints is false. Check for EnforceConstraints in
1522 ValidateDataRowInternal.
1524 2005-08-08 Gert Driesen <drieseng@users.sourceforge.net>
1526 * DataView.cs: Changed accessibility of dataTable, rowState and
1527 rowCache field to internal to fix public API. Assigned TypeConverter
1529 * ForeignKeyConstraint.cs: IsConstraintViolated is now internal.
1530 * Constraint.cs: IsConstraintViolated is now internal.
1531 * UniqueConstraint.cs: IsConstraintViolated is now internal.
1533 2005-08-05 Atsushi Enomoto <atsushi@ximian.com>
1535 * XmlSchemaDataImporter.cs : When "dataset element" has identity
1536 constraints, then first reserve constraints room for them and then
1537 process elements, skipping pkey creation if there is already
1538 reserved one. Fixed bug #75711.
1540 2005-08-05 Atsushi Enomoto <atsushi@ximian.com>
1542 * XmlDataInferenceLoader.cs : in GetElementMappingType(), don't guess
1543 the same (QNamed) element again when it was already evaluated as
1544 not simple type. Fixed one part of bug #75711.
1546 2005-08-02 Boris Kirzner <borisk@mainsoft.com>
1547 * XmlSchemaDataImporter.cs : Data relations should be processed after the
1548 keys, so no redundant constraints created while relations processing.
1550 2005-07-25 Boris Kirzner <borisk@mainsoft.com>
1551 * FillOptions.cs, ConflictOptions.cs, UpdateOptions.cs:
1552 added ifdef TARGET_JVM.
1554 2005-07-22 Sureshkumar T <tsureshkumar@novell.com>
1556 * DataViewSettingCollection.cs, DataTableCollection.cs,
1557 DataSet.cs, DataView.cs, DataColumn.cs, ForeignKeyConstraint.cs,
1558 DataRelationCollection.cs, UniqueConstraint.cs, DataTable.cs,
1559 DataColumnCollection.cs, DataRelation.cs, DataSet.cs:
1560 - updated attributes & attribute descriptions to match with
1563 * DataView.cs: changed protected members
1564 rowstate,rowcache,dataTable to protected internal.
1565 * Constraint.cs, ForeignKeyConstraint.cs, UniqueConstraint.cs:
1566 changed InConstraintViolated to protected internal.
1567 * ConflictOptions.cs, UpdateOptions.cs, FillOptions.cs: enclosed
1568 with NET_2_0 define.
1570 2005-07-21 Sureshkumar T <tsureshkumar@novell.com>
1572 * ForeignKeyConstraint.cs:
1573 - IsConstraintViolated (): no matter what EnforceConstraints is,
1574 this function now honestly validates. It is upto the caller to run
1576 - AddToConstraintCollectionSetup (): AssertConstraint according to
1579 2005-07-21 Boris Kirzner <borisk@mainsoft.com>
1580 * ForeignKeyConstraint.cs - IsConstraintViolated() should check also for Table.EnforceConstraints.
1581 * DataTable.cs - EnforceConstraints becomes internal so it can be used by ForeignKeyConstraint.
1583 2005-07-19 Sureshkumar T <tsureshkumar@novell.com>
1585 * DataTable.cs - CopyConstraints (): copy constraints only if it
1588 * DataSet.cs - Copy ():
1589 - use activator.CreateInstance to create a typed dataset.
1590 - copy tables if target does not exist, otherwise, just add rows.
1591 - add relation only if it does not exists.
1593 Typed datasets create the constraints & relations through
1594 constructors. Fixes bug #75211.
1596 2005-07-14 Sureshkumar T <tsureshkumar@novell.com>
1598 * DataView.cs: Patch from Marc Haisenko to throw descriptive error
1599 message when accessing Item, with invalid index.
1601 2005-07-14 Sureshkumar T <tsureshkumar@novell.com>
1603 reapplied patch from Marc Haisenko.
1604 * DataView.cs: Patch from Marc Haisenko that ensures that rowCache
1607 2005-07-13 Sureshkumar T <tsureshkumar@novell.com>
1609 * DataRelationCollection.cs: adding a relation with same set of
1610 parent columns & child columns, should not be allowed.
1612 2005-07-08 Sureshkumar T <tsureshkumar@novell.com>
1614 * DataTableReader.cs: GetSchemaTable: DataType column should be
1615 passed a type of Type.
1617 * DataRow.cs: Load : Fired necessary events.
1619 * DataTable.cs: LoadDataRow (object [], LoadOption): Fired
1622 2005-06-28 Sureshkumar T <tsureshkumar@novell.com>
1624 * DataRow.cs: Delete (): if row is detached, do nothing.
1627 2005-06-22 Sureshkumar T <tsureshkumar@novell.com>
1629 * DataRow.cs: Added method MergeValuesToRow copy merge two rows
1630 according to the merge rules.
1632 * MergeManager.cs: (MergeRow): use MergeValuesToRow
1633 API. CopyValuesToRow simply makes the target row same as source
1634 row. Rather, MergeValuesToRow merges with the target row according
1637 2005-06-19 Konstantin Triger <kostat@mainsoft.com>
1639 * DataSet.cs: Fixed ReadXml to work with IXmlSerializable
1641 2005-06-17 Jordi Mas i Hernandez <jordi@ximian.com>
1643 * DataViewManager.cs: fixes exception and creates DataView
1645 2005-06-15 Sureshkumar T <tsureshkumar@novell.com>
1647 * DataRow.cs: CheckChildRows: cascade parent changes to child rows
1648 only if there is a change in columns of the fk constraint.
1650 2005-06-14 Sureshkumar T <tsureshkumar@novell.com>
1652 * DataSet.cs: GetChanges: if row is deleted, get parent rows based
1653 on original version. fixes bug #75227.
1655 2005-06-13 Sureshkumar T <tsureshkumar@novell.com>
1657 * DataRowCollection.cs: Find (keys, version): Added an overload to
1658 find keys matching given DataViewRowState filter. Used in
1659 DataSet.Merge and DataTable.LoadDataRow.
1661 * DataTable.cs: LoadDataRow (values, LoadOption): Use
1662 DataRowCollection.Find (object [], DataViewRowState) overload.
1665 - CopyValuesToRow: Create target "records" out of loop. Records
1666 should be created once, not for each column. Dispose Unused target
1670 - MergeRow: Find rows with matching original records. If not,
1671 select with current values.
1672 - MergeRow: While adding new row, use NewNotInitializedRow.
1674 * ForeignKeyConstraint.cs: IsConstraintViolated: should not check
1675 if EnforceConstraints is false.
1677 2005-06-10 Sureshkumar T <tsureshkumar@novell.com>
1679 * DataRow.cs: CopyValuesToRow: if orginal == current, don't create
1680 a new current record.
1682 * DataSet.cs: GetChanges :Temporarily disable EnforceConstraints.
1684 * MergeManager.cs: Merge: Temporarily disable
1685 EnforceConstraints. Patch from george.barbarosie@gmail.com (George
1688 2005-06-09 Jordi Mas i Hernandez <jordi@ximian.com>
1690 * DataView.cs: fixes GetListName
1692 2005-06-02 Atsushi Enomoto <atsushi@ximian.com>
1694 * XmlSchemaConstants.cs,
1695 XmlSchemaDataImporter.cs,
1696 XmlSchemaWriter.cs : AutoIncrementStep support. Patch partly by
1697 George Barbarosie. Fixed bug #75121.
1698 * XmlSchemaMapper.cs : it is not used anymore, so just removed.
1700 2005-05-31 Boris Kirzner <borisk@mainsoft.com>
1701 * DataRow.cs : SetParentRow on Detached row with no Default version throws an exception.
1703 2005-05-29 Konstantin Triger <kostat@mainsoft.com>
1705 * This patch fixes #74813
1706 * DataView.cs: rework the CreateChildView to receive the index into the indexed row array, rowState became protected to be initialized from RelatedDataView
1707 * DataRowView.cs: movo the logic of creating the child view to the DataView
1708 * RelatedDataView.cs: perform correct init.
1710 2005-05-25 Sureshkumar T <tsureshkumar@novell.com>
1712 * DataTable.cs: Reworked DataTable.LoadDataRow method after
1713 regressions caused by Index redesign.
1714 * DataRow.cs: Load : reworked.
1716 2005-05-25 Konstantin Triger <kostat@mainsoft.com>
1718 * ISafeDataRecord.cs: Added GetDateTimeSafe method, the interface was made derived from IDataRecord
1720 2005-05-22 Konstantin Triger <kostat@mainsoft.com>
1722 * DataTable.cs, DataColumn.cs: in continuation to the previous fix - moving the common logic to 1 function and throwing the correct exception in any flow
1724 2005-05-20 Sureshkumar T <tsureshkumar@novell.com>
1726 * DataTable.cs: CreateRecord :value should be set to auto
1727 increment value or default value if the given value is null.
1729 2005-05-16 Konstantin Triger <kostat@mainsoft.com>
1731 * DataTable.cs: In DataTable.LoadDataRow with LoadOption - reverting the search order back to Original -> Current (by Suresh request)
1733 2005-05-16 Konstantin Triger <kostat@mainsoft.com>
1735 * DataRow.cs, DataTable.cs: code under net_2_0 changed to use the new interface
1736 * DataTable.cs: Added CompareRecords, which compares records in column order
1739 2005-05-16 Sureshkumar T <tsureshkumar@novell.com>
1742 * DataTable.cs: quick fix to make build 2.0 profile (follow up for
1743 check in 2005-05-16). Merge with previous changes.
1745 2005-05-11 Sureshkumar T <tsureshkumar@novell.com>
1747 fix for "import row does not import deleted records"
1749 * UniqueConstraint.cs: Make a way to access value even from a
1750 deleted record. deleted records are added to the collection by
1754 - Added restriction-less methods GetValue to fetch a
1755 value even if it is in deleted state.
1756 - If a row is detached, don't try to delete it from indexes.
1757 - sanity check for record_index in CopyValuesToRow method
1759 2005-05-05 Sureshkumar T <tsureshkumar@novell.com>
1761 * DataTableReader.cs: Implemented Delete handler and move the
1762 current pointer accordingly.
1764 2005-05-04 Sureshkumar T <tsureshkumar@novell.com>
1766 * DataTableReader.cs: Added event handlers to make reader stable
1767 when the datasource is modified. Thanks to Umadevi for giving the
1768 review comments for this implementation.
1770 * DataTable.cs: Clear (): Raise TableCleared event.
1772 * DataTableClearEventArgs.cs: Args for DataTableClearEventHandler.
1774 * DataTableClearEventHandler.cs: Handler for DataTable.TableClear
1777 * DataRow.cs: AcceptChanges: raise row changing & row changed
1780 * DataRowCollection.cs: Clear : remove rows from indexes
1782 2005-05-02 Atsushi Enomoto <atsushi@ximian.com>
1784 * XmlSchemaDataImporter.cs : XmlSchemaParicle might be XmlSchemaAny.
1785 This fixes bug #74784.
1787 2005-04-29 Sureshkumar T <tsureshkumar@novell.com>
1789 * DataTableReader.cs: removed use of _first. throw if given index
1790 is out of range of columns. Copy DataTable [] to local array so
1791 that not to be disturbed.
1793 2005-04-27 Sureshkumar T <tsureshkumar@novell.com>
1795 * DataTableReader.cs: Implemented most of the TODO.
1797 2005-04-22 Sureshkumar T <tsureshkumar@novell.com>
1799 * LoadOption.cs: Changed the enums. Keeping old values for
1802 * DataTable.cs: Implemented methods Load and its overloads. Also
1803 implemented LoadDataRow.
1805 * DataRowCollection.cs: Added a variation of the Find method to
1806 return a row even if it is of state Deleted. This is required for
1807 DataTable.LoadDataRow method.
1809 * DataRow.cs: Implemented internal helper method Load for loading
1810 values from an object array and given an LoadOption (2.0 feature).
1812 * DataRowAction.cs: Added few more enums for .net 2.0. Sorted
1815 2005-05-16 Konstantin Triger <kostat@mainsoft.com>
1817 * UniqueConstraint.cs : IsNull check is relevant for rows having default row version.
1818 * DataTable.cs : The row should be validated when imported
1819 * DataRowCollection.cs : if the row does not contain Proposed neither Current version, it's irrelevant for validation
1821 2005-04-26 Boris Kirzner <borisk@mainsoft.com>
1823 * UniqueConstraint.cs :
1824 - Add indication whenever the constraint belongs to collection.
1825 - Calculation of IsPrimaryKey simplified.
1826 - If constraint is based on single column, the column becomes unique.
1827 - Use boolean IsConstraintViolated() instead of AssertConstraint().
1828 - Use Index.Duplicates to proper exception message formatting.
1829 - AssertConstraint(DataRow) changed to suite new indexes interface.
1830 - Added CanRemoveFromCollection method.
1831 - Contains() method renamed to IsColumnContained().
1832 * RelatedDataView.cs : added new class.
1834 - Reset indexes after merge.
1835 - Add new tables when row array is merged into dataset.
1836 - Clean proposed record in MergeRow.
1837 - Inherit nesting on creating new relations in target data set.
1838 - Avoid double loop on constraints collection.
1839 * Locale.cs : added new class.
1840 * ISafeDataRecord.cs : added new interface.
1841 * Index.cs : commented out. Index implementation moved to System.Data.Common.
1842 * ForeignKeyConstraint.cs :
1843 - No more use of childColumnsExtended since new indexes allow duplicate records.
1844 - Constraints can not be created on expression columns.
1845 - Removed unnecessary delegation.
1846 - Use boolean IsConstraintViolated() instead of AssertConstraint().
1847 - Use proper exception message formatting.
1848 - Contains() method renamed to IsColumnContained().
1849 * DataViewRowState.cs : use enum members to simplify notation.
1850 * MergeManager.cs : implemented RelationCollectionChanged().
1851 * DataView.cs : new implementation.
1852 * DataTableCollection.cs :
1853 - Added boundary check in indexer.
1854 - More accurate handling in AddRange().
1855 - Raise event in Remove().
1857 - Hold primary key as constraint.
1858 - Added accurate handling of DefaultView.
1859 - Hold DataRowBuilder per table.
1860 - Proper exception messages if enforce Constraints is violated.
1861 - If there is no rows, Compute() returns DBNull.
1862 - Use DataRow properties instead of private members.
1863 - CopyProperties() fixed.
1864 - Raise proper events in EndInit().
1865 - Proper order of violation checks in EndLoadData().
1866 - Create array of rows using NewRowArray().
1867 - ImportRow handles rows according to their versions.
1868 - LoadDataRow make use of records (instead of raw object array).
1869 - Added and implemented LoadDataRow() that gets IDataRecord as a parameter (used in Fill)
1870 - Select() uses indexes filtering and sorting ability (instead of "loop-throw-sort" approach).
1871 - Removed redundant RowSorter and Sortable column classes.
1872 - ParseSortString() fixed to threat bracketed column names.
1873 - Table holds collection of property descriptors.
1875 - Reset table case sensitive indexes on CaseSensitive change.
1876 - EnforceConstraints update logic moved to internal method (used by DataTable).
1877 - InAddChangedRow first add row and than copy values for proper handling of default values.
1879 - Changed private member names to suite name convention.
1880 - CancelEdit() fixed.
1881 - CreateChildView() delegates to DataView.
1883 - Proper exception messages in indexers.
1884 - RowVersion uses DataView.
1885 - GetProperties() delegates to corresponding table if needed.
1886 * DataRowCollection.cs :
1887 - Common Add() logic moved to AddInternal() (used also by DataTable).
1888 - Removed redundant check from Contains().
1889 - Dalegate Find() calls when possible.
1891 - RomoveAt() delegates to Remove().
1892 - Optimized constraints check in row validation.
1893 * DataRelationPropertyDescriptor.cs : added new class.
1894 * DataRelationCollection.cs :
1896 - Fixed order of actions in AddCore().
1897 - RemoveCore() also delegates to base.
1898 - Add relation to dataset also in AddCore().
1899 - Remove relation from dataset also in RemoveCore().
1900 - InTransition hold a data relation so we can properly identify the "in transition" state.
1901 - Added threat of parent and child table s property descriptors in Add().
1902 - Common Add() logic moved to AddCore().
1904 - Remove() threats "in transition" state properly.
1905 - Remove methods delegate to single implementation.
1906 * DataColumnPropertyDescriptior.cs :
1907 - Added new constructor.
1908 - Commented out redundant method.
1909 * DataColumnCollection.cs :
1910 - Boundary check in indexer.
1911 - RegisterName and UnregisterName become internal (used also by DataColumn).
1913 - Fixed CanRemove().
1914 - Rethrow correct exception in Clear();
1915 - Change in collection resets parent table property descriptors.
1916 - Added PostEndEdit() helper method (used by DataTable).
1918 - Private member names changed to suite name convention.
1919 - Created method for CanAutoIncrement() logic.
1920 - Proper handling of column name update.
1921 - Proper exception messages on expression update.
1922 - Proper namespace handling (delegates to table when needed).
1923 - Removed redundant check in Unique update.
1924 - Implemented internal Clone().
1925 - GetParentRalation() and GetChildRelation() become private.
1927 - Added abstract methods (implemented in UniqueConstraint and ForeignKeyConstraint).
1928 - Simplified index update.
1929 * ConstraintCollection.cs :
1930 - Use Locale instead of CaseSensitive in column names comparison.
1932 - Rethrow correct exception type in Add().
1933 - Proper update of table primary key in Add().
1934 - Delegate CanRemove() to constraint.
1935 - Remove table primary key in Clear();
1936 - Delegate "can remove" check to constraint in Remove().
1937 - Removed unnecessary methods and properties.
1939 - RowSate becomes calculated property.
1940 - Use properties instead of private members where possible.
1942 - Fixed order of actions in ItemArray update.
1943 - Fixed DetachRow().
1944 - Added ImportRecord() method.
1945 - Removed redundant SetValuesFromDataRecord().
1946 - Fixed IndexFromVersion().
1947 - Added VersionFromIndex() method. Returns row version the passed record index corresponds to.
1948 - Fixed AcceptChanges().
1949 - Fixed creating proposed version in BeginEdit();
1950 - Added record disposal in Delete().
1951 - Fixed CheckChildRows().
1952 - EndEdit() fixed. Checks for readonly. Uses straight flow instead of "try and fix if fail" approach.
1953 - GetChildRows() and GetPrarentRows() rewrited. Use records and indexes for rows lookup.
1954 - GetColumnError() delegates to another implementation.
1955 - HasVersion() fixed.
1956 - RejectCahnges checks on child rows before passing through.
1957 - SetParentRow() fixed. Create relation collection if needed. Use typed data container value copy.
1958 - CopyErrors() logic moved to separate method (used also by DataTable).
1959 * ExpressionElement.cs : added new class.
1960 * Res.cs : added new class.
1962 2005-04-20 Jordi Mas i Hernandez <jordi@ximian.com>
1964 * DataViewManager.cs: implements TypedList.GetListName used in SWF
1966 2005-04-19 Atsushi Enomoto <atsushi@ximian.com>
1968 * DataRowView.cs : indexer should access to DataRow with proper
1969 DataRowVersion. Fixed bug #74650.
1971 2005-04-18 Sureshkumar T <tsureshkumar@novell.com>
1973 * DataRow.cs: if there are no mapping fields, fill with default
1976 2005-04-17 Atsushi Enomoto <atsushi@ximian.com>
1978 * DataView.cs : Delete() should not try to remove row twice.
1981 2005-04-13 Atsushi Enomoto <atsushi@ximian.com>
1983 * DataTable.cs : Use GetRowType() for the base of the returning array
1984 type of Select(). Fix by Gerhard Rittweger.
1985 * CustomDataClassGenerator.cs : Fixed slightly harmless wrong code.
1987 2005-04-13 Atsushi Enomoto <atsushi@ximian.com>
1989 * CustomDataClassGenerator.cs : custom relation was not added to
1990 Relations property. The second entry of bug #69276 was fixed.
1991 Patch by Daniel Rodriguez.
1993 2005-04-07 Lluis Sanchez Gual <lluis@novell.com>
1995 * DataRowCollection.cs: Fix the signature of the Add method
1998 2005-03-16 Atsushi Enomoto <atsushi@ximian.com>
2000 * DataRow.cs : on importing row, it was copying data from incorrect
2001 DataRow. This fixes bug #73288.
2003 2005-03-07 Jackson Harper <jackson@ximian.com>
2005 * DataViewManagerListItemTypeDescriptor.cs: Implement missing
2006 features. These are needed for System.Windows.Forms databinding.
2008 2005-02-25 Atsushi Enomoto <atsushi@ximian.com>
2010 * DataColumn.cs : setting negative value on MaxLength of SimpleContent
2011 column is still valid.
2013 2005-02-15 Atsushi Enomoto <atsushi@ximian.com>
2015 * XmlSchemaWriter.cs : new file for outputting XmlSchema.
2016 * DataSet.cs : removed rewritten code in XmlSchemaWriter.
2017 * XmlConstants.cs : added UseCurrentCulture constant.
2019 Use new Xml Schema writer.
2020 Use XmlSchemaDataImporter as we use in DataSet.
2022 2005-02-10 Atsushi Enomoto <atsushi@ximian.com>
2024 * DataView.cs, DataRowView.cs : Fixed bug #72421. CreateChildView()
2025 should target only child rows.
2027 2005-02-03 Atsushi Enomoto <atsushi@ximian.com>
2029 * DataViewManager.cs: misuse of ReadStartElement(string).
2030 * DataRowView.cs : removed some MonoTODO.
2032 2005-02-02 Sureshkumar T <tsureshkumar@novell.com>
2033 Ankit Jain <radical@corewars.org>
2035 * DataColumn.cs: throw exception if the column is part of a
2036 relationship, when chaning the data type. Added methods
2037 "GetParentRelation ()" and "GetChildRelation ()" get the relation
2038 which contains the current column
2039 * DataRelation.cs: Added method "Contains (DataColumn)" to check
2040 whether the relation contains the given column.
2042 fixes nunit failure: DataRelationTest.InvalidConstraintException2.
2044 2005-02-02 Sureshkumar T <tsureshkumar@novell.com>
2046 * DataColumnCollection.cs: implemented todo item "check for
2047 constraints" when removing columns from table.
2048 * DataRowCollection.cs: Clear (): don't have to throw child key
2049 constraint exception when the child table does not have any
2050 rows. safe to remove parent rows.
2051 * UniqueConstraint.cs: added method "Contains (DataColumn)" to
2052 check whether a column is part of UniqueConstraint.
2053 * ForeignKeyConstraint.cs: added method "Contains (DataColumn,
2054 lookInParent)" to check whether a column is part of foreignkey.
2056 fixes nunit failure: DataTableTest.ClearTest ()
2058 2005-02-02 Sureshkumar T <tsureshkumar@novell.com>
2060 * ForeignKeyConstraint.cs: validating columns: move checking
2061 "tables are of same dataset" before "checking column types".
2063 fixes nunit failure: ForeignKeyConstraint.CtorExceptions.
2065 2005-02-02 Atsushi Enomoto <atsushi@ximian.com>
2067 * DataViewManager.cs : let's just use StringWriter instead of
2068 XmlTextWriter (to avoid empty tag string mismatch annoyance.)
2069 * DataView.cs : implemented BeginInit() and EndInit(). Don't update
2070 rows during init phase until EndInit() is invoked. During init phase,
2071 just hold properties such as Sort that affects on rows.
2073 2005-02-02 Atsushi Enomoto <atsushi@ximian.com>
2075 * DataTableCollection.cs : (RemoveAt) just use IndexOutOfRangeException.
2077 2005-02-02 Atsushi Enomoto <atsushi@ximian.com>
2079 * DataView.cs : DataRowView.EndEdit() raises ItemMoved event.
2080 set_Table clears Sort and RowFilter.
2082 2005-02-02 Atsushi Enomoto <atsushi@ximian.com>
2085 - Clear() should clear AddNew cache.
2086 - Open() invokes Reset().
2087 - ConstraintCollectionChanged() itself does not invoke OnListChanged().
2088 - Reset() does not Open, Close and Update Index.
2089 - UpdateIndex() can be invoked even if it has no table.
2090 - Reset event is invoked always after actual query to table.
2091 - set_Table should raise PropertyDescriptorChanged event.
2093 2005-02-02 Atsushi Enomoto <atsushi@ximian.com>
2095 * DataView.cs : ColumnCollectionChanged() is the event invoker (i.e.
2096 when overriden, no column change events are fired).
2098 2005-02-02 Atsushi Enomoto <atsushi@ximian.com>
2100 * DataView.cs : CancelEditRowView() and DeleteRowView() was incorrectly
2101 checking target tables. They also should raise events if required.
2103 2005-02-02 Atsushi Enomoto <atsushi@ximian.com>
2105 * DataView.cs : simplify code with UnsortedList.
2107 2005-02-01 Atsushi Enomoto <atsushi@ximian.com>
2109 * DataView.cs : Mostly reimplemented.
2110 - UpdateIndex() is invoked only when it is required (results in
2111 significant performance improvement).
2112 - Use SortedList and wrapper OptionalSortedList which switches
2113 between SortedList (with Sort) and UnsortedList (without Sort).
2114 - DataView itself now contains two collections for rowviews:
2115 Table rows based pool and AddNew() based cache. Consider those
2116 two collections in every members.
2117 - Reset() does not clear rows. Just invokes UpdateIndex().
2118 - Hook RowDeleting, ColumnChanging and ColumnChanged events in table
2119 which is required to handle state changes.
2120 - Reimplemented Find() and FindRows() because of internal changes.
2122 2005-02-01 Atsushi Enomoto <atsushi@ximian.com>
2124 * DataTable.cs : Fixed row comparer. Even if every of the sort target
2125 columns are identical for two rows, they should not be regarded as
2126 the same unless they are Object.ReferenceEquals.
2128 2005-02-01 Atsushi Enomoto <atsushi@ximian.com>
2130 * DataRowCollection.cs : on adding a row, should raise
2131 ChangingDataRow() as well as ChangedDataRow().
2133 2005-01-31 Sureshkumar T <tsureshkumar@novell.com>
2135 * DataRow.cs: SetParentRow (): use relation.ParentColumns &
2136 relation.ChildColumns instead of relation.ChildKeyConstraint.*
2137 because createConstrains flag may be false when creating data
2138 relations. Hack along with Ankit Jain.
2140 2005-01-31 Atsushi Enomoto <atsushi@ximian.com>
2142 * DataView.cs :some interface implementations.
2144 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
2146 * DataView.cs : Add to table only when the row is not in the table.
2148 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
2150 * DataView.cs : implemented FindRows() (btw we should not use
2151 DataTable since there are detached rows by AddNew().)
2153 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
2156 Code cleanup: privatify some members, remove unused methods.
2157 Some event-based invocation methods should not raise NotImplemented.
2159 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
2161 * DataSet.cs : ReadXml() became closer to MS behavior, being hacky.
2163 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
2165 * XmlSchemaDataImporter.cs : empty element is not regarded as a column.
2167 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
2169 * UniqueConstraint.cs : mostly reverted the previous patch + check
2170 IsPrimaryKey before validation.
2172 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
2174 * DataView.cs : Fixed duplicate insertion to Hashtable.
2175 * UniqueConstraint.cs : Unique constrained pair of columns could be
2178 2005-01-27 Atsushi Enomoto <atsushi@ximian.com>
2181 Don't do anything for Sort/ApplyDefaultSort/RowFilter/RowStateFilter
2182 when the same value is being set.
2183 Examined UpdateIndex() and marked FIXME where MS does not invoke it.
2184 Removed unused OnColumnChanged().
2185 Now store rowViewPool and reuse DataRowView objects.
2186 Optimized UpdateIndex() - avoid ArrayList. Avoid Haashtable.Rehash().
2188 2005-01-27 Atsushi Enomoto <atsushi@ximian.com>
2190 * DataViewSettings.cs : no MonoTODO anymore.
2191 * DataViewManager.cs : pass itself to new DataView() (new ctor).
2192 * DataRowView.cs : GetHashCode() returns its Row's hash.
2193 * DataTablePropertyDescriptor.cs : use new ctor().
2194 * DataView.cs : added new ctor()s that accept DataViewManager.
2196 2005-01-27 Atsushi Enomoto <atsushi@ximian.com>
2198 * DataView.cs, DataRowView.cs : AddNew() should not add the row to table
2199 (it is still detached). So handle those rows differntly.
2200 CancelEdit(), EndEdit() and Delete() propagates those events to
2201 DataView (and handle row collection).
2202 Eliminate "throw new Exception()".
2203 Don't catch all the exception thrown in ListChanged event.
2204 * DataTable.cs : made RowSorter as internal and use it in DataView.
2205 no need to pass DataRow[] to .ctor().
2207 2005-01-27 Atsushi Enomoto <atsushi@ximian.com>
2209 * DataTable.cs : don't create DefaultView unless it is required. It
2210 significantly improves performance. (i.e. DataView perf. is sick ;-)
2212 2005-01-27 Atsushi Enomoto <atsushi@ximian.com>
2214 * DataViewSetting.cs,
2215 DataViewSettingCollection.cs,
2216 DataViewManager.cs : implemented basic members.
2218 2005-01-26 Atsushi Enomoto <atsushi@ximian.com>
2220 * Node.cs, DataColumnPropertyDescriptor.cs, DataTable.cs :
2221 Eliminate "throw new Exception".
2223 2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
2225 * DataRow.cs : (set_Item) RowNotInTableExeption check should be done
2226 regardless of index existence.
2228 2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
2230 * DataTable.cs : use new IExpression.EvalBoolean() to avoid extraneous
2233 2005-01-25 Sureshkumar T <tsureshkumar@novell.com>
2235 * DataTable.cs: ImportRow :Do not add to rows collection if the
2236 import row is in detached state.
2238 2005-01-25 Sureshkumar T <tsureshkumar@novell.com>
2240 * DataRow.cs: CopyValuesToRow : set the column value with the
2241 default version of the given row.
2242 * DataTable.cs: ImportRow: Copy values before adding row.
2243 * DataSet.cs: AddChangedRow: Add the row to the table after
2246 Fixes bug #67317. Patch by Ankit Jain.
2248 2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
2250 * DataRowView.cs : Fixed IsEdit to reflect correct status of DataRow.
2251 * DataRow.cs : Expose editing status internally.
2253 2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
2255 * DataView.cs : missing attributes.
2257 2005-01-24 Atsushi Enomoto <atsushi@ximian.com>
2259 * DataRowView.cs : implemented CreateChildView().
2261 2005-01-24 Atsushi Enomoto <atsushi@ximian.com>
2263 * DataTable.cs, DataView.cs :
2264 Optimized DataView to compile only once RowFilter and Sort when
2265 those properties are set. To make it possible, extracted
2266 SortableColumn out of DataTable and added internal DataTable.Select()
2267 that accepts precompiled IExpression and SortableColumns[].
2269 2005-01-24 Atsushi Enomoto <atsushi@ximian.com>
2271 * DataColumn.cs : set_MaxLength is not allowed when it is mapped to
2272 SimpleContent. (However, it is weird but it never fails when we set
2273 ColumnMapping = MappingType.SimpleContent when we fhave MaxLength.)
2275 2005-01-21 Atsushi Enomoto <atsushi@ximian.com>
2277 * DataRow.cs : more Current -> Default fixes. Check if it should throw
2278 VersionNotFoundException. Patch by Ankit Jain.
2280 2005-01-21 Atsushi Enomoto <atsushi@ximian.com>
2282 * DataRow.cs : Default selects the right version for the current
2283 state of the row. Current is not always available. Also change
2284 that for GetParentRow(). Patch by Ankit Jain.
2286 2005-01-21 Atsushi Enomoto <atsushi@ximian.com>
2288 * DataTable.cs : CopyColumn() should copy AutoIncrement after
2289 DefaultValue, or it will raise an error in some cases.
2291 2005-01-20 Atsushi Enomoto <atsushi@ximian.com>
2293 * ConstraintCollection.cs : Add() should throw ArgumentException when
2294 the argument constraint fails validation.
2295 DataTable.cs : set_PrimaryKey should throw ArgumentException when
2296 the argument contains constraints which fail validation.
2298 2005-01-19 Sureshkumar T <tsureshkumar@novell.com>
2300 * DataRelationCollection.cs:
2302 Method Remove : Donot throw exception if DataRelation argument is
2303 null in DataRelationCollection.Remove method.
2305 Method RemoveAt : Exception should be IndexOutOfRangeException if
2306 row index is not in list range.
2308 Fixes nunit failures DataRelationCollection.Remove and
2309 DataRelationCollection.RemoveAt.
2311 2005-01-19 Sureshkumar T <tsureshkumar@novell.com>
2313 * ConstraintCollection.cs: Donot throw exception if constraints
2314 are null in AddRange method. Check for null before using the
2319 2004-01-19 Atsushi Enomoto <atsushi@ximian.com>
2321 * XmlDataInferenceLoader.cs,
2322 XmlDataReader.cs : Check if the XmlReader (node) represents DataSet
2323 or a table, reusing code block in XmlDataInferenceLoader.
2324 This fixes bug #60118.
2326 2004-01-19 Atsushi Enomoto <atsushi@ximian.com>
2328 * XmlDiffLoader.cs : Ankit Jain <radical@imt.ac.in> has a conflicting
2329 patches and some good catches. Some attributes should be skipped,
2330 and loaded value must be typed.
2332 2004-01-19 Atsushi Enomoto <atsushi@ximian.com>
2335 XmlDataInferenceLoader.cs,
2336 XmlDataReader.cs : use common const for http://www.w3.org/2000/xmlns/.
2337 * XmlDiffLoader.cs : It was not handling attributes. Fixed bug #70961.
2339 2005-01-18 Sureshkumar T <tsureshkumar@novell.com>
2341 Fix for bug #66838. This patch is submitted by "Ankit Jain"
2342 <radical@corewars.org> and refactored.
2344 * DataRow.cs: Allows to set a parent row even if the row is in
2347 * DataRelation.cs: method "UpdateConstraints" is added to check
2348 and create missing keys when adding a relation. This is refactored
2349 approach from DataRelationCollection.Add method.
2351 * DataRelationCollection.cs: AddCore methods of all relation types
2352 are synchronized. A Check for existing constraints is
2353 done. Relation is added to the list only if all checks are passed.
2355 2004-01-18 Atsushi Enomoto <atsushi@ximian.com>
2357 * DataColumnCollection.cs : Clear() throws ArgumentException that
2358 wraps thrown innerException.
2359 * XmlSchemaDataImporter.cs : removed FIXMEs.
2361 2004-01-12 Atsushi Enomoto <atsushi@ximian.com>
2363 * DataSet.cs : When serializing DataTable, BuildSchema() is passed
2364 null relation collections.
2365 Quick fix for XmlSerializer deserialization. It does not require
2366 XML Schema included.
2368 2004-01-11 Atsushi Enomoto <atsushi@ximian.com>
2371 CustomDataClassGenerator.cs :
2372 In DataSet class, IXmlSerializable.GetSchema() returns null.
2373 In strongly-typed class, it returns schema.
2375 2004-01-07 Atsushi Enomoto <atsushi@ximian.com>
2377 * XmlDataInferenceLoader.cs : test driver class should be excluded.
2379 2004-12-01 Miguel de Icaza <miguel@ximian.com>
2381 * DataView.cs: Patch from Marc Haisenko that ensures that rowCache
2384 2004-11-10 Atsushi Enomoto <atsushi@ximian.com>
2386 * CustomDataClassGenerator.cs : generated foreign key constraint
2387 construction code was creating empty child columns and thus it
2388 was invalid. This fixes bug #69276 (patch by Martin Voelkle).
2390 2004-11-02 Atsushi Enomoto <atsushi@ximian.com>
2392 * CustomDataClassGenerator.cs : custom DataTable ctor should call
2393 InitializeFields(), and those DataColumns created by that method
2394 should take data type. This should fix bug #68972.
2396 2004-10-15 Atsushi Enomoto <atsushi@ximian.com>
2398 * DataSet.cs : Also clear UnhandledAttributes ArrayList before
2399 generating next attribute column schema. This fixes bug #68432.
2401 2004-10-14 Umadevi S <sumadevi@novell.com>
2402 * DataTable.cs : Corrected the Clone method to use Activator.CreateInstance so that the
2403 correct subclass is returned. This fixes bug #67631
2405 2004-10-14 Umadevi S <sumadevi@novell.com>
2406 * DataSet.cs : Corrected the Clone method to use Activator.CreateInstance so that the
2407 correct subclass is returned. This fixes bug #67627
2409 2004-10-13 Atsushi Enomoto <atsushi@ximian.com>
2411 * DataSet.cs : clear UnhandledAttributes ArrayList before generating
2412 next element column schema. This fixes bug #68256.
2414 2004-10-12 Atsushi Enomoto <atsushi@ximian.com>
2416 * DataSet.cs : now xs:schema contains xmlns="".
2417 This fixes bug #68008.
2419 2004-10-12 Atsushi Enomoto <atsushi@ximian.com>
2421 * DataSet.cs : DBNull attribute column should not be written as
2422 empty attribute. This fixes bug #68007.
2424 2004-10-12 Atsushi Enomoto <atsushi@ximian.com>
2426 * DataSet.cs, XmlConstant.cs, XmlSchemaDataImporter.cs:
2427 DataColumn.ReadOnly was not handled. This fixes bug #68005.
2428 Attribute defaultValue was not handled too.
2430 2004-10-07 Atsushi Enomoto <atsushi@ximian.com>
2433 - When AllowDBNull is false on attribute DataColumn, its schema
2434 should contain use="required". This fixes bug #66792.
2435 - If MaxLength is set on attribute DataColumn, the mapped schema
2436 type should contain maxLength facet. This fixes bug #66793.
2438 2004-10-04 Atsushi Enomoto <atsushi@ximian.com>
2440 * DataSet.cs : For a row, when a relation is not nested, then it is
2441 still output target since it won't be written as a child of its
2442 parent. It fixes bug #66379.
2444 2004-10-03 Atsushi Enomoto <atsushi@ximian.com>
2446 * DataSet.cs : Attribute constraint field XPath must be written as
2447 @blah. This fixes bug #66366.
2449 2004-09-28 Umadevi S <sumadevi@novell.com>
2450 * DataRow.cs - checked for Enforceconstraints, while using indices to search for related rows
2452 2004-09-24 Sureshkumar T <tsureshkumar@novell.com>
2454 * DataSet.cs : Don't check constraints for dataset clear
2455 * DataRowCollection.cs : check for EnforceConstraints flag
2456 before checking foriegn key constraints in Clear method
2457 * DataTable.cs : Redundant checking removed in Clear method as it is
2458 checked in DataRowCollection.Clear method.
2461 2004-09-19 Sureshkumar T <tsureshkumar@novell.com>
2462 * DataRow.cs : while deserialization of dataset, adding a current row precedes the original row.
2463 hence, adding a row cache is necessary if the original row happens to be current.
2466 2004-08-23 Martin Baulig <martin@ximian.com>
2468 * XmlDataInferenceLoader.cs (Driver): Make this class internal,
2471 2004-08-18 Umadevi S <sumadevi@novell.com>
2472 * DataView.cs - Completed most of the event handling.
2473 Thanks to Punit Todi <punit_todi@da-iict.org> for implementing most of it.
2474 Thanks to Boris Kirzner <borisk@mainsoft.com> for commenting and suggesting changes to the implementation.
2475 * DataTable.cs - Changed Access modifiers of class/methods since it was used by DataView.
2477 2004-08-06 Atsushi Enomoto <atsushi@ximian.com>
2479 * DataSet.cs : DataSet's ExtendedProperties were not XmlConverted.
2481 2004-08-05 Atsushi Enomoto <atsushi@ximian.com>
2483 * XmlConstants.cs : Added constants for "msprop" support.
2484 * DataSet.cs : ExtendedProperties should be written in the schema.
2485 This fixes bug #61233.
2487 2004-07-27 Atsushi Enomoto <atsushi@ximian.com>
2489 * DataSet.cs : on serialization to XmlWriter, XmlConvert should be
2490 used. There were also some culture dependency problems to write int.
2492 2004-06-27 Atsushi Enomoto <atsushi@ximian.com>
2494 * XmlDataInferenceLoader.cs : It was not always filling relation
2495 child table information correctly. This fixes bug #60742.
2497 2004-06-23 Umadevi S <sumadevi@novell.com>
2498 * UniqueConstraint.cs :changed a ifdef true to ifdef NET_1_1
2500 2004-06-22 Atsushi Enomoto <atsushi@ximian.com>
2502 * DataSet.cs : Fixed ReadXml(). When ReadMode is ReadSchema and the
2503 schema is inside the document element (as created in XmlWriteMode
2504 .WriteSchema), it should read schema from that non-document element.
2505 This fixes one case reported in bug #60470.
2507 2004-06-20 Atsushi Enomoto <atsushi@ximian.com>
2509 * XmlDataInferenceLoader.cs : Kindly reject xml schema document as a
2510 inference target. For bug #60470. (MS does not support schema
2511 document inference and results in unconsistent dataset structure.)
2513 2004-06-20 Atsushi Enomoto <atsushi@ximian.com>
2515 * DataTableCollection.cs : reset the table's DataSet to null when
2516 removing a table from this collection.
2517 * DataTable.cs : When Namespace is not specified explicitly, its
2518 Namespace property reflects DataSet's Namespace if exist.
2519 This fixes bug #60469.
2521 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
2523 * DBConcurrentcyException.cs: CRLF to LF
2524 * DataViewSetting.cs: CRLF to LF
2526 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
2528 * DataViewSetting.cs: renamed fields to match MS.NET
2530 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
2532 * DBConcurrencyException.cs: fixed serialization compatibility with
2535 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
2537 * ChangeLog : Fix for misspelled words.
2539 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
2541 * DataRowCollection.cs : Removed onColumnRemoved since it is not in use.
2543 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
2546 - Table stores default values for columns in special default values row.
2547 It is allocated once (in NewRow).
2548 - DataTable.Copy rewrited. It works with uninitialized rows for better perfomance.
2549 - OnRemoveColumn has nothing to perform by now.
2551 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
2554 - Changed access of original, current and proposed indexes to internal.
2555 - ColumnErrors reviewed : now column errors stored in ArrayList and allocated on demand only.
2556 - Added new DataRow constructor that creates uninitialized DataRow (used in DataTable.Copy).
2557 - Use DataContainer.CopyValue and default values row for faster set of default values in row.
2558 - SetColumnValue become CheckValue. Now it does not changes the value, but only checks for its correctness.
2559 Care about Null and DBNull values is now in DataContainer.
2560 - Use DataColumn.AutoIncrementValue and GetInt64 for faster set of autoincrement value.
2561 - Use Datacontainer.CopyValue and default values row to speed up CheckChildRows.
2562 - Fix in CopyState : clone column errors.
2563 - Removed CollectionChanged and onColumnRemoved since we are not using both of them anymore.
2565 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
2567 * DataColumnCollection.cs :
2568 - Fix : Add() now delegates to Add(DataColumn).
2569 - autoIncrement list holds DataColumn objects, and not just column names.
2571 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
2574 - AutoIncrementValue fixes. Now AutoIncrement uses DataContainer.GetInt64 to avoid boxing.
2575 - DefaultValue fixes. Default value from now on is also stored in special record in
2576 DataTable, so we're able to set default value for the column faster (typed).
2579 2004-06-15 Atsushi Enomoto <atsushi@ximian.com>
2581 * DataSet.cs : children of non-root rows were not properly written.
2584 2004-06-10 Umadevi S <sumadevi@novell.com>
2585 * DataRelation.cs - Constructor
2586 - The datatypes of the parentcolumn(s) and the childcolumn(s) should match
2588 2004-06-06 Atsushi Enomoto <atsushi@ximian.com>
2590 * XmlSchemaDataImporter.cs : We should fill Namespace for DataTable.
2592 2004-06-04 Gert Driesen <drieseng@users.sourceforge.net>
2594 * Constraint.cs: marked methods internal to fix public API
2595 * ConstraintCollection.cs: to fix public API, use
2596 DataTable.fInitInProgress to check whether initialization
2597 of DataTable is in progress
2598 * DataColumn.cs: added stubs for missing methods
2599 * DataRowBuilder.cs: marked Table property internal to
2601 * DataSet.cs: removed extra empty destructor, marked
2602 OnMergeFailed internal to fix public API
2603 * DataTable.cs: use fInitInProgress field to hold init
2604 status, to match MS.NET
2605 * DataView.cs: added missing attributes on IsOpen
2607 2004-06-03 Atsushi Enomoto <atsushi@ximian.com>
2609 * DataSet.cs : Use NameTable.Get() before calling LookupNamespace()
2610 in XmlNamespaceManager.
2612 2004-06-03 Atsushi Enomoto <atsushi@ximian.com>
2614 * DataSet.cs : complex table content child was not properly added
2615 when it is the only one child in the parent table. Fixed bug #53959.
2617 2004-06-02 Gert Driesen <drieseng@users.sourceforge.net>
2618 * DataTableTypeConverter.cs: added
2619 * DataView.cs: added missing attribute on Table property
2620 * DataViewManager.cs: moved attribute to correct property
2621 * UniqueConstraint.cs: removed extra ReadOnly attribute from
2622 IsPrimaryKey property
2624 2004-06-01 Atsushi Enomoto <atsushi@ximian.com>
2626 * DataRow.cs : ColumnsChanged event is not required in .ctor().
2628 2004-06-01 Atsushi Enomoto <atsushi@ximian.com>
2630 * XmlDataReader.cs : type change is required before setting value
2633 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
2635 * DataSet.cs : Loop-break of the last fix was incorrect.
2637 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
2639 * DataSet.cs : When a row has no parent row but the table has parent
2640 relation(s), that row had been always ignored.
2642 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
2644 * XmlDataInferenceLoader.cs : Fixed GetMappedTable() that incorrectly
2645 rejected same-named tables in different hierarchy. Thanks to Boris.
2647 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
2649 * XmlDiffLoader.cs : Added some Skip() that is required not to go to
2650 infinite loop. Thanks to Boris for this fix.
2652 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
2654 * XmlDataInferenceLoader.cs : XmlSchema elements should not be infered.
2655 Thanks to Boris for this fix.
2657 2004-05-30 Atsushi Enomoto <atsushi@ximian.com>
2659 * DataTable.cs : serialization .ctor() should use XmlReadMode.DiffGram
2660 for ReadXml(). Thanks to Boris.
2662 2004-05-27 Boris Kirzner <borisk@mainsoft.com>
2664 - CheckReadOnlyStatus : use typed (and faster comparing).
2665 - EndEdit : bug fix - do not dispose record if it holds original version.
2666 - SetValuesFromDataRecord : Take care about autoincrement columns.
2669 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
2671 * MergeManager.cs : don't output debug message to Console.
2673 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
2675 * XmlDataInferenceLoader.cs : Namespace are not imported to the table
2676 structure. Thanks to Boris Kirzner for the fix.
2678 2004-05-27 Umadevi S <sumadevi@novell.com>
2679 * DataRelationCollection.cs - fixed nunit test errors
2681 2004-05-27 Umadevi S <sumadevi@novell.com>
2682 * DataTableCollection.cs - fixed nunit test errors
2684 2004-05-21 Atsushi Enomoto <atsushi@ximian.com>
2686 * DataColumnCollection.cs : NullReferenceException was thrown when
2687 the table was not found.
2688 * DataRowCollection.cs :
2689 Find() just returns null for null value under MS.NET 1.1.
2690 RemoveAt() should also avoid to call AcceptChanges() like Remove().
2691 * UniqueConstraint.cs : in AssertConstraint() throw ConstraintException
2692 directly under MS.NET (for nunit test).
2694 2004-05-21 Atsushi Enomoto <atsushi@ximian.com>
2696 * XmlSchemaDataImporter.cs : Setting startindex in LastIndexOf()
2697 caused problem on qualified name to get schema Field name.
2699 2004-05-21 Atsushi Enomoto <atsushi@ximian.com>
2701 * XmlDataReader.cs : Now data reader is namespace aware in all places.
2702 When table's namespace is different, it entered to infinite loop.
2704 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
2705 * MergeManager.cs : AdjustSchema now updates by reference new created table,
2706 so in Merge you do not need to lookup for it (were unable to do this for unnamed tables).
2709 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
2711 * DataColumn.cs : In set_Item[int] - if autoincrement, adjust next autoincrement value.
2712 * DataColumnCollection.cs : fixed parantethes.
2714 - AcceptChanges : do nothing if row state is unchanged.
2715 - GetChildRows, GetParentRows : bug fix (use correct index).
2716 * DataRowCollection.cs : bug fix (compare all row's values).
2717 * DataTable.cs : bug fix (use correct row version).
2719 2004-05-20 Atsushi Enomoto <atsushi@ximian.com>
2721 * XmlSchemaDataImporter.cs : xs:positiveInteger is mapped to ulong.
2722 When content type is Mixed, text column is not required (it is
2723 required only when the complex type has no particle).
2724 "Repeated element" column is also created (considering maxOccurs=0
2725 and complex content extension).
2727 2004-05-20 Atsushi Enomoto <atsushi@ximian.com>
2729 * XmlSchemaDataImporter.cs : XmlSchemaGroupBase was not handled
2732 2004-05-20 Atsushi Enomoto <atsushi@ximian.com>
2734 * XmlSchemaDataImporter.cs : Removed unused code and extra MonoTODO.
2735 Fixed relation inference to consider attribute XPath.
2737 2004-05-19 Atsushi Enomoto <atsushi@ximian.com>
2739 * DataColumn.cs : Fixed set_Item[int]. Convert.ToInt64(DBNull.Value)
2742 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
2744 * DataColumn.cs - removed default member attribute.
2746 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
2749 DataColumnChangeEventArgs.cs,
2750 DataColumnCollection.cs,
2752 DataRowCollection.cs,
2754 Index.cs : Data storage in the row is redesigned. Now data is stored in
2755 typed containers inside DataColumn. Row holds its versions as indexes inside
2756 each of data container, accessed through the row that holds it.
2758 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
2760 * UniqueConstraint.cs - added comment.
2762 2004-05-19 Atsushi Enomoto <atsushi@ximian.com>
2764 * XmlDataInferenceLoader.cs : Don't add already-existing DataTable to
2767 2004-05-17 Atsushi Enomoto <atsushi@ximian.com>
2770 XmlDataInferenceLoader.cs,
2772 XmlSchemaDataImporter.cs : XmlDecode every local name to read and
2773 XmlEncode every local name to write. This should fix bug #58268.
2775 2004-05-17 Atsushi Enomoto <atsushi@ximian.com>
2777 * DataSet.cs : Implemented ignored namespaces in InferXmlSchema().
2778 Supported repeated elements. Removed MonoTODOs.
2779 * XmlDataInferenceLoader.cs : Design change to support ignored
2780 namespace and repeated elements.
2781 * XmlSchemaDataImporter.cs : Added mapping support classes.
2783 2004-05-15 Atsushi Enomoto <atsushi@ximian.com>
2785 * CustomDataClassGenerator.cs :
2786 Added property parent "[foo]Row" and children "Get[foo]Row" support
2787 for custom DataRow classes.
2788 Fixed DataColumn property accessibility (public --> internal).
2790 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
2792 * CustomDataClassGenerator.cs :
2793 - Put classes inside custom DataSet class.
2794 - Added automatic DataRelation creation support.
2795 - Added Constraints creation support. That is done separate from
2796 relations, since they might be independently created.
2797 - Added non-MS public DataRelation fields.
2798 - Removed extraneous "DataRelation type generation" code.
2799 - Fixed custom_dataset.Initialize() not to create "c" field that
2800 was created more than once.
2801 - Implemented AddxxxRow() that takes parameters for every column.
2803 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
2805 * XmlSchemaDataImporter.cs : When primary key is used more than once,
2806 DataRelation borked because of empty parent column name.
2808 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
2810 * XmlSchemaDataImporter.cs : When Creating constraints with related
2811 to DataRelation creation, also set PrimaryKey to the parent table.
2813 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
2815 * XmlSchemaDataImporter.cs :
2816 Design change to add indirect table and relation structures.
2817 Support for "relation" annotation for local element.
2818 Support for repeatable simple element column (maxOccurs > 1).
2819 Fixed handling of Nested property on DataRelation (for globally
2820 annotated relation, Nested is false).
2822 2004-05-13 Atsushi Enomoto <atsushi@ximian.com>
2824 * DataRow.cs : Added DataElement property to avoid storing every row-
2825 element mapping. It stored even for nodes that should be removed.
2827 2004-05-13 Umadevi S <sumadevi@novell.com>
2829 * RelationshipConverter.cs - Stubbed this class
2830 * DataRelation.cs - added TypeConveterAttribute
2832 2004-05-13 Umadevi S <sumadevi@novell.com>
2834 * DataColumnCollection.cs - Added ResDescriptionAttribute
2835 * DataRelation.cs - Added TypeConverterAttribute
2836 * DataRelationCollection.cs - Added DefaultPropertyAttribute
2837 * DataRowView.cs - Added GetHashCode method with a TODO tag
2838 * DataSet.cs - Added DesignerAttribute
2839 * DataView.cs - Added DesignerAttribute
2840 * DataViewManager.cs - Added DesignerAttribute
2841 * DataViewSetting.cs - Added TypeConverterAttribute
2843 2004-05-12 Atsushi Enomoto <atsushi@ximian.com>
2845 * DataRow.cs : Added XmlDataElement initialization code.
2847 2004-05-11 Atsushi Enomoto <atsushi@ximian.com>
2849 * XmlDataInferenceLoader.cs :
2850 It now requires XmlDocument as input. Improved identification of
2851 DataSet element. Removed extra lines.
2852 Moved boresome design notes to bottom of the source and
2853 added standalone runnable driver (not included on build).
2855 Update with related to the change above.
2856 WriteXml() should call Flush() after writing. This fixes bug #58327.
2857 * XmlSchemaDataImporter.cs :
2858 Improved indentification of DataSet element.
2860 2004-05-11 Gert Driesen (drieseng@users.sourceforge.net)
2861 * DataTable: marked initStatus enum internal
2863 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
2864 * DataTable.cs: removed TypeConverterAttribute, marked RowsExist
2866 * DataRowView.cs: removed extra Error property
2867 * DataRow.cs: reduced accessibility of CollectionChanged method
2869 * DataColumnPropertyDescriptor.cs: made class internal
2870 * DataColumn.cs: removed extra TypeConvertorAttribute
2871 * ConstrainCollection.cs: marked PostEndInit method internal
2873 2004-05-07 Atsushi Enomoto <atsushi@ximian.com>
2876 In WriteXmlSchema(), when complex type contains simple type content
2877 attributes must not added to XmlSchemaComplexType directly. It
2878 causes schema compilation error.
2879 DataRelation should not be output when related columns are hidden.
2881 2004-05-07 Atsushi Enomoto <atsushi@ximian.com>
2883 * XmlDataInferenceReader.cs : Added. It does InferXmlSchema() (it is
2884 also expected to do ReadXml(), but I will remove that feature and
2885 support column reordering).
2886 * XmlSchemaDataImporter.cs : Always initialize dataset name.
2887 Always set Nested and primary key for parent table.
2888 * XmlDataReader.cs : Now it is used.
2889 Top level element might not match to dataset name nor any table
2890 name, but still possible to read content tables.
2891 Handle empty element correctly in some places.
2892 Handle Fragment mode (read up XmlReader to the end).
2893 * DataSet.cs : Modified InferXmlSchema() and ReadXml() to use
2894 XmlDataInferenceLoader and XmlDataReader.
2896 2004-05-06 Atsushi Enomoto <atsushi@ximian.com>
2899 Eliminated CRLF injection.
2900 More clear message in Clear().
2901 Updates reflecting XmlSchemaDataImporter change.
2902 Added duplicate check for XmlSerializerNamespaces in BuildSchema().
2903 Don't use xmlns attribute for UnhandledAttributes (its not mandatory
2904 but that depends on different behavior from ms.net).
2905 Set locale also for DataTable.
2906 Add xs:element only when target namespace matches to the
2907 element's namespace. Otherwise, add xs:import for external namespace.
2908 Put xs:sequence for dataset element's particle _only when_ actual
2911 2004-05-06 Atsushi Enomoto <atsushi@ximian.com>
2913 * XmlDataReader.cs : Added. This class will work better when our
2914 schema inference and schema read engine gets improved. (It contains
2915 standalone testable Driver class.)
2917 2004-05-06 Atsushi Enomoto <atsushi@ximian.com>
2919 * ForeignKeyConstraint.cs : Check step change. Existence then column
2920 validity. just for tests.
2921 * XmlSchemaDataImporter.cs : code simplification. reduced extraneous
2924 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
2926 * DataSet.cs : Ignore empty content only when output type is diffgram.
2928 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
2930 * CustomDataClassGenerator.cs : Modified that DataSet contains each
2931 DataTable field so that each table property can access them directly.
2932 (plus, modified standalone code driver code: shouldn't affect)
2934 2004-05-05 Boris Kirzner <borisk@mainsoft.com>
2936 * DataView.cs , DataRowView.cs : Added implementation to basic methods and properties.
2938 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
2940 * XmlSchemaDataImporter.cs :
2941 SimpleContent column support.
2942 Annotated relation support.
2943 Top-level element is counted only when its type is complex.
2944 xs:anyType is no longer treated as complex type.
2945 dataset existence is mandatory now.
2946 Improved DataType and DefaultValue support.
2947 Attribute namespace is properly handled now.
2948 Prohibited attribute is now treated as hidden column.
2949 Reject list or union simple type.
2951 Still incomplete 1) to read relationship in some cases, 2) to
2952 determine whether an element is dataset or table, 3) thus to
2953 exclude extraneous column, 4) to remove extraneous *_Id column.
2955 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
2958 We had better reuse DataSet's ReadXmlSchema() and ReadXml() in
2959 serialization .ctor() (thus schema read/inference should be easier).
2960 DataRowSorter should consider Table's Locale.
2962 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
2964 * DataColumnCollection.cs : We already had AutoIncrementValue(), so
2965 use it instead of duplicating logic.
2967 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
2969 * ConstraintCollection.cs :
2970 Use Table.CaseSensitive and Table.Locale to compare strings.
2971 Duplicate constraint name exception does not occur under .NET 1.1.
2973 2004-05-04 Lluis Sanchez Gual <lluis@ximian.com>
2975 * XmlSchemaDataImporter.cs: Added little type check.
2977 2004-05-04 Lluis Sanchez Gual <lluis@ximian.com>
2979 * DataSet.cs: Implemented support for runtime serialization. Fixed support
2980 for xml serialization.
2981 * XmlDiffLoader.cs: Skip diffgram element when it is empty.
2983 2004-04-30 Umadevi S <sumadevi@novell.com>
2984 * DataColumnCollection.cs : Fixed nunit test errors, removed TODOs
2985 * DataTableCollection.cs : Tested and removed TODO
2986 * TypedDataSetGeneratorException.cs : Fixed a couple of TODOs
2988 2004-04-29 Atsushi Enomoto <atsushi@ximian.com>
2990 * DataRow.cs : My previous patch unintentionally reverted Boris patch.
2992 2004-04-29 Boris Kirzner <borisk@mainsoft.com>
2994 * UniqueConstraint.cs : Constraint columns becaomes unique after adding constraint ifand only if
2995 constraint is defined on single column.
2997 2004-04-29 Atsushi Enomoto <atsushi@ximian.com>
2999 * DataRowCollection.cs : .NET 1.1 throws InvalidConstaintException,
3000 not ArgumentException (maybe changed after 1.1).
3002 2004-04-29 Atsushi Enomoto <atsushi@ximian.com>
3004 * DataRow.cs : When Column was added and it was AutoIncrement column,
3005 it extended the item object array incorrectly.
3006 (Plus tiny comment and incorrect indentation fix.)
3008 2004-04-29 Boris Kirzner <borisk@mainsoft.com>
3010 * MergeManager.cs : added ( incomplete yet ) support for merging DataSet schema.
3012 2004-04-29 Boris Kirzner <borisk@mainsoft.com>
3014 * DataRow.cs : Bug fix in CopyValuesToRow().
3016 2004-04-29 Boris Kirzner <borisk@mainsoft.com>
3018 * UniqueConstraint.cs : There is no reason to mark constraint's columns as unique, because
3019 each of the columns should not be unique, but only all the constraint's columns together.
3021 2004-04-28 Boris Kirzner <borisk@mainsoft.com>
3024 - Added using of list of autoIncrement columns
3025 - SetColumnValue receives also DataColumn to avoid duplicate lookup in DatacolumnCollection
3026 - Fix in CheckNullConstraints
3027 - Fix in this[] and HasVersion() : when evaluating an expression deleted rows values can be accessed.
3028 - Fix in SetColumnValue() , added CanAccess() method to avoid case of accessing internal array values berore it actually allocated.
3029 - Added onColumnRemoved() method to threat column removal accurately.
3031 * DataRowCollection.cs :
3032 - Added using of DataRow._nullConstraintViolation (for perfomance fix in EndLoadData())
3033 - Added method onColumnRemoved() - calls each row's onColumnRemoved() (to ensure column removal is treated accurately)
3036 - Call DataRowCollection.onColumnRemoved() in OnRemoveColumn() (to ensure column removal is treated accurately)
3038 * DataColumnCollection.cs :
3039 - Perfomance fixes :
3040 - collection holds a list of its autoIncrement columns (avoids unnesessary lookup through whole collection)
3041 - collection holds mapping from column names to DataColumn objects (avoids lookup through whole collection).
3042 - automatic creation of column names rewrited (bug fixes + perfomance improvement)
3045 - Uses autoincrement list of a table
3047 2004-04-27 Atsushi Enomoto <atsushi@ximian.com>
3049 * XmlDataLoader.cs : Even when it should ignore schema, it was
3051 * XmlSchemaDataImporter.cs : DataRelation creation support.
3052 Improved "DataSet" element handing. When attributes are on the
3053 element, it is not a "DataSet" element.
3054 Fixed parent key column name.
3055 Unique name creation is not required. Just raise an error.
3056 Fill facet also for attribute types.
3058 2004-04-27 Atsushi Enomoto <atsushi@ximian.com>
3060 * DataRow.cs : Null check for CheckReadOnlyStatus() and
3061 CheckNullConstraints(), with some coding guideline fixes.
3062 Type check should be done by Type instance comparison.
3064 2004-04-27 Atsushi Enomoto <atsushi@ximian.com>
3066 * DataColumnCollection.cs : When add a column to the collection, fill
3067 auto-increment column.
3069 2004-04-26 Boris Kirzner <borisk@mainsoft.com>
3071 * DataColumn.cs : Small perfomance fix (avoid unnesessary string concatenation).
3073 2004-04-26 Atsushi Enomoto <atsushi@ximian.com>
3075 * CustomDataClassGenerator.cs : Added.
3076 * TypedDataSetGenerator.cs : Implemented Generate().
3077 Changed GenerateIdName() to call CustomDataClassGenerator.MakeSafeName
3078 * XmlSchemaDataImporter.cs : Table Locale should be supplied.
3080 2004-04-25 Boris Kirzner <borisk@mainsoft.com>
3082 * DataTable.cs : Small perfomance fix (avoid unnesessary string concatenation).
3084 2004-04-25 Boris Kirzner <borisk@mainsoft.com>
3086 * Constraint.cs : Small perfomance fix (avoid unnesessary string concatenation).
3088 2004-04-23 Umadevi S (sumadevi@novell.com)
3089 * DataRow.cs: Checked BeginEdit,EndEdit,CancelEdit and Delete methods
3090 - Added error handling to the above methods
3092 2004-04-22 Atsushi Enomoto <atsushi@ximian.com>
3094 * DataSet.cs : Data should be read when mode is IgnoreSchema (well,
3095 the support is incomplete yet).
3096 * XmlDataLoader.cs :
3097 Reverted ReadModeSchema() argument change. XmlReadMode would be
3098 useful to handle IgnoreSchema.
3099 Don't overwrite DataSetName when mode is not such kind.
3100 Set Prefix and Namespace as well as DataSetName.
3101 AllowDBNull looks set false by default for element column.
3102 Set unique constraint as primary key when infering the table schema.
3104 2004-04-21 Atsushi Enomoto <atsushi@ximian.com>
3107 Never set null string for Prefix and Namespace.
3108 In InferXmlSchema() when null XmlReader is passed, just do nothing.
3109 In WriteXmlSchema(string), earlier try block.
3110 In BuildSchema(), try to add serialization namespaces for each
3111 namespaces in DataSet/DataTable/DataColumn.
3112 Removed namespace argument from WriteColumnAsElement() and don't
3113 overwrite when namespace is "". This fixes bug #57330.
3114 * DataColumn.cs : For Namespace and Prefix, never set null.
3116 2004-04-21 Boris Kirzner <borisk@mainsoft.com>
3118 * XmlSchemaMapper.cs : Check for not null unique constraint in ReadXmlSchemaKeyref()
3119 before creating and adding foreign key constraint and relation.
3121 2004-04-21 Boris Kirzner <borisk@mainsoft.com>
3123 * MergeManager.cs : In AdjustSchema() source table clone should be added
3124 and not the table itself.
3126 2004-04-21 Boris Kirzner <borisk@mainsoft.com>
3129 - CaseSensitive : Additional fix (removed unnesessary assignment).
3130 - CopyProperties : Do not try to copy ExtendedProperties if the collection is empty.
3132 2004-04-21 Boris Kirzner <borisk@mainsoft.com>
3134 * DataTable.cs : Ensure that DataSet property is not null before using it in Clear().
3136 2004-04-20 Boris Kirzner <borisk@mainsoft.com>
3139 - EndLoadData() : perfomance fix in case of null constraint violation
3140 during data load (also in DataRow.cs).
3141 - CaseSensitive : If DataTable belongs to DataSet it should always use
3142 DataSet.CaseSensitive untill explicitly changed.
3143 - CopyProperties() : do not try to copy ExtendedProperties if the collection is empty.
3146 - Pefromance fix in case of null constraint violation
3147 during data load (also in DataTable.cs).
3148 - CollectionChanged() : use correct column number after new DataColumn was added
3149 (differs in case some DataColumn was previosly removed).
3150 - EndEdit() - throw away proposed values only after CheckChildRows() complete.
3152 2004-04-20 Boris Kirzner <borisk@mainsoft.com>
3154 * DataColumnCollection.cs : Since unique constraint is added now
3155 in DataColumn.SetTable() the additional creation of constraint in
3156 DataColumnCollection.Add() is redundant and causes exception - fixed.
3158 2004-04-19 Atsushi Enomoto <atsushi@ximian.com>
3160 * XmlDataLoader.cs : Added "never add data rows" mode.
3161 Removed unused code. However, it is temporary fixes to unify
3162 ReadXml() and InferXmlSchema().
3163 * DataSet.cs : Implemented InferXmlSchema(), though it is incomplete.
3165 I'll create another XmlDataLoader since there are many problems
3166 such that 1) it is too waste to read the entire xml into an
3167 XmlDocument, 2) it does not handle attributes correctly, and 3) it
3168 must handle "ignored namespaces".
3170 2004-04-19 Atsushi Enomoto <atsushi@ximian.com>
3172 * Added XmlSchemaDataImporter.cs (new schema reader).
3173 * DataSet.cs : Use XmlSchemaDataImporter (right now for DataSet only)
3174 for ReadXmlSchema().
3175 Let schema reading work to ReadXmlSchema().
3176 Don't return ReadSchema when argument read mode was DiffGram.
3178 2004-04-15 Umadevi S (sumadevi@novell.com)
3179 * Updated Clone/Copy methods in DataSet along with Testcase
3180 * ForeignKeyConstraint.cs - special ctor implemented
3181 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).
3182 * Changes in ConstraintCollection.cs for the above
3183 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.
3186 2004-04-15 Atsushi Enomoto <atsushi@ximian.com>
3188 * XmlSchemaMapper.cs : set parent key and foreign key info to
3189 DataRelation when reading refkey constraints.
3190 Supply constraint name for fkey.
3192 2004-04-15 Atsushi Enomoto <atsushi@ximian.com>
3194 * XmlDataLoader.cs : Don't overwrite existing DataSetName. When read
3195 mode is Auto, just ignore the schema if there is already schema info.
3196 * DataSet.cs : Similarly ignore schema info for XmlReadMode = Auto.
3198 2004-04-14 Atsushi Enomoto <atsushi@ximian.com>
3201 - In MS output, XML declaration looks to have standalone decl (yes).
3202 - ReadXml(reader) just calls to ReadXml(reader, XmlReadMode.Auto)
3203 - ReadXml(reader, mode)
3204 1) return originally specified mode, instead of (always) Auto.
3205 2) Check empty reader.
3206 3) Check diffgram schema and content separately.
3207 4) When diffgram exists, remaining (the same-level) contents
3209 5) Similar fact should be applied, but somewhat different.
3210 InferSchema and IgnoreSchema just skips, Fragment reads both
3211 schema and content, others just reads schema.
3212 - Removed unused code.
3213 * XmlDataLoader.cs :
3214 - Read() should skip in some ReadMode.
3215 - Don't compare schema element name as case-insensitive (well,
3216 should schemas be checked here?)
3217 - Avoided BuildDocument() not to create confusing DataSet
3219 - Don't add any tables when reader has single element.
3220 * XmlDiffLoader.cs :
3221 When target table was not found, MS.NET doesn't raise an error.
3222 * XmlSchemaMapper.cs :
3223 When XmlSchema.Read() left xml reader at </xs:schema>, read once.
3225 2004-04-13 Atsushi Enomoto <atsushi@ximian.com>
3228 - InferXmlSchema(): Throw explicit NotImplementedException now.
3229 - Don't put XML declaration everywhere. Write just for filename arg.
3230 - xmlns="" should not be written. Maybe WebService problem is
3231 because default namespace is overwritten. This patch will keep
3232 the WS problem away and actually fixes some unit tests (i.e. use
3233 explicit String.Empty for null namespace in WriteStartElement()).
3234 - MoveToContent() should always be called, not only when
3235 LocalName="xml". It will ignore prolog (DTD, PI, comment etc.).
3236 - Even XmlReadMode is DiffGram, reader might not be "diffgram"
3237 element. As to MSDN, diffgram does not contain schema.
3239 2004-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3241 * DataTable.cs: made _initStatus private so that System.Data is CLS
3244 2004-04-13 Umadevi S <sumadevi@novell.com>
3245 * UniqueConstraint.cs:
3246 * ConstraintCollection.cs:
3248 - Implemented a Constructor for UniqueConstraint.cs
3249 - Used EndInit on DataTable to call a delegate which adds the
3250 constraints passed to the most recent call of AddRange().Used
3251 AddRange() on ConstraintCollection to check whether
3252 DataTable.BeginInit has occurred. If yes, save the argument
3253 constraint collection passed, then return. If no, Check whether the
3254 constraints are of type UniqueConstraint and initialized with the
3255 special constructor If yes Initialized the table property of this
3256 UniqueConstraint object with table assosciated with the current
3257 instance of ConstraintCollection class.
3259 2004-04-07 Marek Safar <marek.safar@seznam.cz>
3261 * Constraint.cs: changed ClsCompliant to CLSCompliant, build fix.
3263 2004-04-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3266 * DataColumnCollection.cs:
3267 * DataRelationCollection.cs:
3268 * DataRowCollection.cs:
3269 * DataTableCollection.cs:
3270 * InternalDataCollectionBase.cs:
3271 * Node.cs: CLS compliance for System.Data. Patch by Gert Driesen.
3274 2004-04-05 Jackson Harper <jackson@ximian.com>
3276 * DataTable.cs: Add rows to the row list if there is no filter.
3278 2004-03-31 Juraj Skripsky <juraj@hotfeet.ch>
3280 * DataColumn.cs : Setting Caption to null sets it to the empty string
3281 (ms.net behaviour, testcase is in DataColumnTest).
3283 * DataRow.cs : Evaluate DataColumn.Expression when such a column's
3286 2004-03-30 Lluis Sanchez Gual <lluis@ximian.com>
3288 * DataColumn.cs: In Expression setter, set the expression member even if
3289 it is an empty string.
3290 * DataSet.cs: Support serialization of byte[] columns.
3291 * XmlDataLoader.cs: Support deserialization of Guid columns.
3292 Set MappingType.Attribute to columns infered from attributes.
3294 2004-03-29 Juraj Skripsky <juraj@hotfeet.ch>
3296 * ExpressionElements.cs : remove
3297 * DataColumn.cs, DataRelationCollection.cs, DataTable.cs :
3298 Integration of new Mono.Data.SqlExpressions classes used in
3299 DataTable.{Select, Compute}.
3300 Fixes bug #55503 and lots of failures in DataTableTest.cs.
3302 2004-03-28 Juraj Skripsky <juraj@hotfeet.ch>
3304 * Index.cs: Simple fix in ComparePartialRowNonUnique.
3305 This fixes bugs #56129 and #56014.
3307 2004-03-25 Lluis Sanchez Gual <lluis@ximian.com>
3309 * DataSet.cs: In WriteXml (string filename, XmlWriteMode mode), close the
3310 stream after writing the dataset. This fixes bug #52581.
3311 Also added several writer.Close into finally blocks, so writers are properly
3312 closed in case of an exception.
3314 2004-03-12 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3316 * Constraint.cs: DO NOT USE the consts scheme if types can be referenced directly!
3317 * DataColumn.cs: DO NOT USE the consts scheme if types can be referenced directly!
3318 * ColumnTypeConverter.cs: Added stub
3319 * DefaultValueTypeConverter: Added stub
3320 * ConstraintConverter.cs: Added stub
3322 2004-03-04 Eran Domb <erand@mainsoft.com>
3324 * XmlDataLoader.cs : Xml reading reviewed. Added support for additional xml formats as described
3325 in MS.NET documentation (missing DataSet element etc).
3327 2004-03-04 Eran Domb <erand@mainsoft.com>
3330 * Index.cs : Rollback last changes.
3332 2004-03-03 Atsushi Enomoto <atsushi@ximian.com>
3334 * Index.cs : justa build fix.
3336 2004-03-03 Eran Domb <erand@mainsoft.com>
3339 * Constraint.cs, ForeignKeyConstraint.cs, UniqueConstraint, ConstraintCollection.cs, DataColumn.cs,
3340 DataRow.cs, DataRowCollection.cs, DataSet.cs, DataTable.cs : Changes made for using indexes on tables.
3341 This changes made for performance improvement.
3343 2004-02-08 Eran Domb <erand@mainsoft.com>
3345 * XmlSchemaMapper.cs : Read columns is they were written as SimpleContent or as Attributes.
3347 2004-02-08 Eran Domb <erand@mainsoft.com>
3349 * DataSet.cs: Fix some bugs in ReadXml().
3351 2004-02-04 Lluis Sanchez Gual <lluis@ximian.com>
3353 * DataSet.cs: Added missing method that broke the build.
3355 2004-02-04 Eran Domb <erand@mainsoft.com>
3357 * DataRowCollection.cs (InsertAt): Add a check for null row. Replace check of IndexOf with RowId for
3359 * DataSet.cs (GetTableSchema) : Add supprot for simple content columns. Change the condition for a case
3360 when all column are attributes (elements count is 0), we still want to add the relations. No relations
3361 can be on simple contents.
3362 (AddUniqueConstraints) Check that the column of the constraint are not hidden.
3363 (AddForeignKeys) Check that the relation has constraints attach to it.
3364 * XmlConstants.cs : Added constant.
3366 2004-02-04 Eran Domb <erand@mainsoft.com>
3368 * DataSet.cs : GetSchemaSerializable() return null and not BuildSchema().
3369 DoWriteXmlSchema calls BuildSchema ().
3371 2004-02-04 Lluis Sanchez Gual <lluis@ximian.com>
3373 * DataRow.cs: Added SetOriginalValue(), which is used to set the original
3375 * DataRowCollection.cs: In InsertAt(), perform the correct checks and
3377 * DataSet.cs: Fixed method GetChanges(): Parent rows of modified rows must
3378 also be added to the dataset.
3379 In WriteTable(), do not write unchanged rows when writing the original
3380 version of the table.
3381 Added WriteIndividualTableContent(), for writing the contents of a single
3383 Changed BuildSchema and related methods, so it can generate a schema for
3384 any set of tables, not just the tables of the dataset (needed for
3385 single datatable serialization).
3386 * DataTable.cs: Implemented serialization constructor and GetObjectData method.
3387 Also implemented some ReadXmlSchema methods.
3388 * XmlDiffLoader.cs: Read and process the xml document directly from XmlReader,
3389 instead of loading the full dataset in an XmlDocument. It is faster and
3390 saves memory. Also fixed several problems when generating the changes.
3391 * XmlSchemaMapper.cs: Support reading schemas for single tables (used by
3392 table serialization).
3394 2004-02-02 Eran Domb <erand@mainsoft.com>
3396 * DataSet.cs : Add indentation to the xml serialization only if we create the XmlWriter.
3397 Add the namespace attribute even if namespace is an empty string for inteoperability with MS.NET.
3398 * DataTable.cs (NewRow): Create only one DataRowBuilder.
3399 Initiate new row with row id -1.
3400 * DataRow.cs : Add RowId property.
3401 * DataRowBuilder.cs : Add _rowId member.
3402 * DataRowCollection.cs (Add) : Use the RowId property of the new row to check if it is already exists in the collection.
3404 2004-01-26 Eran Domb <erand@mainsoft.com>
3406 * XmlConstants.cs : Added some constants.
3407 * DataColumn.cs : Added a method to retrive AutoIncrement value.
3408 * XmlDataLoader.cs : Set the value of the foriegn key column, according to the value of the
3409 parent table column.
3410 * XmlDiffLoader.cs : Convert the value comming from the xml.
3411 * XmlSchemaMapper.cs (Read) : Set the DataSet namespace.
3412 (ReadXmlSchemaSequence) : Change the logic that decides if this element is a column or a table.
3413 (ReadXmlSchemaElement) : Set the locale of the dataset.
3414 (ReadColumn) : Set the column type. Find if the column is AutoIncrement.
3415 (GetColumnType) : New method to get the column type from the attribute value.
3416 (ReadXmlSchemaUnique) : Improve parsing of XPath. Set the constraint as a PK if needed,
3417 and add the constraint to the table.
3418 (ReadXmlSchemaKeyref) : Improve parsing of XPath. Create the FK constraint and add it to
3420 * DataSet.cs : Improving writing of unique constraints, and foriegn key constraint. Givving them the correct names.
3421 Writing more information to the schema for interoperability with ms.net.
3422 Improve diffgarm writing mode.
3425 2004-01-21 Atsushi Enomoto <atsushi@ximian.com>
3427 * TypedDataSetGenerator.cs : Implemented GenerateIdName().
3429 2004-01-21 Eran Domb <erand@mainsoft.com>
3431 * XmlDataLoader.cs (AddRowToTable) : Give thre new relation correct name.
3432 Do not set the child column to be AutoIncrement.
3433 Create the new column for the relation as MappingType.Hidden so they will not be serialized
3434 when writing the dataset to xml.
3436 2004-01-20 Atsushi Enomoto <atsushi@ximian.com>
3438 * Added missing TypedDataSetGenerator.cs.
3440 2004-01-08 Eran Domb <erand@mainsoft.com>
3442 * XmlSchemaMapper.cs : Fix a bug. Check if table already in DataSet before adding it.
3443 * DataSet.cs (ReadXml) : Fix bugs. Read correctly the xml file with XmlReadMode of DiffGram,
3444 InferSchema, ReadSchema and IgnoreSchema.
3445 * XmlDataLoader.cs : All modes use the same logic.
3446 * XmlDiffLoader.cs : Adding BuildXmlDocument method to the class.
3448 2004-01-06 Eran Domb <erand@mainsoft.com>
3450 * DataRelationCollection.cs : Use IndexOf in indexer.
3451 * DataSet.cs : Adding support for WriteXml with diffgram. Code style changes.
3452 * XmlDataLoader.cs : Set the DataSet.enforceConstraints to false before loading the tables.
3453 * XmlDiffLoader.cs : Reading nested tables.
3454 * XmlSchemaMapper.cs : Reading the relation.
3455 * XmlConstants.cs : Adding some constants.
3457 2004-01-05 Jackson Harper <jackson@ximian.com>
3459 * DataView.cs: Set readonly property of property descriptor. This
3462 2004-01-01 Sanjay Gupta <gsanjay@novell.com>
3464 * DataRelationCollection.cs : Fixed incorrect generation of default
3466 * DataSet.cs : Added missing functionality in WriteXml().
3467 * XmlConstants.cs : Added new constants.
3469 2003-12-27 Atsushi Enomoto <atsushi@ximian.com>
3471 * DataSet.cs : Fixed incorrect WriteXml() signature.
3473 2003-12-18 Jackson Harper <jackson@ximian.com>
3475 * DataView.cs: Implement AddNew, Delete, and OnListChanged.
3477 2003-12-17 Atsushi Enomoto <atsushi@ximian.com>
3479 * DataSet.cs, XmlDataLoader.cs : Table name should be encoded before
3480 they take shape of xml. This fixed bug #52240
3482 2003-12-16 Tim Coleman <tim@timcoleman.com>
3483 * KeyRestrictionBehavior.cs:
3484 New stubs added for .NET 1.2
3488 2003-12-08 Eran Domb <erand@mainsoft.com>
3489 * DataColumn.cs (Expression) : Validate the expression.
3491 * DataRelationCollection.cs (IndexOf) : Added new method sensetive to case differences in relation name.
3492 (Contains, IndexOf, this[], Add) : Call new IndexOf when needed.
3494 * DataRow.cs (this[]) : Fix the condition for throwing RowNotInTableException.
3495 (RejectChanges) : Detach row when state was Added.
3496 (CollectionChanged) : Fix a bug.
3498 * ExpressionElement (ValidateExpression) : Fix a bug.
3500 * ForeignKeyConstraint.cs (AssertConstraint) : Added implementation. Check all rows from child table have
3501 a parent row in the parent table.
3502 (_validateColumns) : Fix bugs.
3504 * MergeManager.cs (AdjustSchema) : Fix a bug.
3506 * XmlDataLoader.cs (ReadModeInferSchema) : Change implementation. Now we can read nested xml, and we generate the relations
3509 2003-11-30 Eran Domb <erand@mainsoft.com>
3510 * DataColumnCollection.cs (this[string name]) : Use IndexOf to find the column.
3511 (Add) : Find if the new column name is the same as the one found in IndexOf.
3512 (IndexOf) : New method.
3513 (Contains) : Use new IndexOf.
3514 (IndexOf) : Use new IndexOf.
3516 * DataRelationCollection.cs (DataRelationCollection.AddCore) : Add The Relation to the collection.
3517 (DataSetRelationCollection.AddCore) : First add the UniqueConstraint.
3519 * DataRow.cs (this[int columnIndex, DataRowVersion version]) : Change exceptions.
3520 (Delete) : Detach row if the RowState was Added.
3521 (GetChildRows) : Get the array form the ChildTable.
3522 (GetParentRows) : Get the array from the ParenTable.
3524 * DataRowCollection.cs (Remove) : Check if row state is Detached to avoid exception.
3526 * DataSet.cs (IXmlSerializable.ReadXml) : Do not call MoveToContent and ReadEndElement - the XmlSerializationReader does it.
3528 * DataTable.cs (PrimaryKey) : Fix bugs.
3529 (Compute) : First call Select. Then create ExpressionAggregate to aggregate the Select result.
3531 * DataTableCollection.cs (Add) : Fix a bug.
3533 * ExpressionElement.cs (ValidateExpression) : Turning ValidateExpression to static.
3534 (Result) : Added new interface to AggregateExpression that get DataRow[] as a param.
3535 Some code style changes (tab instead of whit spaces, alignment, etc...).
3537 * ForeignKeyConstraint.cs (_validateColumns) : Throw correct exception.
3539 * MergeManager.cs (AdjustSchema) : Fix a bug.
3543 2003-11-26 Miguel de Icaza <miguel@ximian.com>
3545 * DataSet.cs: Add a few more missing methods, code style updated
3548 2003-11-26 Tim Coleman <tim@timcoleman.com>
3550 * ConflictOptions.cs DataAdapterException.cs DataTableReader.cs
3551 * DbMetaData.cs FillOptions.cs IDataReader2.cs IDataRecord2.cs
3552 * IDataUpdatableRecord.cs IDbAsyncCommand.cs IDbAsyncConnection.cs
3553 * IDbExecutionContext.cs IGetTypedData.cs ISetTypedData.cs
3554 * LoadOption.cs OperationAbortedException.cs ResultSetOptions.cs
3555 * ResultSetSensitivity.cs StatementCompletedEventArgs.cs
3556 * StatementCompletedEventHandler.cs UpdateOptions.cs:
3557 New classes added for NET_2_0
3558 * DBConcurrencyException.cs DataRelation.cs DataSet.cs DataTable.cs
3559 * DataTableCollection.cs DataView.cs ForeignKeyConstraint.cs:
3560 Modifications to add new NET_2_0 functions
3562 2003-11-25 Tim Coleman <tim@timcoleman.com>
3566 2003-11-21 Pedro Martinez Julia <yoros@wanadoo.es>
3568 * DataRow.cs: Detached row can be accesible (new rows from data
3569 table are detached). Closes but #51263.
3571 2003-11-19 Eran Domb <erand@mainsoft.com>
3572 * DataRow.cs : Throw exceptions if Row is Detached.
3573 (EndEdit) : Check that we are not in middle of ChangeEvent.
3574 (AcceptChanges) : Detach the row.
3576 * DataRelation.cs : throw correct exception.
3577 *UniqueConstraint.cs : throw correct exception.
3580 2003-11-09 Pedro Martinez Julia <yoros@wanadoo.es>
3582 * DataRow.cs: Use RemoveInternal instead of Remove because the last
3583 one uses Delete and AcceptChanges.
3585 * DataRowCollection.cs: When removing, Delete and AcceptChanges
3586 method from the row are called. Added an internal method that will
3587 be used by DataRow to "physically" remove the row from the list.
3589 2003-11-09 Pedro Martinez Julia <yoros@wanadoo.es>
3591 * DataRowCollection.cs: To follow the specification: Remove and
3592 RemoveAt should remove the row. But needed to call DeletingDataRow
3593 to prepare the deleting.
3595 * DataRow.cs: Don't call DeletingDataRow when it is called by the
3596 method Table.Rows.Remove.
3598 2003-11-09 Pedro Martinez Julia <yoros@wanadoo.es>
3600 * DataRowCollection.cs: Make the row be deleted by itself. If not,
3601 it fails because we need to call OnRowDeleting and OnRowDeleted. It
3602 is full implemented inside DataRow.
3604 2003-11-05 Eran Domb <erand@mainsoft.com>
3605 * DataView.cs (ctor) : Changing default RowStateFilter to CurrentRow.
3607 2003-11-04 Eran Domb <erand@mainsoft.com>
3608 * DataRow.cs (CheckChildRows) : Improving the implementation - checking child for all FK, and not
3610 (GetChildRows) : Adding some checks.
3611 (GetParentRows) : Adding some checks. Fix a bug in implementation.
3612 (SetParentRow) : Added implementation.
3614 * DataRowCollection.cs (Add) : Added more checks on the row added to the collection.
3615 * DataTable.cs (Copy) : Set the During Loading flag to save unnecessary assertions.
3616 * ForeignKeyConstraint.cs (AssertConstraint) : Fixing bugs in implementation. Checking for DBNull values in the row.
3617 * MergeManager.cs : Check that the target table is not null.
3619 2003-10-27 Eran Domb <erand@mainsoft.com>
3620 * DataColumn.cs (DefaultValue) : Changing null value to DBNull. Checking that the type of the new default value
3621 can be converted to the column type.
3623 * DataRelationCollection.cs (AddCore) : Give the new FK the name of the relation.
3625 * DataRow.cs (EndEdit) : Check if we need to validate the constraints.
3626 (GetParentRows, GetChildRows) : Checking that the row has the wanted version, before accessing the row's value.
3628 * DataRowCollection.cs (Add) : Fixing a bug.
3629 (Clear) : Before clearing the array check that there is no violation of FK constraint.
3631 * DataSet.cs (Prefix) : If value is null chage it to empty string.
3632 (GetXml) : Removing the Processing Instructions from the xml string as in MS ADO.NET.
3634 * ExpressionElement : Adding support for IN expresion.
3636 * DataTable (CopyConstraints) : New method that copy the tables constraints to the copy table.
3637 (Select) : Adding support for DataViewwRowState.
3639 * ForeignKeyConstraint.cs (AssertConstraint) : Adding implementation.
3641 * MergeManager.cs (MergeRow) : Fix bugs.
3643 2003-10-27 Eran Domb <erand@mainsoft.com>
3644 * DataRow.cs (SetColumnValue): Donot check null value when in midle of loading data.
3645 check null values when ending loading data.
3647 * DataSet.cs (RejectChanges) : Imlementation.
3648 (Prefix) : If prefix was changed fire event. Check that the prefix is not null - if null,
3649 change it to empty string.
3651 * DataTable.cs (BeginLoadData, EndLoadData) : Impemantation.
3653 2003-10-22 Eran Domb <erand@mainsoft.com>
3654 * MergeManager.cs : Fixing bugs. Adding check for PrimaryKey matching.
3656 * ConstraintCollection.cs (RamoveAt): Change implemntation.
3658 * DataTableCollection (CanRemove): Removing cast to Constraint.
3660 2003-10-22 Eran Domb <erand@mainsoft.com>
3661 * DataRelationCollection.cs (AddCore): The unique constraint was added even if the createConstraints flag was false.
3662 (Clear): The collection was cleared without removing the relation from the parent and child tables.
3664 * DataSet.cs (Copy, Clone): The Relations of the DataSet were not copy.
3665 (HasChanges, Reset): Imlementation.
3667 * DataTable.cs (HasErrors): There is no flag for errors, instead the table ask her row if they have any errors.
3668 This is because the we do not no when to turn off the flag.
3669 (Locale): Changing implementation to behave like ADO.NET.
3670 (AcceptChanges): Fix bug.
3671 (Clear): Check that this table is not referenced from a foreign key constraint.
3672 (Copy): Do not try to access a deleted row.
3673 (CopyProperties): Copy the PrimaryKey.
3674 (GetChanges, ImportRow): Implementation.
3675 (LoadDataRow): Adding implementation if the table has PrimaryKey.
3676 (ToString): Changing implementation to behave like ADO.NET.
3678 * UniqueConstraint.cs (AssertConstraint): support for Multiple DataColumns in the constraint.
3680 * DataRow.cs (Ctor): In the constructor we initiate the current array, but we should initiate only the proposed array for new rows.
3681 (HasErrors): Implementation.
3682 (Delete): Added checking for child rows of the deleted row.
3683 (EndEdit): Added checking for child row and firing events.
3684 (GetColumnError): Added a check that the method will not return null, as in ADO.NET(an empty string is returned).
3685 (GetColumnsInError): Added a check for null values in column error.
3686 (HasVersion): Added special treatment for special RowState.
3687 (CollectionChanged): More checks to avoid NullReferenceException.
3689 * DataRowCollection.cs (Remove): Fix a bug.
3692 2003-10-01 Duncan Mak <duncan@ximian.com>
3694 More patches from Eran Domb <erand@mainsoft.com>.
3696 * MergeManager.cs: New file.
3698 * DataRelationCollection.cs (AddCore): Check that a
3699 UniqueConstraint is already exists. It loops over the Relations
3700 instead of the Constraints.
3701 (Add, AddCore): The relation was added twice.
3703 * DataSet.cs (Merge, GetChanges, HasChanges): Implemented.
3705 2003-09-30 Duncan Mak <duncan@ximian.com>
3707 Patches from Eran Domb <erand@mainsoft.com>.
3709 * DataRelation.cs (constructor): When the name of the relation is
3710 null, it should return an empty, not "Relation".
3712 * DataRow.cs (AcceptChanges): Added special case for
3714 (CancelEdit): Set editing flag to false.
3715 (IsNull): Check that the value is DBNull.
3717 * DataRowCollection.cs (Add): There was no check that the table of
3718 the collection is owned by a DataSet.
3720 * DataSet.cs (OnMergeFailed): Added.
3722 * UniqueConstraint.cs (AssertConstraint): There was no check that
3723 values in the row are not null, where it is a primary key
3724 column. Also check that the row has a proposed version, if not,
3725 get the current version when we compare the rows.
3727 2003-09-25 Duncan Mak <duncan@ximian.com>
3729 Patches from Eran Domb <erand@mainsoft.com>.
3731 * DataColumn.cs (Unique): Implemented.
3734 * ConstraintCollection.cs:
3735 * ForeignKeyConstraint.cs (_ensureUniqueConstraintExists): Fixes
3736 an Exception thrown. Details:
3737 http://lists.ximian.com/archives/public/mono-devel-list/2003-September/002130.html
3739 * DataRowCollection.cs (Add): There is no checking that there is
3740 no violation of the unique constrains.
3742 * UniqueConstraint.cs (AssertConstraint): There is no checking on
3743 all columns in the constraint.
3745 * DataTableCollection (Add): Correctly throw an Exception, more
3747 http://lists.ximian.com/archives/public/mono-devel-list/2003-September/002117.html
3748 (Remove, RemoveAt): Implemented.
3750 2003-07-31 Duncan Mak <duncan@ximian.com>
3752 * DBConcurrencyException.cs: Added new NET_1_1 no-param constructor.
3754 2003-07-25 Ravi Pratap <ravi@ximian.com>
3756 * DataRelation.cs (OnPropertyChanging): Calling the 'Invoke'
3757 method on a delegate is disallowed - fix this.
3759 2003-07-22 Lluis Sanchez Gual <lluis@ximian.com>
3761 * DataSet.cs: Implemented IXmlSerializable interface. Added basic support for
3762 xml serialization. Modified method of writing schema. Now it creates
3763 a XmlSchema object and serializes it using XmlSerializer.
3764 * XmlConstants.cs: Added constants for data type names.
3765 * XmlDataLoader.cs: Fixed deserialization of data. Now converts data to the
3766 type specified in the column.
3768 2003-04-20 Alan Tam <Tam@SiuLung.com>
3770 * DataRelationCollection.cs: Fix a bug that prevent relations
3771 from being added via DataSet.
3773 2003-04-12 Ville Palo <vi64pa@kolumbus.fi>
3775 * UniqueConstraint.cs: one tiny fix.
3777 2003-04-05 Ville Palo <vi64pa@kolumbus.fi>
3779 * DataTable.cs: Remove UniqueConstraints when adding new ones
3781 2003-04-04 Ville Palo <vi64pa@kolumbus.fi>
3783 * DataColumnCollection.cs: Little 'case sensitive' fix
3785 2003-04-04 Ville Palo <vi64pa@kolumbus.fi>
3787 * DataRow.cs: AutoIncrement handling to Constructor
3788 * DataRowCollection.cs: This doesnt need anymore AutoIncrements
3790 2003-03-27 Ville Palo <vi64pa@kolumbus.fi>
3792 * DataTable.cs: Some fixes to PrimaryKey etc...
3793 * UniqueConstraint.cs: Little clean up
3795 2003-03-27 Ville Palo <vi64pa@kolumbus.fi>
3797 * DataTable.cs: Tiny fix to ToString () -method
3799 2003-03-27 Ville Palo <vi64pa@kolumbus.fi>
3801 * ConstraintCollection.cs: Little fix.
3802 * DataColumn.cs: Added new internal method SetUnique()
3803 * UniqueConstraint.cs: some little fixes
3805 2003-03-26 Ville Palo <vi64pa@kolumbus.fi>
3807 * DataRowCollection.cs: Bugfixes, implementation,...
3809 2003-03-26 Ville Palo <vi64pa@kolumbus.fi>
3811 * DataColumn.cs: If DataType if set to something else than short, int
3812 or long and AutoIncrement is true, AutoIncrement is must set to false.
3814 2003-03-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3817 (BeginEdit): fixed array bound problem when a column has been added.
3818 (EndEdit): just assign proposed to current as proposed is set to null.
3819 This also fixes another array boudn problem.
3821 2003-03-21 Alan Tam <Tam@SiuLung.com>
3823 * DataRow.cs: Fixed problems in accessers, BeginEdit, CancelEdit,
3824 EndEdit and AcceptChanges to act correctly according to DataRowState
3826 * DataRowCollection.cs: Call AttachRow and DetachRow when a row is
3827 attached and detached from the collection.
3829 2003-03-20 Alan Tam <Tam@SiuLung.com>
3831 * DataColumn.cs: Store empty string for Expression when null is passed in.
3832 Classes generated by XSD.exe passes null by default.
3834 2003-03-16 Ville Palo <vi64pa@kolumbus.fi>
3836 * DataColumnCollection.cs: Tiny clean up
3838 2003-03-16 Ville Palo <vi64pa@kolumbus.fi>
3840 * DataColumn.cs: little fixes.
3841 * DataColumnCollection.cs: Lots of little fixes and improvments.
3843 2003-03-12 Alan Tam <Tam@SiuLung.com>
3845 * DataSet.cs: Fixed a bug that the file written does not close correctly.
3847 2003-03-08 Alan Tam <Tam@SiuLung.com>
3849 * DataRelationCollection.cs: Removed the mis-overridden methods
3850 * DataRow.cs: Fixed an attribute
3851 * DataSet.cs: Fixed the modifiers
3853 2003-03-06 Aleksey Demakov <avd@openlinksw.com>
3855 * DataTableCollection.cs: The Contains (string name),
3856 IndexOf (string name) methods, and item[string name] indexer
3857 now behave more like .NET with respect to case-sensitivity.
3858 That is if there is an exactly matching item then this one is used.
3859 If there is only one item differing in case then it used.
3860 If there are more than one item differing in case then
3861 Contains returns false, IndexOf returns -1, and item[]
3862 throws an ArgumentException.
3864 2003-02-28 Ville Palo <vi64pa@kolumbus.fi>
3866 * ExpressionElement.cs: More implementation.
3868 2003-02-28 Alan Tam <Tam@SiuLung.com>
3869 * DataSet.cs: Changed WriteTable so that it now calls the newly written
3870 WriteObjectXml to direct the call to the respective XmlConvert method.
3871 This fixes the wrong format written to XML files of bool, float,
3872 double, DateTime and TimeSpan types.
3874 2003-02-25 Alan Tam <Tam@SiuLung.com>
3876 * DataRelation.cs: Added SetDataSet for DataSetRelationCollection to use.
3877 * DataRelationCollection.cs: Implemented AddRange and Contains.
3878 Implemented AddRange, Clear, List and RemoveCore for DataSetRelationColletion.
3879 Implemented AddCore, List and RemoveCore for DataTableRelationCollection.
3880 Reimplemented most Add methods to eliminate duplicated checks.
3881 Centralized RelationName generation procedure in GetNextDefaultRelationName.
3883 2003-02-25 Alan Tam <Tam@SiuLung.com>
3885 * DataColumn.cs: Fixed wrong storage representation of Expression
3886 (using empty string instead of null) so that ToString() returns nothing.
3887 * DataColumnCollection.cs: Reimplemented GetNextDefaultColumnName so that
3888 auto column naming now works as expected. Reimplemented some Add methods
3889 to eliminate code duplication.
3891 2003-02-19 Ville Palo <vi64pa@kolumbus.fi>
3893 * DataTable.cs: DataTable.CaseSensitive follows parent
3894 DataSet.CaseSensitive property if DataTable.CaseSensitive has never
3895 been changed directly from DataTable
3897 2003-02-19 Ville Palo <vi64pa@kolumbus.fi>
3899 * DataSet.cs: When CaseSensitive property is changed all of the Tables
3900 of DataSet have to change too
3902 2003-02-19 Daniel Morgan <danmorg@sc.rr.com>
3904 * InternalDataCollectionBase.cs: revert change to field
3907 * DataViewManager.cs
3910 * DataSet.cs: commented use of DesignerAttribute
3911 because it broke the build. According to MSDN,
3912 DesignerAttribute does not have a zero-argument constructor
3914 2003-02-18 Ville Palo <vi64pa@kolumbus.fi>
3916 * DataColumnCollectin.cs: Little fix for indexer and case sensitivity
3918 2003-02-18 Alan Tam <Tam@SiuLung.com>
3920 * DataRow.cs: Implemented GetParentRow and GetParentRows.
3921 * DataSet.cs: Added stub for HasChanges, InferXmlSchema,
3922 OnPropertyChanging, OnRemoveRelation, OnRemoveTable,
3923 RaisePropertyChanging.
3924 * DataTable.cs: Implemented NewRowArray.
3925 * DataTablePropertyDescriptor: Fixed a modifier.
3926 * InternalDataCollectionBase.cs: Fixed modifiers. Implemented SyncRoot.
3927 * PropertyCollection.cs: Minor fix.
3928 * ConstraintCollection.cs DataColumn.cs DataColumnCollection.cs
3929 * DataRelation.cs DataRelationCollection.cs DataRow.cs
3930 * DataRowCollection.cs DataRowState.cs DataSet.cs DataTable.cs
3931 * DataTableCollection.cs DataTablePropertyDescriptor.cs DataView.cs
3932 * DataViewManager.cs DataViewRowState.cs DataViewSettingCollection.cs
3933 * ForeignKeyConstraint.cs InternalDataCollectionBase.cs
3934 * PropertyCollection.cs UniqueConstraint.cs: Added missing attributes
3936 2003-02-08 Ville Palo <vi64pa@koti.soon.fi>
3938 * ExpressionElement.cs: More implementation
3940 2003-02-05 Alan Tam <Tam@SiuLung.com>
3942 * DataSet.cs: Added framework for DataSet.Update Implemented missing
3943 methods GetSchemaSerializable, GetSerializationData,
3944 ReadXmlSerializable, ShouldSerializeRelations and ShouldSerializeTables
3946 * DataTable.cs: Implemented missing methods CreateInstance and
3947 GetRowType for DataTable
3949 2003-02-03 Ville Palo <vi64pa@koti.soon.fi>
3951 * DataSet.cs: Implemented private method MapType for
3952 mapping datatypes for XmlSchema
3954 2003-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3956 * DataView.cs: implemented Dispose.
3958 2003-01-30 Ville Palo <vi64pa@koti.soon.fi>
3960 * ExpressionElement.cs: Added new file. This file is for parsing
3961 and DataData.Select () -methods and DataColumn.Expression -property
3962 * DataTable.cs: Implemented Select(string) -method
3964 2003-01-28 Ville Palo <vi64pa@koti.soon.fi>
3966 * DataSet.cs: One little fix to writing xml
3968 2003-01-27 Ville Palo <vi64pa@koti.soon.fi>
3970 * XmlSchemaMapper.cs: Some fixes.
3971 * DatSet.cs: Some XmlFixes and BeginInit ()/ EndInit () -fix
3974 2003-01-24 Ville Palo <vi64pa@koti.soon.fi>
3976 * UniqueConstraint.cs: Do not set columns Unique property true
3978 * ForeignKeyConstraint.cs: Add UniqueConstraint to parent Table
3980 2003-01-18 Ville Palo <vi64pa@koti.soon.fi>
3982 * DataTableCollection.cs: Now names new DataTable if it doesn't
3983 already have a name.
3985 2003-01-17 Ville Palo <vi64pa@koti.soon.fi>
3987 * XmlSchemaMapper.cs: Improvments.
3988 * XmlConstaints.cs: Added more constants.
3989 * DataSet.cs: Improvments of reading and writing xml
3990 * DataColumn.cs: Added default values of properties.
3992 2003-01-14 Ville Palo <vi64pa@koti.soon.fi>
3994 * XmlSchemaMapper.cs: Some improvments
3996 2003-01-13 Ville Palo <vi64pa@koti.soon.fi>
3998 * DataRowCollection.cs: Added IndexOutOfRangeException
3999 * DataTableCollection.cs: Added OnCollectionChanging and
4000 OnCollectionChanged events.
4001 * DataSet.cs: Many fixes. Implemented Clone () and Copy () -methods
4002 * DataTable.cs: Implemented Copy () and Clone () methods.
4003 * XmlDataLoader.cs: some fixes.
4004 * XmlSchemaMapper.cs: comments.
4006 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4008 * DataColumnPropertyDescriptor.cs: store columnIndex in the .ctor.
4010 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4012 * DataColumnPropertyDescriptor.cs: fixed typo.
4013 * DataViewManagerListItemTypeDescriptor.cs: added new internal property
4014 to get the DataViewManager and removed TablePD class.
4015 * DataTablePropertyDescriptor.cs: TablePD class is now this one as
4016 suggested by danmorg.
4018 2003-01-06 Ville Palo <vi64pa@koti.soon.fi>
4020 * XmlDataLoader.cs: Moved diffgram stuff to new internal class
4022 * XmlDiffLoader.cs: new class for diffgrams. Added handling of
4023 diffgr:Errors and some fixes and changed XmlReader to XPathNavigator.
4025 2003-01-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4027 * DataView.cs: made dataViewManager internal.
4028 * DataViewManager.cs: use ICustomTypeDescriptor. We don't want the
4029 properties of the object, but the values of the columns present in a
4032 * DataViewManagerListItemTypeDescriptor.cs: implemented GetProperties,
4033 which returns a PropertyDescriptorCollection. Created a new class
4034 derived from PropertyDescriptor that treats Table as an object whose
4035 properties are DataRowView.
4037 2003-01-04 Ville Palo <vi64pa@koti.soon.fi>
4039 * XmlSchemaMapper.cs: Added handling for Constraints, Attributes.
4041 2003-01-04 Ville Palo <vi64pa@koti.soon.fi>
4043 * DataColumn.cs: ExtendedProperties is by default !null-
4045 2003-01-04 Ville Palo <vi64pa@koti.soon.fi>
4047 * DataColumnCollection.cs: Add (DataColumn Column) -method didn't
4048 set column's ordinal.
4050 2003-01-02 Ville Palo <vi64pa@koti.soon.fi>
4053 * XmlDataLoader.cs: XmlReader closing fixes.
4054 * XmlSchemaReader.cs: Added support for ref=
4056 2003-01-01 Ville Palo <vi64pa@koti.soon.fi>
4059 - Added XmlReader and XmlWriter Closing.
4060 - Moved ReadXmlSchema stuff to new internal class XmlSchemaMapper.
4061 * XmlSchemaMapper.cs
4062 - Much better way IMHO to map xmlschema than the old one in
4063 DataSet.cs. Its, more flexible, cleaner, ...
4065 2002-12-29 Ville Palo <vi64pa@koti.soon.fi>
4067 * XmlDataLoader.cs: Reading diffgrams.
4069 2002-12-29 Ville Palo <vi64pa@koti.soon.fi>
4071 * DataRow.cs: Little fix to indexer and DataColumnCang* trigger fixes.
4072 * DataTable.cs: Added ChanginDataColumn () for triggering
4073 DataColumnChanging event
4075 2002-12-28 Ville Palo <vi64pa@koti.soon.fi>
4077 * DataSet.cs: Indentations to WriteXmlSchema () and one little fix
4079 2002-12-28 Ville Palo <vi64pa@koti.soon.fi>
4081 * DataSet.cs: Indentations to WriteXml ()
4083 2002-12-27 Ville Palo <vi64pa@koti.soon.fi>
4086 * XmlDataLoader.cs: Moved ReadXml -stuff from DataSet.cs to new
4087 class XmlDataLoader.cs
4089 2002-12-19 Ville Palo <vi64pa@koti.soon.fi>
4091 * DataSet.cs Implemented ReadXml with XmlReadMode.ReadSchema
4093 2002-12-18 Ville Palo <vi64pa@koti.soon.fi>
4095 * DataSet.cs: Started to implement ReadXml-methods.
4097 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4099 * DataSet.cs: implemented DefaultViewManager and GetList.
4101 * DataViewManager.cs: a bit of work on IList and ITypedList needed by
4102 DataList in System.Web.
4104 * DataViewManagerListItemTypeDescriptor.cs: custom type descriptor for
4107 2002-12-16 Ville Palo <vi64pa@koti.soon.fi>
4110 * DataTable.cs: Fixed NullException (rollback -event)
4111 * DataSet.cs: WriteXml -method does not anymore write <?xml... row.
4113 2002-12-15 Ville Palo <vi64pa@koti.soon.fi>
4116 * DataRowCollection.cs: Moved event triggering from DataRow to
4119 2002-12-09 Ville Palo <vi64pa@koti.soon.fi>
4121 * DataSet.cs: Little fix to WriteTable () -method
4122 and DoReadXmlSchema () -method.
4124 2002-12-06 Ville Palo <vi64pa@koti.soon.fi>
4126 * DataSet.cs: Clean up to reading xmlschema. This looks much better
4127 now (work better too), but it not working correctly yet.
4129 2002-12-04 Ville Palo <vi64pa@koti.soon.fi>
4132 * DataRowCollection.cs: Added some event handlins stuff.
4133 * DataSet.cs: Some fixes.
4134 * DataTable.cs: Added event handlers.
4136 2002-11-30 Ville Palo <vi64pa@koti.soon.fi>
4138 * DataRowChangeEventArgs.cs: Implemented Action and Row properties
4140 2002-11-30 Ville Palo <vi64pa@koti.soon.fi>
4142 * System.Data/DataRow.cs: Added internal property XmlDataID
4144 2002-11-29 Ville Palo <vi64pa@koti.soon.fi>
4146 * DataSystem.Data.DataTableCollection.cs:
4147 Removed HashTable. There could be situations where DataTable
4148 is added to collection before it hava TableName. So using
4149 HashTable is impossible.
4151 2002-11-19 Carlos Guzman Alvarez <carlosga@telefonica.net>
4153 * DataRow.cs: an object that is equal to null
4154 should be allowed to be set in this indexer too
4157 2002-11-06 Daniel Morgan <danmorg@sc.rr.com>
4159 * DataColumnPropertyDescriptor.cs: added file
4161 * System.Data/DataRowView.cs: started implementation
4163 * DataTable.cs: stubbed more interfaces. Implemented
4164 IListSource.GetList()
4166 * DataView.cs: stubbed more interfaces. Implemented
4167 some properties and methods: GetEnumerator(),
4168 ITypedList.GetItemProperties, Item indexer, CopyTo()
4170 2002-05-18 Nick Drochak <ndrochak@gol.com>
4172 * DataRow.cs: Fix typo.