1 2009-10-30 Veerapuram Varadhan <vvaradhan@novell.com>
3 * DataTable.cs: Reuse old utility methods for raising DataTable
4 clearing/cleared events.
5 * DataRowCollection.cs (Clear): Raise DataTable clearing/cleared
6 events only for non 1.x profiles. Fixes broken 1.x build.
8 2009-10-30 Veerapuram Varadhan <vvaradhan@novell.com>
11 * DataTable.cs (Clear): Do not raise TableClearing/Cleared events as
12 they will be raised from DataRowCollection.Clear(). New utility methods
13 for raising TableClearing/TableCleared events from outside DataTable.
14 Don't manually reset indexes as ResetIndexes is called from
15 DataRowCollection.Clear
16 * DataRowCollection.cs (Clear): Raise TableClearing/Cleared events accordingly.
18 2009-10-29 Veerapuram Varadhan <vvaradhan@novell.com>
20 ** Fixes 332875 - based on analysis by Ben Martin <ben@trustorm.com.au>
21 * XmlSchemaDataImporter.cs (AddParentKeyColumn): If a table already has a
22 PrimaryKey column defined, when called again, fill the PKCol data into the
23 passed DataColumn and return.
25 2009-10-29 Veerapuram Varadhan <vvaradhan@novell.com>
27 ** Fixes #550960 - Patch by Stefano <stefano.sapienti@apsystems.it>
28 * DataTable.cs (BinarySerialize): Use datatype from DataColumn
29 instead of value of the column.
31 2009-10-14 Jonathan Pryor <jpryor@novell.com>
33 * XmlSchemaDataImporter.cs: Remove DbProviderFactories dependency in
34 the MonoTouch profile.
36 2009-10-13 Veerapuram Varadhan <vvaradhan@novell.com>
39 * XmlDiffLoader (LoadColumnAttributes/Children): Decode column names in
40 case if they are encoded.
42 2009-09-26 Veerapuram Varadhan <vvaradhan@novell.com>
44 ** Fixes part of #427769 - Patch by John Lenz <jlenz2@math.uiuc.edu>
45 * DataSet.cs: XML serialization improvements to be compatible with MS impl.
47 2009-09-15 Veerapuram Varadhan <vvaradhan@novell.com>
49 ** Fixes #536194 - Patch by Andrew Kurochk <aaki.viper@gmail.com>
50 * MergeManager.cs (Merge*): Do nothing when source and target
53 2009-09-10 Veerapuram Varadhan <vvaradhan@novell.com>
56 * DataView.cs (OnRowChanged/OnRowDeleted): Raise appropriate events iff
57 view is affected. This silence of the numerous Add/Change events that were
58 getting raised from DataView.
59 (ToTable): Use appropriate index to generated DataTable in case of
60 RowFilter / Sort conditions.
62 * DataRow.cs (AcceptChanges/RejectChanges): Raise appropriate Changing events
64 2009-09-03 Ivan N. Zlatev <contact@i-nz.net>
66 * DataColumnPropertyDescriptor.cs, DataView.cs: Not browsable if Hidden.
67 [Fixes the second part of bug #536547]
69 2009-08-25 Veerapuram Varadhan <vvaradhan@novell.com>
72 * DataViewManager.cs (CollectionToListChangeEventArgs) : Use a corresponding
73 DataTable/DataRelation obj instead of only DataRelation.
75 2009-07-30 Veerapuram Varadhan <vvaradhan@novell.com>
77 * CustomDataClassGenerator.cs (MakeSafeName): Throw NRE instead of
78 ArgumentNullException - fixes failing tests.
80 2009-07-23 Veerapuram Varadhan <vvaradhan@novell.com>
82 * XmlSchemaDataImporter.cs (HandleDataSourceAnnotation): Don't rely
83 on the order of elements.
85 2009-07-23 Veerapuram Varadhan <vvaradhan@novell.com>
87 * XmlSchemaDataImporter.cs: String.IsNullOrEmpty changes
89 2009-07-23 Veerapuram Varadhan <vvaradhan@novell.com>
91 * XmlSchemaDataImporter.cs: Added null checks.
93 2009-07-22 Veerapuram Varadhan <vvaradhan@novell.com>
95 * XmlSchemaDataImporter.cs:
96 CustomDataClassGenerator.cs: Silence off CWLs.
98 2009-07-22 Veerapuram Varadhan <vvaradhan@novell.com>
100 * CustomDataClassGenerator.cs (CreateCommandCollectionInitializeMethod):
101 Fix generation of DbCommand[] instead of DbCommand()[]. Fix IndexRef to
103 Avoid using SourceColumnNullMapping property in the constructor
104 of DbParameter while creating the code.
106 2009-07-18 Veerapuram Varadhan <vvaradhan@novell.com>
108 * CustomDataClassGenerator.cs (CreateDbSourceMethods): Handle cases of Scalar
109 and NoData QueryTypes.
111 2009-07-17 Veerapuram Varadhan <vvaradhan@novell.com>
113 * TableAdapterSchemaInfo.cs: Wrap DbCommand within DbCommandInfo and
114 define MethodInfo to hold method properties common to both Get and Fill.
116 * CustomDataClassGenerator.cs (CreateDbSourceMethods): Handle cases of Fill
117 and Get appropriately.
119 2009-07-16 Veerapuram Varadhan <vvaradhan@novell.com>
121 * CustomDataClassGenerator.cs (CreateDbSourceMethods): Handle
122 methods of type "Fill".
124 * XmlSchemaDataImporter.cs (ProcessDbParameters): Handle empty strings
125 while setting parameter properties.
127 2009-07-15 Veerapuram Varadhan <vvaradhan@novell.com>
129 ** Part of fix for #325464
130 * CustomDataClassGenerator.cs: Add implementation to generate
133 * DataSet.cs (TableAdapterSchemaData): New internal property that
134 holds TableAdapter details to generate code from.
136 * XmlConstants.cs: Add Msdatasource constant to handle
137 <...:xml-msdatasource> elements.
139 * XmlSchemaDataImporter.cs: Implement handling of <TableAdapter ...>
140 * TableAdapterSchemaInfo.cs: New
142 2009-05-16 Veerapuram Varadhan <vvaradhan@novell.com>
144 ** Fixes #325464 - ToolItems.xsd
145 * CustomDataClassGenerator.cs (CreateDataSetTableMembers): Prefix a "_" to
146 member names when it is same as that of the dataset. Fixes the CS0542 error
147 during compilation of the generated source.
149 2009-03-25 Ivan N. Zlatev <contact@i-nz.net>
151 * DataView.cs: Fire ListChanged when the RowFilter changes.
154 2009-02-24 Veerapuram Varadhan <vvaradhan@novell.com>
156 * *Fixes #377146 - in a better way
157 * XmlDataReader.cs (ReadElementElement): For reference types that
158 implement IXmlSerializable, call the corresponding ReadXml.
159 * DataSet.cs (WriteColumnAsElement): For reference types that implement
160 IXmlSerializable, call the corresponding WriteXml.
162 2009-02-24 Veerapuram Varadhan <vvaradhan@novell.com>
165 * DbType.cs: Add DateTime2 and DateTimeOffset - 3.5 additions
166 Patch by Jay Wren <jrwren@xmtp.net>
168 2009-01-05 Raja R Harinath <harinath@hurrynot.org>
170 * DataRelationCollection.cs (BinarySerialize): New. Carved out of ...
171 * DataSet.cs (BinarySerialize): ... this.
173 2009-01-04 Raja R Harinath <harinath@hurrynot.org>
175 * DataRelationCollection.cs: Sequester NET_2_0 and NET_1_1
176 specific code into separate parts.
178 * DataTableCollection.cs (BinarySerialize_Schema): New.
179 (BinarySerialize_Data): Likewise. Carved out of ...
180 * DataSet.cs (BinarySerialize): ... this.
182 2009-01-04 Raja R Harinath <harinath@hurrynot.org>
184 * DataTableCollection.cs: Sequester NET_2_0 and NET_1_1 specific
185 code into separate parts.
187 2009-01-02 Ivan N. Zlatev <contact@i-nz.net>
189 * DataViewManager.cs: Implement all MonoTODO. Fixes the WinForms
190 DataBinding unit tests.
192 2009-01-01 Ivan N. Zlatev <contact@i-nz.net>
194 * DataViewManager.cs: Hookup to the table/relations changed events and
195 raise ListChanged events accordingly.
197 2008-12-30 Gert Driesen <drieseng@users.sourceforge.net>
199 * DBConcurrencyException.cs: Marked .ctor taking DataRow [] as
200 internal so we can use it on the 1.0 profile (internally). Implemented
203 2008-12-29 Gert Driesen <drieseng@users.sourceforge.net>
205 * SqlDbType: Added Date and Time (2.0 only).
207 2008-11-18 Raja R Harinath <harinath@hurrynot.org>
210 * XmlConstants.cs (QnUnsignedShort): Rename from QnUsigned short
211 and fix the value too.
212 * XmlSchemaWriter.cs (XmlQualifiedName): Update to changes.
214 2008-09-27 Raja R Harinath <harinath@hurrynot.org>
216 * DataView.cs: Convert into a partial class and sequester
217 interface-implementations and NET_2_0 pieces into separate parts.
219 2008-09-16 brandin claar <brandin.claar@gmail.com>
220 Raja R Harinath <harinath@hurrynot.org>
222 * DataTable.cs (BinarySerialize): Handle empty DataTables.
223 (DeserializeRecords): Likewise.
224 (BinaryDeserializeTable): Allow DefaultValue to be set to any value.
226 2008-09-12 Raja R Harinath <harinath@hurrynot.org>
228 * DataTable.cs (NewRowAdded): Make into partial method.
229 (DataTableClearing, DataTableCleared): New partial methods.
232 * DataTable.cs: Sequester ISupportInitializationNotification
233 pieces into separate part.
234 (DataTableInitialized): Turn into a 'partial method' to avoid #ifs.
236 * DataTable.cs (AssertNotNullConstraints): Hoist out a more useful
237 loop-invariant by inverting loops.
238 (RowExists): Outdent. Rewrite for slightly better clarity.
239 (BeginLoadData): Outdent.
240 (GetChanges): Outdent. Replace GetEnumerator/while with foreach.
242 * DataTable.cs: Convert to a partial class, sequester NET_2_0
243 specific and IXmlSerializable specific pieces into separate parts.
245 2008-09-07 Raja R Harinath <harinath@hurrynot.org>
247 * DataSet.cs: Convert to a partial class and sequester NET_2_0
248 pieces into a separate part.
250 * DataRowView.cs: Convert to a partial class, and sequester
251 NET_2_0 parts into a separate part. Use partial classes instead
252 of ugly #region directives.
253 (Item): Remove redundant attributes. Cleanup slightly.
255 2008-09-05 Raja R Harinath <harinath@hurrynot.org>
257 * DataRowCollection.cs (RemoveInternal): Update RowIDs of rows
258 after the deleted row.
259 (IndexOf): Avoid loop to search for a row, since we already know
260 where a row is: its RowID.
261 (Remove): Use IndexOf rather than List.Contains.
263 * DataRowCollection.cs (InsertRow): Delegate setting of RowId
264 to the row itself. Use 'row.AttachAt' instead of 'row.AttachRow'.
265 (AddInternal): Likewise. Also delegate handling of
266 ChangeCurrentAndOriginal to AttachAt.
267 * DataRow.cs (AttachAt): Rename from AttachRow. Set rowId from
268 passed-in id. Handle ChangeCurrentAndOriginal and ChangeOriginal
271 * DataRow.cs (_hasParentCollection): Remove. Implied by _rowId >= 0.
272 (HasParentCollection): Remove.
273 * DataRowCollection.cs (AddInternal, InsertAt): Update to changes.
275 * DataTable.cs (NewRowArray): Special case size == 0 to avoid
276 creating a lot of garbage.
278 * DataRow.cs (Detach): Rename from DetachRow. Make private.
279 Simplify code to be more uniform. Move common prefix code here ...
280 (AcceptChanges) [Deleted]: ... from here ...
281 (Delete) [Added]: ... and here ...
282 (RejectChanges) [Added]: ... and here.
284 2008-09-04 Raja R Harinath <harinath@hurrynot.org>
286 * DataRow.cs (CheckChildRows) <1-arg variant>: Remove excessive
288 (CheckChildRows) <3-arg variant>: Likewise. Move/split loop
290 (EndEdit): Out-dent some code.
291 (IsNullColumns): Simplify slightly.
293 * DataRelationCollection.cs (CanRemove): Simplify slightly.
295 * DataRelation.cs (CheckStateForProperty): Use the childColumn to
298 * DataColumn.cs (AllowDBNull.set): Rearrange code to be more readable.
299 (AutoIncrement.set): Likewise.
301 (SetDefaultValue): Likewise.
303 2008-08-28 Raja R Harinath <harinath@hurrynot.org>
305 * Constraint.cs (SetExtendedProperties): New internal method.
307 (ExtendedProperties.set): ... here. Kill a #ifdef.
308 * DataTable.cs (DeserializeConstraints): Update to changes.
310 2008-08-27 Raja R Harinath <harinath@hurrynot.org>
312 * ConstraintCollection.cs (Item) <string variant>: Don't incur
313 additional check for index that's returned by 'IndexOf'.
314 (_createNewConstraintName): Improve readability of code.
315 (_isDuplicateConstraintName): Perform cheaper test first.
317 * ConstraintCollection.cs: Reduce some #ifdef by using partial
318 classes. Move 'sealed' and '[Serializable]' to appropriate
319 partial class declarations.
320 * DataRowCollection.cs: Likewise.
322 2008-08-13 Marek Habersack <mhabersack@novell.com>
324 * DataRow.cs: do not check whether a column is read-only when
327 2008-08-08 Raja R Harinath <harinath@hurrynot.org>
329 * DataColumn.cs: Update to changes in DataCollection.
331 2008-07-29 Veerapuram Varadhan <vvaradhan@novell.com>
334 * XmlDataReader.cs (ReadElementElement): Handle custom reference types sanely.
336 2008-07-20 Gert Driesen <drieseng@users.sourceforge.net>
338 * DataColumnCollection.cs (IndexOf): Include name of column - for which
339 there are multiple matches in a different case - in the exception
341 * DataRow.cs (this [int]): On 2.0 profile, throw ArgumentException if
342 value is null and datatype of column is a value type. On 1.0 profile,
343 only allow null value if datatype of column is string. Do not replace
344 value with DBNull.Value if value is null.
346 2008-07-04 Gert Driesen <drieseng@users.sourceforge.net>
348 * DataRow.cs: Use indexer of DataColumnCollection instead of IndexOf.
349 Cosmetic changes to exception message.
350 * DataColumnCollection.cs: Fixed off by one error in index check. Added
351 null check in name indexer. In Clear, also reset columnNameCount and
354 2008-07-03 Gert Driesen <drieseng@users.sourceforge.net>
356 * DataRow.cs: Added missing null checks. Cosmetic changes to exception
359 2008-07-03 Marek Habersack <mhabersack@novell.com>
361 * DataRow.cs (this []): Use DBNull instead of throwing an exception
363 2008-07-01 Rodrigo Kumpera <rkumpera@novell.com>
365 * DataTable.cs: Kill some foreach loops.
369 2008-07-01 Marek Safar <marek.safar@gmail.com>
371 * DataColumnCollection.cs: Made few simple optimizations.
373 2008-06-28 Zoltan Varga <vargaz@gmail.com>
375 * DataTable.cs (NewRowArray): Avoid using reflection if possible.
377 2008-06-19 Atsushi Enomoto <atsushi@ximian.com>
379 * DataRelation.cs : keep createConstraints flag for cloning in
380 DataSet.Merge(). Use different flag for initialization instead.
381 * MergeManager.cs : When cloning DataRelation, createConstraints
382 flag should depend on the source.
383 * XmlSchemaDataImporter.cs : create constraints when creating
386 2008-06-18 Atsushi Enomoto <atsushi@ximian.com>
388 * DataSet.cs : when InferSchema mode, ReadXml() should do "merging
390 * XmlDataInferenceLoader.cs : fixed primary key processing in
391 merging inference mode. Reuse existing one, instead of rejecting
394 2008-06-17 Atsushi Enomoto <atsushi@ximian.com>
396 * XmlSchemaWriter.cs, DataSet.cs, XmlTableWriter.cs, DataTable.cs,
397 XmlDataInferenceLoader.cs, XmlSchemaDataImporter.cs:
398 fix xsd output on msdata:Locale and msdata.UseCurrentCulture.
399 Output explicit Locale only when it is explicitly specified.
400 On the other hand, ReadXml/ReadXmlSchema fills Locale as en-US
401 by default (on .NET).
402 Some code unification in DataTable.WriteXmlSchema() overloads.
404 2008-06-16 Atsushi Enomoto <atsushi@ximian.com>
406 * DataColumn.cs : replaced Activator.CreateInstance() with
407 returning explicit Null member for each SqlXxx type.
409 2008-06-13 Atsushi Enomoto <atsushi@ximian.com>
412 DefaultValue can be non-DBNull. For SqlXxx type, it becomes
413 SqlXxx.Null. Also, changing DataType may change DefaultValue
414 to be consistent with the new type (say, having int DefaultValue
415 for new string DataType is wrong).
418 This should be fixed to take non-DBNull default value into
421 2008-06-12 Atsushi Enomoto <atsushi@ximian.com>
423 * DataSet.cs, DataTable.cs, XmlSchemaDataImporter.cs : constraints
424 on missing tables are ignored when reading a DataTable schema.
425 Fixes part of DataTableTest.ReadXmlSchema() test.
427 2008-05-30 Marek Habersack <mhabersack@novell.com>
429 * Constraint.cs: do not use synthetized event accessors (to avoid
432 2008-05-29 Marek Habersack <mhabersack@novell.com>
434 * DataColumn.cs: do not use synthetic methods for events - this
435 avoids unnecessary locking, especially for internal events.
437 2008-04-21 Gert Driesen <drieseng@users.sourceforge.net>
439 * DataRowView.cs: Modified argument names to match MS. Use
440 String.Empty instead of "". Code formatting.
442 2008-04-16 Veerapuram Varadhan <vvaradhan@novell.com>
444 * XmlDataInferenceLoader.cs (ReadXml): Make sure the name of
445 reference key column(s) in child tables are unique.
447 * XmlSchemaWriter.cs (WriteSchema, WriteDataSetElement,
448 WriteTableType, WriteChildRelations): Handle the scenario wherein
449 we have a relation and only one table. This can occur when we
450 have an XML with same parent/child table names.
452 2008-03-31 Veerapuram Varadhan <vvaradhan@novell.com>
454 * DataView.cs: Reverting rev#98474 changes - as it broke quite a
457 2008-03-23 Gert Driesen <drieseng@users.sourceforge.net>
459 * DataSet.cs: Corcompare fix.
460 * IDataRecord.cs: Corcompare fix.
462 2008-03-22 Gert Driesen <drieseng@users.sourceforge.net>
464 * DataViewSettingCollection.cs: Corcompare fixes and code formatting.
465 * SyntaxErrorException.cs: Corcompare fixes and code formatting.
466 * EvaluateException.cs: Corcompare fixes and code formatting.
467 * StrongTypingException.cs: Coecompare fixes and code formatting.
468 * ReadOnlyException.cs: Corcompare fixes and code formatting.
469 * DataTableCollection.cs: Corcompare fixes and code formatting.
470 * MissingPrimaryKeyException.cs: Corcompare fixes and code formatting.
471 * DeletedRowInaccesibleException.cs: Corcompare fixes and code
473 * DataSet.cs: Corcompare fixes and code formatting.
474 * DuplicateNameException.cs: Corcompare fixes and code formatting.
475 * DataView.cs: Corcompare fixes and code formatting.
476 * VersionNotFoundException.cs: Corcompare fixes and code formatting.
477 * MergeFailedEventArgs.cs: Corcomare fixes and code formatting.
478 * InvalidExpressionException.cs: Corcompare fixes and code formatting.
479 * DBConcurrencyException.cs: Corcompare fixes and code formatting.
480 * DataRowView.cs: Corcompare fixes and code formatting.
481 * DataViewManager.cs: Corcompare fixes and code formatting.
482 * ConstraintException.cs: Corcompare fixes and code formatting.
483 * InvalidConstraintException.cs: Corcompare fixes and code formatting.
484 * IDataRecord.cs: Corcompare fixes.
485 * RowNotInTableException.cs: Corcompare fixes and code formatting.
486 * TypeDataSetGeneratorException.cs: Corcompare fixes and code
488 * InRowChangingEventException.cs: Corcompare fixes and code formatting.
489 * NoNullAllowedException.cs: Corcompare fixes and code formatting.
490 * DataException.cs: Corcompare fixes and code formatting.
492 2008-03-17 Veerapuram Varadhan <vvaradhan@novell.com>
494 ** Fixes part1 of #357947
495 * DataView.cs: (OnRowDeleted): Don't call update, instead delete the row
496 directly from Index. Peformance fix submitted by Hubert FONGARNAND
497 <informatique.internet@fiducial.fr>.
499 2008-02-04 Arina Itkes <arinai@mainsoft.com>
501 * DataTable.cs: Fix for IXmlSerializable.ReadXml.
503 2008-01-28 Arina Itkes <arinai@mainsoft.com>
505 * DataTable.cs: Fix for IXmlSerializable.WriteXml.
507 2007-10-21 Gert Driesen <drieseng@users.sourceforge.net>
509 * DataColumn.cs: Fixed ParamName of ArgumentNullException. Modified
510 exception message for invalid DateTimeMode value to match MS. Code
513 2007-10-19 Nagappan <anagappan@novell.com>
515 * DataRelation.cs: Removed bogus TODO.
517 2007-09-27 Nagappan A <anagappan@novell.com>
519 * DataRelationCollection.cs: Added LAME spec comment as there is no
520 relevant event. Removed MonoTODO too.
522 2007-09-26 Nagappan A <anagappan@novell.com>
524 * DataView.cs (ToTable): Added params keyword.
526 * DataTable.cs: Added XmlSchemaProvider attribute.
528 2007-09-25 Konstantin Triger <kostat@mainsoft.com>
530 * DataSet.cs: correct WriteAttributeString while writing xml with
531 XmlWriteMode.WriteSchema.
533 2007-09-25 Nagappan A <anagappan@novell.com>
535 * DataTable.cs: Code alignment.
537 2007-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
539 * DataColumnCollection.cs: refactoring, fixed columnNameCount comparer
540 to remove culture sensitive ToLower() calls
542 2007-07-22 Nagappan A <anagappan@novell.com>
544 * DataRow.cs: Added internal set property for Table in 2.0
547 * DataColumn.cs: Added internal set property for Table in 2.0
550 2007-07-01 Gert Driesen <drieseng@users.sourceforge.net>
552 * DataRowCollection.cs: Only override Count on 2.0 profile.
553 * RelatedDataView.cs: Fixed line endings.
554 * XmlDataInferenceLoader.cs: Fixed line endings.
556 2007-06-30 Gert Driesen <drieseng@users.sourceforge.net>
558 * DataTableCollection.cs: CopyTo is 2.0 only. Removed extra tabs,
559 and changed spaces to tabs.
561 2007-06-06 Nagappan A <anagappan@novell.com>
563 * DataTable.cs (Select): Removed ununsed variable.
565 2007-05-30 Nagappan A <anagappan@novell.com>
567 * DataColumnCollection.cs (CopyTo): Method specific to 2.0
570 * DataRowCollection.cs (Count): Property is overridden in 2.0
573 * TypedDataSetGenerator.cs: Class is obsolete in 2.0 profile.
575 * DataRelationCollection.cs (CopyTo): Method specific to 2.0
578 2007-05-18 Rolf Bjarne Kvinge <RKvinge@novell.com>
580 * CustomDataClassGenerator.cs: Misc fixes in order to emit correct VB code.
581 CreateDataSetDefaultCtor: we're creating a delegate, not an object, so use a DelegateCreateExpression.
582 CreateDataSetSchemaChanged: we're comparing value types, use the correct equality operator.
583 CreateTableGetEnumerator: explicity state that the method is an implementation of IEnumerable.GetEnumerator.
584 CreateTableEventStarter: we're invoking a delegate, so use a DelegateInvokeExpression.
585 Several changes to not generate members with names that only differ by case.
587 2007-05-18 Chris Toshok <toshok@ximian.com>
589 * DataColumnCollection.cs (Add ()): handle the default name case
591 (Add (string)): same - let Add(DataColumn) handle the default name
593 (Add (DataColumn)): in the 1.1 case, we need to add the column's
594 PropertyChanged handler *before* possibly setting the column name
595 to the default so we emit the right events (Changed/Added). In
596 the 2.0 case, we add the event handler after the name is set, and
597 therefore only emit the Added event.
599 2007-05-07 Adar Wesley <adarw@mainsoft.com>
601 * ConstraintCollection.cs: added CopyTo method with strongly typed Constraint[]
604 * DataTable.cs: added implementation of IXmlSerializable. Added missing
605 method ReadXmlSerializable.
607 2007-04-19 Chris Toshok <toshok@ximian.com>
609 * DataColumnCollection.cs (Add): the Element in our
610 CollectionChangedEventArgs should be the column, not the
611 collection. Also, add an event handler for the column's
612 PropertyChanged event so we can propagate metadata changes.
613 (Remove): Analogous change to the CollectionChangedEventArgs as in
614 Add. Also, unhook the column's PropertyChanged event.
615 (OnCollectionmetaDataChanged): emit our new event.
616 (ColumnPropertyChanged): called when the column's ColumnName
617 property changes. Emit the proper CollectionChangeEvent.
619 * DataView.cs (ColumnCollectionChanged): fix up the comment about
620 CollectionChangeAction.Refresh, and make explicit what generates
622 (RegisterEventHandlers): hook up
623 DataColumnCollectoin.CollectionMetaDataChanged.
624 (RegisterEventHandlers): unhook
625 DataColumnCollectoin.CollectionMetaDataChanged.
627 2007-02-23 Nagappan A <anagappan@novell.com>
629 * DataRow.cs (Item): Checks whether this DataRow exist in the
630 DataRowCollection, then compute the expression. Fixes bug #
633 * DataRowCollection.cs (IndexOf): Modified as internal method for
636 * XmlDataReader.cs (StringToObject): DataTables containing
637 System.Type throw exception on deserializing. Fixes bug # 80596.
639 * XmlDataLoader.cs (StringToObject): DataTables containing
640 System.Type throw exception on deserializing. Fixes bug # 80596.
642 2007-02-20 Konstantin Triger <kostat@mainsoft.com>
644 * XmlSchemaDataImporter.cs: ensure the tables are created in document order.
646 2007-02-19 Konstantin Triger <kostat@mainsoft.com>
648 * XmlDataReader.cs, XmlDataInferenceLoader.cs, XmlDiffLoader.cs:
649 ignore attributes from "http://www.w3.org/XML/1998/namespace".
650 * XmlConstants.cs: add constant for "http://www.w3.org/XML/1998/namespace".
651 * XmlDataInferenceLoader.cs: track the added elements index to fix the
652 added column ordinal.
654 2006-12-11 Chris Toshok <toshok@ximian.com>
656 * DataView.cs: GetItemProperties should return an empty collection
657 if we have no data table. Presently we NRE.
659 2006-12-08 Nagappan A <anagappan@novell.com>
661 * DataTable.cs (ReadXml): Removed if condition, as it should not
662 check the exception string.
664 2006-12-07 Chris Toshok <toshok@ximian.com>
666 * DataView.cs: add CollectionChangeEventHandler's on the
667 ChildRelations and ParentRelations collections, and emit
668 ListChanged events with PropertyDescriptor.Added/Deleted/Changed
671 2006-12-07 Nagappan A <anagappan@novell.com>
673 * DataTable.cs (ReadXml): Integrated the implementation of
674 ReadXml, patch provided by deepak_2603@yahoo.com.
676 2006-12-05 Nagappan A <anagappan@novell.com>
678 * DataTable.cs (WriteXmlSchema): Using XmlTextWriter instead of
679 XmlWriter, solved the File Sharing IO Exception.
681 2006-11-28 Hubert FONGARNAND, FrAcdAcric Mestayer <informatique.internet@fiducial.fr>
683 * DataColumnCollection.cs : Improved Column searching when not
684 using exact column name (case sensitivity). Fixes bug # 80075.
686 2006-11-28 Nagappan A <anagappan@novell.com>
688 * XmlSchemaDataImporter.cs: Fixed 2.0 profile compilation
689 warnings. Using AttributeSchemaType instead of AttributeType and
690 ElementSchemaType instead of ElementType.
692 * TypedDataSetGenerator.cs: Modified the profile check from
693 !NET_1_1 to !NET_1_0, as this class is obsolete from 1.1 profile.
695 * DataRelationCollection.cs (Item): Modified the property Item as
696 abstract and implemented it in DataSetRelationCollection and
697 DataTableRelationCollection classes.
699 * DataRowView.cs: Remove bogus MonoTODOs.
701 * ForeignKeyConstraint.cs (ForeignKeyConstraint): Implemented
702 2.0 profile's missing constructor.
704 * XmlDataLoader.cs (StringToObject): Modify XmlConvert.ToDateTime
705 to use XmlDateTimeSerializationMode, as the default ToDataTime
708 * XmlDataReader.cs (StringToObject): Modify XmlConvert.ToDateTime
709 to use XmlDateTimeSerializationMode, as the default ToDataTime
712 * DataView.cs (IsInitialized): Added browsable attribute.
714 * DataViewSettingCollection.cs (CopyTo): Implemented missing 2.0
717 * DataRelation.cs (DataRelation): Added 2.0 profile constructor to
718 take parentTableNameSpace and childTableNameSpace as argument.
719 (FinishInit): Update parentTableNameSpace and childTableNameSpace,
720 when the string is not empty in 2.0 profile.
722 * DataRowCollection.cs: Implemented Count public property.
723 Added !NET_2_0 for List protected property, as it has been removed
725 (IndexOf): Implemented new public method.
726 (CopyTo): Implemented new public override method.
727 (GetEnumerator): Implemented new public override method.
729 * DataTable.cs (Load): Throw ArgumentNullException, when reader
731 (WriteXmlSchema): Throw InvalidOperationException, when table name
732 is empty. When DataSet Namespace is set, append that with '_x003A_'
734 (IsInitialized): Added browsable attribute.
736 * DataSet.cs (Load): Throw ArgumentNullException, when reader
738 (IsInitialized): Added browsable attribute.
739 (WriteObjectXml): Modify XmlConvert.ToDateTime to use
740 XmlDateTimeSerializationMode, as the default ToDataTime method id
743 * XmlSchemaWriter.cs (WriteSchema): Modified UseCurrentCulture to
745 (WriteDataSetElement): Added minOccurs attribute.
746 (WriteConstraints): Check for tables length, if > 1 then add the
747 relations to XmlSchema.
749 2006-11-21 Nagappan A <anagappan@novell.com>
751 * DataView.cs: Added public event Initialized.
752 (IsInitialized): Implemented public function to check whether a
753 dataview is initialized or not.
755 * DataSet.cs: Added ISupportInitializeNotification for .NET 2.0
757 (RemotingFormat): Set the default value attribute as
758 SerializationFormat.Xml.
759 (IsInitialized): Implemented public function to check whether a
760 table is initialized or not.
761 (CreateDataReader): Added params keyword in argument.
762 (Load): Implemented all Load overloaded functions.
763 (GetObjectData): Modified to public for .NET 2.0 implementation.
764 (IsBinarySerialized): Implemented the public API to check whether
765 the given stream is binary serialized or not.
766 * DataTable.cs: Added ISupportInitializeNotification for .NET 2.0
769 2006-11-15 Nagappan A <anagappan@novell.com>
771 * DataTable.cs (RemotingFormat): Set the default value attribute
772 as SerializationFormat.Xml.
773 (OnTableNewRow, NewRowAdded): Implemented new function to raise an
774 event when a new row is added to the table.
775 (DataTableInitialized, OnTableInitialized): Implemented new
776 function to raise an event when a table is initialized.
777 (IsInitialized): Implemented public function to check whether a
778 table is initialized or not.
779 (OnTableClearing): Raise an event before the table is cleared.
780 (GetObjectData): Modified to public for .NET 2.0 implementation.
781 (Load): Implemented missing API to call the registered delegate
782 function on load exception.
783 (WriteXmlSchema): Implemented overloaded function to write the
784 hierarchy with XML Schema.
786 2006-11-15 Konstantin Triger <kostat@mainsoft.com>
788 * DataTable.cs: Fixed LoadDataRow scenarios.
789 * DataRowCollection.cs: Added override for AddInternal taking DataRowAction parameter.
791 2006-11-14 Konstantin Triger <kostat@mainsoft.com>
793 * DataColumn.cs: consider row version wen checking row.IsNull().
795 2006-10-18 Nagappan A <anagappan@novell.com>
797 * ForeignKeyConstraint.cs (_validateColumns): Parent and child
798 columns can't be the same column - Exception, bug # 79689
800 2006-10-13 Nagappan A <anagappan@novell.com>
802 * DataTable.cs (DeserializeConstraints): Fine tuned the
803 serialization and deserialization of constraints.
805 * DataRelationCollection.cs (Contains): Fixes bug
806 #79233. DuplicateNameException when two relations for different
807 DataTables in DataSet are defined
809 2006-10-06 Patrick Earl <mono@patearl.net>
811 * DataTable.cs, XmlTableWriter.cs, XmlSchemaWriter.cs, DataSet.cs:
812 Implemented DataTable.WriteXml
814 2006-09-26 Nagappan A <anagappan@novell.com>
816 * DataTable.cs, DataSet.cs, DataColumn.cs, Constraint.cs,
817 DataRow.cs: Implementation of Binary Serialization /
820 * DataTable.cs (RowsExist): Check rows based on version.
822 * DataRow.cs: Raise exception same as MS.NET. Thanks to
823 Hubert FONGARNAND <informatique.internet@fiducial.fr> for
824 providing this patch.
826 2006-09-07 Vladimir Krasnov <vladimirk@mainsoft.com>
828 * DataSet.cs: added 2.0 stubs to solve typed dataset porting issues
830 2006-08-30 Nagappan A <anagappan@novell.com>
832 * DataRow.cs (EndEdit): DataRow.EndEdit emits RowChanged too
833 often. Fixes bug # 78885.
835 2006-08-14 Konstantin Triger <kostat@mainsoft.com>
837 * DataTableCollection.cs, DataRelationCollection.cs, DataRowCollection.cs,
838 DataColumnCollection.cs: implemented specialized CopyTo() method.
840 2006-07-26 Nagappan A <anagappan@novell.com>
842 * DataTable.cs (GetIndex): Fixes memory explode on
843 DataTable.Select - Bug # 77691.
845 2006-07-25 Nagappan A <anagappan@novell.com>
847 * DataView.cs (OnRowCollectionChanged): On DataTable.Clear,
848 setting rowCache to empty DataRowView. Fixes bug # 78610.
850 * DataTable.cs (AcceptChanges): Raises Reset event. Fixes bug #
853 2006-07-20 Senganal T <tsenganal@novell.com>
856 - Merge : moved the columntypecheck to AdjustSchema,
857 Remove the unncessary calls to Table.ResetIndexes.
858 - AdjustSchema : check for columntypes
859 Thanks to Deepak Kr Valechha for the patch
861 2006-07-17 Senganal T <tsenganal@novell.com>
864 - ToTable : Implemented all the overloads
865 - Equals : Implemented
866 - IBindingListView : Implemented the interface
868 2006-07-15 Senganal T <tsenganal@novell.com>
870 * DataTableCollection.cs :
871 - Contain,IndexOf,Remove,Add,Indexer : support for table
872 namespace. Remove redundant checks in Remove/Add.
874 2006-07-14 Senganal T <tsenganal@novell.com>
877 - SetOrdinal : Implemented
878 - Ordinal : added internal set
879 * DataColumnCollection.cs :
880 - Add : Set the column ordinals
881 - MoveColumn : Changes the position of column in the
884 2006-07-14 Senganal T <tsenganal@novell.com>
887 - Merge - Implement the merge methods
888 - Clone - Ensure column's DateTimeMode property is also copied
890 - DateTimeMode : Implemement
891 - DataTypeMatches : Added. In 2.0 profile, test DateTime
892 property when verifying column types.
894 - ctr : For DateTime columns, check DateTimeMode property
895 * ForeignKeyConstraint.cs :
896 - _validateColumns : For DateTime columns, check DateTimeMode
899 - Merge : Added. Overload to merge two tables
900 - ResolveColumns : Change the method to use a table instead of
902 - Renamed AdjustSchema to AdjustSchemaRelations
904 2006-07-13 Senganal T <tsenganal@novell.com>
907 - WriteTables : Remove some commented out code
908 - WriteTable : Fix the logic to skip the table data when the
909 table has a nested relation.
912 2006-07-12 Senganal T <tsenganal@novell.com>
914 * ConstraintCollection.cs :
915 - Remove (string): If constraint name is not found, throw exception
916 - Remove (Constraint): Set the ConstraintCollection of the removed
918 Thanks to Deepak Kr Velachha for reporting the bug.
920 2006-07-12 Senganal T <tsenganal@novell.com>
923 - LoadColumnChildren : If schema name is missing, skip the
925 Thanks to Deepak Kr Velachha for identifying the bug.
927 2006-07-11 Senganal T <tsenganal@novell.com>
929 * XmlSchemaWriter.cs :
930 - WriteTableType : If Relation.Nested is true, then nest the
931 table schemas. Correct the xml to add the table element within
932 the <Sequence> element.
933 - WriteChildRelations : Correct the Xml element name and
934 attributes. Close the attribute correctly.
936 * XmlSchemaDataImporter.cs :
937 - GenerateRelationship : When creating the relations, if
938 ParentColumn exists but Corr ChildCol is null, create a child
939 Column with the same name and type as the parent column.
940 - Renamed DataSetDefinesPrimaryKey to DataSetDefinesKey
941 - DataSetDefinesKey : if either xsd:key or xsd:keyref is
942 defined for the dataset, do not manually create the relations.
943 - AddParentKeyColumn : if Columnname already exists, use
944 colname_0 instead of throwing an exception.
945 - FillDataColumnRepeatedSimpleElement : Do not set the Unique
946 value as it creates a constraint by default. The unique value
947 is automatically set when pk is set.
948 - CreateChildColumns : Added. Creates a ChildColumn duplicating
949 ParentColumn properties.
951 2006-06-30 Senganal T <tsenganal@novell.com>
954 - SetAdded, SetModified : new methods in 2.0
956 2006-06-30 Senganal T <tsenganal@novell.com>
957 * SerializationFormat.cs, DataSetDateTime.cs, DataTableNewRowEventArgs.cs,
958 DataTableNewRowEventHandler.cs : Added
959 * SyntaxErrorException.cs EvaluateException.cs StrongTypingException.cs
960 IsolationLevel.cs ReadOnlyException.cs DataTableCollection.cs
961 DataRowState.cs MissingPrimaryKeyException.cs DeletedRowInaccessibleException.cs
962 DuplicateNameException.cs PropertyAttributes.cs StatementType.cs
963 VersionNotFoundException.cs FillErrorEventHandler.cs DataRowChangeEventHandler.cs
964 XmlWriteMode.cs InvalidExpressionException.cs StateChangeEventHandler.cs
965 DbType.cs DataColumnChangeEventHandler.cs KeyRestrictionBehavior.cs
966 ConnectionState.cs SchemaType.cs MergeFailedEventHandler.cs SqlDbType.cs
967 DataRowVersion.cs ForeignKeyConstraint.cs DBConcurrencyException.cs
968 OperationAbortedException.cs MissingSchemaAction.cs DataTableClearEventHandler.cs
969 DataRowView.cs DataRowAction.cs ConstraintCollection.cs DataTableReader.cs
970 LoadOption.cs InvalidConstraintException.cs InternalDataCollectionBase.cs
971 ParameterDirection.cs AcceptRejectRule.cs UpdateRowSource.cs XmlReadMode.cs
972 TypedDataSetGenerator.cs RowNotInTableException.cs TypeDataSetGeneratorException.cs
973 InRowChangingEventException.cs MissingMappingAction.cs NoNullAllowedException.cs
974 CommandBehavior.cs PropertyCollection.cs CommandType.cs
975 UpdateStatus.cs ConflictOption.cs DataViewRowState.cs Rule.cs
976 DataColumnCollection.cs :
979 2006-06-27 Senganal T <tsenganal@novell.com>
981 * DataSet.cs, DataTable.cs : implement CreateDataReader methods
982 * InternalDataCollectionBase.cs
983 - ToArray () : helper method
984 * DataTableReader.cs :
985 - GetSchemaTable : set the schema info correctly
986 - GetProvider*, GetChars, GetBytes, GetValues :
987 Implemented the methods
988 - GetName : return the name of corresponding schema.
989 - ValidateSchemaIntact, OnColumnCollectionChanged,
991 Listen and raise expception if schema changes
993 2006-06-21 Chris Toshok <toshok@ximian.com>
995 * DataView.cs: update the index after we successfully add the new
996 row. This keeps the dataview's row view count in sync with the
999 2006-06-20 Chris Toshok <toshok@ximian.com>
1001 * DataView.cs: the PropertyDescriptorCollection returned by
1002 ITyepdList.GetItemProperties should include the child relations of
1003 our table, in order to match MS's behavior.
1005 * DataViewManager.cs: ICollection.Count property is always 1.
1007 2006-06-15 Senganal T <tsenganal@novell.com>
1010 - Select : If Sort String is not provided, sort the result
1011 DataRows in Ascending Order of the Columns used in the filter
1013 2006-06-15 Senganal T <tsenganal@novell.com>
1016 - InternalEnforceConstraints : Check if any null constraints
1017 are violated. Throw ConstraintException only after all the errors
1020 - EnforceConstraints : Move away the logic to check for
1021 NullConstraintViolation.
1022 - AssertNotNullConstraint : Checks for Null Constraint
1024 - EndLoadData : Do not throw any exceptions here. All the
1025 errors have to be found and RowErrors set before throwing the
1028 - ImportRecrod : Check the values of the row for any null
1030 - SetColumnError : If the error for column is already set,
1031 do not add a new error but edit the existing error.
1032 - CheckValue : Set the NullConstraintViolation flag if either
1033 table is being loaded or if EnforceConstraints is set to
1035 * Constraint.cs : Do not throw exception when EnforceConstraints is
1036 set to false or table is being loaded.
1037 * UniqueConstraint.cs : Correct the error message. Set ColumnErrors
1038 along with the RowError.
1040 2006-05-31 Gert Driesen <drieseng@users.sourceforge.net>
1042 * DataTable.cs: Renamed initInProgress to fInitInProgress. BeginInit
1043 and EndInit must only be virtual in 2.0 profile. Set eol-style to CRLF.
1045 2006-05-31 Senganal T <tsenganal@novell.com>
1047 * XmlDataInferenceLoader.cs :
1048 - InferTableElement : Repeated element should result in a single
1050 Patch from Deepak Kr Velachha
1052 2006-04-21 Senganal T <tsenganal@novell.com>
1054 * DataRowCollection.cs :
1055 - Find : If search on the table using PrimaryKey fails and if
1056 index is not being maintained (during table load), search the
1058 - Find (int) : Removed. Deadcode.
1060 - Not necessary to delete each row from the Index.
1061 Just reset the Indexes after cleaning up the row
1063 - Simplify dependency check for child tables
1066 - Do not use DataRowCollection.Find to search for
1067 existing records as this wud check even newly loaded rows.
1069 - Do not add new records to Index. Update Index only
1070 if an existing record is modified. New records will be
1071 taken care by EndLoadData.
1073 2006-04-19 Senganal T <tsenganal@novell.com>
1075 * XmlHelper.cs : A helper class for encoding/decoding schema names.
1076 Caches the Schema names to minimize encoding/decoding operations and
1077 duplicate strings created.
1079 - Use XmlHelper for encoding/decoding schema names.
1080 - Encode ConstraintNames when writing as xml.
1083 * XmlDataInferenceLoader.cs
1084 * XmlSchemaDataImporter.cs
1085 - Use XmlHelper for encoding/decoding schema names.
1086 * DataTableCollections : Minor code refactor.
1087 * DataRow.cs : Create XmlElement only if required.
1089 2006-04-07 Senganal T <tsenganal@novell.com>
1092 - InternalEnforceConstraints() : Reset Indexes of all tables
1093 before validating constraints. Fixes #78010
1095 2006-03-04 Boris Kirzner <borisk@mainsoft.com>
1096 * TypeDataSetGeneratorException.cs: fix .Net Soap serialization compatibility.
1098 2006-03-25 Senganal T <tsenganal@novell.com>
1101 - RejectChanges : When row is in Deleted state, add the row back to
1102 Indexes and Validate the row.
1105 2006-03-23 Senganal T <tsenganal@novell.com>
1108 - LoadDataRow : Add the row to the indexes, when loading a new row.
1110 2006-03-22 Senganal T <tsenganal@novell.com>
1113 - PrimaryKey : Set the IsPrimaryKey attribute before Removing from collection.
1114 - RemoveUniqueConstraints : Removed. dead code.
1117 - If adding/removing constraint fails, retain Unique value
1118 - Remove redundant code
1119 * UniqueConstraint.cs :
1120 - SetIsPrimaryKey : Added. Sets the value of IsPrimaryKey.
1121 - RemoveFromConstraintCollectionCleanup : If constraint is on a single column, then
1122 set Unique for that column to false.
1123 - CanRemoveFromCollection : Do not remove constraint, if its a PrimaryKey
1125 2006-03-20 Senganal T <tsenganal@novell.com>
1128 - CopyRelations () : When copying the relation, do not add constraints
1129 automatically for the relation.
1130 - OnMergeFailed () : If merge fails and no handler is set for the MergeFailedEvent,
1131 then throw DataException
1132 * ConstraintCollection.cs :
1133 - Add () : Check if a constraint already exists on the Columns that are being
1135 - IndexOf () : Do not check for equivalent constraints, check for the exact instance.
1136 * MergeManager.cs ():
1138 - Handle the MissingSchemaAction.Error case,
1139 - Do not create constraints when mergin the DataRelation
1140 - Follow the semantics for schema merge/validation when constraints are already present
1141 in the target DataSet.
1142 - AdjustPrimaryKeys () :
1144 - Verify Order of Columns in the PrimaryKey when merging.
1145 - ResolveColumns : Changed the arument to DataSet. Simplifies code elsewhere.
1146 - CompareColumnArrays, CompareColumnArrays : Helper funtions.
1148 2006-03-09 Senganal T <tsenganal@novell.com>
1151 - RejectChanges () : Add the row to index, if it was in deleted state and
1152 Update the index if in Modified State.
1153 - AcceptChanges () : Do not update the Indexes.
1154 - EndEdit () : Update the indexes even if BeginLoadData has been called
1155 on the table. Ideally, indexes should not be maintained during DataLoad,
1156 but this needs to handled in multiple places correctly. For now, just maintain
1157 the index to ensure correct operation.
1159 2006-03-05 Senganal T <tsenganal@novell.com>
1162 - BeginInit (), EndInit () : Implemented methods
1163 - InitInProgress : Added.
1165 - EndInit () : Move the adding of columns and constraints
1167 - FinishInit () : Added. Adds the Constraints and Columns
1169 - InitInProgress : Added.
1171 - FinishInit () : Added. Virtual method
1172 - InitInProgress : Added. Virtual property
1173 * UniqueConstraint.cs
1174 * ForeignKeyConstraint.cs
1175 - FinishInit () : Added.
1176 - InitInProgress : Added.
1177 - DataColsNotValidated : Removed.
1178 * ConstraintCollection.cs
1179 - PostAddRange : Removed event
1180 - PostEndEdit () : Renamed to PostAddRange
1181 - Add () : Simplified the testing if constraint is initialized
1182 - AddRange () : Simplified initializing the constraints
1183 * DataTableCollection.cs
1184 - PostAddRange () : Added. Adds the tables to the collection
1185 * DataColumnColletion.cs
1186 - PostEndInit () : Renamed to PostAddRange.Also, add column to
1187 the collection only if not null.
1189 Added/Implemented methods for design time support. Renamed some methods for consistency
1190 in naming across classes for methods serving the same purpose.
1192 2006-02-24 Senganal T <tsenganal@novell.com>
1194 * UniqueConstraint.cs :
1195 - ChildConstraint : Added. Simplifies verifying if constraints are
1197 - CanRemoveFromCollection : Fixed the check to verify if constraints is
1198 linked to a ForeignKeyConstraint. Fixes #77630
1199 * ForeignKeyConstraint.cs :
1200 - _validateRemoveParentConstraint : Removed. Not used anymore
1201 - ParentConstraint : Added. Simplifies verifying if constraints are
1203 2006-02-22 Senganal T <tsenganal@novell.com>
1206 - RejectChanges : Do not remove Row from Indexes when state is Deleted.
1207 - CheckChildRows : When checking for the ChildRows, use the current value
1208 and not the original value.
1210 2006-02-18 Atsushi Enomoto <atsushi@ximian.com>
1212 * CustomDataClassGenerator.cs : Patch by Marek Habersack. xsd now
1213 outputs AutoIncrement, AutoIncrementSeed, AutoIncrementStep and
1214 ReadOnly properties. This fixes bug #77576.
1216 2006-02-17 Chris Toshok <toshok@ximian.com>
1218 * System.Data/DataSet.cs, System.Data/DataView.cs,
1219 System.Data/ForeignKeyConstraint.cs,
1220 System.Data/DataViewManager.cs, System.Data/DataRow.cs,
1221 System.Data/DataSysDescriptionAttribute.cs,
1222 System.Data/UniqueConstraint.cs, System.Data/DataTable.cs,
1223 System.Data/DataRelation.cs: lots of attribute work, removing
1224 DataSysDescription atributes (and marking the class obsolete) for
1227 2006-02-17 Chris Toshok <toshok@ximian.com>
1229 * DataAdapterException.cs: remove this file.
1231 2006-02-17 Chris Toshok <toshok@ximian.com>
1233 * DataTableReader.cs: Switch to the (bool) form of Dispose to
1234 override, as the no-arg form isn't virtual.
1236 * Constraint.cs: #ifdef out more DataSysDescriptions.
1238 * ConstraintException.cs: add ..ctor (string, Exception) for 2.0.
1240 2006-02-17 Chris Toshok <toshok@ximian.com>
1242 * DataColumn.cs: #ifdef all the DataSysDescriptions !NET_2_0.
1244 * AdapterMappingException.cs: nuke this file.
1246 * IDbAsyncConnection.cs, IDbAsyncCommand.cs, IGetTypedData.cs,
1247 ISetTypedData.cs, IDataReader2.cs, IDataSources.cs,
1248 IDbExecutionContext.cs, IDataRecord2.cs, IDataUpdatableRecord.cs:
1249 remove these 2.0 files.
1251 2006-02-17 Chris Toshok <toshok@ximian.com>
1253 * ConstraintCollection.cs: in 2.0, class is not serializable and
1254 is sealed. make all the "virtuals" #if !NET_2_0 as well.
1256 * Constraint.cs: not serializable in 2.0.
1258 * DataColumnCollection.cs: in 2.0, class is not serializable and
1259 is sealed. make all the "virtuals" #if !NET_2_0 as well.
1261 * DataRelationCollection.cs: not serializable in 2.0.
1263 * DataRelation.cs: not serializable in 2.0.
1265 * DataRowBuilder.cs: class is sealed in 2.0.
1267 * DataRowCollection.cs: in 2.0, class is not serialized and is
1268 sealed. Also, Add isn't virtual in 2.0 (as the class is sealed).
1270 * DataRow.cs: not serializable in 2.0.
1272 * DataSet.cs: remove some DataSysDescriptions from the 2.0 build,
1273 and s/GetDataReader/CreateDataReader.
1275 * DataTableCollection.cs: in 2.0, class is not serializable and is
1276 sealed. make all the "virtuals" #if !NET_2_0 as well.
1278 * DataTableReader.cs: remove VisibleFieldCount property.
1280 * DataViewSettingCollection.cs: not serializable in 2.0.
1282 * DataViewSetting.cs: not serializable in 2.0.
1284 * ForeignKeyConstraint.cs: serializable in 2.0.
1286 * OperationAbortedException.cs: class is sealed and serializable.
1288 * PropertyCollection.cs: serializable in 2.0.
1290 * StatementCompletedEventArgs.cs: class is sealed.
1292 * UniqueConstraint.cs: not serializable in 2.0.
1294 2006-02-16 Senganal T <tsenganal@novell.com>
1297 WriteDataSetElement : Add an annotation element if exists.
1298 WriteDataRelationAnnotation : New. Write a DataRelation as an annotation.
1299 WriteConstraints : Write ForeignKeyConstraint even when not associated with
1300 a DataRelation and add a "ConstraintOnly=true" attribute for such constraints.
1301 * XmlConstants.cs : Add a new constant - ConstraintOnly
1302 * XmlSchemaImporter.cs :
1303 - ConstraintStructure : Add field ,IsConstraintOnly, to distinguish if a foreignkeyconstraint
1304 is related to relation or not.
1305 - GenerateRelation : Handle the case when parentkey and childkey contain multiple columnnames.
1307 2006-02-11 Senganal T <tsenganal@novell.com>
1309 * UniqueConstraint.cs :
1310 - PostAddRange : Check PrimaryKey is not already set for the table
1312 - PrimaryKey : follow ms.net behavior when BeginInit , EndInit is used.
1313 - Add new priamry key only when EndInit is called.
1314 - Incase of an error, retain old primarykey
1316 - Add Constraints after columns are added.
1317 - If both PrimaryKey Property and PrimaryKey Constraint are set,
1318 then the Constraint takes precedence.
1321 2006-02-03 Senganal T <tsenganal@novell.com>
1323 * DataTableCollection.cs :
1324 - Remove () : Check for invalid TableName
1325 - Add () : Verify the table doesn't belong to another dataset
1327 - CompleteLastAdded () : Do not raise ItemAdded Event as it is
1328 already raised in AddNew().
1330 - Expression : Verify that the Column names in the expression are valid
1331 - ResetCollectionInfo : Renamed to ResetColumnInfo
1333 - RejectChanges () : Reorganized the code to do the Right thing.
1334 - Item : Dont check for detached and deleted rows as these are
1336 * DataRowCollection.cs :
1337 - Add () : Check for null value
1339 - PrimaryKey : Set AllowDBNull=false for all the key columns
1340 - ImportRow : Import the row only if it is not in Detached state. if in Deleted
1341 state, perform the validation when AcceptChanges/RejectChanges is called.
1342 * DataColumnCollection.cs :
1343 - Add : Validate the column expression before adding it to the collection.
1344 - GetColumnDependency () : New. Get the dependencies on the column
1345 - CanRemove : Move checks to GetColumnDependency
1346 - Clear () : Simplified code. Remove unncessary checks.Also, dont check Expression col.
1347 - IndexOf - Check argument.
1348 Overall , appropriate error msg's are thrown if Remove/Clear fails. Removed a few
1349 redundant checks performed and moved the common code to GetColumnDependency.
1351 2006-01-31 Senganal T <tsenganal@novell.com>
1353 * DataSet.cs : Modified CopyRelations ()
1354 - Added code to copy ForeignKeyConstraints. Fixes #77411.
1356 2006-01-18 Boris Kirzner <borisk@mainsoft.com>
1357 * DataColumn.cs: added PropertyCchangedEvent handling.
1359 2006-01-17 Senganal T <tsenganal@novell.com>
1362 ItemArray : Modified to raise RowInTableException only if
1363 the concerned row has been removed from the table.Fixes
1366 2006-01-16 Boris Kirzner <borisk@mainsoft.com>
1367 * DataTable.cs: Drop dependend indexes on column removal.
1369 2006-01-16 Atsushi Enomoto <atsushi@ximian.com>
1371 * CustomDataClassGenerator.cs :
1372 When a DataRelation connects the same table as parent and child,
1373 generate parent row property as BlahRowParent. Fixed bug #77248.
1375 2006-01-10 Senganal T <tsenganal@novell.com>
1376 * DataRowCollection.cs
1377 - Added ListChangedEvent to notify reset of the collection.
1379 - Subscribes to the ListChangedEvent of DataRowCollection
1382 2006-01-09 Senganal T <tsenganal@novell.com>
1383 * RelatedDataView.cs
1385 - Resolving a name clash in IExpression
1387 2006-01-06 Senganal T <tsenganal@novell.com>
1390 * DataColumnCollection.cs
1391 - Reset the Parameters of DataColumn to Default Values when
1392 column is removed from the Table's Collection
1394 2006-01-03 Senganal T <tsenganal@novell.com>
1397 - ParseSortString() : Changed the way the sort string is parsed.
1398 Using a regex to parse the string.Fixes bug #77104
1400 2005-12-12 Konstantin Triger <kostat@mainsoft.com>
1402 * DataRow.cs: Added index Updates.
1403 EndEdit() fixed to first update indices and then AssertConstraints
1404 based on those indices.
1405 Added Validate() and AssertConstraints() functions.
1406 * DataRowCollection.cs: Removed ValidateDataRowInternal().
1407 * DataTable: Fixed Clear().
1409 2005-12-06 Atsushi Enomoto <atsushi@ximian.com>
1411 * CustomDataClassGenerator.cs : (InitializeFields) handle AllowDBNull
1412 and DefaultValue as well. Patch by Marek Habersack (bug #76709).
1414 2005-12-01 Miguel de Icaza <miguel@novell.com>
1416 * DataSet.cs: Apply patch from Robert Jordan, to fix #76817
1418 2005-11-26 Konstantin Triger <kostat@mainsoft.com>
1420 * ConflictOption.cs: TARGET_JVM include.
1422 2005-11-11 Senganal T <tsenganal@novell.com>
1424 * ConflictOption.cs (new file)
1425 - Added ConflictOption Enumeration
1426 * DataTableReader.cs
1428 - GetProviderSpecificFieldType : Corrected the method name
1430 2005-11-11 Senganal T <tsenganal@novell.com>
1432 * DataSet.cs : Added the SchemaSerializationMode Property for NET_2_0
1434 * SchemaSerializationMode.cs : Added SchemaSerializationMode Enumeration
1435 for NET_2_0 compatibility.
1439 2005-10-20 Atsushi Enomoto <atsushi@ximian.com>
1441 * XmlSchemaWriter.cs : escape names in the schema with XmlConvert.
1444 2005-10-14 Sureshkumar T <tsureshkumar@novell.com>
1446 * DataView.cs: Correct multiple throwing of events. Patch from
1448 (RowStateFilter): Fire ListChangedEvent.
1449 (ApplyDefaultSort): Fire ListChangedEvent.
1450 (CompleteLastAdded): call UpdateIndex to remove the row from rowCache.
1451 (IBindingList.Find): Implemented.
1453 2005-10-11 Sureshkumar T <tsureshkumar@novell.com>
1455 * DataView.cs (IBindingList): Implemented methods for IBindingList interface.
1457 2005-09-26 Lluis Sanchez Gual <lluis@novell.com>
1459 * DataSet.cs: In IXmlSerializable.GetSchema, return null again for
1460 untyped datasets. Fixes bug #76101.
1462 2005-09-21 Boris Kirzner <borisk@mainsoft.com>
1463 * DataRow.cs: Fixes for index updating.
1465 - Reset case-sensitive indexes also if their filter contains columns
1467 - Use GetIndex instead of FindIndex, so the indexes created in Select()
1469 * RelatedDataView.cs: implement IExpression.Equals() and GetHashCode().
1471 2005-09-20 Sureshkumar T <tsureshkumar@novell.com>
1473 * DataView.cs (Sort): Apply default Sorting Order if Sort property
1474 is reset to null. Sort property handles this. Patch from Marc.
1476 * DataTable.cs (ParseSortString): Patch from Marc Haisenko for
1477 allowing [ & ] in DataView.Sort string.
1479 2005-09-01 Boris Kirzner <borisk@mainsoft.com>
1480 * System.Data/DataRowCollection.cs: indexes should be updated even if
1481 EnforceConstraints is false. Check for EnforceConstraints in
1482 ValidateDataRowInternal.
1484 2005-08-08 Gert Driesen <drieseng@users.sourceforge.net>
1486 * DataView.cs: Changed accessibility of dataTable, rowState and
1487 rowCache field to internal to fix public API. Assigned TypeConverter
1489 * ForeignKeyConstraint.cs: IsConstraintViolated is now internal.
1490 * Constraint.cs: IsConstraintViolated is now internal.
1491 * UniqueConstraint.cs: IsConstraintViolated is now internal.
1493 2005-08-05 Atsushi Enomoto <atsushi@ximian.com>
1495 * XmlSchemaDataImporter.cs : When "dataset element" has identity
1496 constraints, then first reserve constraints room for them and then
1497 process elements, skipping pkey creation if there is already
1498 reserved one. Fixed bug #75711.
1500 2005-08-05 Atsushi Enomoto <atsushi@ximian.com>
1502 * XmlDataInferenceLoader.cs : in GetElementMappingType(), don't guess
1503 the same (QNamed) element again when it was already evaluated as
1504 not simple type. Fixed one part of bug #75711.
1506 2005-08-02 Boris Kirzner <borisk@mainsoft.com>
1507 * XmlSchemaDataImporter.cs : Data relations should be processed after the
1508 keys, so no redundant constraints created while relations processing.
1510 2005-07-25 Boris Kirzner <borisk@mainsoft.com>
1511 * FillOptions.cs, ConflictOptions.cs, UpdateOptions.cs:
1512 added ifdef TARGET_JVM.
1514 2005-07-22 Sureshkumar T <tsureshkumar@novell.com>
1516 * DataViewSettingCollection.cs, DataTableCollection.cs,
1517 DataSet.cs, DataView.cs, DataColumn.cs, ForeignKeyConstraint.cs,
1518 DataRelationCollection.cs, UniqueConstraint.cs, DataTable.cs,
1519 DataColumnCollection.cs, DataRelation.cs, DataSet.cs:
1520 - updated attributes & attribute descriptions to match with
1523 * DataView.cs: changed protected members
1524 rowstate,rowcache,dataTable to protected internal.
1525 * Constraint.cs, ForeignKeyConstraint.cs, UniqueConstraint.cs:
1526 changed InConstraintViolated to protected internal.
1527 * ConflictOptions.cs, UpdateOptions.cs, FillOptions.cs: enclosed
1528 with NET_2_0 define.
1530 2005-07-21 Sureshkumar T <tsureshkumar@novell.com>
1532 * ForeignKeyConstraint.cs:
1533 - IsConstraintViolated (): no matter what EnforceConstraints is,
1534 this function now honestly validates. It is upto the caller to run
1536 - AddToConstraintCollectionSetup (): AssertConstraint according to
1539 2005-07-21 Boris Kirzner <borisk@mainsoft.com>
1540 * ForeignKeyConstraint.cs - IsConstraintViolated() should check also for Table.EnforceConstraints.
1541 * DataTable.cs - EnforceConstraints becomes internal so it can be used by ForeignKeyConstraint.
1543 2005-07-19 Sureshkumar T <tsureshkumar@novell.com>
1545 * DataTable.cs - CopyConstraints (): copy constraints only if it
1548 * DataSet.cs - Copy ():
1549 - use activator.CreateInstance to create a typed dataset.
1550 - copy tables if target does not exist, otherwise, just add rows.
1551 - add relation only if it does not exists.
1553 Typed datasets create the constraints & relations through
1554 constructors. Fixes bug #75211.
1556 2005-07-14 Sureshkumar T <tsureshkumar@novell.com>
1558 * DataView.cs: Patch from Marc Haisenko to throw descriptive error
1559 message when accessing Item, with invalid index.
1561 2005-07-14 Sureshkumar T <tsureshkumar@novell.com>
1563 reapplied patch from Marc Haisenko.
1564 * DataView.cs: Patch from Marc Haisenko that ensures that rowCache
1567 2005-07-13 Sureshkumar T <tsureshkumar@novell.com>
1569 * DataRelationCollection.cs: adding a relation with same set of
1570 parent columns & child columns, should not be allowed.
1572 2005-07-08 Sureshkumar T <tsureshkumar@novell.com>
1574 * DataTableReader.cs: GetSchemaTable: DataType column should be
1575 passed a type of Type.
1577 * DataRow.cs: Load : Fired necessary events.
1579 * DataTable.cs: LoadDataRow (object [], LoadOption): Fired
1582 2005-06-28 Sureshkumar T <tsureshkumar@novell.com>
1584 * DataRow.cs: Delete (): if row is detached, do nothing.
1587 2005-06-22 Sureshkumar T <tsureshkumar@novell.com>
1589 * DataRow.cs: Added method MergeValuesToRow copy merge two rows
1590 according to the merge rules.
1592 * MergeManager.cs: (MergeRow): use MergeValuesToRow
1593 API. CopyValuesToRow simply makes the target row same as source
1594 row. Rather, MergeValuesToRow merges with the target row according
1597 2005-06-19 Konstantin Triger <kostat@mainsoft.com>
1599 * DataSet.cs: Fixed ReadXml to work with IXmlSerializable
1601 2005-06-17 Jordi Mas i Hernandez <jordi@ximian.com>
1603 * DataViewManager.cs: fixes exception and creates DataView
1605 2005-06-15 Sureshkumar T <tsureshkumar@novell.com>
1607 * DataRow.cs: CheckChildRows: cascade parent changes to child rows
1608 only if there is a change in columns of the fk constraint.
1610 2005-06-14 Sureshkumar T <tsureshkumar@novell.com>
1612 * DataSet.cs: GetChanges: if row is deleted, get parent rows based
1613 on original version. fixes bug #75227.
1615 2005-06-13 Sureshkumar T <tsureshkumar@novell.com>
1617 * DataRowCollection.cs: Find (keys, version): Added an overload to
1618 find keys matching given DataViewRowState filter. Used in
1619 DataSet.Merge and DataTable.LoadDataRow.
1621 * DataTable.cs: LoadDataRow (values, LoadOption): Use
1622 DataRowCollection.Find (object [], DataViewRowState) overload.
1625 - CopyValuesToRow: Create target "records" out of loop. Records
1626 should be created once, not for each column. Dispose Unused target
1630 - MergeRow: Find rows with matching original records. If not,
1631 select with current values.
1632 - MergeRow: While adding new row, use NewNotInitializedRow.
1634 * ForeignKeyConstraint.cs: IsConstraintViolated: should not check
1635 if EnforceConstraints is false.
1637 2005-06-10 Sureshkumar T <tsureshkumar@novell.com>
1639 * DataRow.cs: CopyValuesToRow: if orginal == current, don't create
1640 a new current record.
1642 * DataSet.cs: GetChanges :Temporarily disable EnforceConstraints.
1644 * MergeManager.cs: Merge: Temporarily disable
1645 EnforceConstraints. Patch from george.barbarosie@gmail.com (George
1648 2005-06-09 Jordi Mas i Hernandez <jordi@ximian.com>
1650 * DataView.cs: fixes GetListName
1652 2005-06-02 Atsushi Enomoto <atsushi@ximian.com>
1654 * XmlSchemaConstants.cs,
1655 XmlSchemaDataImporter.cs,
1656 XmlSchemaWriter.cs : AutoIncrementStep support. Patch partly by
1657 George Barbarosie. Fixed bug #75121.
1658 * XmlSchemaMapper.cs : it is not used anymore, so just removed.
1660 2005-05-31 Boris Kirzner <borisk@mainsoft.com>
1661 * DataRow.cs : SetParentRow on Detached row with no Default version throws an exception.
1663 2005-05-29 Konstantin Triger <kostat@mainsoft.com>
1665 * This patch fixes #74813
1666 * DataView.cs: rework the CreateChildView to receive the index into the indexed row array, rowState became protected to be initialized from RelatedDataView
1667 * DataRowView.cs: movo the logic of creating the child view to the DataView
1668 * RelatedDataView.cs: perform correct init.
1670 2005-05-25 Sureshkumar T <tsureshkumar@novell.com>
1672 * DataTable.cs: Reworked DataTable.LoadDataRow method after
1673 regressions caused by Index redesign.
1674 * DataRow.cs: Load : reworked.
1676 2005-05-25 Konstantin Triger <kostat@mainsoft.com>
1678 * ISafeDataRecord.cs: Added GetDateTimeSafe method, the interface was made derived from IDataRecord
1680 2005-05-22 Konstantin Triger <kostat@mainsoft.com>
1682 * 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
1684 2005-05-20 Sureshkumar T <tsureshkumar@novell.com>
1686 * DataTable.cs: CreateRecord :value should be set to auto
1687 increment value or default value if the given value is null.
1689 2005-05-16 Konstantin Triger <kostat@mainsoft.com>
1691 * DataTable.cs: In DataTable.LoadDataRow with LoadOption - reverting the search order back to Original -> Current (by Suresh request)
1693 2005-05-16 Konstantin Triger <kostat@mainsoft.com>
1695 * DataRow.cs, DataTable.cs: code under net_2_0 changed to use the new interface
1696 * DataTable.cs: Added CompareRecords, which compares records in column order
1699 2005-05-16 Sureshkumar T <tsureshkumar@novell.com>
1702 * DataTable.cs: quick fix to make build 2.0 profile (follow up for
1703 check in 2005-05-16). Merge with previous changes.
1705 2005-05-11 Sureshkumar T <tsureshkumar@novell.com>
1707 fix for "import row does not import deleted records"
1709 * UniqueConstraint.cs: Make a way to access value even from a
1710 deleted record. deleted records are added to the collection by
1714 - Added restriction-less methods GetValue to fetch a
1715 value even if it is in deleted state.
1716 - If a row is detached, don't try to delete it from indexes.
1717 - sanity check for record_index in CopyValuesToRow method
1719 2005-05-05 Sureshkumar T <tsureshkumar@novell.com>
1721 * DataTableReader.cs: Implemented Delete handler and move the
1722 current pointer accordingly.
1724 2005-05-04 Sureshkumar T <tsureshkumar@novell.com>
1726 * DataTableReader.cs: Added event handlers to make reader stable
1727 when the datasource is modified. Thanks to Umadevi for giving the
1728 review comments for this implementation.
1730 * DataTable.cs: Clear (): Raise TableCleared event.
1732 * DataTableClearEventArgs.cs: Args for DataTableClearEventHandler.
1734 * DataTableClearEventHandler.cs: Handler for DataTable.TableClear
1737 * DataRow.cs: AcceptChanges: raise row changing & row changed
1740 * DataRowCollection.cs: Clear : remove rows from indexes
1742 2005-05-02 Atsushi Enomoto <atsushi@ximian.com>
1744 * XmlSchemaDataImporter.cs : XmlSchemaParicle might be XmlSchemaAny.
1745 This fixes bug #74784.
1747 2005-04-29 Sureshkumar T <tsureshkumar@novell.com>
1749 * DataTableReader.cs: removed use of _first. throw if given index
1750 is out of range of columns. Copy DataTable [] to local array so
1751 that not to be disturbed.
1753 2005-04-27 Sureshkumar T <tsureshkumar@novell.com>
1755 * DataTableReader.cs: Implemented most of the TODO.
1757 2005-04-22 Sureshkumar T <tsureshkumar@novell.com>
1759 * LoadOption.cs: Changed the enums. Keeping old values for
1762 * DataTable.cs: Implemented methods Load and its overloads. Also
1763 implemented LoadDataRow.
1765 * DataRowCollection.cs: Added a variation of the Find method to
1766 return a row even if it is of state Deleted. This is required for
1767 DataTable.LoadDataRow method.
1769 * DataRow.cs: Implemented internal helper method Load for loading
1770 values from an object array and given an LoadOption (2.0 feature).
1772 * DataRowAction.cs: Added few more enums for .net 2.0. Sorted
1775 2005-05-16 Konstantin Triger <kostat@mainsoft.com>
1777 * UniqueConstraint.cs : IsNull check is relevant for rows having default row version.
1778 * DataTable.cs : The row should be validated when imported
1779 * DataRowCollection.cs : if the row does not contain Proposed neither Current version, it's irrelevant for validation
1781 2005-04-26 Boris Kirzner <borisk@mainsoft.com>
1783 * UniqueConstraint.cs :
1784 - Add indication whenever the constraint belongs to collection.
1785 - Calculation of IsPrimaryKey simplified.
1786 - If constraint is based on single column, the column becomes unique.
1787 - Use boolean IsConstraintViolated() instead of AssertConstraint().
1788 - Use Index.Duplicates to proper exception message formatting.
1789 - AssertConstraint(DataRow) changed to suite new indexes interface.
1790 - Added CanRemoveFromCollection method.
1791 - Contains() method renamed to IsColumnContained().
1792 * RelatedDataView.cs : added new class.
1794 - Reset indexes after merge.
1795 - Add new tables when row array is merged into dataset.
1796 - Clean proposed record in MergeRow.
1797 - Inherit nesting on creating new relations in target data set.
1798 - Avoid double loop on constraints collection.
1799 * Locale.cs : added new class.
1800 * ISafeDataRecord.cs : added new interface.
1801 * Index.cs : commented out. Index implementation moved to System.Data.Common.
1802 * ForeignKeyConstraint.cs :
1803 - No more use of childColumnsExtended since new indexes allow duplicate records.
1804 - Constraints can not be created on expression columns.
1805 - Removed unnecessary delegation.
1806 - Use boolean IsConstraintViolated() instead of AssertConstraint().
1807 - Use proper exception message formatting.
1808 - Contains() method renamed to IsColumnContained().
1809 * DataViewRowState.cs : use enum members to simplify notation.
1810 * MergeManager.cs : implemented RelationCollectionChanged().
1811 * DataView.cs : new implementation.
1812 * DataTableCollection.cs :
1813 - Added boundary check in indexer.
1814 - More accurate handling in AddRange().
1815 - Raise event in Remove().
1817 - Hold primary key as constraint.
1818 - Added accurate handling of DefaultView.
1819 - Hold DataRowBuilder per table.
1820 - Proper exception messages if enforce Constraints is violated.
1821 - If there is no rows, Compute() returns DBNull.
1822 - Use DataRow properties instead of private members.
1823 - CopyProperties() fixed.
1824 - Raise proper events in EndInit().
1825 - Proper order of violation checks in EndLoadData().
1826 - Create array of rows using NewRowArray().
1827 - ImportRow handles rows according to their versions.
1828 - LoadDataRow make use of records (instead of raw object array).
1829 - Added and implemented LoadDataRow() that gets IDataRecord as a parameter (used in Fill)
1830 - Select() uses indexes filtering and sorting ability (instead of "loop-throw-sort" approach).
1831 - Removed redundant RowSorter and Sortable column classes.
1832 - ParseSortString() fixed to threat bracketed column names.
1833 - Table holds collection of property descriptors.
1835 - Reset table case sensitive indexes on CaseSensitive change.
1836 - EnforceConstraints update logic moved to internal method (used by DataTable).
1837 - InAddChangedRow first add row and than copy values for proper handling of default values.
1839 - Changed private member names to suite name convention.
1840 - CancelEdit() fixed.
1841 - CreateChildView() delegates to DataView.
1843 - Proper exception messages in indexers.
1844 - RowVersion uses DataView.
1845 - GetProperties() delegates to corresponding table if needed.
1846 * DataRowCollection.cs :
1847 - Common Add() logic moved to AddInternal() (used also by DataTable).
1848 - Removed redundant check from Contains().
1849 - Dalegate Find() calls when possible.
1851 - RomoveAt() delegates to Remove().
1852 - Optimized constraints check in row validation.
1853 * DataRelationPropertyDescriptor.cs : added new class.
1854 * DataRelationCollection.cs :
1856 - Fixed order of actions in AddCore().
1857 - RemoveCore() also delegates to base.
1858 - Add relation to dataset also in AddCore().
1859 - Remove relation from dataset also in RemoveCore().
1860 - InTransition hold a data relation so we can properly identify the "in transition" state.
1861 - Added threat of parent and child table s property descriptors in Add().
1862 - Common Add() logic moved to AddCore().
1864 - Remove() threats "in transition" state properly.
1865 - Remove methods delegate to single implementation.
1866 * DataColumnPropertyDescriptior.cs :
1867 - Added new constructor.
1868 - Commented out redundant method.
1869 * DataColumnCollection.cs :
1870 - Boundary check in indexer.
1871 - RegisterName and UnregisterName become internal (used also by DataColumn).
1873 - Fixed CanRemove().
1874 - Rethrow correct exception in Clear();
1875 - Change in collection resets parent table property descriptors.
1876 - Added PostEndEdit() helper method (used by DataTable).
1878 - Private member names changed to suite name convention.
1879 - Created method for CanAutoIncrement() logic.
1880 - Proper handling of column name update.
1881 - Proper exception messages on expression update.
1882 - Proper namespace handling (delegates to table when needed).
1883 - Removed redundant check in Unique update.
1884 - Implemented internal Clone().
1885 - GetParentRalation() and GetChildRelation() become private.
1887 - Added abstract methods (implemented in UniqueConstraint and ForeignKeyConstraint).
1888 - Simplified index update.
1889 * ConstraintCollection.cs :
1890 - Use Locale instead of CaseSensitive in column names comparison.
1892 - Rethrow correct exception type in Add().
1893 - Proper update of table primary key in Add().
1894 - Delegate CanRemove() to constraint.
1895 - Remove table primary key in Clear();
1896 - Delegate "can remove" check to constraint in Remove().
1897 - Removed unnecessary methods and properties.
1899 - RowSate becomes calculated property.
1900 - Use properties instead of private members where possible.
1902 - Fixed order of actions in ItemArray update.
1903 - Fixed DetachRow().
1904 - Added ImportRecord() method.
1905 - Removed redundant SetValuesFromDataRecord().
1906 - Fixed IndexFromVersion().
1907 - Added VersionFromIndex() method. Returns row version the passed record index corresponds to.
1908 - Fixed AcceptChanges().
1909 - Fixed creating proposed version in BeginEdit();
1910 - Added record disposal in Delete().
1911 - Fixed CheckChildRows().
1912 - EndEdit() fixed. Checks for readonly. Uses straight flow instead of "try and fix if fail" approach.
1913 - GetChildRows() and GetPrarentRows() rewrited. Use records and indexes for rows lookup.
1914 - GetColumnError() delegates to another implementation.
1915 - HasVersion() fixed.
1916 - RejectCahnges checks on child rows before passing through.
1917 - SetParentRow() fixed. Create relation collection if needed. Use typed data container value copy.
1918 - CopyErrors() logic moved to separate method (used also by DataTable).
1919 * ExpressionElement.cs : added new class.
1920 * Res.cs : added new class.
1922 2005-04-20 Jordi Mas i Hernandez <jordi@ximian.com>
1924 * DataViewManager.cs: implements TypedList.GetListName used in SWF
1926 2005-04-19 Atsushi Enomoto <atsushi@ximian.com>
1928 * DataRowView.cs : indexer should access to DataRow with proper
1929 DataRowVersion. Fixed bug #74650.
1931 2005-04-18 Sureshkumar T <tsureshkumar@novell.com>
1933 * DataRow.cs: if there are no mapping fields, fill with default
1936 2005-04-17 Atsushi Enomoto <atsushi@ximian.com>
1938 * DataView.cs : Delete() should not try to remove row twice.
1941 2005-04-13 Atsushi Enomoto <atsushi@ximian.com>
1943 * DataTable.cs : Use GetRowType() for the base of the returning array
1944 type of Select(). Fix by Gerhard Rittweger.
1945 * CustomDataClassGenerator.cs : Fixed slightly harmless wrong code.
1947 2005-04-13 Atsushi Enomoto <atsushi@ximian.com>
1949 * CustomDataClassGenerator.cs : custom relation was not added to
1950 Relations property. The second entry of bug #69276 was fixed.
1951 Patch by Daniel Rodriguez.
1953 2005-04-07 Lluis Sanchez Gual <lluis@novell.com>
1955 * DataRowCollection.cs: Fix the signature of the Add method
1958 2005-03-16 Atsushi Enomoto <atsushi@ximian.com>
1960 * DataRow.cs : on importing row, it was copying data from incorrect
1961 DataRow. This fixes bug #73288.
1963 2005-03-07 Jackson Harper <jackson@ximian.com>
1965 * DataViewManagerListItemTypeDescriptor.cs: Implement missing
1966 features. These are needed for System.Windows.Forms databinding.
1968 2005-02-25 Atsushi Enomoto <atsushi@ximian.com>
1970 * DataColumn.cs : setting negative value on MaxLength of SimpleContent
1971 column is still valid.
1973 2005-02-15 Atsushi Enomoto <atsushi@ximian.com>
1975 * XmlSchemaWriter.cs : new file for outputting XmlSchema.
1976 * DataSet.cs : removed rewritten code in XmlSchemaWriter.
1977 * XmlConstants.cs : added UseCurrentCulture constant.
1979 Use new Xml Schema writer.
1980 Use XmlSchemaDataImporter as we use in DataSet.
1982 2005-02-10 Atsushi Enomoto <atsushi@ximian.com>
1984 * DataView.cs, DataRowView.cs : Fixed bug #72421. CreateChildView()
1985 should target only child rows.
1987 2005-02-03 Atsushi Enomoto <atsushi@ximian.com>
1989 * DataViewManager.cs: misuse of ReadStartElement(string).
1990 * DataRowView.cs : removed some MonoTODO.
1992 2005-02-02 Sureshkumar T <tsureshkumar@novell.com>
1993 Ankit Jain <radical@corewars.org>
1995 * DataColumn.cs: throw exception if the column is part of a
1996 relationship, when chaning the data type. Added methods
1997 "GetParentRelation ()" and "GetChildRelation ()" get the relation
1998 which contains the current column
1999 * DataRelation.cs: Added method "Contains (DataColumn)" to check
2000 whether the relation contains the given column.
2002 fixes nunit failure: DataRelationTest.InvalidConstraintException2.
2004 2005-02-02 Sureshkumar T <tsureshkumar@novell.com>
2006 * DataColumnCollection.cs: implemented todo item "check for
2007 constraints" when removing columns from table.
2008 * DataRowCollection.cs: Clear (): don't have to throw child key
2009 constraint exception when the child table does not have any
2010 rows. safe to remove parent rows.
2011 * UniqueConstraint.cs: added method "Contains (DataColumn)" to
2012 check whether a column is part of UniqueConstraint.
2013 * ForeignKeyConstraint.cs: added method "Contains (DataColumn,
2014 lookInParent)" to check whether a column is part of foreignkey.
2016 fixes nunit failure: DataTableTest.ClearTest ()
2018 2005-02-02 Sureshkumar T <tsureshkumar@novell.com>
2020 * ForeignKeyConstraint.cs: validating columns: move checking
2021 "tables are of same dataset" before "checking column types".
2023 fixes nunit failure: ForeignKeyConstraint.CtorExceptions.
2025 2005-02-02 Atsushi Enomoto <atsushi@ximian.com>
2027 * DataViewManager.cs : let's just use StringWriter instead of
2028 XmlTextWriter (to avoid empty tag string mismatch annoyance.)
2029 * DataView.cs : implemented BeginInit() and EndInit(). Don't update
2030 rows during init phase until EndInit() is invoked. During init phase,
2031 just hold properties such as Sort that affects on rows.
2033 2005-02-02 Atsushi Enomoto <atsushi@ximian.com>
2035 * DataTableCollection.cs : (RemoveAt) just use IndexOutOfRangeException.
2037 2005-02-02 Atsushi Enomoto <atsushi@ximian.com>
2039 * DataView.cs : DataRowView.EndEdit() raises ItemMoved event.
2040 set_Table clears Sort and RowFilter.
2042 2005-02-02 Atsushi Enomoto <atsushi@ximian.com>
2045 - Clear() should clear AddNew cache.
2046 - Open() invokes Reset().
2047 - ConstraintCollectionChanged() itself does not invoke OnListChanged().
2048 - Reset() does not Open, Close and Update Index.
2049 - UpdateIndex() can be invoked even if it has no table.
2050 - Reset event is invoked always after actual query to table.
2051 - set_Table should raise PropertyDescriptorChanged event.
2053 2005-02-02 Atsushi Enomoto <atsushi@ximian.com>
2055 * DataView.cs : ColumnCollectionChanged() is the event invoker (i.e.
2056 when overriden, no column change events are fired).
2058 2005-02-02 Atsushi Enomoto <atsushi@ximian.com>
2060 * DataView.cs : CancelEditRowView() and DeleteRowView() was incorrectly
2061 checking target tables. They also should raise events if required.
2063 2005-02-02 Atsushi Enomoto <atsushi@ximian.com>
2065 * DataView.cs : simplify code with UnsortedList.
2067 2005-02-01 Atsushi Enomoto <atsushi@ximian.com>
2069 * DataView.cs : Mostly reimplemented.
2070 - UpdateIndex() is invoked only when it is required (results in
2071 significant performance improvement).
2072 - Use SortedList and wrapper OptionalSortedList which switches
2073 between SortedList (with Sort) and UnsortedList (without Sort).
2074 - DataView itself now contains two collections for rowviews:
2075 Table rows based pool and AddNew() based cache. Consider those
2076 two collections in every members.
2077 - Reset() does not clear rows. Just invokes UpdateIndex().
2078 - Hook RowDeleting, ColumnChanging and ColumnChanged events in table
2079 which is required to handle state changes.
2080 - Reimplemented Find() and FindRows() because of internal changes.
2082 2005-02-01 Atsushi Enomoto <atsushi@ximian.com>
2084 * DataTable.cs : Fixed row comparer. Even if every of the sort target
2085 columns are identical for two rows, they should not be regarded as
2086 the same unless they are Object.ReferenceEquals.
2088 2005-02-01 Atsushi Enomoto <atsushi@ximian.com>
2090 * DataRowCollection.cs : on adding a row, should raise
2091 ChangingDataRow() as well as ChangedDataRow().
2093 2005-01-31 Sureshkumar T <tsureshkumar@novell.com>
2095 * DataRow.cs: SetParentRow (): use relation.ParentColumns &
2096 relation.ChildColumns instead of relation.ChildKeyConstraint.*
2097 because createConstrains flag may be false when creating data
2098 relations. Hack along with Ankit Jain.
2100 2005-01-31 Atsushi Enomoto <atsushi@ximian.com>
2102 * DataView.cs :some interface implementations.
2104 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
2106 * DataView.cs : Add to table only when the row is not in the table.
2108 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
2110 * DataView.cs : implemented FindRows() (btw we should not use
2111 DataTable since there are detached rows by AddNew().)
2113 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
2116 Code cleanup: privatify some members, remove unused methods.
2117 Some event-based invocation methods should not raise NotImplemented.
2119 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
2121 * DataSet.cs : ReadXml() became closer to MS behavior, being hacky.
2123 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
2125 * XmlSchemaDataImporter.cs : empty element is not regarded as a column.
2127 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
2129 * UniqueConstraint.cs : mostly reverted the previous patch + check
2130 IsPrimaryKey before validation.
2132 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
2134 * DataView.cs : Fixed duplicate insertion to Hashtable.
2135 * UniqueConstraint.cs : Unique constrained pair of columns could be
2138 2005-01-27 Atsushi Enomoto <atsushi@ximian.com>
2141 Don't do anything for Sort/ApplyDefaultSort/RowFilter/RowStateFilter
2142 when the same value is being set.
2143 Examined UpdateIndex() and marked FIXME where MS does not invoke it.
2144 Removed unused OnColumnChanged().
2145 Now store rowViewPool and reuse DataRowView objects.
2146 Optimized UpdateIndex() - avoid ArrayList. Avoid Haashtable.Rehash().
2148 2005-01-27 Atsushi Enomoto <atsushi@ximian.com>
2150 * DataViewSettings.cs : no MonoTODO anymore.
2151 * DataViewManager.cs : pass itself to new DataView() (new ctor).
2152 * DataRowView.cs : GetHashCode() returns its Row's hash.
2153 * DataTablePropertyDescriptor.cs : use new ctor().
2154 * DataView.cs : added new ctor()s that accept DataViewManager.
2156 2005-01-27 Atsushi Enomoto <atsushi@ximian.com>
2158 * DataView.cs, DataRowView.cs : AddNew() should not add the row to table
2159 (it is still detached). So handle those rows differntly.
2160 CancelEdit(), EndEdit() and Delete() propagates those events to
2161 DataView (and handle row collection).
2162 Eliminate "throw new Exception()".
2163 Don't catch all the exception thrown in ListChanged event.
2164 * DataTable.cs : made RowSorter as internal and use it in DataView.
2165 no need to pass DataRow[] to .ctor().
2167 2005-01-27 Atsushi Enomoto <atsushi@ximian.com>
2169 * DataTable.cs : don't create DefaultView unless it is required. It
2170 significantly improves performance. (i.e. DataView perf. is sick ;-)
2172 2005-01-27 Atsushi Enomoto <atsushi@ximian.com>
2174 * DataViewSetting.cs,
2175 DataViewSettingCollection.cs,
2176 DataViewManager.cs : implemented basic members.
2178 2005-01-26 Atsushi Enomoto <atsushi@ximian.com>
2180 * Node.cs, DataColumnPropertyDescriptor.cs, DataTable.cs :
2181 Eliminate "throw new Exception".
2183 2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
2185 * DataRow.cs : (set_Item) RowNotInTableExeption check should be done
2186 regardless of index existence.
2188 2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
2190 * DataTable.cs : use new IExpression.EvalBoolean() to avoid extraneous
2193 2005-01-25 Sureshkumar T <tsureshkumar@novell.com>
2195 * DataTable.cs: ImportRow :Do not add to rows collection if the
2196 import row is in detached state.
2198 2005-01-25 Sureshkumar T <tsureshkumar@novell.com>
2200 * DataRow.cs: CopyValuesToRow : set the column value with the
2201 default version of the given row.
2202 * DataTable.cs: ImportRow: Copy values before adding row.
2203 * DataSet.cs: AddChangedRow: Add the row to the table after
2206 Fixes bug #67317. Patch by Ankit Jain.
2208 2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
2210 * DataRowView.cs : Fixed IsEdit to reflect correct status of DataRow.
2211 * DataRow.cs : Expose editing status internally.
2213 2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
2215 * DataView.cs : missing attributes.
2217 2005-01-24 Atsushi Enomoto <atsushi@ximian.com>
2219 * DataRowView.cs : implemented CreateChildView().
2221 2005-01-24 Atsushi Enomoto <atsushi@ximian.com>
2223 * DataTable.cs, DataView.cs :
2224 Optimized DataView to compile only once RowFilter and Sort when
2225 those properties are set. To make it possible, extracted
2226 SortableColumn out of DataTable and added internal DataTable.Select()
2227 that accepts precompiled IExpression and SortableColumns[].
2229 2005-01-24 Atsushi Enomoto <atsushi@ximian.com>
2231 * DataColumn.cs : set_MaxLength is not allowed when it is mapped to
2232 SimpleContent. (However, it is weird but it never fails when we set
2233 ColumnMapping = MappingType.SimpleContent when we fhave MaxLength.)
2235 2005-01-21 Atsushi Enomoto <atsushi@ximian.com>
2237 * DataRow.cs : more Current -> Default fixes. Check if it should throw
2238 VersionNotFoundException. Patch by Ankit Jain.
2240 2005-01-21 Atsushi Enomoto <atsushi@ximian.com>
2242 * DataRow.cs : Default selects the right version for the current
2243 state of the row. Current is not always available. Also change
2244 that for GetParentRow(). Patch by Ankit Jain.
2246 2005-01-21 Atsushi Enomoto <atsushi@ximian.com>
2248 * DataTable.cs : CopyColumn() should copy AutoIncrement after
2249 DefaultValue, or it will raise an error in some cases.
2251 2005-01-20 Atsushi Enomoto <atsushi@ximian.com>
2253 * ConstraintCollection.cs : Add() should throw ArgumentException when
2254 the argument constraint fails validation.
2255 DataTable.cs : set_PrimaryKey should throw ArgumentException when
2256 the argument contains constraints which fail validation.
2258 2005-01-19 Sureshkumar T <tsureshkumar@novell.com>
2260 * DataRelationCollection.cs:
2262 Method Remove : Donot throw exception if DataRelation argument is
2263 null in DataRelationCollection.Remove method.
2265 Method RemoveAt : Exception should be IndexOutOfRangeException if
2266 row index is not in list range.
2268 Fixes nunit failures DataRelationCollection.Remove and
2269 DataRelationCollection.RemoveAt.
2271 2005-01-19 Sureshkumar T <tsureshkumar@novell.com>
2273 * ConstraintCollection.cs: Donot throw exception if constraints
2274 are null in AddRange method. Check for null before using the
2279 2004-01-19 Atsushi Enomoto <atsushi@ximian.com>
2281 * XmlDataInferenceLoader.cs,
2282 XmlDataReader.cs : Check if the XmlReader (node) represents DataSet
2283 or a table, reusing code block in XmlDataInferenceLoader.
2284 This fixes bug #60118.
2286 2004-01-19 Atsushi Enomoto <atsushi@ximian.com>
2288 * XmlDiffLoader.cs : Ankit Jain <radical@imt.ac.in> has a conflicting
2289 patches and some good catches. Some attributes should be skipped,
2290 and loaded value must be typed.
2292 2004-01-19 Atsushi Enomoto <atsushi@ximian.com>
2295 XmlDataInferenceLoader.cs,
2296 XmlDataReader.cs : use common const for http://www.w3.org/2000/xmlns/.
2297 * XmlDiffLoader.cs : It was not handling attributes. Fixed bug #70961.
2299 2005-01-18 Sureshkumar T <tsureshkumar@novell.com>
2301 Fix for bug #66838. This patch is submitted by "Ankit Jain"
2302 <radical@corewars.org> and refactored.
2304 * DataRow.cs: Allows to set a parent row even if the row is in
2307 * DataRelation.cs: method "UpdateConstraints" is added to check
2308 and create missing keys when adding a relation. This is refactored
2309 approach from DataRelationCollection.Add method.
2311 * DataRelationCollection.cs: AddCore methods of all relation types
2312 are synchronized. A Check for existing constraints is
2313 done. Relation is added to the list only if all checks are passed.
2315 2004-01-18 Atsushi Enomoto <atsushi@ximian.com>
2317 * DataColumnCollection.cs : Clear() throws ArgumentException that
2318 wraps thrown innerException.
2319 * XmlSchemaDataImporter.cs : removed FIXMEs.
2321 2004-01-12 Atsushi Enomoto <atsushi@ximian.com>
2323 * DataSet.cs : When serializing DataTable, BuildSchema() is passed
2324 null relation collections.
2325 Quick fix for XmlSerializer deserialization. It does not require
2326 XML Schema included.
2328 2004-01-11 Atsushi Enomoto <atsushi@ximian.com>
2331 CustomDataClassGenerator.cs :
2332 In DataSet class, IXmlSerializable.GetSchema() returns null.
2333 In strongly-typed class, it returns schema.
2335 2004-01-07 Atsushi Enomoto <atsushi@ximian.com>
2337 * XmlDataInferenceLoader.cs : test driver class should be excluded.
2339 2004-12-01 Miguel de Icaza <miguel@ximian.com>
2341 * DataView.cs: Patch from Marc Haisenko that ensures that rowCache
2344 2004-11-10 Atsushi Enomoto <atsushi@ximian.com>
2346 * CustomDataClassGenerator.cs : generated foreign key constraint
2347 construction code was creating empty child columns and thus it
2348 was invalid. This fixes bug #69276 (patch by Martin Voelkle).
2350 2004-11-02 Atsushi Enomoto <atsushi@ximian.com>
2352 * CustomDataClassGenerator.cs : custom DataTable ctor should call
2353 InitializeFields(), and those DataColumns created by that method
2354 should take data type. This should fix bug #68972.
2356 2004-10-15 Atsushi Enomoto <atsushi@ximian.com>
2358 * DataSet.cs : Also clear UnhandledAttributes ArrayList before
2359 generating next attribute column schema. This fixes bug #68432.
2361 2004-10-14 Umadevi S <sumadevi@novell.com>
2362 * DataTable.cs : Corrected the Clone method to use Activator.CreateInstance so that the
2363 correct subclass is returned. This fixes bug #67631
2365 2004-10-14 Umadevi S <sumadevi@novell.com>
2366 * DataSet.cs : Corrected the Clone method to use Activator.CreateInstance so that the
2367 correct subclass is returned. This fixes bug #67627
2369 2004-10-13 Atsushi Enomoto <atsushi@ximian.com>
2371 * DataSet.cs : clear UnhandledAttributes ArrayList before generating
2372 next element column schema. This fixes bug #68256.
2374 2004-10-12 Atsushi Enomoto <atsushi@ximian.com>
2376 * DataSet.cs : now xs:schema contains xmlns="".
2377 This fixes bug #68008.
2379 2004-10-12 Atsushi Enomoto <atsushi@ximian.com>
2381 * DataSet.cs : DBNull attribute column should not be written as
2382 empty attribute. This fixes bug #68007.
2384 2004-10-12 Atsushi Enomoto <atsushi@ximian.com>
2386 * DataSet.cs, XmlConstant.cs, XmlSchemaDataImporter.cs:
2387 DataColumn.ReadOnly was not handled. This fixes bug #68005.
2388 Attribute defaultValue was not handled too.
2390 2004-10-07 Atsushi Enomoto <atsushi@ximian.com>
2393 - When AllowDBNull is false on attribute DataColumn, its schema
2394 should contain use="required". This fixes bug #66792.
2395 - If MaxLength is set on attribute DataColumn, the mapped schema
2396 type should contain maxLength facet. This fixes bug #66793.
2398 2004-10-04 Atsushi Enomoto <atsushi@ximian.com>
2400 * DataSet.cs : For a row, when a relation is not nested, then it is
2401 still output target since it won't be written as a child of its
2402 parent. It fixes bug #66379.
2404 2004-10-03 Atsushi Enomoto <atsushi@ximian.com>
2406 * DataSet.cs : Attribute constraint field XPath must be written as
2407 @blah. This fixes bug #66366.
2409 2004-09-28 Umadevi S <sumadevi@novell.com>
2410 * DataRow.cs - checked for Enforceconstraints, while using indices to search for related rows
2412 2004-09-24 Sureshkumar T <tsureshkumar@novell.com>
2414 * DataSet.cs : Don't check constraints for dataset clear
2415 * DataRowCollection.cs : check for EnforceConstraints flag
2416 before checking foriegn key constraints in Clear method
2417 * DataTable.cs : Redundant checking removed in Clear method as it is
2418 checked in DataRowCollection.Clear method.
2421 2004-09-19 Sureshkumar T <tsureshkumar@novell.com>
2422 * DataRow.cs : while deserialization of dataset, adding a current row precedes the original row.
2423 hence, adding a row cache is necessary if the original row happens to be current.
2426 2004-08-23 Martin Baulig <martin@ximian.com>
2428 * XmlDataInferenceLoader.cs (Driver): Make this class internal,
2431 2004-08-18 Umadevi S <sumadevi@novell.com>
2432 * DataView.cs - Completed most of the event handling.
2433 Thanks to Punit Todi <punit_todi@da-iict.org> for implementing most of it.
2434 Thanks to Boris Kirzner <borisk@mainsoft.com> for commenting and suggesting changes to the implementation.
2435 * DataTable.cs - Changed Access modifiers of class/methods since it was used by DataView.
2437 2004-08-06 Atsushi Enomoto <atsushi@ximian.com>
2439 * DataSet.cs : DataSet's ExtendedProperties were not XmlConverted.
2441 2004-08-05 Atsushi Enomoto <atsushi@ximian.com>
2443 * XmlConstants.cs : Added constants for "msprop" support.
2444 * DataSet.cs : ExtendedProperties should be written in the schema.
2445 This fixes bug #61233.
2447 2004-07-27 Atsushi Enomoto <atsushi@ximian.com>
2449 * DataSet.cs : on serialization to XmlWriter, XmlConvert should be
2450 used. There were also some culture dependency problems to write int.
2452 2004-06-27 Atsushi Enomoto <atsushi@ximian.com>
2454 * XmlDataInferenceLoader.cs : It was not always filling relation
2455 child table information correctly. This fixes bug #60742.
2457 2004-06-23 Umadevi S <sumadevi@novell.com>
2458 * UniqueConstraint.cs :changed a ifdef true to ifdef NET_1_1
2460 2004-06-22 Atsushi Enomoto <atsushi@ximian.com>
2462 * DataSet.cs : Fixed ReadXml(). When ReadMode is ReadSchema and the
2463 schema is inside the document element (as created in XmlWriteMode
2464 .WriteSchema), it should read schema from that non-document element.
2465 This fixes one case reported in bug #60470.
2467 2004-06-20 Atsushi Enomoto <atsushi@ximian.com>
2469 * XmlDataInferenceLoader.cs : Kindly reject xml schema document as a
2470 inference target. For bug #60470. (MS does not support schema
2471 document inference and results in unconsistent dataset structure.)
2473 2004-06-20 Atsushi Enomoto <atsushi@ximian.com>
2475 * DataTableCollection.cs : reset the table's DataSet to null when
2476 removing a table from this collection.
2477 * DataTable.cs : When Namespace is not specified explicitly, its
2478 Namespace property reflects DataSet's Namespace if exist.
2479 This fixes bug #60469.
2481 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
2483 * DBConcurrentcyException.cs: CRLF to LF
2484 * DataViewSetting.cs: CRLF to LF
2486 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
2488 * DataViewSetting.cs: renamed fields to match MS.NET
2490 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
2492 * DBConcurrencyException.cs: fixed serialization compatibility with
2495 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
2497 * ChangeLog : Fix for misspelled words.
2499 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
2501 * DataRowCollection.cs : Removed onColumnRemoved since it is not in use.
2503 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
2506 - Table stores default values for columns in special default values row.
2507 It is allocated once (in NewRow).
2508 - DataTable.Copy rewrited. It works with uninitialized rows for better perfomance.
2509 - OnRemoveColumn has nothing to perform by now.
2511 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
2514 - Changed access of original, current and proposed indexes to internal.
2515 - ColumnErrors reviewed : now column errors stored in ArrayList and allocated on demand only.
2516 - Added new DataRow constructor that creates uninitialized DataRow (used in DataTable.Copy).
2517 - Use DataContainer.CopyValue and default values row for faster set of default values in row.
2518 - SetColumnValue become CheckValue. Now it does not changes the value, but only checks for its correctness.
2519 Care about Null and DBNull values is now in DataContainer.
2520 - Use DataColumn.AutoIncrementValue and GetInt64 for faster set of autoincrement value.
2521 - Use Datacontainer.CopyValue and default values row to speed up CheckChildRows.
2522 - Fix in CopyState : clone column errors.
2523 - Removed CollectionChanged and onColumnRemoved since we are not using both of them anymore.
2525 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
2527 * DataColumnCollection.cs :
2528 - Fix : Add() now delegates to Add(DataColumn).
2529 - autoIncrement list holds DataColumn objects, and not just column names.
2531 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
2534 - AutoIncrementValue fixes. Now AutoIncrement uses DataContainer.GetInt64 to avoid boxing.
2535 - DefaultValue fixes. Default value from now on is also stored in special record in
2536 DataTable, so we're able to set default value for the column faster (typed).
2539 2004-06-15 Atsushi Enomoto <atsushi@ximian.com>
2541 * DataSet.cs : children of non-root rows were not properly written.
2544 2004-06-10 Umadevi S <sumadevi@novell.com>
2545 * DataRelation.cs - Constructor
2546 - The datatypes of the parentcolumn(s) and the childcolumn(s) should match
2548 2004-06-06 Atsushi Enomoto <atsushi@ximian.com>
2550 * XmlSchemaDataImporter.cs : We should fill Namespace for DataTable.
2552 2004-06-04 Gert Driesen <drieseng@users.sourceforge.net>
2554 * Constraint.cs: marked methods internal to fix public API
2555 * ConstraintCollection.cs: to fix public API, use
2556 DataTable.fInitInProgress to check whether initialization
2557 of DataTable is in progress
2558 * DataColumn.cs: added stubs for missing methods
2559 * DataRowBuilder.cs: marked Table property internal to
2561 * DataSet.cs: removed extra empty destructor, marked
2562 OnMergeFailed internal to fix public API
2563 * DataTable.cs: use fInitInProgress field to hold init
2564 status, to match MS.NET
2565 * DataView.cs: added missing attributes on IsOpen
2567 2004-06-03 Atsushi Enomoto <atsushi@ximian.com>
2569 * DataSet.cs : Use NameTable.Get() before calling LookupNamespace()
2570 in XmlNamespaceManager.
2572 2004-06-03 Atsushi Enomoto <atsushi@ximian.com>
2574 * DataSet.cs : complex table content child was not properly added
2575 when it is the only one child in the parent table. Fixed bug #53959.
2577 2004-06-02 Gert Driesen <drieseng@users.sourceforge.net>
2578 * DataTableTypeConverter.cs: added
2579 * DataView.cs: added missing attribute on Table property
2580 * DataViewManager.cs: moved attribute to correct property
2581 * UniqueConstraint.cs: removed extra ReadOnly attribute from
2582 IsPrimaryKey property
2584 2004-06-01 Atsushi Enomoto <atsushi@ximian.com>
2586 * DataRow.cs : ColumnsChanged event is not required in .ctor().
2588 2004-06-01 Atsushi Enomoto <atsushi@ximian.com>
2590 * XmlDataReader.cs : type change is required before setting value
2593 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
2595 * DataSet.cs : Loop-break of the last fix was incorrect.
2597 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
2599 * DataSet.cs : When a row has no parent row but the table has parent
2600 relation(s), that row had been always ignored.
2602 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
2604 * XmlDataInferenceLoader.cs : Fixed GetMappedTable() that incorrectly
2605 rejected same-named tables in different hierarchy. Thanks to Boris.
2607 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
2609 * XmlDiffLoader.cs : Added some Skip() that is required not to go to
2610 infinite loop. Thanks to Boris for this fix.
2612 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
2614 * XmlDataInferenceLoader.cs : XmlSchema elements should not be infered.
2615 Thanks to Boris for this fix.
2617 2004-05-30 Atsushi Enomoto <atsushi@ximian.com>
2619 * DataTable.cs : serialization .ctor() should use XmlReadMode.DiffGram
2620 for ReadXml(). Thanks to Boris.
2622 2004-05-27 Boris Kirzner <borisk@mainsoft.com>
2624 - CheckReadOnlyStatus : use typed (and faster comparing).
2625 - EndEdit : bug fix - do not dispose record if it holds original version.
2626 - SetValuesFromDataRecord : Take care about autoincrement columns.
2629 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
2631 * MergeManager.cs : don't output debug message to Console.
2633 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
2635 * XmlDataInferenceLoader.cs : Namespace are not imported to the table
2636 structure. Thanks to Boris Kirzner for the fix.
2638 2004-05-27 Umadevi S <sumadevi@novell.com>
2639 * DataRelationCollection.cs - fixed nunit test errors
2641 2004-05-27 Umadevi S <sumadevi@novell.com>
2642 * DataTableCollection.cs - fixed nunit test errors
2644 2004-05-21 Atsushi Enomoto <atsushi@ximian.com>
2646 * DataColumnCollection.cs : NullReferenceException was thrown when
2647 the table was not found.
2648 * DataRowCollection.cs :
2649 Find() just returns null for null value under MS.NET 1.1.
2650 RemoveAt() should also avoid to call AcceptChanges() like Remove().
2651 * UniqueConstraint.cs : in AssertConstraint() throw ConstraintException
2652 directly under MS.NET (for nunit test).
2654 2004-05-21 Atsushi Enomoto <atsushi@ximian.com>
2656 * XmlSchemaDataImporter.cs : Setting startindex in LastIndexOf()
2657 caused problem on qualified name to get schema Field name.
2659 2004-05-21 Atsushi Enomoto <atsushi@ximian.com>
2661 * XmlDataReader.cs : Now data reader is namespace aware in all places.
2662 When table's namespace is different, it entered to infinite loop.
2664 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
2665 * MergeManager.cs : AdjustSchema now updates by reference new created table,
2666 so in Merge you do not need to lookup for it (were unable to do this for unnamed tables).
2669 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
2671 * DataColumn.cs : In set_Item[int] - if autoincrement, adjust next autoincrement value.
2672 * DataColumnCollection.cs : fixed parantethes.
2674 - AcceptChanges : do nothing if row state is unchanged.
2675 - GetChildRows, GetParentRows : bug fix (use correct index).
2676 * DataRowCollection.cs : bug fix (compare all row's values).
2677 * DataTable.cs : bug fix (use correct row version).
2679 2004-05-20 Atsushi Enomoto <atsushi@ximian.com>
2681 * XmlSchemaDataImporter.cs : xs:positiveInteger is mapped to ulong.
2682 When content type is Mixed, text column is not required (it is
2683 required only when the complex type has no particle).
2684 "Repeated element" column is also created (considering maxOccurs=0
2685 and complex content extension).
2687 2004-05-20 Atsushi Enomoto <atsushi@ximian.com>
2689 * XmlSchemaDataImporter.cs : XmlSchemaGroupBase was not handled
2692 2004-05-20 Atsushi Enomoto <atsushi@ximian.com>
2694 * XmlSchemaDataImporter.cs : Removed unused code and extra MonoTODO.
2695 Fixed relation inference to consider attribute XPath.
2697 2004-05-19 Atsushi Enomoto <atsushi@ximian.com>
2699 * DataColumn.cs : Fixed set_Item[int]. Convert.ToInt64(DBNull.Value)
2702 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
2704 * DataColumn.cs - removed default member attribute.
2706 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
2709 DataColumnChangeEventArgs.cs,
2710 DataColumnCollection.cs,
2712 DataRowCollection.cs,
2714 Index.cs : Data storage in the row is redesigned. Now data is stored in
2715 typed containers inside DataColumn. Row holds its versions as indexes inside
2716 each of data container, accessed through the row that holds it.
2718 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
2720 * UniqueConstraint.cs - added comment.
2722 2004-05-19 Atsushi Enomoto <atsushi@ximian.com>
2724 * XmlDataInferenceLoader.cs : Don't add already-existing DataTable to
2727 2004-05-17 Atsushi Enomoto <atsushi@ximian.com>
2730 XmlDataInferenceLoader.cs,
2732 XmlSchemaDataImporter.cs : XmlDecode every local name to read and
2733 XmlEncode every local name to write. This should fix bug #58268.
2735 2004-05-17 Atsushi Enomoto <atsushi@ximian.com>
2737 * DataSet.cs : Implemented ignored namespaces in InferXmlSchema().
2738 Supported repeated elements. Removed MonoTODOs.
2739 * XmlDataInferenceLoader.cs : Design change to support ignored
2740 namespace and repeated elements.
2741 * XmlSchemaDataImporter.cs : Added mapping support classes.
2743 2004-05-15 Atsushi Enomoto <atsushi@ximian.com>
2745 * CustomDataClassGenerator.cs :
2746 Added property parent "[foo]Row" and children "Get[foo]Row" support
2747 for custom DataRow classes.
2748 Fixed DataColumn property accessibility (public --> internal).
2750 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
2752 * CustomDataClassGenerator.cs :
2753 - Put classes inside custom DataSet class.
2754 - Added automatic DataRelation creation support.
2755 - Added Constraints creation support. That is done separate from
2756 relations, since they might be independently created.
2757 - Added non-MS public DataRelation fields.
2758 - Removed extraneous "DataRelation type generation" code.
2759 - Fixed custom_dataset.Initialize() not to create "c" field that
2760 was created more than once.
2761 - Implemented AddxxxRow() that takes parameters for every column.
2763 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
2765 * XmlSchemaDataImporter.cs : When primary key is used more than once,
2766 DataRelation borked because of empty parent column name.
2768 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
2770 * XmlSchemaDataImporter.cs : When Creating constraints with related
2771 to DataRelation creation, also set PrimaryKey to the parent table.
2773 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
2775 * XmlSchemaDataImporter.cs :
2776 Design change to add indirect table and relation structures.
2777 Support for "relation" annotation for local element.
2778 Support for repeatable simple element column (maxOccurs > 1).
2779 Fixed handling of Nested property on DataRelation (for globally
2780 annotated relation, Nested is false).
2782 2004-05-13 Atsushi Enomoto <atsushi@ximian.com>
2784 * DataRow.cs : Added DataElement property to avoid storing every row-
2785 element mapping. It stored even for nodes that should be removed.
2787 2004-05-13 Umadevi S <sumadevi@novell.com>
2789 * RelationshipConverter.cs - Stubbed this class
2790 * DataRelation.cs - added TypeConveterAttribute
2792 2004-05-13 Umadevi S <sumadevi@novell.com>
2794 * DataColumnCollection.cs - Added ResDescriptionAttribute
2795 * DataRelation.cs - Added TypeConverterAttribute
2796 * DataRelationCollection.cs - Added DefaultPropertyAttribute
2797 * DataRowView.cs - Added GetHashCode method with a TODO tag
2798 * DataSet.cs - Added DesignerAttribute
2799 * DataView.cs - Added DesignerAttribute
2800 * DataViewManager.cs - Added DesignerAttribute
2801 * DataViewSetting.cs - Added TypeConverterAttribute
2803 2004-05-12 Atsushi Enomoto <atsushi@ximian.com>
2805 * DataRow.cs : Added XmlDataElement initialization code.
2807 2004-05-11 Atsushi Enomoto <atsushi@ximian.com>
2809 * XmlDataInferenceLoader.cs :
2810 It now requires XmlDocument as input. Improved identification of
2811 DataSet element. Removed extra lines.
2812 Moved boresome design notes to bottom of the source and
2813 added standalone runnable driver (not included on build).
2815 Update with related to the change above.
2816 WriteXml() should call Flush() after writing. This fixes bug #58327.
2817 * XmlSchemaDataImporter.cs :
2818 Improved indentification of DataSet element.
2820 2004-05-11 Gert Driesen (drieseng@users.sourceforge.net)
2821 * DataTable: marked initStatus enum internal
2823 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
2824 * DataTable.cs: removed TypeConverterAttribute, marked RowsExist
2826 * DataRowView.cs: removed extra Error property
2827 * DataRow.cs: reduced accessibility of CollectionChanged method
2829 * DataColumnPropertyDescriptor.cs: made class internal
2830 * DataColumn.cs: removed extra TypeConvertorAttribute
2831 * ConstrainCollection.cs: marked PostEndInit method internal
2833 2004-05-07 Atsushi Enomoto <atsushi@ximian.com>
2836 In WriteXmlSchema(), when complex type contains simple type content
2837 attributes must not added to XmlSchemaComplexType directly. It
2838 causes schema compilation error.
2839 DataRelation should not be output when related columns are hidden.
2841 2004-05-07 Atsushi Enomoto <atsushi@ximian.com>
2843 * XmlDataInferenceReader.cs : Added. It does InferXmlSchema() (it is
2844 also expected to do ReadXml(), but I will remove that feature and
2845 support column reordering).
2846 * XmlSchemaDataImporter.cs : Always initialize dataset name.
2847 Always set Nested and primary key for parent table.
2848 * XmlDataReader.cs : Now it is used.
2849 Top level element might not match to dataset name nor any table
2850 name, but still possible to read content tables.
2851 Handle empty element correctly in some places.
2852 Handle Fragment mode (read up XmlReader to the end).
2853 * DataSet.cs : Modified InferXmlSchema() and ReadXml() to use
2854 XmlDataInferenceLoader and XmlDataReader.
2856 2004-05-06 Atsushi Enomoto <atsushi@ximian.com>
2859 Eliminated CRLF injection.
2860 More clear message in Clear().
2861 Updates reflecting XmlSchemaDataImporter change.
2862 Added duplicate check for XmlSerializerNamespaces in BuildSchema().
2863 Don't use xmlns attribute for UnhandledAttributes (its not mandatory
2864 but that depends on different behavior from ms.net).
2865 Set locale also for DataTable.
2866 Add xs:element only when target namespace matches to the
2867 element's namespace. Otherwise, add xs:import for external namespace.
2868 Put xs:sequence for dataset element's particle _only when_ actual
2871 2004-05-06 Atsushi Enomoto <atsushi@ximian.com>
2873 * XmlDataReader.cs : Added. This class will work better when our
2874 schema inference and schema read engine gets improved. (It contains
2875 standalone testable Driver class.)
2877 2004-05-06 Atsushi Enomoto <atsushi@ximian.com>
2879 * ForeignKeyConstraint.cs : Check step change. Existence then column
2880 validity. just for tests.
2881 * XmlSchemaDataImporter.cs : code simplification. reduced extraneous
2884 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
2886 * DataSet.cs : Ignore empty content only when output type is diffgram.
2888 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
2890 * CustomDataClassGenerator.cs : Modified that DataSet contains each
2891 DataTable field so that each table property can access them directly.
2892 (plus, modified standalone code driver code: shouldn't affect)
2894 2004-05-05 Boris Kirzner <borisk@mainsoft.com>
2896 * DataView.cs , DataRowView.cs : Added implementation to basic methods and properties.
2898 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
2900 * XmlSchemaDataImporter.cs :
2901 SimpleContent column support.
2902 Annotated relation support.
2903 Top-level element is counted only when its type is complex.
2904 xs:anyType is no longer treated as complex type.
2905 dataset existence is mandatory now.
2906 Improved DataType and DefaultValue support.
2907 Attribute namespace is properly handled now.
2908 Prohibited attribute is now treated as hidden column.
2909 Reject list or union simple type.
2911 Still incomplete 1) to read relationship in some cases, 2) to
2912 determine whether an element is dataset or table, 3) thus to
2913 exclude extraneous column, 4) to remove extraneous *_Id column.
2915 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
2918 We had better reuse DataSet's ReadXmlSchema() and ReadXml() in
2919 serialization .ctor() (thus schema read/inference should be easier).
2920 DataRowSorter should consider Table's Locale.
2922 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
2924 * DataColumnCollection.cs : We already had AutoIncrementValue(), so
2925 use it instead of duplicating logic.
2927 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
2929 * ConstraintCollection.cs :
2930 Use Table.CaseSensitive and Table.Locale to compare strings.
2931 Duplicate constraint name exception does not occur under .NET 1.1.
2933 2004-05-04 Lluis Sanchez Gual <lluis@ximian.com>
2935 * XmlSchemaDataImporter.cs: Added little type check.
2937 2004-05-04 Lluis Sanchez Gual <lluis@ximian.com>
2939 * DataSet.cs: Implemented support for runtime serialization. Fixed support
2940 for xml serialization.
2941 * XmlDiffLoader.cs: Skip diffgram element when it is empty.
2943 2004-04-30 Umadevi S <sumadevi@novell.com>
2944 * DataColumnCollection.cs : Fixed nunit test errors, removed TODOs
2945 * DataTableCollection.cs : Tested and removed TODO
2946 * TypedDataSetGeneratorException.cs : Fixed a couple of TODOs
2948 2004-04-29 Atsushi Enomoto <atsushi@ximian.com>
2950 * DataRow.cs : My previous patch unintentionally reverted Boris patch.
2952 2004-04-29 Boris Kirzner <borisk@mainsoft.com>
2954 * UniqueConstraint.cs : Constraint columns becaomes unique after adding constraint ifand only if
2955 constraint is defined on single column.
2957 2004-04-29 Atsushi Enomoto <atsushi@ximian.com>
2959 * DataRowCollection.cs : .NET 1.1 throws InvalidConstaintException,
2960 not ArgumentException (maybe changed after 1.1).
2962 2004-04-29 Atsushi Enomoto <atsushi@ximian.com>
2964 * DataRow.cs : When Column was added and it was AutoIncrement column,
2965 it extended the item object array incorrectly.
2966 (Plus tiny comment and incorrect indentation fix.)
2968 2004-04-29 Boris Kirzner <borisk@mainsoft.com>
2970 * MergeManager.cs : added ( incomplete yet ) support for merging DataSet schema.
2972 2004-04-29 Boris Kirzner <borisk@mainsoft.com>
2974 * DataRow.cs : Bug fix in CopyValuesToRow().
2976 2004-04-29 Boris Kirzner <borisk@mainsoft.com>
2978 * UniqueConstraint.cs : There is no reason to mark constraint's columns as unique, because
2979 each of the columns should not be unique, but only all the constraint's columns together.
2981 2004-04-28 Boris Kirzner <borisk@mainsoft.com>
2984 - Added using of list of autoIncrement columns
2985 - SetColumnValue receives also DataColumn to avoid duplicate lookup in DatacolumnCollection
2986 - Fix in CheckNullConstraints
2987 - Fix in this[] and HasVersion() : when evaluating an expression deleted rows values can be accessed.
2988 - Fix in SetColumnValue() , added CanAccess() method to avoid case of accessing internal array values berore it actually allocated.
2989 - Added onColumnRemoved() method to threat column removal accurately.
2991 * DataRowCollection.cs :
2992 - Added using of DataRow._nullConstraintViolation (for perfomance fix in EndLoadData())
2993 - Added method onColumnRemoved() - calls each row's onColumnRemoved() (to ensure column removal is treated accurately)
2996 - Call DataRowCollection.onColumnRemoved() in OnRemoveColumn() (to ensure column removal is treated accurately)
2998 * DataColumnCollection.cs :
2999 - Perfomance fixes :
3000 - collection holds a list of its autoIncrement columns (avoids unnesessary lookup through whole collection)
3001 - collection holds mapping from column names to DataColumn objects (avoids lookup through whole collection).
3002 - automatic creation of column names rewrited (bug fixes + perfomance improvement)
3005 - Uses autoincrement list of a table
3007 2004-04-27 Atsushi Enomoto <atsushi@ximian.com>
3009 * XmlDataLoader.cs : Even when it should ignore schema, it was
3011 * XmlSchemaDataImporter.cs : DataRelation creation support.
3012 Improved "DataSet" element handing. When attributes are on the
3013 element, it is not a "DataSet" element.
3014 Fixed parent key column name.
3015 Unique name creation is not required. Just raise an error.
3016 Fill facet also for attribute types.
3018 2004-04-27 Atsushi Enomoto <atsushi@ximian.com>
3020 * DataRow.cs : Null check for CheckReadOnlyStatus() and
3021 CheckNullConstraints(), with some coding guideline fixes.
3022 Type check should be done by Type instance comparison.
3024 2004-04-27 Atsushi Enomoto <atsushi@ximian.com>
3026 * DataColumnCollection.cs : When add a column to the collection, fill
3027 auto-increment column.
3029 2004-04-26 Boris Kirzner <borisk@mainsoft.com>
3031 * DataColumn.cs : Small perfomance fix (avoid unnesessary string concatenation).
3033 2004-04-26 Atsushi Enomoto <atsushi@ximian.com>
3035 * CustomDataClassGenerator.cs : Added.
3036 * TypedDataSetGenerator.cs : Implemented Generate().
3037 Changed GenerateIdName() to call CustomDataClassGenerator.MakeSafeName
3038 * XmlSchemaDataImporter.cs : Table Locale should be supplied.
3040 2004-04-25 Boris Kirzner <borisk@mainsoft.com>
3042 * DataTable.cs : Small perfomance fix (avoid unnesessary string concatenation).
3044 2004-04-25 Boris Kirzner <borisk@mainsoft.com>
3046 * Constraint.cs : Small perfomance fix (avoid unnesessary string concatenation).
3048 2004-04-23 Umadevi S (sumadevi@novell.com)
3049 * DataRow.cs: Checked BeginEdit,EndEdit,CancelEdit and Delete methods
3050 - Added error handling to the above methods
3052 2004-04-22 Atsushi Enomoto <atsushi@ximian.com>
3054 * DataSet.cs : Data should be read when mode is IgnoreSchema (well,
3055 the support is incomplete yet).
3056 * XmlDataLoader.cs :
3057 Reverted ReadModeSchema() argument change. XmlReadMode would be
3058 useful to handle IgnoreSchema.
3059 Don't overwrite DataSetName when mode is not such kind.
3060 Set Prefix and Namespace as well as DataSetName.
3061 AllowDBNull looks set false by default for element column.
3062 Set unique constraint as primary key when infering the table schema.
3064 2004-04-21 Atsushi Enomoto <atsushi@ximian.com>
3067 Never set null string for Prefix and Namespace.
3068 In InferXmlSchema() when null XmlReader is passed, just do nothing.
3069 In WriteXmlSchema(string), earlier try block.
3070 In BuildSchema(), try to add serialization namespaces for each
3071 namespaces in DataSet/DataTable/DataColumn.
3072 Removed namespace argument from WriteColumnAsElement() and don't
3073 overwrite when namespace is "". This fixes bug #57330.
3074 * DataColumn.cs : For Namespace and Prefix, never set null.
3076 2004-04-21 Boris Kirzner <borisk@mainsoft.com>
3078 * XmlSchemaMapper.cs : Check for not null unique constraint in ReadXmlSchemaKeyref()
3079 before creating and adding foreign key constraint and relation.
3081 2004-04-21 Boris Kirzner <borisk@mainsoft.com>
3083 * MergeManager.cs : In AdjustSchema() source table clone should be added
3084 and not the table itself.
3086 2004-04-21 Boris Kirzner <borisk@mainsoft.com>
3089 - CaseSensitive : Additional fix (removed unnesessary assignment).
3090 - CopyProperties : Do not try to copy ExtendedProperties if the collection is empty.
3092 2004-04-21 Boris Kirzner <borisk@mainsoft.com>
3094 * DataTable.cs : Ensure that DataSet property is not null before using it in Clear().
3096 2004-04-20 Boris Kirzner <borisk@mainsoft.com>
3099 - EndLoadData() : perfomance fix in case of null constraint violation
3100 during data load (also in DataRow.cs).
3101 - CaseSensitive : If DataTable belongs to DataSet it should always use
3102 DataSet.CaseSensitive untill explicitly changed.
3103 - CopyProperties() : do not try to copy ExtendedProperties if the collection is empty.
3106 - Pefromance fix in case of null constraint violation
3107 during data load (also in DataTable.cs).
3108 - CollectionChanged() : use correct column number after new DataColumn was added
3109 (differs in case some DataColumn was previosly removed).
3110 - EndEdit() - throw away proposed values only after CheckChildRows() complete.
3112 2004-04-20 Boris Kirzner <borisk@mainsoft.com>
3114 * DataColumnCollection.cs : Since unique constraint is added now
3115 in DataColumn.SetTable() the additional creation of constraint in
3116 DataColumnCollection.Add() is redundant and causes exception - fixed.
3118 2004-04-19 Atsushi Enomoto <atsushi@ximian.com>
3120 * XmlDataLoader.cs : Added "never add data rows" mode.
3121 Removed unused code. However, it is temporary fixes to unify
3122 ReadXml() and InferXmlSchema().
3123 * DataSet.cs : Implemented InferXmlSchema(), though it is incomplete.
3125 I'll create another XmlDataLoader since there are many problems
3126 such that 1) it is too waste to read the entire xml into an
3127 XmlDocument, 2) it does not handle attributes correctly, and 3) it
3128 must handle "ignored namespaces".
3130 2004-04-19 Atsushi Enomoto <atsushi@ximian.com>
3132 * Added XmlSchemaDataImporter.cs (new schema reader).
3133 * DataSet.cs : Use XmlSchemaDataImporter (right now for DataSet only)
3134 for ReadXmlSchema().
3135 Let schema reading work to ReadXmlSchema().
3136 Don't return ReadSchema when argument read mode was DiffGram.
3138 2004-04-15 Umadevi S (sumadevi@novell.com)
3139 * Updated Clone/Copy methods in DataSet along with Testcase
3140 * ForeignKeyConstraint.cs - special ctor implemented
3141 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).
3142 * Changes in ConstraintCollection.cs for the above
3143 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.
3146 2004-04-15 Atsushi Enomoto <atsushi@ximian.com>
3148 * XmlSchemaMapper.cs : set parent key and foreign key info to
3149 DataRelation when reading refkey constraints.
3150 Supply constraint name for fkey.
3152 2004-04-15 Atsushi Enomoto <atsushi@ximian.com>
3154 * XmlDataLoader.cs : Don't overwrite existing DataSetName. When read
3155 mode is Auto, just ignore the schema if there is already schema info.
3156 * DataSet.cs : Similarly ignore schema info for XmlReadMode = Auto.
3158 2004-04-14 Atsushi Enomoto <atsushi@ximian.com>
3161 - In MS output, XML declaration looks to have standalone decl (yes).
3162 - ReadXml(reader) just calls to ReadXml(reader, XmlReadMode.Auto)
3163 - ReadXml(reader, mode)
3164 1) return originally specified mode, instead of (always) Auto.
3165 2) Check empty reader.
3166 3) Check diffgram schema and content separately.
3167 4) When diffgram exists, remaining (the same-level) contents
3169 5) Similar fact should be applied, but somewhat different.
3170 InferSchema and IgnoreSchema just skips, Fragment reads both
3171 schema and content, others just reads schema.
3172 - Removed unused code.
3173 * XmlDataLoader.cs :
3174 - Read() should skip in some ReadMode.
3175 - Don't compare schema element name as case-insensitive (well,
3176 should schemas be checked here?)
3177 - Avoided BuildDocument() not to create confusing DataSet
3179 - Don't add any tables when reader has single element.
3180 * XmlDiffLoader.cs :
3181 When target table was not found, MS.NET doesn't raise an error.
3182 * XmlSchemaMapper.cs :
3183 When XmlSchema.Read() left xml reader at </xs:schema>, read once.
3185 2004-04-13 Atsushi Enomoto <atsushi@ximian.com>
3188 - InferXmlSchema(): Throw explicit NotImplementedException now.
3189 - Don't put XML declaration everywhere. Write just for filename arg.
3190 - xmlns="" should not be written. Maybe WebService problem is
3191 because default namespace is overwritten. This patch will keep
3192 the WS problem away and actually fixes some unit tests (i.e. use
3193 explicit String.Empty for null namespace in WriteStartElement()).
3194 - MoveToContent() should always be called, not only when
3195 LocalName="xml". It will ignore prolog (DTD, PI, comment etc.).
3196 - Even XmlReadMode is DiffGram, reader might not be "diffgram"
3197 element. As to MSDN, diffgram does not contain schema.
3199 2004-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3201 * DataTable.cs: made _initStatus private so that System.Data is CLS
3204 2004-04-13 Umadevi S <sumadevi@novell.com>
3205 * UniqueConstraint.cs:
3206 * ConstraintCollection.cs:
3208 - Implemented a Constructor for UniqueConstraint.cs
3209 - Used EndInit on DataTable to call a delegate which adds the
3210 constraints passed to the most recent call of AddRange().Used
3211 AddRange() on ConstraintCollection to check whether
3212 DataTable.BeginInit has occurred. If yes, save the argument
3213 constraint collection passed, then return. If no, Check whether the
3214 constraints are of type UniqueConstraint and initialized with the
3215 special constructor If yes Initialized the table property of this
3216 UniqueConstraint object with table assosciated with the current
3217 instance of ConstraintCollection class.
3219 2004-04-07 Marek Safar <marek.safar@seznam.cz>
3221 * Constraint.cs: changed ClsCompliant to CLSCompliant, build fix.
3223 2004-04-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3226 * DataColumnCollection.cs:
3227 * DataRelationCollection.cs:
3228 * DataRowCollection.cs:
3229 * DataTableCollection.cs:
3230 * InternalDataCollectionBase.cs:
3231 * Node.cs: CLS compliance for System.Data. Patch by Gert Driesen.
3234 2004-04-05 Jackson Harper <jackson@ximian.com>
3236 * DataTable.cs: Add rows to the row list if there is no filter.
3238 2004-03-31 Juraj Skripsky <juraj@hotfeet.ch>
3240 * DataColumn.cs : Setting Caption to null sets it to the empty string
3241 (ms.net behaviour, testcase is in DataColumnTest).
3243 * DataRow.cs : Evaluate DataColumn.Expression when such a column's
3246 2004-03-30 Lluis Sanchez Gual <lluis@ximian.com>
3248 * DataColumn.cs: In Expression setter, set the expression member even if
3249 it is an empty string.
3250 * DataSet.cs: Support serialization of byte[] columns.
3251 * XmlDataLoader.cs: Support deserialization of Guid columns.
3252 Set MappingType.Attribute to columns infered from attributes.
3254 2004-03-29 Juraj Skripsky <juraj@hotfeet.ch>
3256 * ExpressionElements.cs : remove
3257 * DataColumn.cs, DataRelationCollection.cs, DataTable.cs :
3258 Integration of new Mono.Data.SqlExpressions classes used in
3259 DataTable.{Select, Compute}.
3260 Fixes bug #55503 and lots of failures in DataTableTest.cs.
3262 2004-03-28 Juraj Skripsky <juraj@hotfeet.ch>
3264 * Index.cs: Simple fix in ComparePartialRowNonUnique.
3265 This fixes bugs #56129 and #56014.
3267 2004-03-25 Lluis Sanchez Gual <lluis@ximian.com>
3269 * DataSet.cs: In WriteXml (string filename, XmlWriteMode mode), close the
3270 stream after writing the dataset. This fixes bug #52581.
3271 Also added several writer.Close into finally blocks, so writers are properly
3272 closed in case of an exception.
3274 2004-03-12 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3276 * Constraint.cs: DO NOT USE the consts scheme if types can be referenced directly!
3277 * DataColumn.cs: DO NOT USE the consts scheme if types can be referenced directly!
3278 * ColumnTypeConverter.cs: Added stub
3279 * DefaultValueTypeConverter: Added stub
3280 * ConstraintConverter.cs: Added stub
3282 2004-03-04 Eran Domb <erand@mainsoft.com>
3284 * XmlDataLoader.cs : Xml reading reviewed. Added support for additional xml formats as described
3285 in MS.NET documentation (missing DataSet element etc).
3287 2004-03-04 Eran Domb <erand@mainsoft.com>
3290 * Index.cs : Rollback last changes.
3292 2004-03-03 Atsushi Enomoto <atsushi@ximian.com>
3294 * Index.cs : justa build fix.
3296 2004-03-03 Eran Domb <erand@mainsoft.com>
3299 * Constraint.cs, ForeignKeyConstraint.cs, UniqueConstraint, ConstraintCollection.cs, DataColumn.cs,
3300 DataRow.cs, DataRowCollection.cs, DataSet.cs, DataTable.cs : Changes made for using indexes on tables.
3301 This changes made for performance improvement.
3303 2004-02-08 Eran Domb <erand@mainsoft.com>
3305 * XmlSchemaMapper.cs : Read columns is they were written as SimpleContent or as Attributes.
3307 2004-02-08 Eran Domb <erand@mainsoft.com>
3309 * DataSet.cs: Fix some bugs in ReadXml().
3311 2004-02-04 Lluis Sanchez Gual <lluis@ximian.com>
3313 * DataSet.cs: Added missing method that broke the build.
3315 2004-02-04 Eran Domb <erand@mainsoft.com>
3317 * DataRowCollection.cs (InsertAt): Add a check for null row. Replace check of IndexOf with RowId for
3319 * DataSet.cs (GetTableSchema) : Add supprot for simple content columns. Change the condition for a case
3320 when all column are attributes (elements count is 0), we still want to add the relations. No relations
3321 can be on simple contents.
3322 (AddUniqueConstraints) Check that the column of the constraint are not hidden.
3323 (AddForeignKeys) Check that the relation has constraints attach to it.
3324 * XmlConstants.cs : Added constant.
3326 2004-02-04 Eran Domb <erand@mainsoft.com>
3328 * DataSet.cs : GetSchemaSerializable() return null and not BuildSchema().
3329 DoWriteXmlSchema calls BuildSchema ().
3331 2004-02-04 Lluis Sanchez Gual <lluis@ximian.com>
3333 * DataRow.cs: Added SetOriginalValue(), which is used to set the original
3335 * DataRowCollection.cs: In InsertAt(), perform the correct checks and
3337 * DataSet.cs: Fixed method GetChanges(): Parent rows of modified rows must
3338 also be added to the dataset.
3339 In WriteTable(), do not write unchanged rows when writing the original
3340 version of the table.
3341 Added WriteIndividualTableContent(), for writing the contents of a single
3343 Changed BuildSchema and related methods, so it can generate a schema for
3344 any set of tables, not just the tables of the dataset (needed for
3345 single datatable serialization).
3346 * DataTable.cs: Implemented serialization constructor and GetObjectData method.
3347 Also implemented some ReadXmlSchema methods.
3348 * XmlDiffLoader.cs: Read and process the xml document directly from XmlReader,
3349 instead of loading the full dataset in an XmlDocument. It is faster and
3350 saves memory. Also fixed several problems when generating the changes.
3351 * XmlSchemaMapper.cs: Support reading schemas for single tables (used by
3352 table serialization).
3354 2004-02-02 Eran Domb <erand@mainsoft.com>
3356 * DataSet.cs : Add indentation to the xml serialization only if we create the XmlWriter.
3357 Add the namespace attribute even if namespace is an empty string for inteoperability with MS.NET.
3358 * DataTable.cs (NewRow): Create only one DataRowBuilder.
3359 Initiate new row with row id -1.
3360 * DataRow.cs : Add RowId property.
3361 * DataRowBuilder.cs : Add _rowId member.
3362 * DataRowCollection.cs (Add) : Use the RowId property of the new row to check if it is already exists in the collection.
3364 2004-01-26 Eran Domb <erand@mainsoft.com>
3366 * XmlConstants.cs : Added some constants.
3367 * DataColumn.cs : Added a method to retrive AutoIncrement value.
3368 * XmlDataLoader.cs : Set the value of the foriegn key column, according to the value of the
3369 parent table column.
3370 * XmlDiffLoader.cs : Convert the value comming from the xml.
3371 * XmlSchemaMapper.cs (Read) : Set the DataSet namespace.
3372 (ReadXmlSchemaSequence) : Change the logic that decides if this element is a column or a table.
3373 (ReadXmlSchemaElement) : Set the locale of the dataset.
3374 (ReadColumn) : Set the column type. Find if the column is AutoIncrement.
3375 (GetColumnType) : New method to get the column type from the attribute value.
3376 (ReadXmlSchemaUnique) : Improve parsing of XPath. Set the constraint as a PK if needed,
3377 and add the constraint to the table.
3378 (ReadXmlSchemaKeyref) : Improve parsing of XPath. Create the FK constraint and add it to
3380 * DataSet.cs : Improving writing of unique constraints, and foriegn key constraint. Givving them the correct names.
3381 Writing more information to the schema for interoperability with ms.net.
3382 Improve diffgarm writing mode.
3385 2004-01-21 Atsushi Enomoto <atsushi@ximian.com>
3387 * TypedDataSetGenerator.cs : Implemented GenerateIdName().
3389 2004-01-21 Eran Domb <erand@mainsoft.com>
3391 * XmlDataLoader.cs (AddRowToTable) : Give thre new relation correct name.
3392 Do not set the child column to be AutoIncrement.
3393 Create the new column for the relation as MappingType.Hidden so they will not be serialized
3394 when writing the dataset to xml.
3396 2004-01-20 Atsushi Enomoto <atsushi@ximian.com>
3398 * Added missing TypedDataSetGenerator.cs.
3400 2004-01-08 Eran Domb <erand@mainsoft.com>
3402 * XmlSchemaMapper.cs : Fix a bug. Check if table already in DataSet before adding it.
3403 * DataSet.cs (ReadXml) : Fix bugs. Read correctly the xml file with XmlReadMode of DiffGram,
3404 InferSchema, ReadSchema and IgnoreSchema.
3405 * XmlDataLoader.cs : All modes use the same logic.
3406 * XmlDiffLoader.cs : Adding BuildXmlDocument method to the class.
3408 2004-01-06 Eran Domb <erand@mainsoft.com>
3410 * DataRelationCollection.cs : Use IndexOf in indexer.
3411 * DataSet.cs : Adding support for WriteXml with diffgram. Code style changes.
3412 * XmlDataLoader.cs : Set the DataSet.enforceConstraints to false before loading the tables.
3413 * XmlDiffLoader.cs : Reading nested tables.
3414 * XmlSchemaMapper.cs : Reading the relation.
3415 * XmlConstants.cs : Adding some constants.
3417 2004-01-05 Jackson Harper <jackson@ximian.com>
3419 * DataView.cs: Set readonly property of property descriptor. This
3422 2004-01-01 Sanjay Gupta <gsanjay@novell.com>
3424 * DataRelationCollection.cs : Fixed incorrect generation of default
3426 * DataSet.cs : Added missing functionality in WriteXml().
3427 * XmlConstants.cs : Added new constants.
3429 2003-12-27 Atsushi Enomoto <atsushi@ximian.com>
3431 * DataSet.cs : Fixed incorrect WriteXml() signature.
3433 2003-12-18 Jackson Harper <jackson@ximian.com>
3435 * DataView.cs: Implement AddNew, Delete, and OnListChanged.
3437 2003-12-17 Atsushi Enomoto <atsushi@ximian.com>
3439 * DataSet.cs, XmlDataLoader.cs : Table name should be encoded before
3440 they take shape of xml. This fixed bug #52240
3442 2003-12-16 Tim Coleman <tim@timcoleman.com>
3443 * KeyRestrictionBehavior.cs:
3444 New stubs added for .NET 1.2
3448 2003-12-08 Eran Domb <erand@mainsoft.com>
3449 * DataColumn.cs (Expression) : Validate the expression.
3451 * DataRelationCollection.cs (IndexOf) : Added new method sensetive to case differences in relation name.
3452 (Contains, IndexOf, this[], Add) : Call new IndexOf when needed.
3454 * DataRow.cs (this[]) : Fix the condition for throwing RowNotInTableException.
3455 (RejectChanges) : Detach row when state was Added.
3456 (CollectionChanged) : Fix a bug.
3458 * ExpressionElement (ValidateExpression) : Fix a bug.
3460 * ForeignKeyConstraint.cs (AssertConstraint) : Added implementation. Check all rows from child table have
3461 a parent row in the parent table.
3462 (_validateColumns) : Fix bugs.
3464 * MergeManager.cs (AdjustSchema) : Fix a bug.
3466 * XmlDataLoader.cs (ReadModeInferSchema) : Change implementation. Now we can read nested xml, and we generate the relations
3469 2003-11-30 Eran Domb <erand@mainsoft.com>
3470 * DataColumnCollection.cs (this[string name]) : Use IndexOf to find the column.
3471 (Add) : Find if the new column name is the same as the one found in IndexOf.
3472 (IndexOf) : New method.
3473 (Contains) : Use new IndexOf.
3474 (IndexOf) : Use new IndexOf.
3476 * DataRelationCollection.cs (DataRelationCollection.AddCore) : Add The Relation to the collection.
3477 (DataSetRelationCollection.AddCore) : First add the UniqueConstraint.
3479 * DataRow.cs (this[int columnIndex, DataRowVersion version]) : Change exceptions.
3480 (Delete) : Detach row if the RowState was Added.
3481 (GetChildRows) : Get the array form the ChildTable.
3482 (GetParentRows) : Get the array from the ParenTable.
3484 * DataRowCollection.cs (Remove) : Check if row state is Detached to avoid exception.
3486 * DataSet.cs (IXmlSerializable.ReadXml) : Do not call MoveToContent and ReadEndElement - the XmlSerializationReader does it.
3488 * DataTable.cs (PrimaryKey) : Fix bugs.
3489 (Compute) : First call Select. Then create ExpressionAggregate to aggregate the Select result.
3491 * DataTableCollection.cs (Add) : Fix a bug.
3493 * ExpressionElement.cs (ValidateExpression) : Turning ValidateExpression to static.
3494 (Result) : Added new interface to AggregateExpression that get DataRow[] as a param.
3495 Some code style changes (tab instead of whit spaces, alignment, etc...).
3497 * ForeignKeyConstraint.cs (_validateColumns) : Throw correct exception.
3499 * MergeManager.cs (AdjustSchema) : Fix a bug.
3503 2003-11-26 Miguel de Icaza <miguel@ximian.com>
3505 * DataSet.cs: Add a few more missing methods, code style updated
3508 2003-11-26 Tim Coleman <tim@timcoleman.com>
3510 * ConflictOptions.cs DataAdapterException.cs DataTableReader.cs
3511 * DbMetaData.cs FillOptions.cs IDataReader2.cs IDataRecord2.cs
3512 * IDataUpdatableRecord.cs IDbAsyncCommand.cs IDbAsyncConnection.cs
3513 * IDbExecutionContext.cs IGetTypedData.cs ISetTypedData.cs
3514 * LoadOption.cs OperationAbortedException.cs ResultSetOptions.cs
3515 * ResultSetSensitivity.cs StatementCompletedEventArgs.cs
3516 * StatementCompletedEventHandler.cs UpdateOptions.cs:
3517 New classes added for NET_2_0
3518 * DBConcurrencyException.cs DataRelation.cs DataSet.cs DataTable.cs
3519 * DataTableCollection.cs DataView.cs ForeignKeyConstraint.cs:
3520 Modifications to add new NET_2_0 functions
3522 2003-11-25 Tim Coleman <tim@timcoleman.com>
3526 2003-11-21 Pedro Martinez Julia <yoros@wanadoo.es>
3528 * DataRow.cs: Detached row can be accesible (new rows from data
3529 table are detached). Closes but #51263.
3531 2003-11-19 Eran Domb <erand@mainsoft.com>
3532 * DataRow.cs : Throw exceptions if Row is Detached.
3533 (EndEdit) : Check that we are not in middle of ChangeEvent.
3534 (AcceptChanges) : Detach the row.
3536 * DataRelation.cs : throw correct exception.
3537 *UniqueConstraint.cs : throw correct exception.
3540 2003-11-09 Pedro Martinez Julia <yoros@wanadoo.es>
3542 * DataRow.cs: Use RemoveInternal instead of Remove because the last
3543 one uses Delete and AcceptChanges.
3545 * DataRowCollection.cs: When removing, Delete and AcceptChanges
3546 method from the row are called. Added an internal method that will
3547 be used by DataRow to "physically" remove the row from the list.
3549 2003-11-09 Pedro Martinez Julia <yoros@wanadoo.es>
3551 * DataRowCollection.cs: To follow the specification: Remove and
3552 RemoveAt should remove the row. But needed to call DeletingDataRow
3553 to prepare the deleting.
3555 * DataRow.cs: Don't call DeletingDataRow when it is called by the
3556 method Table.Rows.Remove.
3558 2003-11-09 Pedro Martinez Julia <yoros@wanadoo.es>
3560 * DataRowCollection.cs: Make the row be deleted by itself. If not,
3561 it fails because we need to call OnRowDeleting and OnRowDeleted. It
3562 is full implemented inside DataRow.
3564 2003-11-05 Eran Domb <erand@mainsoft.com>
3565 * DataView.cs (ctor) : Changing default RowStateFilter to CurrentRow.
3567 2003-11-04 Eran Domb <erand@mainsoft.com>
3568 * DataRow.cs (CheckChildRows) : Improving the implementation - checking child for all FK, and not
3570 (GetChildRows) : Adding some checks.
3571 (GetParentRows) : Adding some checks. Fix a bug in implementation.
3572 (SetParentRow) : Added implementation.
3574 * DataRowCollection.cs (Add) : Added more checks on the row added to the collection.
3575 * DataTable.cs (Copy) : Set the During Loading flag to save unnecessary assertions.
3576 * ForeignKeyConstraint.cs (AssertConstraint) : Fixing bugs in implementation. Checking for DBNull values in the row.
3577 * MergeManager.cs : Check that the target table is not null.
3579 2003-10-27 Eran Domb <erand@mainsoft.com>
3580 * DataColumn.cs (DefaultValue) : Changing null value to DBNull. Checking that the type of the new default value
3581 can be converted to the column type.
3583 * DataRelationCollection.cs (AddCore) : Give the new FK the name of the relation.
3585 * DataRow.cs (EndEdit) : Check if we need to validate the constraints.
3586 (GetParentRows, GetChildRows) : Checking that the row has the wanted version, before accessing the row's value.
3588 * DataRowCollection.cs (Add) : Fixing a bug.
3589 (Clear) : Before clearing the array check that there is no violation of FK constraint.
3591 * DataSet.cs (Prefix) : If value is null chage it to empty string.
3592 (GetXml) : Removing the Processing Instructions from the xml string as in MS ADO.NET.
3594 * ExpressionElement : Adding support for IN expresion.
3596 * DataTable (CopyConstraints) : New method that copy the tables constraints to the copy table.
3597 (Select) : Adding support for DataViewwRowState.
3599 * ForeignKeyConstraint.cs (AssertConstraint) : Adding implementation.
3601 * MergeManager.cs (MergeRow) : Fix bugs.
3603 2003-10-27 Eran Domb <erand@mainsoft.com>
3604 * DataRow.cs (SetColumnValue): Donot check null value when in midle of loading data.
3605 check null values when ending loading data.
3607 * DataSet.cs (RejectChanges) : Imlementation.
3608 (Prefix) : If prefix was changed fire event. Check that the prefix is not null - if null,
3609 change it to empty string.
3611 * DataTable.cs (BeginLoadData, EndLoadData) : Impemantation.
3613 2003-10-22 Eran Domb <erand@mainsoft.com>
3614 * MergeManager.cs : Fixing bugs. Adding check for PrimaryKey matching.
3616 * ConstraintCollection.cs (RamoveAt): Change implemntation.
3618 * DataTableCollection (CanRemove): Removing cast to Constraint.
3620 2003-10-22 Eran Domb <erand@mainsoft.com>
3621 * DataRelationCollection.cs (AddCore): The unique constraint was added even if the createConstraints flag was false.
3622 (Clear): The collection was cleared without removing the relation from the parent and child tables.
3624 * DataSet.cs (Copy, Clone): The Relations of the DataSet were not copy.
3625 (HasChanges, Reset): Imlementation.
3627 * DataTable.cs (HasErrors): There is no flag for errors, instead the table ask her row if they have any errors.
3628 This is because the we do not no when to turn off the flag.
3629 (Locale): Changing implementation to behave like ADO.NET.
3630 (AcceptChanges): Fix bug.
3631 (Clear): Check that this table is not referenced from a foreign key constraint.
3632 (Copy): Do not try to access a deleted row.
3633 (CopyProperties): Copy the PrimaryKey.
3634 (GetChanges, ImportRow): Implementation.
3635 (LoadDataRow): Adding implementation if the table has PrimaryKey.
3636 (ToString): Changing implementation to behave like ADO.NET.
3638 * UniqueConstraint.cs (AssertConstraint): support for Multiple DataColumns in the constraint.
3640 * DataRow.cs (Ctor): In the constructor we initiate the current array, but we should initiate only the proposed array for new rows.
3641 (HasErrors): Implementation.
3642 (Delete): Added checking for child rows of the deleted row.
3643 (EndEdit): Added checking for child row and firing events.
3644 (GetColumnError): Added a check that the method will not return null, as in ADO.NET(an empty string is returned).
3645 (GetColumnsInError): Added a check for null values in column error.
3646 (HasVersion): Added special treatment for special RowState.
3647 (CollectionChanged): More checks to avoid NullReferenceException.
3649 * DataRowCollection.cs (Remove): Fix a bug.
3652 2003-10-01 Duncan Mak <duncan@ximian.com>
3654 More patches from Eran Domb <erand@mainsoft.com>.
3656 * MergeManager.cs: New file.
3658 * DataRelationCollection.cs (AddCore): Check that a
3659 UniqueConstraint is already exists. It loops over the Relations
3660 instead of the Constraints.
3661 (Add, AddCore): The relation was added twice.
3663 * DataSet.cs (Merge, GetChanges, HasChanges): Implemented.
3665 2003-09-30 Duncan Mak <duncan@ximian.com>
3667 Patches from Eran Domb <erand@mainsoft.com>.
3669 * DataRelation.cs (constructor): When the name of the relation is
3670 null, it should return an empty, not "Relation".
3672 * DataRow.cs (AcceptChanges): Added special case for
3674 (CancelEdit): Set editing flag to false.
3675 (IsNull): Check that the value is DBNull.
3677 * DataRowCollection.cs (Add): There was no check that the table of
3678 the collection is owned by a DataSet.
3680 * DataSet.cs (OnMergeFailed): Added.
3682 * UniqueConstraint.cs (AssertConstraint): There was no check that
3683 values in the row are not null, where it is a primary key
3684 column. Also check that the row has a proposed version, if not,
3685 get the current version when we compare the rows.
3687 2003-09-25 Duncan Mak <duncan@ximian.com>
3689 Patches from Eran Domb <erand@mainsoft.com>.
3691 * DataColumn.cs (Unique): Implemented.
3694 * ConstraintCollection.cs:
3695 * ForeignKeyConstraint.cs (_ensureUniqueConstraintExists): Fixes
3696 an Exception thrown. Details:
3697 http://lists.ximian.com/archives/public/mono-devel-list/2003-September/002130.html
3699 * DataRowCollection.cs (Add): There is no checking that there is
3700 no violation of the unique constrains.
3702 * UniqueConstraint.cs (AssertConstraint): There is no checking on
3703 all columns in the constraint.
3705 * DataTableCollection (Add): Correctly throw an Exception, more
3707 http://lists.ximian.com/archives/public/mono-devel-list/2003-September/002117.html
3708 (Remove, RemoveAt): Implemented.
3710 2003-07-31 Duncan Mak <duncan@ximian.com>
3712 * DBConcurrencyException.cs: Added new NET_1_1 no-param constructor.
3714 2003-07-25 Ravi Pratap <ravi@ximian.com>
3716 * DataRelation.cs (OnPropertyChanging): Calling the 'Invoke'
3717 method on a delegate is disallowed - fix this.
3719 2003-07-22 Lluis Sanchez Gual <lluis@ximian.com>
3721 * DataSet.cs: Implemented IXmlSerializable interface. Added basic support for
3722 xml serialization. Modified method of writing schema. Now it creates
3723 a XmlSchema object and serializes it using XmlSerializer.
3724 * XmlConstants.cs: Added constants for data type names.
3725 * XmlDataLoader.cs: Fixed deserialization of data. Now converts data to the
3726 type specified in the column.
3728 2003-04-20 Alan Tam <Tam@SiuLung.com>
3730 * DataRelationCollection.cs: Fix a bug that prevent relations
3731 from being added via DataSet.
3733 2003-04-12 Ville Palo <vi64pa@kolumbus.fi>
3735 * UniqueConstraint.cs: one tiny fix.
3737 2003-04-05 Ville Palo <vi64pa@kolumbus.fi>
3739 * DataTable.cs: Remove UniqueConstraints when adding new ones
3741 2003-04-04 Ville Palo <vi64pa@kolumbus.fi>
3743 * DataColumnCollection.cs: Little 'case sensitive' fix
3745 2003-04-04 Ville Palo <vi64pa@kolumbus.fi>
3747 * DataRow.cs: AutoIncrement handling to Constructor
3748 * DataRowCollection.cs: This doesnt need anymore AutoIncrements
3750 2003-03-27 Ville Palo <vi64pa@kolumbus.fi>
3752 * DataTable.cs: Some fixes to PrimaryKey etc...
3753 * UniqueConstraint.cs: Little clean up
3755 2003-03-27 Ville Palo <vi64pa@kolumbus.fi>
3757 * DataTable.cs: Tiny fix to ToString () -method
3759 2003-03-27 Ville Palo <vi64pa@kolumbus.fi>
3761 * ConstraintCollection.cs: Little fix.
3762 * DataColumn.cs: Added new internal method SetUnique()
3763 * UniqueConstraint.cs: some little fixes
3765 2003-03-26 Ville Palo <vi64pa@kolumbus.fi>
3767 * DataRowCollection.cs: Bugfixes, implementation,...
3769 2003-03-26 Ville Palo <vi64pa@kolumbus.fi>
3771 * DataColumn.cs: If DataType if set to something else than short, int
3772 or long and AutoIncrement is true, AutoIncrement is must set to false.
3774 2003-03-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3777 (BeginEdit): fixed array bound problem when a column has been added.
3778 (EndEdit): just assign proposed to current as proposed is set to null.
3779 This also fixes another array boudn problem.
3781 2003-03-21 Alan Tam <Tam@SiuLung.com>
3783 * DataRow.cs: Fixed problems in accessers, BeginEdit, CancelEdit,
3784 EndEdit and AcceptChanges to act correctly according to DataRowState
3786 * DataRowCollection.cs: Call AttachRow and DetachRow when a row is
3787 attached and detached from the collection.
3789 2003-03-20 Alan Tam <Tam@SiuLung.com>
3791 * DataColumn.cs: Store empty string for Expression when null is passed in.
3792 Classes generated by XSD.exe passes null by default.
3794 2003-03-16 Ville Palo <vi64pa@kolumbus.fi>
3796 * DataColumnCollection.cs: Tiny clean up
3798 2003-03-16 Ville Palo <vi64pa@kolumbus.fi>
3800 * DataColumn.cs: little fixes.
3801 * DataColumnCollection.cs: Lots of little fixes and improvments.
3803 2003-03-12 Alan Tam <Tam@SiuLung.com>
3805 * DataSet.cs: Fixed a bug that the file written does not close correctly.
3807 2003-03-08 Alan Tam <Tam@SiuLung.com>
3809 * DataRelationCollection.cs: Removed the mis-overridden methods
3810 * DataRow.cs: Fixed an attribute
3811 * DataSet.cs: Fixed the modifiers
3813 2003-03-06 Aleksey Demakov <avd@openlinksw.com>
3815 * DataTableCollection.cs: The Contains (string name),
3816 IndexOf (string name) methods, and item[string name] indexer
3817 now behave more like .NET with respect to case-sensitivity.
3818 That is if there is an exactly matching item then this one is used.
3819 If there is only one item differing in case then it used.
3820 If there are more than one item differing in case then
3821 Contains returns false, IndexOf returns -1, and item[]
3822 throws an ArgumentException.
3824 2003-02-28 Ville Palo <vi64pa@kolumbus.fi>
3826 * ExpressionElement.cs: More implementation.
3828 2003-02-28 Alan Tam <Tam@SiuLung.com>
3829 * DataSet.cs: Changed WriteTable so that it now calls the newly written
3830 WriteObjectXml to direct the call to the respective XmlConvert method.
3831 This fixes the wrong format written to XML files of bool, float,
3832 double, DateTime and TimeSpan types.
3834 2003-02-25 Alan Tam <Tam@SiuLung.com>
3836 * DataRelation.cs: Added SetDataSet for DataSetRelationCollection to use.
3837 * DataRelationCollection.cs: Implemented AddRange and Contains.
3838 Implemented AddRange, Clear, List and RemoveCore for DataSetRelationColletion.
3839 Implemented AddCore, List and RemoveCore for DataTableRelationCollection.
3840 Reimplemented most Add methods to eliminate duplicated checks.
3841 Centralized RelationName generation procedure in GetNextDefaultRelationName.
3843 2003-02-25 Alan Tam <Tam@SiuLung.com>
3845 * DataColumn.cs: Fixed wrong storage representation of Expression
3846 (using empty string instead of null) so that ToString() returns nothing.
3847 * DataColumnCollection.cs: Reimplemented GetNextDefaultColumnName so that
3848 auto column naming now works as expected. Reimplemented some Add methods
3849 to eliminate code duplication.
3851 2003-02-19 Ville Palo <vi64pa@kolumbus.fi>
3853 * DataTable.cs: DataTable.CaseSensitive follows parent
3854 DataSet.CaseSensitive property if DataTable.CaseSensitive has never
3855 been changed directly from DataTable
3857 2003-02-19 Ville Palo <vi64pa@kolumbus.fi>
3859 * DataSet.cs: When CaseSensitive property is changed all of the Tables
3860 of DataSet have to change too
3862 2003-02-19 Daniel Morgan <danmorg@sc.rr.com>
3864 * InternalDataCollectionBase.cs: revert change to field
3867 * DataViewManager.cs
3870 * DataSet.cs: commented use of DesignerAttribute
3871 because it broke the build. According to MSDN,
3872 DesignerAttribute does not have a zero-argument constructor
3874 2003-02-18 Ville Palo <vi64pa@kolumbus.fi>
3876 * DataColumnCollectin.cs: Little fix for indexer and case sensitivity
3878 2003-02-18 Alan Tam <Tam@SiuLung.com>
3880 * DataRow.cs: Implemented GetParentRow and GetParentRows.
3881 * DataSet.cs: Added stub for HasChanges, InferXmlSchema,
3882 OnPropertyChanging, OnRemoveRelation, OnRemoveTable,
3883 RaisePropertyChanging.
3884 * DataTable.cs: Implemented NewRowArray.
3885 * DataTablePropertyDescriptor: Fixed a modifier.
3886 * InternalDataCollectionBase.cs: Fixed modifiers. Implemented SyncRoot.
3887 * PropertyCollection.cs: Minor fix.
3888 * ConstraintCollection.cs DataColumn.cs DataColumnCollection.cs
3889 * DataRelation.cs DataRelationCollection.cs DataRow.cs
3890 * DataRowCollection.cs DataRowState.cs DataSet.cs DataTable.cs
3891 * DataTableCollection.cs DataTablePropertyDescriptor.cs DataView.cs
3892 * DataViewManager.cs DataViewRowState.cs DataViewSettingCollection.cs
3893 * ForeignKeyConstraint.cs InternalDataCollectionBase.cs
3894 * PropertyCollection.cs UniqueConstraint.cs: Added missing attributes
3896 2003-02-08 Ville Palo <vi64pa@koti.soon.fi>
3898 * ExpressionElement.cs: More implementation
3900 2003-02-05 Alan Tam <Tam@SiuLung.com>
3902 * DataSet.cs: Added framework for DataSet.Update Implemented missing
3903 methods GetSchemaSerializable, GetSerializationData,
3904 ReadXmlSerializable, ShouldSerializeRelations and ShouldSerializeTables
3906 * DataTable.cs: Implemented missing methods CreateInstance and
3907 GetRowType for DataTable
3909 2003-02-03 Ville Palo <vi64pa@koti.soon.fi>
3911 * DataSet.cs: Implemented private method MapType for
3912 mapping datatypes for XmlSchema
3914 2003-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3916 * DataView.cs: implemented Dispose.
3918 2003-01-30 Ville Palo <vi64pa@koti.soon.fi>
3920 * ExpressionElement.cs: Added new file. This file is for parsing
3921 and DataData.Select () -methods and DataColumn.Expression -property
3922 * DataTable.cs: Implemented Select(string) -method
3924 2003-01-28 Ville Palo <vi64pa@koti.soon.fi>
3926 * DataSet.cs: One little fix to writing xml
3928 2003-01-27 Ville Palo <vi64pa@koti.soon.fi>
3930 * XmlSchemaMapper.cs: Some fixes.
3931 * DatSet.cs: Some XmlFixes and BeginInit ()/ EndInit () -fix
3934 2003-01-24 Ville Palo <vi64pa@koti.soon.fi>
3936 * UniqueConstraint.cs: Do not set columns Unique property true
3938 * ForeignKeyConstraint.cs: Add UniqueConstraint to parent Table
3940 2003-01-18 Ville Palo <vi64pa@koti.soon.fi>
3942 * DataTableCollection.cs: Now names new DataTable if it doesn't
3943 already have a name.
3945 2003-01-17 Ville Palo <vi64pa@koti.soon.fi>
3947 * XmlSchemaMapper.cs: Improvments.
3948 * XmlConstaints.cs: Added more constants.
3949 * DataSet.cs: Improvments of reading and writing xml
3950 * DataColumn.cs: Added default values of properties.
3952 2003-01-14 Ville Palo <vi64pa@koti.soon.fi>
3954 * XmlSchemaMapper.cs: Some improvments
3956 2003-01-13 Ville Palo <vi64pa@koti.soon.fi>
3958 * DataRowCollection.cs: Added IndexOutOfRangeException
3959 * DataTableCollection.cs: Added OnCollectionChanging and
3960 OnCollectionChanged events.
3961 * DataSet.cs: Many fixes. Implemented Clone () and Copy () -methods
3962 * DataTable.cs: Implemented Copy () and Clone () methods.
3963 * XmlDataLoader.cs: some fixes.
3964 * XmlSchemaMapper.cs: comments.
3966 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3968 * DataColumnPropertyDescriptor.cs: store columnIndex in the .ctor.
3970 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3972 * DataColumnPropertyDescriptor.cs: fixed typo.
3973 * DataViewManagerListItemTypeDescriptor.cs: added new internal property
3974 to get the DataViewManager and removed TablePD class.
3975 * DataTablePropertyDescriptor.cs: TablePD class is now this one as
3976 suggested by danmorg.
3978 2003-01-06 Ville Palo <vi64pa@koti.soon.fi>
3980 * XmlDataLoader.cs: Moved diffgram stuff to new internal class
3982 * XmlDiffLoader.cs: new class for diffgrams. Added handling of
3983 diffgr:Errors and some fixes and changed XmlReader to XPathNavigator.
3985 2003-01-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3987 * DataView.cs: made dataViewManager internal.
3988 * DataViewManager.cs: use ICustomTypeDescriptor. We don't want the
3989 properties of the object, but the values of the columns present in a
3992 * DataViewManagerListItemTypeDescriptor.cs: implemented GetProperties,
3993 which returns a PropertyDescriptorCollection. Created a new class
3994 derived from PropertyDescriptor that treats Table as an object whose
3995 properties are DataRowView.
3997 2003-01-04 Ville Palo <vi64pa@koti.soon.fi>
3999 * XmlSchemaMapper.cs: Added handling for Constraints, Attributes.
4001 2003-01-04 Ville Palo <vi64pa@koti.soon.fi>
4003 * DataColumn.cs: ExtendedProperties is by default !null-
4005 2003-01-04 Ville Palo <vi64pa@koti.soon.fi>
4007 * DataColumnCollection.cs: Add (DataColumn Column) -method didn't
4008 set column's ordinal.
4010 2003-01-02 Ville Palo <vi64pa@koti.soon.fi>
4013 * XmlDataLoader.cs: XmlReader closing fixes.
4014 * XmlSchemaReader.cs: Added support for ref=
4016 2003-01-01 Ville Palo <vi64pa@koti.soon.fi>
4019 - Added XmlReader and XmlWriter Closing.
4020 - Moved ReadXmlSchema stuff to new internal class XmlSchemaMapper.
4021 * XmlSchemaMapper.cs
4022 - Much better way IMHO to map xmlschema than the old one in
4023 DataSet.cs. Its, more flexible, cleaner, ...
4025 2002-12-29 Ville Palo <vi64pa@koti.soon.fi>
4027 * XmlDataLoader.cs: Reading diffgrams.
4029 2002-12-29 Ville Palo <vi64pa@koti.soon.fi>
4031 * DataRow.cs: Little fix to indexer and DataColumnCang* trigger fixes.
4032 * DataTable.cs: Added ChanginDataColumn () for triggering
4033 DataColumnChanging event
4035 2002-12-28 Ville Palo <vi64pa@koti.soon.fi>
4037 * DataSet.cs: Indentations to WriteXmlSchema () and one little fix
4039 2002-12-28 Ville Palo <vi64pa@koti.soon.fi>
4041 * DataSet.cs: Indentations to WriteXml ()
4043 2002-12-27 Ville Palo <vi64pa@koti.soon.fi>
4046 * XmlDataLoader.cs: Moved ReadXml -stuff from DataSet.cs to new
4047 class XmlDataLoader.cs
4049 2002-12-19 Ville Palo <vi64pa@koti.soon.fi>
4051 * DataSet.cs Implemented ReadXml with XmlReadMode.ReadSchema
4053 2002-12-18 Ville Palo <vi64pa@koti.soon.fi>
4055 * DataSet.cs: Started to implement ReadXml-methods.
4057 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4059 * DataSet.cs: implemented DefaultViewManager and GetList.
4061 * DataViewManager.cs: a bit of work on IList and ITypedList needed by
4062 DataList in System.Web.
4064 * DataViewManagerListItemTypeDescriptor.cs: custom type descriptor for
4067 2002-12-16 Ville Palo <vi64pa@koti.soon.fi>
4070 * DataTable.cs: Fixed NullException (rollback -event)
4071 * DataSet.cs: WriteXml -method does not anymore write <?xml... row.
4073 2002-12-15 Ville Palo <vi64pa@koti.soon.fi>
4076 * DataRowCollection.cs: Moved event triggering from DataRow to
4079 2002-12-09 Ville Palo <vi64pa@koti.soon.fi>
4081 * DataSet.cs: Little fix to WriteTable () -method
4082 and DoReadXmlSchema () -method.
4084 2002-12-06 Ville Palo <vi64pa@koti.soon.fi>
4086 * DataSet.cs: Clean up to reading xmlschema. This looks much better
4087 now (work better too), but it not working correctly yet.
4089 2002-12-04 Ville Palo <vi64pa@koti.soon.fi>
4092 * DataRowCollection.cs: Added some event handlins stuff.
4093 * DataSet.cs: Some fixes.
4094 * DataTable.cs: Added event handlers.
4096 2002-11-30 Ville Palo <vi64pa@koti.soon.fi>
4098 * DataRowChangeEventArgs.cs: Implemented Action and Row properties
4100 2002-11-30 Ville Palo <vi64pa@koti.soon.fi>
4102 * System.Data/DataRow.cs: Added internal property XmlDataID
4104 2002-11-29 Ville Palo <vi64pa@koti.soon.fi>
4106 * DataSystem.Data.DataTableCollection.cs:
4107 Removed HashTable. There could be situations where DataTable
4108 is added to collection before it hava TableName. So using
4109 HashTable is impossible.
4111 2002-11-19 Carlos Guzman Alvarez <carlosga@telefonica.net>
4113 * DataRow.cs: an object that is equal to null
4114 should be allowed to be set in this indexer too
4117 2002-11-06 Daniel Morgan <danmorg@sc.rr.com>
4119 * DataColumnPropertyDescriptor.cs: added file
4121 * System.Data/DataRowView.cs: started implementation
4123 * DataTable.cs: stubbed more interfaces. Implemented
4124 IListSource.GetList()
4126 * DataView.cs: stubbed more interfaces. Implemented
4127 some properties and methods: GetEnumerator(),
4128 ITypedList.GetItemProperties, Item indexer, CopyTo()
4130 2002-05-18 Nick Drochak <ndrochak@gol.com>
4132 * DataRow.cs: Fix typo.