1 2010-02-10 Marek Habersack <mhabersack@novell.com>
3 * XmlSchemaDataImporter.cs: the <connections> element might be
4 empty - make sure FirstChild of the element is not null before
5 attempting to use it. Fixes bug #578587
7 2009-10-30 Veerapuram Varadhan <vvaradhan@novell.com>
9 * DataTable.cs: Reuse old utility methods for raising DataTable
10 clearing/cleared events.
11 * DataRowCollection.cs (Clear): Raise DataTable clearing/cleared
12 events only for non 1.x profiles. Fixes broken 1.x build.
14 2009-10-30 Veerapuram Varadhan <vvaradhan@novell.com>
17 * DataTable.cs (Clear): Do not raise TableClearing/Cleared events as
18 they will be raised from DataRowCollection.Clear(). New utility methods
19 for raising TableClearing/TableCleared events from outside DataTable.
20 Don't manually reset indexes as ResetIndexes is called from
21 DataRowCollection.Clear
22 * DataRowCollection.cs (Clear): Raise TableClearing/Cleared events accordingly.
24 2009-10-29 Veerapuram Varadhan <vvaradhan@novell.com>
26 ** Fixes 332875 - based on analysis by Ben Martin <ben@trustorm.com.au>
27 * XmlSchemaDataImporter.cs (AddParentKeyColumn): If a table already has a
28 PrimaryKey column defined, when called again, fill the PKCol data into the
29 passed DataColumn and return.
31 2009-10-29 Veerapuram Varadhan <vvaradhan@novell.com>
33 ** Fixes #550960 - Patch by Stefano <stefano.sapienti@apsystems.it>
34 * DataTable.cs (BinarySerialize): Use datatype from DataColumn
35 instead of value of the column.
37 2009-10-14 Jonathan Pryor <jpryor@novell.com>
39 * XmlSchemaDataImporter.cs: Remove DbProviderFactories dependency in
40 the MonoTouch profile.
42 2009-10-13 Veerapuram Varadhan <vvaradhan@novell.com>
45 * XmlDiffLoader (LoadColumnAttributes/Children): Decode column names in
46 case if they are encoded.
48 2009-09-26 Veerapuram Varadhan <vvaradhan@novell.com>
50 ** Fixes part of #427769 - Patch by John Lenz <jlenz2@math.uiuc.edu>
51 * DataSet.cs: XML serialization improvements to be compatible with MS impl.
53 2009-09-15 Veerapuram Varadhan <vvaradhan@novell.com>
55 ** Fixes #536194 - Patch by Andrew Kurochk <aaki.viper@gmail.com>
56 * MergeManager.cs (Merge*): Do nothing when source and target
59 2009-09-10 Veerapuram Varadhan <vvaradhan@novell.com>
62 * DataView.cs (OnRowChanged/OnRowDeleted): Raise appropriate events iff
63 view is affected. This silence of the numerous Add/Change events that were
64 getting raised from DataView.
65 (ToTable): Use appropriate index to generated DataTable in case of
66 RowFilter / Sort conditions.
68 * DataRow.cs (AcceptChanges/RejectChanges): Raise appropriate Changing events
70 2009-09-03 Ivan N. Zlatev <contact@i-nz.net>
72 * DataColumnPropertyDescriptor.cs, DataView.cs: Not browsable if Hidden.
73 [Fixes the second part of bug #536547]
75 2009-08-25 Veerapuram Varadhan <vvaradhan@novell.com>
78 * DataViewManager.cs (CollectionToListChangeEventArgs) : Use a corresponding
79 DataTable/DataRelation obj instead of only DataRelation.
81 2009-07-30 Veerapuram Varadhan <vvaradhan@novell.com>
83 * CustomDataClassGenerator.cs (MakeSafeName): Throw NRE instead of
84 ArgumentNullException - fixes failing tests.
86 2009-07-23 Veerapuram Varadhan <vvaradhan@novell.com>
88 * XmlSchemaDataImporter.cs (HandleDataSourceAnnotation): Don't rely
89 on the order of elements.
91 2009-07-23 Veerapuram Varadhan <vvaradhan@novell.com>
93 * XmlSchemaDataImporter.cs: String.IsNullOrEmpty changes
95 2009-07-23 Veerapuram Varadhan <vvaradhan@novell.com>
97 * XmlSchemaDataImporter.cs: Added null checks.
99 2009-07-22 Veerapuram Varadhan <vvaradhan@novell.com>
101 * XmlSchemaDataImporter.cs:
102 CustomDataClassGenerator.cs: Silence off CWLs.
104 2009-07-22 Veerapuram Varadhan <vvaradhan@novell.com>
106 * CustomDataClassGenerator.cs (CreateCommandCollectionInitializeMethod):
107 Fix generation of DbCommand[] instead of DbCommand()[]. Fix IndexRef to
109 Avoid using SourceColumnNullMapping property in the constructor
110 of DbParameter while creating the code.
112 2009-07-18 Veerapuram Varadhan <vvaradhan@novell.com>
114 * CustomDataClassGenerator.cs (CreateDbSourceMethods): Handle cases of Scalar
115 and NoData QueryTypes.
117 2009-07-17 Veerapuram Varadhan <vvaradhan@novell.com>
119 * TableAdapterSchemaInfo.cs: Wrap DbCommand within DbCommandInfo and
120 define MethodInfo to hold method properties common to both Get and Fill.
122 * CustomDataClassGenerator.cs (CreateDbSourceMethods): Handle cases of Fill
123 and Get appropriately.
125 2009-07-16 Veerapuram Varadhan <vvaradhan@novell.com>
127 * CustomDataClassGenerator.cs (CreateDbSourceMethods): Handle
128 methods of type "Fill".
130 * XmlSchemaDataImporter.cs (ProcessDbParameters): Handle empty strings
131 while setting parameter properties.
133 2009-07-15 Veerapuram Varadhan <vvaradhan@novell.com>
135 ** Part of fix for #325464
136 * CustomDataClassGenerator.cs: Add implementation to generate
139 * DataSet.cs (TableAdapterSchemaData): New internal property that
140 holds TableAdapter details to generate code from.
142 * XmlConstants.cs: Add Msdatasource constant to handle
143 <...:xml-msdatasource> elements.
145 * XmlSchemaDataImporter.cs: Implement handling of <TableAdapter ...>
146 * TableAdapterSchemaInfo.cs: New
148 2009-05-16 Veerapuram Varadhan <vvaradhan@novell.com>
150 ** Fixes #325464 - ToolItems.xsd
151 * CustomDataClassGenerator.cs (CreateDataSetTableMembers): Prefix a "_" to
152 member names when it is same as that of the dataset. Fixes the CS0542 error
153 during compilation of the generated source.
155 2009-03-25 Ivan N. Zlatev <contact@i-nz.net>
157 * DataView.cs: Fire ListChanged when the RowFilter changes.
160 2009-02-24 Veerapuram Varadhan <vvaradhan@novell.com>
162 * *Fixes #377146 - in a better way
163 * XmlDataReader.cs (ReadElementElement): For reference types that
164 implement IXmlSerializable, call the corresponding ReadXml.
165 * DataSet.cs (WriteColumnAsElement): For reference types that implement
166 IXmlSerializable, call the corresponding WriteXml.
168 2009-02-24 Veerapuram Varadhan <vvaradhan@novell.com>
171 * DbType.cs: Add DateTime2 and DateTimeOffset - 3.5 additions
172 Patch by Jay Wren <jrwren@xmtp.net>
174 2009-01-05 Raja R Harinath <harinath@hurrynot.org>
176 * DataRelationCollection.cs (BinarySerialize): New. Carved out of ...
177 * DataSet.cs (BinarySerialize): ... this.
179 2009-01-04 Raja R Harinath <harinath@hurrynot.org>
181 * DataRelationCollection.cs: Sequester NET_2_0 and NET_1_1
182 specific code into separate parts.
184 * DataTableCollection.cs (BinarySerialize_Schema): New.
185 (BinarySerialize_Data): Likewise. Carved out of ...
186 * DataSet.cs (BinarySerialize): ... this.
188 2009-01-04 Raja R Harinath <harinath@hurrynot.org>
190 * DataTableCollection.cs: Sequester NET_2_0 and NET_1_1 specific
191 code into separate parts.
193 2009-01-02 Ivan N. Zlatev <contact@i-nz.net>
195 * DataViewManager.cs: Implement all MonoTODO. Fixes the WinForms
196 DataBinding unit tests.
198 2009-01-01 Ivan N. Zlatev <contact@i-nz.net>
200 * DataViewManager.cs: Hookup to the table/relations changed events and
201 raise ListChanged events accordingly.
203 2008-12-30 Gert Driesen <drieseng@users.sourceforge.net>
205 * DBConcurrencyException.cs: Marked .ctor taking DataRow [] as
206 internal so we can use it on the 1.0 profile (internally). Implemented
209 2008-12-29 Gert Driesen <drieseng@users.sourceforge.net>
211 * SqlDbType: Added Date and Time (2.0 only).
213 2008-11-18 Raja R Harinath <harinath@hurrynot.org>
216 * XmlConstants.cs (QnUnsignedShort): Rename from QnUsigned short
217 and fix the value too.
218 * XmlSchemaWriter.cs (XmlQualifiedName): Update to changes.
220 2008-09-27 Raja R Harinath <harinath@hurrynot.org>
222 * DataView.cs: Convert into a partial class and sequester
223 interface-implementations and NET_2_0 pieces into separate parts.
225 2008-09-16 brandin claar <brandin.claar@gmail.com>
226 Raja R Harinath <harinath@hurrynot.org>
228 * DataTable.cs (BinarySerialize): Handle empty DataTables.
229 (DeserializeRecords): Likewise.
230 (BinaryDeserializeTable): Allow DefaultValue to be set to any value.
232 2008-09-12 Raja R Harinath <harinath@hurrynot.org>
234 * DataTable.cs (NewRowAdded): Make into partial method.
235 (DataTableClearing, DataTableCleared): New partial methods.
238 * DataTable.cs: Sequester ISupportInitializationNotification
239 pieces into separate part.
240 (DataTableInitialized): Turn into a 'partial method' to avoid #ifs.
242 * DataTable.cs (AssertNotNullConstraints): Hoist out a more useful
243 loop-invariant by inverting loops.
244 (RowExists): Outdent. Rewrite for slightly better clarity.
245 (BeginLoadData): Outdent.
246 (GetChanges): Outdent. Replace GetEnumerator/while with foreach.
248 * DataTable.cs: Convert to a partial class, sequester NET_2_0
249 specific and IXmlSerializable specific pieces into separate parts.
251 2008-09-07 Raja R Harinath <harinath@hurrynot.org>
253 * DataSet.cs: Convert to a partial class and sequester NET_2_0
254 pieces into a separate part.
256 * DataRowView.cs: Convert to a partial class, and sequester
257 NET_2_0 parts into a separate part. Use partial classes instead
258 of ugly #region directives.
259 (Item): Remove redundant attributes. Cleanup slightly.
261 2008-09-05 Raja R Harinath <harinath@hurrynot.org>
263 * DataRowCollection.cs (RemoveInternal): Update RowIDs of rows
264 after the deleted row.
265 (IndexOf): Avoid loop to search for a row, since we already know
266 where a row is: its RowID.
267 (Remove): Use IndexOf rather than List.Contains.
269 * DataRowCollection.cs (InsertRow): Delegate setting of RowId
270 to the row itself. Use 'row.AttachAt' instead of 'row.AttachRow'.
271 (AddInternal): Likewise. Also delegate handling of
272 ChangeCurrentAndOriginal to AttachAt.
273 * DataRow.cs (AttachAt): Rename from AttachRow. Set rowId from
274 passed-in id. Handle ChangeCurrentAndOriginal and ChangeOriginal
277 * DataRow.cs (_hasParentCollection): Remove. Implied by _rowId >= 0.
278 (HasParentCollection): Remove.
279 * DataRowCollection.cs (AddInternal, InsertAt): Update to changes.
281 * DataTable.cs (NewRowArray): Special case size == 0 to avoid
282 creating a lot of garbage.
284 * DataRow.cs (Detach): Rename from DetachRow. Make private.
285 Simplify code to be more uniform. Move common prefix code here ...
286 (AcceptChanges) [Deleted]: ... from here ...
287 (Delete) [Added]: ... and here ...
288 (RejectChanges) [Added]: ... and here.
290 2008-09-04 Raja R Harinath <harinath@hurrynot.org>
292 * DataRow.cs (CheckChildRows) <1-arg variant>: Remove excessive
294 (CheckChildRows) <3-arg variant>: Likewise. Move/split loop
296 (EndEdit): Out-dent some code.
297 (IsNullColumns): Simplify slightly.
299 * DataRelationCollection.cs (CanRemove): Simplify slightly.
301 * DataRelation.cs (CheckStateForProperty): Use the childColumn to
304 * DataColumn.cs (AllowDBNull.set): Rearrange code to be more readable.
305 (AutoIncrement.set): Likewise.
307 (SetDefaultValue): Likewise.
309 2008-08-28 Raja R Harinath <harinath@hurrynot.org>
311 * Constraint.cs (SetExtendedProperties): New internal method.
313 (ExtendedProperties.set): ... here. Kill a #ifdef.
314 * DataTable.cs (DeserializeConstraints): Update to changes.
316 2008-08-27 Raja R Harinath <harinath@hurrynot.org>
318 * ConstraintCollection.cs (Item) <string variant>: Don't incur
319 additional check for index that's returned by 'IndexOf'.
320 (_createNewConstraintName): Improve readability of code.
321 (_isDuplicateConstraintName): Perform cheaper test first.
323 * ConstraintCollection.cs: Reduce some #ifdef by using partial
324 classes. Move 'sealed' and '[Serializable]' to appropriate
325 partial class declarations.
326 * DataRowCollection.cs: Likewise.
328 2008-08-13 Marek Habersack <mhabersack@novell.com>
330 * DataRow.cs: do not check whether a column is read-only when
333 2008-08-08 Raja R Harinath <harinath@hurrynot.org>
335 * DataColumn.cs: Update to changes in DataCollection.
337 2008-07-29 Veerapuram Varadhan <vvaradhan@novell.com>
340 * XmlDataReader.cs (ReadElementElement): Handle custom reference types sanely.
342 2008-07-20 Gert Driesen <drieseng@users.sourceforge.net>
344 * DataColumnCollection.cs (IndexOf): Include name of column - for which
345 there are multiple matches in a different case - in the exception
347 * DataRow.cs (this [int]): On 2.0 profile, throw ArgumentException if
348 value is null and datatype of column is a value type. On 1.0 profile,
349 only allow null value if datatype of column is string. Do not replace
350 value with DBNull.Value if value is null.
352 2008-07-04 Gert Driesen <drieseng@users.sourceforge.net>
354 * DataRow.cs: Use indexer of DataColumnCollection instead of IndexOf.
355 Cosmetic changes to exception message.
356 * DataColumnCollection.cs: Fixed off by one error in index check. Added
357 null check in name indexer. In Clear, also reset columnNameCount and
360 2008-07-03 Gert Driesen <drieseng@users.sourceforge.net>
362 * DataRow.cs: Added missing null checks. Cosmetic changes to exception
365 2008-07-03 Marek Habersack <mhabersack@novell.com>
367 * DataRow.cs (this []): Use DBNull instead of throwing an exception
369 2008-07-01 Rodrigo Kumpera <rkumpera@novell.com>
371 * DataTable.cs: Kill some foreach loops.
375 2008-07-01 Marek Safar <marek.safar@gmail.com>
377 * DataColumnCollection.cs: Made few simple optimizations.
379 2008-06-28 Zoltan Varga <vargaz@gmail.com>
381 * DataTable.cs (NewRowArray): Avoid using reflection if possible.
383 2008-06-19 Atsushi Enomoto <atsushi@ximian.com>
385 * DataRelation.cs : keep createConstraints flag for cloning in
386 DataSet.Merge(). Use different flag for initialization instead.
387 * MergeManager.cs : When cloning DataRelation, createConstraints
388 flag should depend on the source.
389 * XmlSchemaDataImporter.cs : create constraints when creating
392 2008-06-18 Atsushi Enomoto <atsushi@ximian.com>
394 * DataSet.cs : when InferSchema mode, ReadXml() should do "merging
396 * XmlDataInferenceLoader.cs : fixed primary key processing in
397 merging inference mode. Reuse existing one, instead of rejecting
400 2008-06-17 Atsushi Enomoto <atsushi@ximian.com>
402 * XmlSchemaWriter.cs, DataSet.cs, XmlTableWriter.cs, DataTable.cs,
403 XmlDataInferenceLoader.cs, XmlSchemaDataImporter.cs:
404 fix xsd output on msdata:Locale and msdata.UseCurrentCulture.
405 Output explicit Locale only when it is explicitly specified.
406 On the other hand, ReadXml/ReadXmlSchema fills Locale as en-US
407 by default (on .NET).
408 Some code unification in DataTable.WriteXmlSchema() overloads.
410 2008-06-16 Atsushi Enomoto <atsushi@ximian.com>
412 * DataColumn.cs : replaced Activator.CreateInstance() with
413 returning explicit Null member for each SqlXxx type.
415 2008-06-13 Atsushi Enomoto <atsushi@ximian.com>
418 DefaultValue can be non-DBNull. For SqlXxx type, it becomes
419 SqlXxx.Null. Also, changing DataType may change DefaultValue
420 to be consistent with the new type (say, having int DefaultValue
421 for new string DataType is wrong).
424 This should be fixed to take non-DBNull default value into
427 2008-06-12 Atsushi Enomoto <atsushi@ximian.com>
429 * DataSet.cs, DataTable.cs, XmlSchemaDataImporter.cs : constraints
430 on missing tables are ignored when reading a DataTable schema.
431 Fixes part of DataTableTest.ReadXmlSchema() test.
433 2008-05-30 Marek Habersack <mhabersack@novell.com>
435 * Constraint.cs: do not use synthetized event accessors (to avoid
438 2008-05-29 Marek Habersack <mhabersack@novell.com>
440 * DataColumn.cs: do not use synthetic methods for events - this
441 avoids unnecessary locking, especially for internal events.
443 2008-04-21 Gert Driesen <drieseng@users.sourceforge.net>
445 * DataRowView.cs: Modified argument names to match MS. Use
446 String.Empty instead of "". Code formatting.
448 2008-04-16 Veerapuram Varadhan <vvaradhan@novell.com>
450 * XmlDataInferenceLoader.cs (ReadXml): Make sure the name of
451 reference key column(s) in child tables are unique.
453 * XmlSchemaWriter.cs (WriteSchema, WriteDataSetElement,
454 WriteTableType, WriteChildRelations): Handle the scenario wherein
455 we have a relation and only one table. This can occur when we
456 have an XML with same parent/child table names.
458 2008-03-31 Veerapuram Varadhan <vvaradhan@novell.com>
460 * DataView.cs: Reverting rev#98474 changes - as it broke quite a
463 2008-03-23 Gert Driesen <drieseng@users.sourceforge.net>
465 * DataSet.cs: Corcompare fix.
466 * IDataRecord.cs: Corcompare fix.
468 2008-03-22 Gert Driesen <drieseng@users.sourceforge.net>
470 * DataViewSettingCollection.cs: Corcompare fixes and code formatting.
471 * SyntaxErrorException.cs: Corcompare fixes and code formatting.
472 * EvaluateException.cs: Corcompare fixes and code formatting.
473 * StrongTypingException.cs: Coecompare fixes and code formatting.
474 * ReadOnlyException.cs: Corcompare fixes and code formatting.
475 * DataTableCollection.cs: Corcompare fixes and code formatting.
476 * MissingPrimaryKeyException.cs: Corcompare fixes and code formatting.
477 * DeletedRowInaccesibleException.cs: Corcompare fixes and code
479 * DataSet.cs: Corcompare fixes and code formatting.
480 * DuplicateNameException.cs: Corcompare fixes and code formatting.
481 * DataView.cs: Corcompare fixes and code formatting.
482 * VersionNotFoundException.cs: Corcompare fixes and code formatting.
483 * MergeFailedEventArgs.cs: Corcomare fixes and code formatting.
484 * InvalidExpressionException.cs: Corcompare fixes and code formatting.
485 * DBConcurrencyException.cs: Corcompare fixes and code formatting.
486 * DataRowView.cs: Corcompare fixes and code formatting.
487 * DataViewManager.cs: Corcompare fixes and code formatting.
488 * ConstraintException.cs: Corcompare fixes and code formatting.
489 * InvalidConstraintException.cs: Corcompare fixes and code formatting.
490 * IDataRecord.cs: Corcompare fixes.
491 * RowNotInTableException.cs: Corcompare fixes and code formatting.
492 * TypeDataSetGeneratorException.cs: Corcompare fixes and code
494 * InRowChangingEventException.cs: Corcompare fixes and code formatting.
495 * NoNullAllowedException.cs: Corcompare fixes and code formatting.
496 * DataException.cs: Corcompare fixes and code formatting.
498 2008-03-17 Veerapuram Varadhan <vvaradhan@novell.com>
500 ** Fixes part1 of #357947
501 * DataView.cs: (OnRowDeleted): Don't call update, instead delete the row
502 directly from Index. Peformance fix submitted by Hubert FONGARNAND
503 <informatique.internet@fiducial.fr>.
505 2008-02-04 Arina Itkes <arinai@mainsoft.com>
507 * DataTable.cs: Fix for IXmlSerializable.ReadXml.
509 2008-01-28 Arina Itkes <arinai@mainsoft.com>
511 * DataTable.cs: Fix for IXmlSerializable.WriteXml.
513 2007-10-21 Gert Driesen <drieseng@users.sourceforge.net>
515 * DataColumn.cs: Fixed ParamName of ArgumentNullException. Modified
516 exception message for invalid DateTimeMode value to match MS. Code
519 2007-10-19 Nagappan <anagappan@novell.com>
521 * DataRelation.cs: Removed bogus TODO.
523 2007-09-27 Nagappan A <anagappan@novell.com>
525 * DataRelationCollection.cs: Added LAME spec comment as there is no
526 relevant event. Removed MonoTODO too.
528 2007-09-26 Nagappan A <anagappan@novell.com>
530 * DataView.cs (ToTable): Added params keyword.
532 * DataTable.cs: Added XmlSchemaProvider attribute.
534 2007-09-25 Konstantin Triger <kostat@mainsoft.com>
536 * DataSet.cs: correct WriteAttributeString while writing xml with
537 XmlWriteMode.WriteSchema.
539 2007-09-25 Nagappan A <anagappan@novell.com>
541 * DataTable.cs: Code alignment.
543 2007-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
545 * DataColumnCollection.cs: refactoring, fixed columnNameCount comparer
546 to remove culture sensitive ToLower() calls
548 2007-07-22 Nagappan A <anagappan@novell.com>
550 * DataRow.cs: Added internal set property for Table in 2.0
553 * DataColumn.cs: Added internal set property for Table in 2.0
556 2007-07-01 Gert Driesen <drieseng@users.sourceforge.net>
558 * DataRowCollection.cs: Only override Count on 2.0 profile.
559 * RelatedDataView.cs: Fixed line endings.
560 * XmlDataInferenceLoader.cs: Fixed line endings.
562 2007-06-30 Gert Driesen <drieseng@users.sourceforge.net>
564 * DataTableCollection.cs: CopyTo is 2.0 only. Removed extra tabs,
565 and changed spaces to tabs.
567 2007-06-06 Nagappan A <anagappan@novell.com>
569 * DataTable.cs (Select): Removed ununsed variable.
571 2007-05-30 Nagappan A <anagappan@novell.com>
573 * DataColumnCollection.cs (CopyTo): Method specific to 2.0
576 * DataRowCollection.cs (Count): Property is overridden in 2.0
579 * TypedDataSetGenerator.cs: Class is obsolete in 2.0 profile.
581 * DataRelationCollection.cs (CopyTo): Method specific to 2.0
584 2007-05-18 Rolf Bjarne Kvinge <RKvinge@novell.com>
586 * CustomDataClassGenerator.cs: Misc fixes in order to emit correct VB code.
587 CreateDataSetDefaultCtor: we're creating a delegate, not an object, so use a DelegateCreateExpression.
588 CreateDataSetSchemaChanged: we're comparing value types, use the correct equality operator.
589 CreateTableGetEnumerator: explicity state that the method is an implementation of IEnumerable.GetEnumerator.
590 CreateTableEventStarter: we're invoking a delegate, so use a DelegateInvokeExpression.
591 Several changes to not generate members with names that only differ by case.
593 2007-05-18 Chris Toshok <toshok@ximian.com>
595 * DataColumnCollection.cs (Add ()): handle the default name case
597 (Add (string)): same - let Add(DataColumn) handle the default name
599 (Add (DataColumn)): in the 1.1 case, we need to add the column's
600 PropertyChanged handler *before* possibly setting the column name
601 to the default so we emit the right events (Changed/Added). In
602 the 2.0 case, we add the event handler after the name is set, and
603 therefore only emit the Added event.
605 2007-05-07 Adar Wesley <adarw@mainsoft.com>
607 * ConstraintCollection.cs: added CopyTo method with strongly typed Constraint[]
610 * DataTable.cs: added implementation of IXmlSerializable. Added missing
611 method ReadXmlSerializable.
613 2007-04-19 Chris Toshok <toshok@ximian.com>
615 * DataColumnCollection.cs (Add): the Element in our
616 CollectionChangedEventArgs should be the column, not the
617 collection. Also, add an event handler for the column's
618 PropertyChanged event so we can propagate metadata changes.
619 (Remove): Analogous change to the CollectionChangedEventArgs as in
620 Add. Also, unhook the column's PropertyChanged event.
621 (OnCollectionmetaDataChanged): emit our new event.
622 (ColumnPropertyChanged): called when the column's ColumnName
623 property changes. Emit the proper CollectionChangeEvent.
625 * DataView.cs (ColumnCollectionChanged): fix up the comment about
626 CollectionChangeAction.Refresh, and make explicit what generates
628 (RegisterEventHandlers): hook up
629 DataColumnCollectoin.CollectionMetaDataChanged.
630 (RegisterEventHandlers): unhook
631 DataColumnCollectoin.CollectionMetaDataChanged.
633 2007-02-23 Nagappan A <anagappan@novell.com>
635 * DataRow.cs (Item): Checks whether this DataRow exist in the
636 DataRowCollection, then compute the expression. Fixes bug #
639 * DataRowCollection.cs (IndexOf): Modified as internal method for
642 * XmlDataReader.cs (StringToObject): DataTables containing
643 System.Type throw exception on deserializing. Fixes bug # 80596.
645 * XmlDataLoader.cs (StringToObject): DataTables containing
646 System.Type throw exception on deserializing. Fixes bug # 80596.
648 2007-02-20 Konstantin Triger <kostat@mainsoft.com>
650 * XmlSchemaDataImporter.cs: ensure the tables are created in document order.
652 2007-02-19 Konstantin Triger <kostat@mainsoft.com>
654 * XmlDataReader.cs, XmlDataInferenceLoader.cs, XmlDiffLoader.cs:
655 ignore attributes from "http://www.w3.org/XML/1998/namespace".
656 * XmlConstants.cs: add constant for "http://www.w3.org/XML/1998/namespace".
657 * XmlDataInferenceLoader.cs: track the added elements index to fix the
658 added column ordinal.
660 2006-12-11 Chris Toshok <toshok@ximian.com>
662 * DataView.cs: GetItemProperties should return an empty collection
663 if we have no data table. Presently we NRE.
665 2006-12-08 Nagappan A <anagappan@novell.com>
667 * DataTable.cs (ReadXml): Removed if condition, as it should not
668 check the exception string.
670 2006-12-07 Chris Toshok <toshok@ximian.com>
672 * DataView.cs: add CollectionChangeEventHandler's on the
673 ChildRelations and ParentRelations collections, and emit
674 ListChanged events with PropertyDescriptor.Added/Deleted/Changed
677 2006-12-07 Nagappan A <anagappan@novell.com>
679 * DataTable.cs (ReadXml): Integrated the implementation of
680 ReadXml, patch provided by deepak_2603@yahoo.com.
682 2006-12-05 Nagappan A <anagappan@novell.com>
684 * DataTable.cs (WriteXmlSchema): Using XmlTextWriter instead of
685 XmlWriter, solved the File Sharing IO Exception.
687 2006-11-28 Hubert FONGARNAND, FrAcdAcric Mestayer <informatique.internet@fiducial.fr>
689 * DataColumnCollection.cs : Improved Column searching when not
690 using exact column name (case sensitivity). Fixes bug # 80075.
692 2006-11-28 Nagappan A <anagappan@novell.com>
694 * XmlSchemaDataImporter.cs: Fixed 2.0 profile compilation
695 warnings. Using AttributeSchemaType instead of AttributeType and
696 ElementSchemaType instead of ElementType.
698 * TypedDataSetGenerator.cs: Modified the profile check from
699 !NET_1_1 to !NET_1_0, as this class is obsolete from 1.1 profile.
701 * DataRelationCollection.cs (Item): Modified the property Item as
702 abstract and implemented it in DataSetRelationCollection and
703 DataTableRelationCollection classes.
705 * DataRowView.cs: Remove bogus MonoTODOs.
707 * ForeignKeyConstraint.cs (ForeignKeyConstraint): Implemented
708 2.0 profile's missing constructor.
710 * XmlDataLoader.cs (StringToObject): Modify XmlConvert.ToDateTime
711 to use XmlDateTimeSerializationMode, as the default ToDataTime
714 * XmlDataReader.cs (StringToObject): Modify XmlConvert.ToDateTime
715 to use XmlDateTimeSerializationMode, as the default ToDataTime
718 * DataView.cs (IsInitialized): Added browsable attribute.
720 * DataViewSettingCollection.cs (CopyTo): Implemented missing 2.0
723 * DataRelation.cs (DataRelation): Added 2.0 profile constructor to
724 take parentTableNameSpace and childTableNameSpace as argument.
725 (FinishInit): Update parentTableNameSpace and childTableNameSpace,
726 when the string is not empty in 2.0 profile.
728 * DataRowCollection.cs: Implemented Count public property.
729 Added !NET_2_0 for List protected property, as it has been removed
731 (IndexOf): Implemented new public method.
732 (CopyTo): Implemented new public override method.
733 (GetEnumerator): Implemented new public override method.
735 * DataTable.cs (Load): Throw ArgumentNullException, when reader
737 (WriteXmlSchema): Throw InvalidOperationException, when table name
738 is empty. When DataSet Namespace is set, append that with '_x003A_'
740 (IsInitialized): Added browsable attribute.
742 * DataSet.cs (Load): Throw ArgumentNullException, when reader
744 (IsInitialized): Added browsable attribute.
745 (WriteObjectXml): Modify XmlConvert.ToDateTime to use
746 XmlDateTimeSerializationMode, as the default ToDataTime method id
749 * XmlSchemaWriter.cs (WriteSchema): Modified UseCurrentCulture to
751 (WriteDataSetElement): Added minOccurs attribute.
752 (WriteConstraints): Check for tables length, if > 1 then add the
753 relations to XmlSchema.
755 2006-11-21 Nagappan A <anagappan@novell.com>
757 * DataView.cs: Added public event Initialized.
758 (IsInitialized): Implemented public function to check whether a
759 dataview is initialized or not.
761 * DataSet.cs: Added ISupportInitializeNotification for .NET 2.0
763 (RemotingFormat): Set the default value attribute as
764 SerializationFormat.Xml.
765 (IsInitialized): Implemented public function to check whether a
766 table is initialized or not.
767 (CreateDataReader): Added params keyword in argument.
768 (Load): Implemented all Load overloaded functions.
769 (GetObjectData): Modified to public for .NET 2.0 implementation.
770 (IsBinarySerialized): Implemented the public API to check whether
771 the given stream is binary serialized or not.
772 * DataTable.cs: Added ISupportInitializeNotification for .NET 2.0
775 2006-11-15 Nagappan A <anagappan@novell.com>
777 * DataTable.cs (RemotingFormat): Set the default value attribute
778 as SerializationFormat.Xml.
779 (OnTableNewRow, NewRowAdded): Implemented new function to raise an
780 event when a new row is added to the table.
781 (DataTableInitialized, OnTableInitialized): Implemented new
782 function to raise an event when a table is initialized.
783 (IsInitialized): Implemented public function to check whether a
784 table is initialized or not.
785 (OnTableClearing): Raise an event before the table is cleared.
786 (GetObjectData): Modified to public for .NET 2.0 implementation.
787 (Load): Implemented missing API to call the registered delegate
788 function on load exception.
789 (WriteXmlSchema): Implemented overloaded function to write the
790 hierarchy with XML Schema.
792 2006-11-15 Konstantin Triger <kostat@mainsoft.com>
794 * DataTable.cs: Fixed LoadDataRow scenarios.
795 * DataRowCollection.cs: Added override for AddInternal taking DataRowAction parameter.
797 2006-11-14 Konstantin Triger <kostat@mainsoft.com>
799 * DataColumn.cs: consider row version wen checking row.IsNull().
801 2006-10-18 Nagappan A <anagappan@novell.com>
803 * ForeignKeyConstraint.cs (_validateColumns): Parent and child
804 columns can't be the same column - Exception, bug # 79689
806 2006-10-13 Nagappan A <anagappan@novell.com>
808 * DataTable.cs (DeserializeConstraints): Fine tuned the
809 serialization and deserialization of constraints.
811 * DataRelationCollection.cs (Contains): Fixes bug
812 #79233. DuplicateNameException when two relations for different
813 DataTables in DataSet are defined
815 2006-10-06 Patrick Earl <mono@patearl.net>
817 * DataTable.cs, XmlTableWriter.cs, XmlSchemaWriter.cs, DataSet.cs:
818 Implemented DataTable.WriteXml
820 2006-09-26 Nagappan A <anagappan@novell.com>
822 * DataTable.cs, DataSet.cs, DataColumn.cs, Constraint.cs,
823 DataRow.cs: Implementation of Binary Serialization /
826 * DataTable.cs (RowsExist): Check rows based on version.
828 * DataRow.cs: Raise exception same as MS.NET. Thanks to
829 Hubert FONGARNAND <informatique.internet@fiducial.fr> for
830 providing this patch.
832 2006-09-07 Vladimir Krasnov <vladimirk@mainsoft.com>
834 * DataSet.cs: added 2.0 stubs to solve typed dataset porting issues
836 2006-08-30 Nagappan A <anagappan@novell.com>
838 * DataRow.cs (EndEdit): DataRow.EndEdit emits RowChanged too
839 often. Fixes bug # 78885.
841 2006-08-14 Konstantin Triger <kostat@mainsoft.com>
843 * DataTableCollection.cs, DataRelationCollection.cs, DataRowCollection.cs,
844 DataColumnCollection.cs: implemented specialized CopyTo() method.
846 2006-07-26 Nagappan A <anagappan@novell.com>
848 * DataTable.cs (GetIndex): Fixes memory explode on
849 DataTable.Select - Bug # 77691.
851 2006-07-25 Nagappan A <anagappan@novell.com>
853 * DataView.cs (OnRowCollectionChanged): On DataTable.Clear,
854 setting rowCache to empty DataRowView. Fixes bug # 78610.
856 * DataTable.cs (AcceptChanges): Raises Reset event. Fixes bug #
859 2006-07-20 Senganal T <tsenganal@novell.com>
862 - Merge : moved the columntypecheck to AdjustSchema,
863 Remove the unncessary calls to Table.ResetIndexes.
864 - AdjustSchema : check for columntypes
865 Thanks to Deepak Kr Valechha for the patch
867 2006-07-17 Senganal T <tsenganal@novell.com>
870 - ToTable : Implemented all the overloads
871 - Equals : Implemented
872 - IBindingListView : Implemented the interface
874 2006-07-15 Senganal T <tsenganal@novell.com>
876 * DataTableCollection.cs :
877 - Contain,IndexOf,Remove,Add,Indexer : support for table
878 namespace. Remove redundant checks in Remove/Add.
880 2006-07-14 Senganal T <tsenganal@novell.com>
883 - SetOrdinal : Implemented
884 - Ordinal : added internal set
885 * DataColumnCollection.cs :
886 - Add : Set the column ordinals
887 - MoveColumn : Changes the position of column in the
890 2006-07-14 Senganal T <tsenganal@novell.com>
893 - Merge - Implement the merge methods
894 - Clone - Ensure column's DateTimeMode property is also copied
896 - DateTimeMode : Implemement
897 - DataTypeMatches : Added. In 2.0 profile, test DateTime
898 property when verifying column types.
900 - ctr : For DateTime columns, check DateTimeMode property
901 * ForeignKeyConstraint.cs :
902 - _validateColumns : For DateTime columns, check DateTimeMode
905 - Merge : Added. Overload to merge two tables
906 - ResolveColumns : Change the method to use a table instead of
908 - Renamed AdjustSchema to AdjustSchemaRelations
910 2006-07-13 Senganal T <tsenganal@novell.com>
913 - WriteTables : Remove some commented out code
914 - WriteTable : Fix the logic to skip the table data when the
915 table has a nested relation.
918 2006-07-12 Senganal T <tsenganal@novell.com>
920 * ConstraintCollection.cs :
921 - Remove (string): If constraint name is not found, throw exception
922 - Remove (Constraint): Set the ConstraintCollection of the removed
924 Thanks to Deepak Kr Velachha for reporting the bug.
926 2006-07-12 Senganal T <tsenganal@novell.com>
929 - LoadColumnChildren : If schema name is missing, skip the
931 Thanks to Deepak Kr Velachha for identifying the bug.
933 2006-07-11 Senganal T <tsenganal@novell.com>
935 * XmlSchemaWriter.cs :
936 - WriteTableType : If Relation.Nested is true, then nest the
937 table schemas. Correct the xml to add the table element within
938 the <Sequence> element.
939 - WriteChildRelations : Correct the Xml element name and
940 attributes. Close the attribute correctly.
942 * XmlSchemaDataImporter.cs :
943 - GenerateRelationship : When creating the relations, if
944 ParentColumn exists but Corr ChildCol is null, create a child
945 Column with the same name and type as the parent column.
946 - Renamed DataSetDefinesPrimaryKey to DataSetDefinesKey
947 - DataSetDefinesKey : if either xsd:key or xsd:keyref is
948 defined for the dataset, do not manually create the relations.
949 - AddParentKeyColumn : if Columnname already exists, use
950 colname_0 instead of throwing an exception.
951 - FillDataColumnRepeatedSimpleElement : Do not set the Unique
952 value as it creates a constraint by default. The unique value
953 is automatically set when pk is set.
954 - CreateChildColumns : Added. Creates a ChildColumn duplicating
955 ParentColumn properties.
957 2006-06-30 Senganal T <tsenganal@novell.com>
960 - SetAdded, SetModified : new methods in 2.0
962 2006-06-30 Senganal T <tsenganal@novell.com>
963 * SerializationFormat.cs, DataSetDateTime.cs, DataTableNewRowEventArgs.cs,
964 DataTableNewRowEventHandler.cs : Added
965 * SyntaxErrorException.cs EvaluateException.cs StrongTypingException.cs
966 IsolationLevel.cs ReadOnlyException.cs DataTableCollection.cs
967 DataRowState.cs MissingPrimaryKeyException.cs DeletedRowInaccessibleException.cs
968 DuplicateNameException.cs PropertyAttributes.cs StatementType.cs
969 VersionNotFoundException.cs FillErrorEventHandler.cs DataRowChangeEventHandler.cs
970 XmlWriteMode.cs InvalidExpressionException.cs StateChangeEventHandler.cs
971 DbType.cs DataColumnChangeEventHandler.cs KeyRestrictionBehavior.cs
972 ConnectionState.cs SchemaType.cs MergeFailedEventHandler.cs SqlDbType.cs
973 DataRowVersion.cs ForeignKeyConstraint.cs DBConcurrencyException.cs
974 OperationAbortedException.cs MissingSchemaAction.cs DataTableClearEventHandler.cs
975 DataRowView.cs DataRowAction.cs ConstraintCollection.cs DataTableReader.cs
976 LoadOption.cs InvalidConstraintException.cs InternalDataCollectionBase.cs
977 ParameterDirection.cs AcceptRejectRule.cs UpdateRowSource.cs XmlReadMode.cs
978 TypedDataSetGenerator.cs RowNotInTableException.cs TypeDataSetGeneratorException.cs
979 InRowChangingEventException.cs MissingMappingAction.cs NoNullAllowedException.cs
980 CommandBehavior.cs PropertyCollection.cs CommandType.cs
981 UpdateStatus.cs ConflictOption.cs DataViewRowState.cs Rule.cs
982 DataColumnCollection.cs :
985 2006-06-27 Senganal T <tsenganal@novell.com>
987 * DataSet.cs, DataTable.cs : implement CreateDataReader methods
988 * InternalDataCollectionBase.cs
989 - ToArray () : helper method
990 * DataTableReader.cs :
991 - GetSchemaTable : set the schema info correctly
992 - GetProvider*, GetChars, GetBytes, GetValues :
993 Implemented the methods
994 - GetName : return the name of corresponding schema.
995 - ValidateSchemaIntact, OnColumnCollectionChanged,
997 Listen and raise expception if schema changes
999 2006-06-21 Chris Toshok <toshok@ximian.com>
1001 * DataView.cs: update the index after we successfully add the new
1002 row. This keeps the dataview's row view count in sync with the
1005 2006-06-20 Chris Toshok <toshok@ximian.com>
1007 * DataView.cs: the PropertyDescriptorCollection returned by
1008 ITyepdList.GetItemProperties should include the child relations of
1009 our table, in order to match MS's behavior.
1011 * DataViewManager.cs: ICollection.Count property is always 1.
1013 2006-06-15 Senganal T <tsenganal@novell.com>
1016 - Select : If Sort String is not provided, sort the result
1017 DataRows in Ascending Order of the Columns used in the filter
1019 2006-06-15 Senganal T <tsenganal@novell.com>
1022 - InternalEnforceConstraints : Check if any null constraints
1023 are violated. Throw ConstraintException only after all the errors
1026 - EnforceConstraints : Move away the logic to check for
1027 NullConstraintViolation.
1028 - AssertNotNullConstraint : Checks for Null Constraint
1030 - EndLoadData : Do not throw any exceptions here. All the
1031 errors have to be found and RowErrors set before throwing the
1034 - ImportRecrod : Check the values of the row for any null
1036 - SetColumnError : If the error for column is already set,
1037 do not add a new error but edit the existing error.
1038 - CheckValue : Set the NullConstraintViolation flag if either
1039 table is being loaded or if EnforceConstraints is set to
1041 * Constraint.cs : Do not throw exception when EnforceConstraints is
1042 set to false or table is being loaded.
1043 * UniqueConstraint.cs : Correct the error message. Set ColumnErrors
1044 along with the RowError.
1046 2006-05-31 Gert Driesen <drieseng@users.sourceforge.net>
1048 * DataTable.cs: Renamed initInProgress to fInitInProgress. BeginInit
1049 and EndInit must only be virtual in 2.0 profile. Set eol-style to CRLF.
1051 2006-05-31 Senganal T <tsenganal@novell.com>
1053 * XmlDataInferenceLoader.cs :
1054 - InferTableElement : Repeated element should result in a single
1056 Patch from Deepak Kr Velachha
1058 2006-04-21 Senganal T <tsenganal@novell.com>
1060 * DataRowCollection.cs :
1061 - Find : If search on the table using PrimaryKey fails and if
1062 index is not being maintained (during table load), search the
1064 - Find (int) : Removed. Deadcode.
1066 - Not necessary to delete each row from the Index.
1067 Just reset the Indexes after cleaning up the row
1069 - Simplify dependency check for child tables
1072 - Do not use DataRowCollection.Find to search for
1073 existing records as this wud check even newly loaded rows.
1075 - Do not add new records to Index. Update Index only
1076 if an existing record is modified. New records will be
1077 taken care by EndLoadData.
1079 2006-04-19 Senganal T <tsenganal@novell.com>
1081 * XmlHelper.cs : A helper class for encoding/decoding schema names.
1082 Caches the Schema names to minimize encoding/decoding operations and
1083 duplicate strings created.
1085 - Use XmlHelper for encoding/decoding schema names.
1086 - Encode ConstraintNames when writing as xml.
1089 * XmlDataInferenceLoader.cs
1090 * XmlSchemaDataImporter.cs
1091 - Use XmlHelper for encoding/decoding schema names.
1092 * DataTableCollections : Minor code refactor.
1093 * DataRow.cs : Create XmlElement only if required.
1095 2006-04-07 Senganal T <tsenganal@novell.com>
1098 - InternalEnforceConstraints() : Reset Indexes of all tables
1099 before validating constraints. Fixes #78010
1101 2006-03-04 Boris Kirzner <borisk@mainsoft.com>
1102 * TypeDataSetGeneratorException.cs: fix .Net Soap serialization compatibility.
1104 2006-03-25 Senganal T <tsenganal@novell.com>
1107 - RejectChanges : When row is in Deleted state, add the row back to
1108 Indexes and Validate the row.
1111 2006-03-23 Senganal T <tsenganal@novell.com>
1114 - LoadDataRow : Add the row to the indexes, when loading a new row.
1116 2006-03-22 Senganal T <tsenganal@novell.com>
1119 - PrimaryKey : Set the IsPrimaryKey attribute before Removing from collection.
1120 - RemoveUniqueConstraints : Removed. dead code.
1123 - If adding/removing constraint fails, retain Unique value
1124 - Remove redundant code
1125 * UniqueConstraint.cs :
1126 - SetIsPrimaryKey : Added. Sets the value of IsPrimaryKey.
1127 - RemoveFromConstraintCollectionCleanup : If constraint is on a single column, then
1128 set Unique for that column to false.
1129 - CanRemoveFromCollection : Do not remove constraint, if its a PrimaryKey
1131 2006-03-20 Senganal T <tsenganal@novell.com>
1134 - CopyRelations () : When copying the relation, do not add constraints
1135 automatically for the relation.
1136 - OnMergeFailed () : If merge fails and no handler is set for the MergeFailedEvent,
1137 then throw DataException
1138 * ConstraintCollection.cs :
1139 - Add () : Check if a constraint already exists on the Columns that are being
1141 - IndexOf () : Do not check for equivalent constraints, check for the exact instance.
1142 * MergeManager.cs ():
1144 - Handle the MissingSchemaAction.Error case,
1145 - Do not create constraints when mergin the DataRelation
1146 - Follow the semantics for schema merge/validation when constraints are already present
1147 in the target DataSet.
1148 - AdjustPrimaryKeys () :
1150 - Verify Order of Columns in the PrimaryKey when merging.
1151 - ResolveColumns : Changed the arument to DataSet. Simplifies code elsewhere.
1152 - CompareColumnArrays, CompareColumnArrays : Helper funtions.
1154 2006-03-09 Senganal T <tsenganal@novell.com>
1157 - RejectChanges () : Add the row to index, if it was in deleted state and
1158 Update the index if in Modified State.
1159 - AcceptChanges () : Do not update the Indexes.
1160 - EndEdit () : Update the indexes even if BeginLoadData has been called
1161 on the table. Ideally, indexes should not be maintained during DataLoad,
1162 but this needs to handled in multiple places correctly. For now, just maintain
1163 the index to ensure correct operation.
1165 2006-03-05 Senganal T <tsenganal@novell.com>
1168 - BeginInit (), EndInit () : Implemented methods
1169 - InitInProgress : Added.
1171 - EndInit () : Move the adding of columns and constraints
1173 - FinishInit () : Added. Adds the Constraints and Columns
1175 - InitInProgress : Added.
1177 - FinishInit () : Added. Virtual method
1178 - InitInProgress : Added. Virtual property
1179 * UniqueConstraint.cs
1180 * ForeignKeyConstraint.cs
1181 - FinishInit () : Added.
1182 - InitInProgress : Added.
1183 - DataColsNotValidated : Removed.
1184 * ConstraintCollection.cs
1185 - PostAddRange : Removed event
1186 - PostEndEdit () : Renamed to PostAddRange
1187 - Add () : Simplified the testing if constraint is initialized
1188 - AddRange () : Simplified initializing the constraints
1189 * DataTableCollection.cs
1190 - PostAddRange () : Added. Adds the tables to the collection
1191 * DataColumnColletion.cs
1192 - PostEndInit () : Renamed to PostAddRange.Also, add column to
1193 the collection only if not null.
1195 Added/Implemented methods for design time support. Renamed some methods for consistency
1196 in naming across classes for methods serving the same purpose.
1198 2006-02-24 Senganal T <tsenganal@novell.com>
1200 * UniqueConstraint.cs :
1201 - ChildConstraint : Added. Simplifies verifying if constraints are
1203 - CanRemoveFromCollection : Fixed the check to verify if constraints is
1204 linked to a ForeignKeyConstraint. Fixes #77630
1205 * ForeignKeyConstraint.cs :
1206 - _validateRemoveParentConstraint : Removed. Not used anymore
1207 - ParentConstraint : Added. Simplifies verifying if constraints are
1209 2006-02-22 Senganal T <tsenganal@novell.com>
1212 - RejectChanges : Do not remove Row from Indexes when state is Deleted.
1213 - CheckChildRows : When checking for the ChildRows, use the current value
1214 and not the original value.
1216 2006-02-18 Atsushi Enomoto <atsushi@ximian.com>
1218 * CustomDataClassGenerator.cs : Patch by Marek Habersack. xsd now
1219 outputs AutoIncrement, AutoIncrementSeed, AutoIncrementStep and
1220 ReadOnly properties. This fixes bug #77576.
1222 2006-02-17 Chris Toshok <toshok@ximian.com>
1224 * System.Data/DataSet.cs, System.Data/DataView.cs,
1225 System.Data/ForeignKeyConstraint.cs,
1226 System.Data/DataViewManager.cs, System.Data/DataRow.cs,
1227 System.Data/DataSysDescriptionAttribute.cs,
1228 System.Data/UniqueConstraint.cs, System.Data/DataTable.cs,
1229 System.Data/DataRelation.cs: lots of attribute work, removing
1230 DataSysDescription atributes (and marking the class obsolete) for
1233 2006-02-17 Chris Toshok <toshok@ximian.com>
1235 * DataAdapterException.cs: remove this file.
1237 2006-02-17 Chris Toshok <toshok@ximian.com>
1239 * DataTableReader.cs: Switch to the (bool) form of Dispose to
1240 override, as the no-arg form isn't virtual.
1242 * Constraint.cs: #ifdef out more DataSysDescriptions.
1244 * ConstraintException.cs: add ..ctor (string, Exception) for 2.0.
1246 2006-02-17 Chris Toshok <toshok@ximian.com>
1248 * DataColumn.cs: #ifdef all the DataSysDescriptions !NET_2_0.
1250 * AdapterMappingException.cs: nuke this file.
1252 * IDbAsyncConnection.cs, IDbAsyncCommand.cs, IGetTypedData.cs,
1253 ISetTypedData.cs, IDataReader2.cs, IDataSources.cs,
1254 IDbExecutionContext.cs, IDataRecord2.cs, IDataUpdatableRecord.cs:
1255 remove these 2.0 files.
1257 2006-02-17 Chris Toshok <toshok@ximian.com>
1259 * ConstraintCollection.cs: in 2.0, class is not serializable and
1260 is sealed. make all the "virtuals" #if !NET_2_0 as well.
1262 * Constraint.cs: not serializable in 2.0.
1264 * DataColumnCollection.cs: in 2.0, class is not serializable and
1265 is sealed. make all the "virtuals" #if !NET_2_0 as well.
1267 * DataRelationCollection.cs: not serializable in 2.0.
1269 * DataRelation.cs: not serializable in 2.0.
1271 * DataRowBuilder.cs: class is sealed in 2.0.
1273 * DataRowCollection.cs: in 2.0, class is not serialized and is
1274 sealed. Also, Add isn't virtual in 2.0 (as the class is sealed).
1276 * DataRow.cs: not serializable in 2.0.
1278 * DataSet.cs: remove some DataSysDescriptions from the 2.0 build,
1279 and s/GetDataReader/CreateDataReader.
1281 * DataTableCollection.cs: in 2.0, class is not serializable and is
1282 sealed. make all the "virtuals" #if !NET_2_0 as well.
1284 * DataTableReader.cs: remove VisibleFieldCount property.
1286 * DataViewSettingCollection.cs: not serializable in 2.0.
1288 * DataViewSetting.cs: not serializable in 2.0.
1290 * ForeignKeyConstraint.cs: serializable in 2.0.
1292 * OperationAbortedException.cs: class is sealed and serializable.
1294 * PropertyCollection.cs: serializable in 2.0.
1296 * StatementCompletedEventArgs.cs: class is sealed.
1298 * UniqueConstraint.cs: not serializable in 2.0.
1300 2006-02-16 Senganal T <tsenganal@novell.com>
1303 WriteDataSetElement : Add an annotation element if exists.
1304 WriteDataRelationAnnotation : New. Write a DataRelation as an annotation.
1305 WriteConstraints : Write ForeignKeyConstraint even when not associated with
1306 a DataRelation and add a "ConstraintOnly=true" attribute for such constraints.
1307 * XmlConstants.cs : Add a new constant - ConstraintOnly
1308 * XmlSchemaImporter.cs :
1309 - ConstraintStructure : Add field ,IsConstraintOnly, to distinguish if a foreignkeyconstraint
1310 is related to relation or not.
1311 - GenerateRelation : Handle the case when parentkey and childkey contain multiple columnnames.
1313 2006-02-11 Senganal T <tsenganal@novell.com>
1315 * UniqueConstraint.cs :
1316 - PostAddRange : Check PrimaryKey is not already set for the table
1318 - PrimaryKey : follow ms.net behavior when BeginInit , EndInit is used.
1319 - Add new priamry key only when EndInit is called.
1320 - Incase of an error, retain old primarykey
1322 - Add Constraints after columns are added.
1323 - If both PrimaryKey Property and PrimaryKey Constraint are set,
1324 then the Constraint takes precedence.
1327 2006-02-03 Senganal T <tsenganal@novell.com>
1329 * DataTableCollection.cs :
1330 - Remove () : Check for invalid TableName
1331 - Add () : Verify the table doesn't belong to another dataset
1333 - CompleteLastAdded () : Do not raise ItemAdded Event as it is
1334 already raised in AddNew().
1336 - Expression : Verify that the Column names in the expression are valid
1337 - ResetCollectionInfo : Renamed to ResetColumnInfo
1339 - RejectChanges () : Reorganized the code to do the Right thing.
1340 - Item : Dont check for detached and deleted rows as these are
1342 * DataRowCollection.cs :
1343 - Add () : Check for null value
1345 - PrimaryKey : Set AllowDBNull=false for all the key columns
1346 - ImportRow : Import the row only if it is not in Detached state. if in Deleted
1347 state, perform the validation when AcceptChanges/RejectChanges is called.
1348 * DataColumnCollection.cs :
1349 - Add : Validate the column expression before adding it to the collection.
1350 - GetColumnDependency () : New. Get the dependencies on the column
1351 - CanRemove : Move checks to GetColumnDependency
1352 - Clear () : Simplified code. Remove unncessary checks.Also, dont check Expression col.
1353 - IndexOf - Check argument.
1354 Overall , appropriate error msg's are thrown if Remove/Clear fails. Removed a few
1355 redundant checks performed and moved the common code to GetColumnDependency.
1357 2006-01-31 Senganal T <tsenganal@novell.com>
1359 * DataSet.cs : Modified CopyRelations ()
1360 - Added code to copy ForeignKeyConstraints. Fixes #77411.
1362 2006-01-18 Boris Kirzner <borisk@mainsoft.com>
1363 * DataColumn.cs: added PropertyCchangedEvent handling.
1365 2006-01-17 Senganal T <tsenganal@novell.com>
1368 ItemArray : Modified to raise RowInTableException only if
1369 the concerned row has been removed from the table.Fixes
1372 2006-01-16 Boris Kirzner <borisk@mainsoft.com>
1373 * DataTable.cs: Drop dependend indexes on column removal.
1375 2006-01-16 Atsushi Enomoto <atsushi@ximian.com>
1377 * CustomDataClassGenerator.cs :
1378 When a DataRelation connects the same table as parent and child,
1379 generate parent row property as BlahRowParent. Fixed bug #77248.
1381 2006-01-10 Senganal T <tsenganal@novell.com>
1382 * DataRowCollection.cs
1383 - Added ListChangedEvent to notify reset of the collection.
1385 - Subscribes to the ListChangedEvent of DataRowCollection
1388 2006-01-09 Senganal T <tsenganal@novell.com>
1389 * RelatedDataView.cs
1391 - Resolving a name clash in IExpression
1393 2006-01-06 Senganal T <tsenganal@novell.com>
1396 * DataColumnCollection.cs
1397 - Reset the Parameters of DataColumn to Default Values when
1398 column is removed from the Table's Collection
1400 2006-01-03 Senganal T <tsenganal@novell.com>
1403 - ParseSortString() : Changed the way the sort string is parsed.
1404 Using a regex to parse the string.Fixes bug #77104
1406 2005-12-12 Konstantin Triger <kostat@mainsoft.com>
1408 * DataRow.cs: Added index Updates.
1409 EndEdit() fixed to first update indices and then AssertConstraints
1410 based on those indices.
1411 Added Validate() and AssertConstraints() functions.
1412 * DataRowCollection.cs: Removed ValidateDataRowInternal().
1413 * DataTable: Fixed Clear().
1415 2005-12-06 Atsushi Enomoto <atsushi@ximian.com>
1417 * CustomDataClassGenerator.cs : (InitializeFields) handle AllowDBNull
1418 and DefaultValue as well. Patch by Marek Habersack (bug #76709).
1420 2005-12-01 Miguel de Icaza <miguel@novell.com>
1422 * DataSet.cs: Apply patch from Robert Jordan, to fix #76817
1424 2005-11-26 Konstantin Triger <kostat@mainsoft.com>
1426 * ConflictOption.cs: TARGET_JVM include.
1428 2005-11-11 Senganal T <tsenganal@novell.com>
1430 * ConflictOption.cs (new file)
1431 - Added ConflictOption Enumeration
1432 * DataTableReader.cs
1434 - GetProviderSpecificFieldType : Corrected the method name
1436 2005-11-11 Senganal T <tsenganal@novell.com>
1438 * DataSet.cs : Added the SchemaSerializationMode Property for NET_2_0
1440 * SchemaSerializationMode.cs : Added SchemaSerializationMode Enumeration
1441 for NET_2_0 compatibility.
1445 2005-10-20 Atsushi Enomoto <atsushi@ximian.com>
1447 * XmlSchemaWriter.cs : escape names in the schema with XmlConvert.
1450 2005-10-14 Sureshkumar T <tsureshkumar@novell.com>
1452 * DataView.cs: Correct multiple throwing of events. Patch from
1454 (RowStateFilter): Fire ListChangedEvent.
1455 (ApplyDefaultSort): Fire ListChangedEvent.
1456 (CompleteLastAdded): call UpdateIndex to remove the row from rowCache.
1457 (IBindingList.Find): Implemented.
1459 2005-10-11 Sureshkumar T <tsureshkumar@novell.com>
1461 * DataView.cs (IBindingList): Implemented methods for IBindingList interface.
1463 2005-09-26 Lluis Sanchez Gual <lluis@novell.com>
1465 * DataSet.cs: In IXmlSerializable.GetSchema, return null again for
1466 untyped datasets. Fixes bug #76101.
1468 2005-09-21 Boris Kirzner <borisk@mainsoft.com>
1469 * DataRow.cs: Fixes for index updating.
1471 - Reset case-sensitive indexes also if their filter contains columns
1473 - Use GetIndex instead of FindIndex, so the indexes created in Select()
1475 * RelatedDataView.cs: implement IExpression.Equals() and GetHashCode().
1477 2005-09-20 Sureshkumar T <tsureshkumar@novell.com>
1479 * DataView.cs (Sort): Apply default Sorting Order if Sort property
1480 is reset to null. Sort property handles this. Patch from Marc.
1482 * DataTable.cs (ParseSortString): Patch from Marc Haisenko for
1483 allowing [ & ] in DataView.Sort string.
1485 2005-09-01 Boris Kirzner <borisk@mainsoft.com>
1486 * System.Data/DataRowCollection.cs: indexes should be updated even if
1487 EnforceConstraints is false. Check for EnforceConstraints in
1488 ValidateDataRowInternal.
1490 2005-08-08 Gert Driesen <drieseng@users.sourceforge.net>
1492 * DataView.cs: Changed accessibility of dataTable, rowState and
1493 rowCache field to internal to fix public API. Assigned TypeConverter
1495 * ForeignKeyConstraint.cs: IsConstraintViolated is now internal.
1496 * Constraint.cs: IsConstraintViolated is now internal.
1497 * UniqueConstraint.cs: IsConstraintViolated is now internal.
1499 2005-08-05 Atsushi Enomoto <atsushi@ximian.com>
1501 * XmlSchemaDataImporter.cs : When "dataset element" has identity
1502 constraints, then first reserve constraints room for them and then
1503 process elements, skipping pkey creation if there is already
1504 reserved one. Fixed bug #75711.
1506 2005-08-05 Atsushi Enomoto <atsushi@ximian.com>
1508 * XmlDataInferenceLoader.cs : in GetElementMappingType(), don't guess
1509 the same (QNamed) element again when it was already evaluated as
1510 not simple type. Fixed one part of bug #75711.
1512 2005-08-02 Boris Kirzner <borisk@mainsoft.com>
1513 * XmlSchemaDataImporter.cs : Data relations should be processed after the
1514 keys, so no redundant constraints created while relations processing.
1516 2005-07-25 Boris Kirzner <borisk@mainsoft.com>
1517 * FillOptions.cs, ConflictOptions.cs, UpdateOptions.cs:
1518 added ifdef TARGET_JVM.
1520 2005-07-22 Sureshkumar T <tsureshkumar@novell.com>
1522 * DataViewSettingCollection.cs, DataTableCollection.cs,
1523 DataSet.cs, DataView.cs, DataColumn.cs, ForeignKeyConstraint.cs,
1524 DataRelationCollection.cs, UniqueConstraint.cs, DataTable.cs,
1525 DataColumnCollection.cs, DataRelation.cs, DataSet.cs:
1526 - updated attributes & attribute descriptions to match with
1529 * DataView.cs: changed protected members
1530 rowstate,rowcache,dataTable to protected internal.
1531 * Constraint.cs, ForeignKeyConstraint.cs, UniqueConstraint.cs:
1532 changed InConstraintViolated to protected internal.
1533 * ConflictOptions.cs, UpdateOptions.cs, FillOptions.cs: enclosed
1534 with NET_2_0 define.
1536 2005-07-21 Sureshkumar T <tsureshkumar@novell.com>
1538 * ForeignKeyConstraint.cs:
1539 - IsConstraintViolated (): no matter what EnforceConstraints is,
1540 this function now honestly validates. It is upto the caller to run
1542 - AddToConstraintCollectionSetup (): AssertConstraint according to
1545 2005-07-21 Boris Kirzner <borisk@mainsoft.com>
1546 * ForeignKeyConstraint.cs - IsConstraintViolated() should check also for Table.EnforceConstraints.
1547 * DataTable.cs - EnforceConstraints becomes internal so it can be used by ForeignKeyConstraint.
1549 2005-07-19 Sureshkumar T <tsureshkumar@novell.com>
1551 * DataTable.cs - CopyConstraints (): copy constraints only if it
1554 * DataSet.cs - Copy ():
1555 - use activator.CreateInstance to create a typed dataset.
1556 - copy tables if target does not exist, otherwise, just add rows.
1557 - add relation only if it does not exists.
1559 Typed datasets create the constraints & relations through
1560 constructors. Fixes bug #75211.
1562 2005-07-14 Sureshkumar T <tsureshkumar@novell.com>
1564 * DataView.cs: Patch from Marc Haisenko to throw descriptive error
1565 message when accessing Item, with invalid index.
1567 2005-07-14 Sureshkumar T <tsureshkumar@novell.com>
1569 reapplied patch from Marc Haisenko.
1570 * DataView.cs: Patch from Marc Haisenko that ensures that rowCache
1573 2005-07-13 Sureshkumar T <tsureshkumar@novell.com>
1575 * DataRelationCollection.cs: adding a relation with same set of
1576 parent columns & child columns, should not be allowed.
1578 2005-07-08 Sureshkumar T <tsureshkumar@novell.com>
1580 * DataTableReader.cs: GetSchemaTable: DataType column should be
1581 passed a type of Type.
1583 * DataRow.cs: Load : Fired necessary events.
1585 * DataTable.cs: LoadDataRow (object [], LoadOption): Fired
1588 2005-06-28 Sureshkumar T <tsureshkumar@novell.com>
1590 * DataRow.cs: Delete (): if row is detached, do nothing.
1593 2005-06-22 Sureshkumar T <tsureshkumar@novell.com>
1595 * DataRow.cs: Added method MergeValuesToRow copy merge two rows
1596 according to the merge rules.
1598 * MergeManager.cs: (MergeRow): use MergeValuesToRow
1599 API. CopyValuesToRow simply makes the target row same as source
1600 row. Rather, MergeValuesToRow merges with the target row according
1603 2005-06-19 Konstantin Triger <kostat@mainsoft.com>
1605 * DataSet.cs: Fixed ReadXml to work with IXmlSerializable
1607 2005-06-17 Jordi Mas i Hernandez <jordi@ximian.com>
1609 * DataViewManager.cs: fixes exception and creates DataView
1611 2005-06-15 Sureshkumar T <tsureshkumar@novell.com>
1613 * DataRow.cs: CheckChildRows: cascade parent changes to child rows
1614 only if there is a change in columns of the fk constraint.
1616 2005-06-14 Sureshkumar T <tsureshkumar@novell.com>
1618 * DataSet.cs: GetChanges: if row is deleted, get parent rows based
1619 on original version. fixes bug #75227.
1621 2005-06-13 Sureshkumar T <tsureshkumar@novell.com>
1623 * DataRowCollection.cs: Find (keys, version): Added an overload to
1624 find keys matching given DataViewRowState filter. Used in
1625 DataSet.Merge and DataTable.LoadDataRow.
1627 * DataTable.cs: LoadDataRow (values, LoadOption): Use
1628 DataRowCollection.Find (object [], DataViewRowState) overload.
1631 - CopyValuesToRow: Create target "records" out of loop. Records
1632 should be created once, not for each column. Dispose Unused target
1636 - MergeRow: Find rows with matching original records. If not,
1637 select with current values.
1638 - MergeRow: While adding new row, use NewNotInitializedRow.
1640 * ForeignKeyConstraint.cs: IsConstraintViolated: should not check
1641 if EnforceConstraints is false.
1643 2005-06-10 Sureshkumar T <tsureshkumar@novell.com>
1645 * DataRow.cs: CopyValuesToRow: if orginal == current, don't create
1646 a new current record.
1648 * DataSet.cs: GetChanges :Temporarily disable EnforceConstraints.
1650 * MergeManager.cs: Merge: Temporarily disable
1651 EnforceConstraints. Patch from george.barbarosie@gmail.com (George
1654 2005-06-09 Jordi Mas i Hernandez <jordi@ximian.com>
1656 * DataView.cs: fixes GetListName
1658 2005-06-02 Atsushi Enomoto <atsushi@ximian.com>
1660 * XmlSchemaConstants.cs,
1661 XmlSchemaDataImporter.cs,
1662 XmlSchemaWriter.cs : AutoIncrementStep support. Patch partly by
1663 George Barbarosie. Fixed bug #75121.
1664 * XmlSchemaMapper.cs : it is not used anymore, so just removed.
1666 2005-05-31 Boris Kirzner <borisk@mainsoft.com>
1667 * DataRow.cs : SetParentRow on Detached row with no Default version throws an exception.
1669 2005-05-29 Konstantin Triger <kostat@mainsoft.com>
1671 * This patch fixes #74813
1672 * DataView.cs: rework the CreateChildView to receive the index into the indexed row array, rowState became protected to be initialized from RelatedDataView
1673 * DataRowView.cs: movo the logic of creating the child view to the DataView
1674 * RelatedDataView.cs: perform correct init.
1676 2005-05-25 Sureshkumar T <tsureshkumar@novell.com>
1678 * DataTable.cs: Reworked DataTable.LoadDataRow method after
1679 regressions caused by Index redesign.
1680 * DataRow.cs: Load : reworked.
1682 2005-05-25 Konstantin Triger <kostat@mainsoft.com>
1684 * ISafeDataRecord.cs: Added GetDateTimeSafe method, the interface was made derived from IDataRecord
1686 2005-05-22 Konstantin Triger <kostat@mainsoft.com>
1688 * 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
1690 2005-05-20 Sureshkumar T <tsureshkumar@novell.com>
1692 * DataTable.cs: CreateRecord :value should be set to auto
1693 increment value or default value if the given value is null.
1695 2005-05-16 Konstantin Triger <kostat@mainsoft.com>
1697 * DataTable.cs: In DataTable.LoadDataRow with LoadOption - reverting the search order back to Original -> Current (by Suresh request)
1699 2005-05-16 Konstantin Triger <kostat@mainsoft.com>
1701 * DataRow.cs, DataTable.cs: code under net_2_0 changed to use the new interface
1702 * DataTable.cs: Added CompareRecords, which compares records in column order
1705 2005-05-16 Sureshkumar T <tsureshkumar@novell.com>
1708 * DataTable.cs: quick fix to make build 2.0 profile (follow up for
1709 check in 2005-05-16). Merge with previous changes.
1711 2005-05-11 Sureshkumar T <tsureshkumar@novell.com>
1713 fix for "import row does not import deleted records"
1715 * UniqueConstraint.cs: Make a way to access value even from a
1716 deleted record. deleted records are added to the collection by
1720 - Added restriction-less methods GetValue to fetch a
1721 value even if it is in deleted state.
1722 - If a row is detached, don't try to delete it from indexes.
1723 - sanity check for record_index in CopyValuesToRow method
1725 2005-05-05 Sureshkumar T <tsureshkumar@novell.com>
1727 * DataTableReader.cs: Implemented Delete handler and move the
1728 current pointer accordingly.
1730 2005-05-04 Sureshkumar T <tsureshkumar@novell.com>
1732 * DataTableReader.cs: Added event handlers to make reader stable
1733 when the datasource is modified. Thanks to Umadevi for giving the
1734 review comments for this implementation.
1736 * DataTable.cs: Clear (): Raise TableCleared event.
1738 * DataTableClearEventArgs.cs: Args for DataTableClearEventHandler.
1740 * DataTableClearEventHandler.cs: Handler for DataTable.TableClear
1743 * DataRow.cs: AcceptChanges: raise row changing & row changed
1746 * DataRowCollection.cs: Clear : remove rows from indexes
1748 2005-05-02 Atsushi Enomoto <atsushi@ximian.com>
1750 * XmlSchemaDataImporter.cs : XmlSchemaParicle might be XmlSchemaAny.
1751 This fixes bug #74784.
1753 2005-04-29 Sureshkumar T <tsureshkumar@novell.com>
1755 * DataTableReader.cs: removed use of _first. throw if given index
1756 is out of range of columns. Copy DataTable [] to local array so
1757 that not to be disturbed.
1759 2005-04-27 Sureshkumar T <tsureshkumar@novell.com>
1761 * DataTableReader.cs: Implemented most of the TODO.
1763 2005-04-22 Sureshkumar T <tsureshkumar@novell.com>
1765 * LoadOption.cs: Changed the enums. Keeping old values for
1768 * DataTable.cs: Implemented methods Load and its overloads. Also
1769 implemented LoadDataRow.
1771 * DataRowCollection.cs: Added a variation of the Find method to
1772 return a row even if it is of state Deleted. This is required for
1773 DataTable.LoadDataRow method.
1775 * DataRow.cs: Implemented internal helper method Load for loading
1776 values from an object array and given an LoadOption (2.0 feature).
1778 * DataRowAction.cs: Added few more enums for .net 2.0. Sorted
1781 2005-05-16 Konstantin Triger <kostat@mainsoft.com>
1783 * UniqueConstraint.cs : IsNull check is relevant for rows having default row version.
1784 * DataTable.cs : The row should be validated when imported
1785 * DataRowCollection.cs : if the row does not contain Proposed neither Current version, it's irrelevant for validation
1787 2005-04-26 Boris Kirzner <borisk@mainsoft.com>
1789 * UniqueConstraint.cs :
1790 - Add indication whenever the constraint belongs to collection.
1791 - Calculation of IsPrimaryKey simplified.
1792 - If constraint is based on single column, the column becomes unique.
1793 - Use boolean IsConstraintViolated() instead of AssertConstraint().
1794 - Use Index.Duplicates to proper exception message formatting.
1795 - AssertConstraint(DataRow) changed to suite new indexes interface.
1796 - Added CanRemoveFromCollection method.
1797 - Contains() method renamed to IsColumnContained().
1798 * RelatedDataView.cs : added new class.
1800 - Reset indexes after merge.
1801 - Add new tables when row array is merged into dataset.
1802 - Clean proposed record in MergeRow.
1803 - Inherit nesting on creating new relations in target data set.
1804 - Avoid double loop on constraints collection.
1805 * Locale.cs : added new class.
1806 * ISafeDataRecord.cs : added new interface.
1807 * Index.cs : commented out. Index implementation moved to System.Data.Common.
1808 * ForeignKeyConstraint.cs :
1809 - No more use of childColumnsExtended since new indexes allow duplicate records.
1810 - Constraints can not be created on expression columns.
1811 - Removed unnecessary delegation.
1812 - Use boolean IsConstraintViolated() instead of AssertConstraint().
1813 - Use proper exception message formatting.
1814 - Contains() method renamed to IsColumnContained().
1815 * DataViewRowState.cs : use enum members to simplify notation.
1816 * MergeManager.cs : implemented RelationCollectionChanged().
1817 * DataView.cs : new implementation.
1818 * DataTableCollection.cs :
1819 - Added boundary check in indexer.
1820 - More accurate handling in AddRange().
1821 - Raise event in Remove().
1823 - Hold primary key as constraint.
1824 - Added accurate handling of DefaultView.
1825 - Hold DataRowBuilder per table.
1826 - Proper exception messages if enforce Constraints is violated.
1827 - If there is no rows, Compute() returns DBNull.
1828 - Use DataRow properties instead of private members.
1829 - CopyProperties() fixed.
1830 - Raise proper events in EndInit().
1831 - Proper order of violation checks in EndLoadData().
1832 - Create array of rows using NewRowArray().
1833 - ImportRow handles rows according to their versions.
1834 - LoadDataRow make use of records (instead of raw object array).
1835 - Added and implemented LoadDataRow() that gets IDataRecord as a parameter (used in Fill)
1836 - Select() uses indexes filtering and sorting ability (instead of "loop-throw-sort" approach).
1837 - Removed redundant RowSorter and Sortable column classes.
1838 - ParseSortString() fixed to threat bracketed column names.
1839 - Table holds collection of property descriptors.
1841 - Reset table case sensitive indexes on CaseSensitive change.
1842 - EnforceConstraints update logic moved to internal method (used by DataTable).
1843 - InAddChangedRow first add row and than copy values for proper handling of default values.
1845 - Changed private member names to suite name convention.
1846 - CancelEdit() fixed.
1847 - CreateChildView() delegates to DataView.
1849 - Proper exception messages in indexers.
1850 - RowVersion uses DataView.
1851 - GetProperties() delegates to corresponding table if needed.
1852 * DataRowCollection.cs :
1853 - Common Add() logic moved to AddInternal() (used also by DataTable).
1854 - Removed redundant check from Contains().
1855 - Dalegate Find() calls when possible.
1857 - RomoveAt() delegates to Remove().
1858 - Optimized constraints check in row validation.
1859 * DataRelationPropertyDescriptor.cs : added new class.
1860 * DataRelationCollection.cs :
1862 - Fixed order of actions in AddCore().
1863 - RemoveCore() also delegates to base.
1864 - Add relation to dataset also in AddCore().
1865 - Remove relation from dataset also in RemoveCore().
1866 - InTransition hold a data relation so we can properly identify the "in transition" state.
1867 - Added threat of parent and child table s property descriptors in Add().
1868 - Common Add() logic moved to AddCore().
1870 - Remove() threats "in transition" state properly.
1871 - Remove methods delegate to single implementation.
1872 * DataColumnPropertyDescriptior.cs :
1873 - Added new constructor.
1874 - Commented out redundant method.
1875 * DataColumnCollection.cs :
1876 - Boundary check in indexer.
1877 - RegisterName and UnregisterName become internal (used also by DataColumn).
1879 - Fixed CanRemove().
1880 - Rethrow correct exception in Clear();
1881 - Change in collection resets parent table property descriptors.
1882 - Added PostEndEdit() helper method (used by DataTable).
1884 - Private member names changed to suite name convention.
1885 - Created method for CanAutoIncrement() logic.
1886 - Proper handling of column name update.
1887 - Proper exception messages on expression update.
1888 - Proper namespace handling (delegates to table when needed).
1889 - Removed redundant check in Unique update.
1890 - Implemented internal Clone().
1891 - GetParentRalation() and GetChildRelation() become private.
1893 - Added abstract methods (implemented in UniqueConstraint and ForeignKeyConstraint).
1894 - Simplified index update.
1895 * ConstraintCollection.cs :
1896 - Use Locale instead of CaseSensitive in column names comparison.
1898 - Rethrow correct exception type in Add().
1899 - Proper update of table primary key in Add().
1900 - Delegate CanRemove() to constraint.
1901 - Remove table primary key in Clear();
1902 - Delegate "can remove" check to constraint in Remove().
1903 - Removed unnecessary methods and properties.
1905 - RowSate becomes calculated property.
1906 - Use properties instead of private members where possible.
1908 - Fixed order of actions in ItemArray update.
1909 - Fixed DetachRow().
1910 - Added ImportRecord() method.
1911 - Removed redundant SetValuesFromDataRecord().
1912 - Fixed IndexFromVersion().
1913 - Added VersionFromIndex() method. Returns row version the passed record index corresponds to.
1914 - Fixed AcceptChanges().
1915 - Fixed creating proposed version in BeginEdit();
1916 - Added record disposal in Delete().
1917 - Fixed CheckChildRows().
1918 - EndEdit() fixed. Checks for readonly. Uses straight flow instead of "try and fix if fail" approach.
1919 - GetChildRows() and GetPrarentRows() rewrited. Use records and indexes for rows lookup.
1920 - GetColumnError() delegates to another implementation.
1921 - HasVersion() fixed.
1922 - RejectCahnges checks on child rows before passing through.
1923 - SetParentRow() fixed. Create relation collection if needed. Use typed data container value copy.
1924 - CopyErrors() logic moved to separate method (used also by DataTable).
1925 * ExpressionElement.cs : added new class.
1926 * Res.cs : added new class.
1928 2005-04-20 Jordi Mas i Hernandez <jordi@ximian.com>
1930 * DataViewManager.cs: implements TypedList.GetListName used in SWF
1932 2005-04-19 Atsushi Enomoto <atsushi@ximian.com>
1934 * DataRowView.cs : indexer should access to DataRow with proper
1935 DataRowVersion. Fixed bug #74650.
1937 2005-04-18 Sureshkumar T <tsureshkumar@novell.com>
1939 * DataRow.cs: if there are no mapping fields, fill with default
1942 2005-04-17 Atsushi Enomoto <atsushi@ximian.com>
1944 * DataView.cs : Delete() should not try to remove row twice.
1947 2005-04-13 Atsushi Enomoto <atsushi@ximian.com>
1949 * DataTable.cs : Use GetRowType() for the base of the returning array
1950 type of Select(). Fix by Gerhard Rittweger.
1951 * CustomDataClassGenerator.cs : Fixed slightly harmless wrong code.
1953 2005-04-13 Atsushi Enomoto <atsushi@ximian.com>
1955 * CustomDataClassGenerator.cs : custom relation was not added to
1956 Relations property. The second entry of bug #69276 was fixed.
1957 Patch by Daniel Rodriguez.
1959 2005-04-07 Lluis Sanchez Gual <lluis@novell.com>
1961 * DataRowCollection.cs: Fix the signature of the Add method
1964 2005-03-16 Atsushi Enomoto <atsushi@ximian.com>
1966 * DataRow.cs : on importing row, it was copying data from incorrect
1967 DataRow. This fixes bug #73288.
1969 2005-03-07 Jackson Harper <jackson@ximian.com>
1971 * DataViewManagerListItemTypeDescriptor.cs: Implement missing
1972 features. These are needed for System.Windows.Forms databinding.
1974 2005-02-25 Atsushi Enomoto <atsushi@ximian.com>
1976 * DataColumn.cs : setting negative value on MaxLength of SimpleContent
1977 column is still valid.
1979 2005-02-15 Atsushi Enomoto <atsushi@ximian.com>
1981 * XmlSchemaWriter.cs : new file for outputting XmlSchema.
1982 * DataSet.cs : removed rewritten code in XmlSchemaWriter.
1983 * XmlConstants.cs : added UseCurrentCulture constant.
1985 Use new Xml Schema writer.
1986 Use XmlSchemaDataImporter as we use in DataSet.
1988 2005-02-10 Atsushi Enomoto <atsushi@ximian.com>
1990 * DataView.cs, DataRowView.cs : Fixed bug #72421. CreateChildView()
1991 should target only child rows.
1993 2005-02-03 Atsushi Enomoto <atsushi@ximian.com>
1995 * DataViewManager.cs: misuse of ReadStartElement(string).
1996 * DataRowView.cs : removed some MonoTODO.
1998 2005-02-02 Sureshkumar T <tsureshkumar@novell.com>
1999 Ankit Jain <radical@corewars.org>
2001 * DataColumn.cs: throw exception if the column is part of a
2002 relationship, when chaning the data type. Added methods
2003 "GetParentRelation ()" and "GetChildRelation ()" get the relation
2004 which contains the current column
2005 * DataRelation.cs: Added method "Contains (DataColumn)" to check
2006 whether the relation contains the given column.
2008 fixes nunit failure: DataRelationTest.InvalidConstraintException2.
2010 2005-02-02 Sureshkumar T <tsureshkumar@novell.com>
2012 * DataColumnCollection.cs: implemented todo item "check for
2013 constraints" when removing columns from table.
2014 * DataRowCollection.cs: Clear (): don't have to throw child key
2015 constraint exception when the child table does not have any
2016 rows. safe to remove parent rows.
2017 * UniqueConstraint.cs: added method "Contains (DataColumn)" to
2018 check whether a column is part of UniqueConstraint.
2019 * ForeignKeyConstraint.cs: added method "Contains (DataColumn,
2020 lookInParent)" to check whether a column is part of foreignkey.
2022 fixes nunit failure: DataTableTest.ClearTest ()
2024 2005-02-02 Sureshkumar T <tsureshkumar@novell.com>
2026 * ForeignKeyConstraint.cs: validating columns: move checking
2027 "tables are of same dataset" before "checking column types".
2029 fixes nunit failure: ForeignKeyConstraint.CtorExceptions.
2031 2005-02-02 Atsushi Enomoto <atsushi@ximian.com>
2033 * DataViewManager.cs : let's just use StringWriter instead of
2034 XmlTextWriter (to avoid empty tag string mismatch annoyance.)
2035 * DataView.cs : implemented BeginInit() and EndInit(). Don't update
2036 rows during init phase until EndInit() is invoked. During init phase,
2037 just hold properties such as Sort that affects on rows.
2039 2005-02-02 Atsushi Enomoto <atsushi@ximian.com>
2041 * DataTableCollection.cs : (RemoveAt) just use IndexOutOfRangeException.
2043 2005-02-02 Atsushi Enomoto <atsushi@ximian.com>
2045 * DataView.cs : DataRowView.EndEdit() raises ItemMoved event.
2046 set_Table clears Sort and RowFilter.
2048 2005-02-02 Atsushi Enomoto <atsushi@ximian.com>
2051 - Clear() should clear AddNew cache.
2052 - Open() invokes Reset().
2053 - ConstraintCollectionChanged() itself does not invoke OnListChanged().
2054 - Reset() does not Open, Close and Update Index.
2055 - UpdateIndex() can be invoked even if it has no table.
2056 - Reset event is invoked always after actual query to table.
2057 - set_Table should raise PropertyDescriptorChanged event.
2059 2005-02-02 Atsushi Enomoto <atsushi@ximian.com>
2061 * DataView.cs : ColumnCollectionChanged() is the event invoker (i.e.
2062 when overriden, no column change events are fired).
2064 2005-02-02 Atsushi Enomoto <atsushi@ximian.com>
2066 * DataView.cs : CancelEditRowView() and DeleteRowView() was incorrectly
2067 checking target tables. They also should raise events if required.
2069 2005-02-02 Atsushi Enomoto <atsushi@ximian.com>
2071 * DataView.cs : simplify code with UnsortedList.
2073 2005-02-01 Atsushi Enomoto <atsushi@ximian.com>
2075 * DataView.cs : Mostly reimplemented.
2076 - UpdateIndex() is invoked only when it is required (results in
2077 significant performance improvement).
2078 - Use SortedList and wrapper OptionalSortedList which switches
2079 between SortedList (with Sort) and UnsortedList (without Sort).
2080 - DataView itself now contains two collections for rowviews:
2081 Table rows based pool and AddNew() based cache. Consider those
2082 two collections in every members.
2083 - Reset() does not clear rows. Just invokes UpdateIndex().
2084 - Hook RowDeleting, ColumnChanging and ColumnChanged events in table
2085 which is required to handle state changes.
2086 - Reimplemented Find() and FindRows() because of internal changes.
2088 2005-02-01 Atsushi Enomoto <atsushi@ximian.com>
2090 * DataTable.cs : Fixed row comparer. Even if every of the sort target
2091 columns are identical for two rows, they should not be regarded as
2092 the same unless they are Object.ReferenceEquals.
2094 2005-02-01 Atsushi Enomoto <atsushi@ximian.com>
2096 * DataRowCollection.cs : on adding a row, should raise
2097 ChangingDataRow() as well as ChangedDataRow().
2099 2005-01-31 Sureshkumar T <tsureshkumar@novell.com>
2101 * DataRow.cs: SetParentRow (): use relation.ParentColumns &
2102 relation.ChildColumns instead of relation.ChildKeyConstraint.*
2103 because createConstrains flag may be false when creating data
2104 relations. Hack along with Ankit Jain.
2106 2005-01-31 Atsushi Enomoto <atsushi@ximian.com>
2108 * DataView.cs :some interface implementations.
2110 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
2112 * DataView.cs : Add to table only when the row is not in the table.
2114 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
2116 * DataView.cs : implemented FindRows() (btw we should not use
2117 DataTable since there are detached rows by AddNew().)
2119 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
2122 Code cleanup: privatify some members, remove unused methods.
2123 Some event-based invocation methods should not raise NotImplemented.
2125 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
2127 * DataSet.cs : ReadXml() became closer to MS behavior, being hacky.
2129 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
2131 * XmlSchemaDataImporter.cs : empty element is not regarded as a column.
2133 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
2135 * UniqueConstraint.cs : mostly reverted the previous patch + check
2136 IsPrimaryKey before validation.
2138 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
2140 * DataView.cs : Fixed duplicate insertion to Hashtable.
2141 * UniqueConstraint.cs : Unique constrained pair of columns could be
2144 2005-01-27 Atsushi Enomoto <atsushi@ximian.com>
2147 Don't do anything for Sort/ApplyDefaultSort/RowFilter/RowStateFilter
2148 when the same value is being set.
2149 Examined UpdateIndex() and marked FIXME where MS does not invoke it.
2150 Removed unused OnColumnChanged().
2151 Now store rowViewPool and reuse DataRowView objects.
2152 Optimized UpdateIndex() - avoid ArrayList. Avoid Haashtable.Rehash().
2154 2005-01-27 Atsushi Enomoto <atsushi@ximian.com>
2156 * DataViewSettings.cs : no MonoTODO anymore.
2157 * DataViewManager.cs : pass itself to new DataView() (new ctor).
2158 * DataRowView.cs : GetHashCode() returns its Row's hash.
2159 * DataTablePropertyDescriptor.cs : use new ctor().
2160 * DataView.cs : added new ctor()s that accept DataViewManager.
2162 2005-01-27 Atsushi Enomoto <atsushi@ximian.com>
2164 * DataView.cs, DataRowView.cs : AddNew() should not add the row to table
2165 (it is still detached). So handle those rows differntly.
2166 CancelEdit(), EndEdit() and Delete() propagates those events to
2167 DataView (and handle row collection).
2168 Eliminate "throw new Exception()".
2169 Don't catch all the exception thrown in ListChanged event.
2170 * DataTable.cs : made RowSorter as internal and use it in DataView.
2171 no need to pass DataRow[] to .ctor().
2173 2005-01-27 Atsushi Enomoto <atsushi@ximian.com>
2175 * DataTable.cs : don't create DefaultView unless it is required. It
2176 significantly improves performance. (i.e. DataView perf. is sick ;-)
2178 2005-01-27 Atsushi Enomoto <atsushi@ximian.com>
2180 * DataViewSetting.cs,
2181 DataViewSettingCollection.cs,
2182 DataViewManager.cs : implemented basic members.
2184 2005-01-26 Atsushi Enomoto <atsushi@ximian.com>
2186 * Node.cs, DataColumnPropertyDescriptor.cs, DataTable.cs :
2187 Eliminate "throw new Exception".
2189 2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
2191 * DataRow.cs : (set_Item) RowNotInTableExeption check should be done
2192 regardless of index existence.
2194 2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
2196 * DataTable.cs : use new IExpression.EvalBoolean() to avoid extraneous
2199 2005-01-25 Sureshkumar T <tsureshkumar@novell.com>
2201 * DataTable.cs: ImportRow :Do not add to rows collection if the
2202 import row is in detached state.
2204 2005-01-25 Sureshkumar T <tsureshkumar@novell.com>
2206 * DataRow.cs: CopyValuesToRow : set the column value with the
2207 default version of the given row.
2208 * DataTable.cs: ImportRow: Copy values before adding row.
2209 * DataSet.cs: AddChangedRow: Add the row to the table after
2212 Fixes bug #67317. Patch by Ankit Jain.
2214 2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
2216 * DataRowView.cs : Fixed IsEdit to reflect correct status of DataRow.
2217 * DataRow.cs : Expose editing status internally.
2219 2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
2221 * DataView.cs : missing attributes.
2223 2005-01-24 Atsushi Enomoto <atsushi@ximian.com>
2225 * DataRowView.cs : implemented CreateChildView().
2227 2005-01-24 Atsushi Enomoto <atsushi@ximian.com>
2229 * DataTable.cs, DataView.cs :
2230 Optimized DataView to compile only once RowFilter and Sort when
2231 those properties are set. To make it possible, extracted
2232 SortableColumn out of DataTable and added internal DataTable.Select()
2233 that accepts precompiled IExpression and SortableColumns[].
2235 2005-01-24 Atsushi Enomoto <atsushi@ximian.com>
2237 * DataColumn.cs : set_MaxLength is not allowed when it is mapped to
2238 SimpleContent. (However, it is weird but it never fails when we set
2239 ColumnMapping = MappingType.SimpleContent when we fhave MaxLength.)
2241 2005-01-21 Atsushi Enomoto <atsushi@ximian.com>
2243 * DataRow.cs : more Current -> Default fixes. Check if it should throw
2244 VersionNotFoundException. Patch by Ankit Jain.
2246 2005-01-21 Atsushi Enomoto <atsushi@ximian.com>
2248 * DataRow.cs : Default selects the right version for the current
2249 state of the row. Current is not always available. Also change
2250 that for GetParentRow(). Patch by Ankit Jain.
2252 2005-01-21 Atsushi Enomoto <atsushi@ximian.com>
2254 * DataTable.cs : CopyColumn() should copy AutoIncrement after
2255 DefaultValue, or it will raise an error in some cases.
2257 2005-01-20 Atsushi Enomoto <atsushi@ximian.com>
2259 * ConstraintCollection.cs : Add() should throw ArgumentException when
2260 the argument constraint fails validation.
2261 DataTable.cs : set_PrimaryKey should throw ArgumentException when
2262 the argument contains constraints which fail validation.
2264 2005-01-19 Sureshkumar T <tsureshkumar@novell.com>
2266 * DataRelationCollection.cs:
2268 Method Remove : Donot throw exception if DataRelation argument is
2269 null in DataRelationCollection.Remove method.
2271 Method RemoveAt : Exception should be IndexOutOfRangeException if
2272 row index is not in list range.
2274 Fixes nunit failures DataRelationCollection.Remove and
2275 DataRelationCollection.RemoveAt.
2277 2005-01-19 Sureshkumar T <tsureshkumar@novell.com>
2279 * ConstraintCollection.cs: Donot throw exception if constraints
2280 are null in AddRange method. Check for null before using the
2285 2004-01-19 Atsushi Enomoto <atsushi@ximian.com>
2287 * XmlDataInferenceLoader.cs,
2288 XmlDataReader.cs : Check if the XmlReader (node) represents DataSet
2289 or a table, reusing code block in XmlDataInferenceLoader.
2290 This fixes bug #60118.
2292 2004-01-19 Atsushi Enomoto <atsushi@ximian.com>
2294 * XmlDiffLoader.cs : Ankit Jain <radical@imt.ac.in> has a conflicting
2295 patches and some good catches. Some attributes should be skipped,
2296 and loaded value must be typed.
2298 2004-01-19 Atsushi Enomoto <atsushi@ximian.com>
2301 XmlDataInferenceLoader.cs,
2302 XmlDataReader.cs : use common const for http://www.w3.org/2000/xmlns/.
2303 * XmlDiffLoader.cs : It was not handling attributes. Fixed bug #70961.
2305 2005-01-18 Sureshkumar T <tsureshkumar@novell.com>
2307 Fix for bug #66838. This patch is submitted by "Ankit Jain"
2308 <radical@corewars.org> and refactored.
2310 * DataRow.cs: Allows to set a parent row even if the row is in
2313 * DataRelation.cs: method "UpdateConstraints" is added to check
2314 and create missing keys when adding a relation. This is refactored
2315 approach from DataRelationCollection.Add method.
2317 * DataRelationCollection.cs: AddCore methods of all relation types
2318 are synchronized. A Check for existing constraints is
2319 done. Relation is added to the list only if all checks are passed.
2321 2004-01-18 Atsushi Enomoto <atsushi@ximian.com>
2323 * DataColumnCollection.cs : Clear() throws ArgumentException that
2324 wraps thrown innerException.
2325 * XmlSchemaDataImporter.cs : removed FIXMEs.
2327 2004-01-12 Atsushi Enomoto <atsushi@ximian.com>
2329 * DataSet.cs : When serializing DataTable, BuildSchema() is passed
2330 null relation collections.
2331 Quick fix for XmlSerializer deserialization. It does not require
2332 XML Schema included.
2334 2004-01-11 Atsushi Enomoto <atsushi@ximian.com>
2337 CustomDataClassGenerator.cs :
2338 In DataSet class, IXmlSerializable.GetSchema() returns null.
2339 In strongly-typed class, it returns schema.
2341 2004-01-07 Atsushi Enomoto <atsushi@ximian.com>
2343 * XmlDataInferenceLoader.cs : test driver class should be excluded.
2345 2004-12-01 Miguel de Icaza <miguel@ximian.com>
2347 * DataView.cs: Patch from Marc Haisenko that ensures that rowCache
2350 2004-11-10 Atsushi Enomoto <atsushi@ximian.com>
2352 * CustomDataClassGenerator.cs : generated foreign key constraint
2353 construction code was creating empty child columns and thus it
2354 was invalid. This fixes bug #69276 (patch by Martin Voelkle).
2356 2004-11-02 Atsushi Enomoto <atsushi@ximian.com>
2358 * CustomDataClassGenerator.cs : custom DataTable ctor should call
2359 InitializeFields(), and those DataColumns created by that method
2360 should take data type. This should fix bug #68972.
2362 2004-10-15 Atsushi Enomoto <atsushi@ximian.com>
2364 * DataSet.cs : Also clear UnhandledAttributes ArrayList before
2365 generating next attribute column schema. This fixes bug #68432.
2367 2004-10-14 Umadevi S <sumadevi@novell.com>
2368 * DataTable.cs : Corrected the Clone method to use Activator.CreateInstance so that the
2369 correct subclass is returned. This fixes bug #67631
2371 2004-10-14 Umadevi S <sumadevi@novell.com>
2372 * DataSet.cs : Corrected the Clone method to use Activator.CreateInstance so that the
2373 correct subclass is returned. This fixes bug #67627
2375 2004-10-13 Atsushi Enomoto <atsushi@ximian.com>
2377 * DataSet.cs : clear UnhandledAttributes ArrayList before generating
2378 next element column schema. This fixes bug #68256.
2380 2004-10-12 Atsushi Enomoto <atsushi@ximian.com>
2382 * DataSet.cs : now xs:schema contains xmlns="".
2383 This fixes bug #68008.
2385 2004-10-12 Atsushi Enomoto <atsushi@ximian.com>
2387 * DataSet.cs : DBNull attribute column should not be written as
2388 empty attribute. This fixes bug #68007.
2390 2004-10-12 Atsushi Enomoto <atsushi@ximian.com>
2392 * DataSet.cs, XmlConstant.cs, XmlSchemaDataImporter.cs:
2393 DataColumn.ReadOnly was not handled. This fixes bug #68005.
2394 Attribute defaultValue was not handled too.
2396 2004-10-07 Atsushi Enomoto <atsushi@ximian.com>
2399 - When AllowDBNull is false on attribute DataColumn, its schema
2400 should contain use="required". This fixes bug #66792.
2401 - If MaxLength is set on attribute DataColumn, the mapped schema
2402 type should contain maxLength facet. This fixes bug #66793.
2404 2004-10-04 Atsushi Enomoto <atsushi@ximian.com>
2406 * DataSet.cs : For a row, when a relation is not nested, then it is
2407 still output target since it won't be written as a child of its
2408 parent. It fixes bug #66379.
2410 2004-10-03 Atsushi Enomoto <atsushi@ximian.com>
2412 * DataSet.cs : Attribute constraint field XPath must be written as
2413 @blah. This fixes bug #66366.
2415 2004-09-28 Umadevi S <sumadevi@novell.com>
2416 * DataRow.cs - checked for Enforceconstraints, while using indices to search for related rows
2418 2004-09-24 Sureshkumar T <tsureshkumar@novell.com>
2420 * DataSet.cs : Don't check constraints for dataset clear
2421 * DataRowCollection.cs : check for EnforceConstraints flag
2422 before checking foriegn key constraints in Clear method
2423 * DataTable.cs : Redundant checking removed in Clear method as it is
2424 checked in DataRowCollection.Clear method.
2427 2004-09-19 Sureshkumar T <tsureshkumar@novell.com>
2428 * DataRow.cs : while deserialization of dataset, adding a current row precedes the original row.
2429 hence, adding a row cache is necessary if the original row happens to be current.
2432 2004-08-23 Martin Baulig <martin@ximian.com>
2434 * XmlDataInferenceLoader.cs (Driver): Make this class internal,
2437 2004-08-18 Umadevi S <sumadevi@novell.com>
2438 * DataView.cs - Completed most of the event handling.
2439 Thanks to Punit Todi <punit_todi@da-iict.org> for implementing most of it.
2440 Thanks to Boris Kirzner <borisk@mainsoft.com> for commenting and suggesting changes to the implementation.
2441 * DataTable.cs - Changed Access modifiers of class/methods since it was used by DataView.
2443 2004-08-06 Atsushi Enomoto <atsushi@ximian.com>
2445 * DataSet.cs : DataSet's ExtendedProperties were not XmlConverted.
2447 2004-08-05 Atsushi Enomoto <atsushi@ximian.com>
2449 * XmlConstants.cs : Added constants for "msprop" support.
2450 * DataSet.cs : ExtendedProperties should be written in the schema.
2451 This fixes bug #61233.
2453 2004-07-27 Atsushi Enomoto <atsushi@ximian.com>
2455 * DataSet.cs : on serialization to XmlWriter, XmlConvert should be
2456 used. There were also some culture dependency problems to write int.
2458 2004-06-27 Atsushi Enomoto <atsushi@ximian.com>
2460 * XmlDataInferenceLoader.cs : It was not always filling relation
2461 child table information correctly. This fixes bug #60742.
2463 2004-06-23 Umadevi S <sumadevi@novell.com>
2464 * UniqueConstraint.cs :changed a ifdef true to ifdef NET_1_1
2466 2004-06-22 Atsushi Enomoto <atsushi@ximian.com>
2468 * DataSet.cs : Fixed ReadXml(). When ReadMode is ReadSchema and the
2469 schema is inside the document element (as created in XmlWriteMode
2470 .WriteSchema), it should read schema from that non-document element.
2471 This fixes one case reported in bug #60470.
2473 2004-06-20 Atsushi Enomoto <atsushi@ximian.com>
2475 * XmlDataInferenceLoader.cs : Kindly reject xml schema document as a
2476 inference target. For bug #60470. (MS does not support schema
2477 document inference and results in unconsistent dataset structure.)
2479 2004-06-20 Atsushi Enomoto <atsushi@ximian.com>
2481 * DataTableCollection.cs : reset the table's DataSet to null when
2482 removing a table from this collection.
2483 * DataTable.cs : When Namespace is not specified explicitly, its
2484 Namespace property reflects DataSet's Namespace if exist.
2485 This fixes bug #60469.
2487 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
2489 * DBConcurrentcyException.cs: CRLF to LF
2490 * DataViewSetting.cs: CRLF to LF
2492 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
2494 * DataViewSetting.cs: renamed fields to match MS.NET
2496 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
2498 * DBConcurrencyException.cs: fixed serialization compatibility with
2501 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
2503 * ChangeLog : Fix for misspelled words.
2505 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
2507 * DataRowCollection.cs : Removed onColumnRemoved since it is not in use.
2509 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
2512 - Table stores default values for columns in special default values row.
2513 It is allocated once (in NewRow).
2514 - DataTable.Copy rewrited. It works with uninitialized rows for better perfomance.
2515 - OnRemoveColumn has nothing to perform by now.
2517 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
2520 - Changed access of original, current and proposed indexes to internal.
2521 - ColumnErrors reviewed : now column errors stored in ArrayList and allocated on demand only.
2522 - Added new DataRow constructor that creates uninitialized DataRow (used in DataTable.Copy).
2523 - Use DataContainer.CopyValue and default values row for faster set of default values in row.
2524 - SetColumnValue become CheckValue. Now it does not changes the value, but only checks for its correctness.
2525 Care about Null and DBNull values is now in DataContainer.
2526 - Use DataColumn.AutoIncrementValue and GetInt64 for faster set of autoincrement value.
2527 - Use Datacontainer.CopyValue and default values row to speed up CheckChildRows.
2528 - Fix in CopyState : clone column errors.
2529 - Removed CollectionChanged and onColumnRemoved since we are not using both of them anymore.
2531 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
2533 * DataColumnCollection.cs :
2534 - Fix : Add() now delegates to Add(DataColumn).
2535 - autoIncrement list holds DataColumn objects, and not just column names.
2537 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
2540 - AutoIncrementValue fixes. Now AutoIncrement uses DataContainer.GetInt64 to avoid boxing.
2541 - DefaultValue fixes. Default value from now on is also stored in special record in
2542 DataTable, so we're able to set default value for the column faster (typed).
2545 2004-06-15 Atsushi Enomoto <atsushi@ximian.com>
2547 * DataSet.cs : children of non-root rows were not properly written.
2550 2004-06-10 Umadevi S <sumadevi@novell.com>
2551 * DataRelation.cs - Constructor
2552 - The datatypes of the parentcolumn(s) and the childcolumn(s) should match
2554 2004-06-06 Atsushi Enomoto <atsushi@ximian.com>
2556 * XmlSchemaDataImporter.cs : We should fill Namespace for DataTable.
2558 2004-06-04 Gert Driesen <drieseng@users.sourceforge.net>
2560 * Constraint.cs: marked methods internal to fix public API
2561 * ConstraintCollection.cs: to fix public API, use
2562 DataTable.fInitInProgress to check whether initialization
2563 of DataTable is in progress
2564 * DataColumn.cs: added stubs for missing methods
2565 * DataRowBuilder.cs: marked Table property internal to
2567 * DataSet.cs: removed extra empty destructor, marked
2568 OnMergeFailed internal to fix public API
2569 * DataTable.cs: use fInitInProgress field to hold init
2570 status, to match MS.NET
2571 * DataView.cs: added missing attributes on IsOpen
2573 2004-06-03 Atsushi Enomoto <atsushi@ximian.com>
2575 * DataSet.cs : Use NameTable.Get() before calling LookupNamespace()
2576 in XmlNamespaceManager.
2578 2004-06-03 Atsushi Enomoto <atsushi@ximian.com>
2580 * DataSet.cs : complex table content child was not properly added
2581 when it is the only one child in the parent table. Fixed bug #53959.
2583 2004-06-02 Gert Driesen <drieseng@users.sourceforge.net>
2584 * DataTableTypeConverter.cs: added
2585 * DataView.cs: added missing attribute on Table property
2586 * DataViewManager.cs: moved attribute to correct property
2587 * UniqueConstraint.cs: removed extra ReadOnly attribute from
2588 IsPrimaryKey property
2590 2004-06-01 Atsushi Enomoto <atsushi@ximian.com>
2592 * DataRow.cs : ColumnsChanged event is not required in .ctor().
2594 2004-06-01 Atsushi Enomoto <atsushi@ximian.com>
2596 * XmlDataReader.cs : type change is required before setting value
2599 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
2601 * DataSet.cs : Loop-break of the last fix was incorrect.
2603 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
2605 * DataSet.cs : When a row has no parent row but the table has parent
2606 relation(s), that row had been always ignored.
2608 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
2610 * XmlDataInferenceLoader.cs : Fixed GetMappedTable() that incorrectly
2611 rejected same-named tables in different hierarchy. Thanks to Boris.
2613 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
2615 * XmlDiffLoader.cs : Added some Skip() that is required not to go to
2616 infinite loop. Thanks to Boris for this fix.
2618 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
2620 * XmlDataInferenceLoader.cs : XmlSchema elements should not be infered.
2621 Thanks to Boris for this fix.
2623 2004-05-30 Atsushi Enomoto <atsushi@ximian.com>
2625 * DataTable.cs : serialization .ctor() should use XmlReadMode.DiffGram
2626 for ReadXml(). Thanks to Boris.
2628 2004-05-27 Boris Kirzner <borisk@mainsoft.com>
2630 - CheckReadOnlyStatus : use typed (and faster comparing).
2631 - EndEdit : bug fix - do not dispose record if it holds original version.
2632 - SetValuesFromDataRecord : Take care about autoincrement columns.
2635 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
2637 * MergeManager.cs : don't output debug message to Console.
2639 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
2641 * XmlDataInferenceLoader.cs : Namespace are not imported to the table
2642 structure. Thanks to Boris Kirzner for the fix.
2644 2004-05-27 Umadevi S <sumadevi@novell.com>
2645 * DataRelationCollection.cs - fixed nunit test errors
2647 2004-05-27 Umadevi S <sumadevi@novell.com>
2648 * DataTableCollection.cs - fixed nunit test errors
2650 2004-05-21 Atsushi Enomoto <atsushi@ximian.com>
2652 * DataColumnCollection.cs : NullReferenceException was thrown when
2653 the table was not found.
2654 * DataRowCollection.cs :
2655 Find() just returns null for null value under MS.NET 1.1.
2656 RemoveAt() should also avoid to call AcceptChanges() like Remove().
2657 * UniqueConstraint.cs : in AssertConstraint() throw ConstraintException
2658 directly under MS.NET (for nunit test).
2660 2004-05-21 Atsushi Enomoto <atsushi@ximian.com>
2662 * XmlSchemaDataImporter.cs : Setting startindex in LastIndexOf()
2663 caused problem on qualified name to get schema Field name.
2665 2004-05-21 Atsushi Enomoto <atsushi@ximian.com>
2667 * XmlDataReader.cs : Now data reader is namespace aware in all places.
2668 When table's namespace is different, it entered to infinite loop.
2670 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
2671 * MergeManager.cs : AdjustSchema now updates by reference new created table,
2672 so in Merge you do not need to lookup for it (were unable to do this for unnamed tables).
2675 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
2677 * DataColumn.cs : In set_Item[int] - if autoincrement, adjust next autoincrement value.
2678 * DataColumnCollection.cs : fixed parantethes.
2680 - AcceptChanges : do nothing if row state is unchanged.
2681 - GetChildRows, GetParentRows : bug fix (use correct index).
2682 * DataRowCollection.cs : bug fix (compare all row's values).
2683 * DataTable.cs : bug fix (use correct row version).
2685 2004-05-20 Atsushi Enomoto <atsushi@ximian.com>
2687 * XmlSchemaDataImporter.cs : xs:positiveInteger is mapped to ulong.
2688 When content type is Mixed, text column is not required (it is
2689 required only when the complex type has no particle).
2690 "Repeated element" column is also created (considering maxOccurs=0
2691 and complex content extension).
2693 2004-05-20 Atsushi Enomoto <atsushi@ximian.com>
2695 * XmlSchemaDataImporter.cs : XmlSchemaGroupBase was not handled
2698 2004-05-20 Atsushi Enomoto <atsushi@ximian.com>
2700 * XmlSchemaDataImporter.cs : Removed unused code and extra MonoTODO.
2701 Fixed relation inference to consider attribute XPath.
2703 2004-05-19 Atsushi Enomoto <atsushi@ximian.com>
2705 * DataColumn.cs : Fixed set_Item[int]. Convert.ToInt64(DBNull.Value)
2708 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
2710 * DataColumn.cs - removed default member attribute.
2712 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
2715 DataColumnChangeEventArgs.cs,
2716 DataColumnCollection.cs,
2718 DataRowCollection.cs,
2720 Index.cs : Data storage in the row is redesigned. Now data is stored in
2721 typed containers inside DataColumn. Row holds its versions as indexes inside
2722 each of data container, accessed through the row that holds it.
2724 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
2726 * UniqueConstraint.cs - added comment.
2728 2004-05-19 Atsushi Enomoto <atsushi@ximian.com>
2730 * XmlDataInferenceLoader.cs : Don't add already-existing DataTable to
2733 2004-05-17 Atsushi Enomoto <atsushi@ximian.com>
2736 XmlDataInferenceLoader.cs,
2738 XmlSchemaDataImporter.cs : XmlDecode every local name to read and
2739 XmlEncode every local name to write. This should fix bug #58268.
2741 2004-05-17 Atsushi Enomoto <atsushi@ximian.com>
2743 * DataSet.cs : Implemented ignored namespaces in InferXmlSchema().
2744 Supported repeated elements. Removed MonoTODOs.
2745 * XmlDataInferenceLoader.cs : Design change to support ignored
2746 namespace and repeated elements.
2747 * XmlSchemaDataImporter.cs : Added mapping support classes.
2749 2004-05-15 Atsushi Enomoto <atsushi@ximian.com>
2751 * CustomDataClassGenerator.cs :
2752 Added property parent "[foo]Row" and children "Get[foo]Row" support
2753 for custom DataRow classes.
2754 Fixed DataColumn property accessibility (public --> internal).
2756 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
2758 * CustomDataClassGenerator.cs :
2759 - Put classes inside custom DataSet class.
2760 - Added automatic DataRelation creation support.
2761 - Added Constraints creation support. That is done separate from
2762 relations, since they might be independently created.
2763 - Added non-MS public DataRelation fields.
2764 - Removed extraneous "DataRelation type generation" code.
2765 - Fixed custom_dataset.Initialize() not to create "c" field that
2766 was created more than once.
2767 - Implemented AddxxxRow() that takes parameters for every column.
2769 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
2771 * XmlSchemaDataImporter.cs : When primary key is used more than once,
2772 DataRelation borked because of empty parent column name.
2774 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
2776 * XmlSchemaDataImporter.cs : When Creating constraints with related
2777 to DataRelation creation, also set PrimaryKey to the parent table.
2779 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
2781 * XmlSchemaDataImporter.cs :
2782 Design change to add indirect table and relation structures.
2783 Support for "relation" annotation for local element.
2784 Support for repeatable simple element column (maxOccurs > 1).
2785 Fixed handling of Nested property on DataRelation (for globally
2786 annotated relation, Nested is false).
2788 2004-05-13 Atsushi Enomoto <atsushi@ximian.com>
2790 * DataRow.cs : Added DataElement property to avoid storing every row-
2791 element mapping. It stored even for nodes that should be removed.
2793 2004-05-13 Umadevi S <sumadevi@novell.com>
2795 * RelationshipConverter.cs - Stubbed this class
2796 * DataRelation.cs - added TypeConveterAttribute
2798 2004-05-13 Umadevi S <sumadevi@novell.com>
2800 * DataColumnCollection.cs - Added ResDescriptionAttribute
2801 * DataRelation.cs - Added TypeConverterAttribute
2802 * DataRelationCollection.cs - Added DefaultPropertyAttribute
2803 * DataRowView.cs - Added GetHashCode method with a TODO tag
2804 * DataSet.cs - Added DesignerAttribute
2805 * DataView.cs - Added DesignerAttribute
2806 * DataViewManager.cs - Added DesignerAttribute
2807 * DataViewSetting.cs - Added TypeConverterAttribute
2809 2004-05-12 Atsushi Enomoto <atsushi@ximian.com>
2811 * DataRow.cs : Added XmlDataElement initialization code.
2813 2004-05-11 Atsushi Enomoto <atsushi@ximian.com>
2815 * XmlDataInferenceLoader.cs :
2816 It now requires XmlDocument as input. Improved identification of
2817 DataSet element. Removed extra lines.
2818 Moved boresome design notes to bottom of the source and
2819 added standalone runnable driver (not included on build).
2821 Update with related to the change above.
2822 WriteXml() should call Flush() after writing. This fixes bug #58327.
2823 * XmlSchemaDataImporter.cs :
2824 Improved indentification of DataSet element.
2826 2004-05-11 Gert Driesen (drieseng@users.sourceforge.net)
2827 * DataTable: marked initStatus enum internal
2829 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
2830 * DataTable.cs: removed TypeConverterAttribute, marked RowsExist
2832 * DataRowView.cs: removed extra Error property
2833 * DataRow.cs: reduced accessibility of CollectionChanged method
2835 * DataColumnPropertyDescriptor.cs: made class internal
2836 * DataColumn.cs: removed extra TypeConvertorAttribute
2837 * ConstrainCollection.cs: marked PostEndInit method internal
2839 2004-05-07 Atsushi Enomoto <atsushi@ximian.com>
2842 In WriteXmlSchema(), when complex type contains simple type content
2843 attributes must not added to XmlSchemaComplexType directly. It
2844 causes schema compilation error.
2845 DataRelation should not be output when related columns are hidden.
2847 2004-05-07 Atsushi Enomoto <atsushi@ximian.com>
2849 * XmlDataInferenceReader.cs : Added. It does InferXmlSchema() (it is
2850 also expected to do ReadXml(), but I will remove that feature and
2851 support column reordering).
2852 * XmlSchemaDataImporter.cs : Always initialize dataset name.
2853 Always set Nested and primary key for parent table.
2854 * XmlDataReader.cs : Now it is used.
2855 Top level element might not match to dataset name nor any table
2856 name, but still possible to read content tables.
2857 Handle empty element correctly in some places.
2858 Handle Fragment mode (read up XmlReader to the end).
2859 * DataSet.cs : Modified InferXmlSchema() and ReadXml() to use
2860 XmlDataInferenceLoader and XmlDataReader.
2862 2004-05-06 Atsushi Enomoto <atsushi@ximian.com>
2865 Eliminated CRLF injection.
2866 More clear message in Clear().
2867 Updates reflecting XmlSchemaDataImporter change.
2868 Added duplicate check for XmlSerializerNamespaces in BuildSchema().
2869 Don't use xmlns attribute for UnhandledAttributes (its not mandatory
2870 but that depends on different behavior from ms.net).
2871 Set locale also for DataTable.
2872 Add xs:element only when target namespace matches to the
2873 element's namespace. Otherwise, add xs:import for external namespace.
2874 Put xs:sequence for dataset element's particle _only when_ actual
2877 2004-05-06 Atsushi Enomoto <atsushi@ximian.com>
2879 * XmlDataReader.cs : Added. This class will work better when our
2880 schema inference and schema read engine gets improved. (It contains
2881 standalone testable Driver class.)
2883 2004-05-06 Atsushi Enomoto <atsushi@ximian.com>
2885 * ForeignKeyConstraint.cs : Check step change. Existence then column
2886 validity. just for tests.
2887 * XmlSchemaDataImporter.cs : code simplification. reduced extraneous
2890 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
2892 * DataSet.cs : Ignore empty content only when output type is diffgram.
2894 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
2896 * CustomDataClassGenerator.cs : Modified that DataSet contains each
2897 DataTable field so that each table property can access them directly.
2898 (plus, modified standalone code driver code: shouldn't affect)
2900 2004-05-05 Boris Kirzner <borisk@mainsoft.com>
2902 * DataView.cs , DataRowView.cs : Added implementation to basic methods and properties.
2904 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
2906 * XmlSchemaDataImporter.cs :
2907 SimpleContent column support.
2908 Annotated relation support.
2909 Top-level element is counted only when its type is complex.
2910 xs:anyType is no longer treated as complex type.
2911 dataset existence is mandatory now.
2912 Improved DataType and DefaultValue support.
2913 Attribute namespace is properly handled now.
2914 Prohibited attribute is now treated as hidden column.
2915 Reject list or union simple type.
2917 Still incomplete 1) to read relationship in some cases, 2) to
2918 determine whether an element is dataset or table, 3) thus to
2919 exclude extraneous column, 4) to remove extraneous *_Id column.
2921 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
2924 We had better reuse DataSet's ReadXmlSchema() and ReadXml() in
2925 serialization .ctor() (thus schema read/inference should be easier).
2926 DataRowSorter should consider Table's Locale.
2928 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
2930 * DataColumnCollection.cs : We already had AutoIncrementValue(), so
2931 use it instead of duplicating logic.
2933 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
2935 * ConstraintCollection.cs :
2936 Use Table.CaseSensitive and Table.Locale to compare strings.
2937 Duplicate constraint name exception does not occur under .NET 1.1.
2939 2004-05-04 Lluis Sanchez Gual <lluis@ximian.com>
2941 * XmlSchemaDataImporter.cs: Added little type check.
2943 2004-05-04 Lluis Sanchez Gual <lluis@ximian.com>
2945 * DataSet.cs: Implemented support for runtime serialization. Fixed support
2946 for xml serialization.
2947 * XmlDiffLoader.cs: Skip diffgram element when it is empty.
2949 2004-04-30 Umadevi S <sumadevi@novell.com>
2950 * DataColumnCollection.cs : Fixed nunit test errors, removed TODOs
2951 * DataTableCollection.cs : Tested and removed TODO
2952 * TypedDataSetGeneratorException.cs : Fixed a couple of TODOs
2954 2004-04-29 Atsushi Enomoto <atsushi@ximian.com>
2956 * DataRow.cs : My previous patch unintentionally reverted Boris patch.
2958 2004-04-29 Boris Kirzner <borisk@mainsoft.com>
2960 * UniqueConstraint.cs : Constraint columns becaomes unique after adding constraint ifand only if
2961 constraint is defined on single column.
2963 2004-04-29 Atsushi Enomoto <atsushi@ximian.com>
2965 * DataRowCollection.cs : .NET 1.1 throws InvalidConstaintException,
2966 not ArgumentException (maybe changed after 1.1).
2968 2004-04-29 Atsushi Enomoto <atsushi@ximian.com>
2970 * DataRow.cs : When Column was added and it was AutoIncrement column,
2971 it extended the item object array incorrectly.
2972 (Plus tiny comment and incorrect indentation fix.)
2974 2004-04-29 Boris Kirzner <borisk@mainsoft.com>
2976 * MergeManager.cs : added ( incomplete yet ) support for merging DataSet schema.
2978 2004-04-29 Boris Kirzner <borisk@mainsoft.com>
2980 * DataRow.cs : Bug fix in CopyValuesToRow().
2982 2004-04-29 Boris Kirzner <borisk@mainsoft.com>
2984 * UniqueConstraint.cs : There is no reason to mark constraint's columns as unique, because
2985 each of the columns should not be unique, but only all the constraint's columns together.
2987 2004-04-28 Boris Kirzner <borisk@mainsoft.com>
2990 - Added using of list of autoIncrement columns
2991 - SetColumnValue receives also DataColumn to avoid duplicate lookup in DatacolumnCollection
2992 - Fix in CheckNullConstraints
2993 - Fix in this[] and HasVersion() : when evaluating an expression deleted rows values can be accessed.
2994 - Fix in SetColumnValue() , added CanAccess() method to avoid case of accessing internal array values berore it actually allocated.
2995 - Added onColumnRemoved() method to threat column removal accurately.
2997 * DataRowCollection.cs :
2998 - Added using of DataRow._nullConstraintViolation (for perfomance fix in EndLoadData())
2999 - Added method onColumnRemoved() - calls each row's onColumnRemoved() (to ensure column removal is treated accurately)
3002 - Call DataRowCollection.onColumnRemoved() in OnRemoveColumn() (to ensure column removal is treated accurately)
3004 * DataColumnCollection.cs :
3005 - Perfomance fixes :
3006 - collection holds a list of its autoIncrement columns (avoids unnesessary lookup through whole collection)
3007 - collection holds mapping from column names to DataColumn objects (avoids lookup through whole collection).
3008 - automatic creation of column names rewrited (bug fixes + perfomance improvement)
3011 - Uses autoincrement list of a table
3013 2004-04-27 Atsushi Enomoto <atsushi@ximian.com>
3015 * XmlDataLoader.cs : Even when it should ignore schema, it was
3017 * XmlSchemaDataImporter.cs : DataRelation creation support.
3018 Improved "DataSet" element handing. When attributes are on the
3019 element, it is not a "DataSet" element.
3020 Fixed parent key column name.
3021 Unique name creation is not required. Just raise an error.
3022 Fill facet also for attribute types.
3024 2004-04-27 Atsushi Enomoto <atsushi@ximian.com>
3026 * DataRow.cs : Null check for CheckReadOnlyStatus() and
3027 CheckNullConstraints(), with some coding guideline fixes.
3028 Type check should be done by Type instance comparison.
3030 2004-04-27 Atsushi Enomoto <atsushi@ximian.com>
3032 * DataColumnCollection.cs : When add a column to the collection, fill
3033 auto-increment column.
3035 2004-04-26 Boris Kirzner <borisk@mainsoft.com>
3037 * DataColumn.cs : Small perfomance fix (avoid unnesessary string concatenation).
3039 2004-04-26 Atsushi Enomoto <atsushi@ximian.com>
3041 * CustomDataClassGenerator.cs : Added.
3042 * TypedDataSetGenerator.cs : Implemented Generate().
3043 Changed GenerateIdName() to call CustomDataClassGenerator.MakeSafeName
3044 * XmlSchemaDataImporter.cs : Table Locale should be supplied.
3046 2004-04-25 Boris Kirzner <borisk@mainsoft.com>
3048 * DataTable.cs : Small perfomance fix (avoid unnesessary string concatenation).
3050 2004-04-25 Boris Kirzner <borisk@mainsoft.com>
3052 * Constraint.cs : Small perfomance fix (avoid unnesessary string concatenation).
3054 2004-04-23 Umadevi S (sumadevi@novell.com)
3055 * DataRow.cs: Checked BeginEdit,EndEdit,CancelEdit and Delete methods
3056 - Added error handling to the above methods
3058 2004-04-22 Atsushi Enomoto <atsushi@ximian.com>
3060 * DataSet.cs : Data should be read when mode is IgnoreSchema (well,
3061 the support is incomplete yet).
3062 * XmlDataLoader.cs :
3063 Reverted ReadModeSchema() argument change. XmlReadMode would be
3064 useful to handle IgnoreSchema.
3065 Don't overwrite DataSetName when mode is not such kind.
3066 Set Prefix and Namespace as well as DataSetName.
3067 AllowDBNull looks set false by default for element column.
3068 Set unique constraint as primary key when infering the table schema.
3070 2004-04-21 Atsushi Enomoto <atsushi@ximian.com>
3073 Never set null string for Prefix and Namespace.
3074 In InferXmlSchema() when null XmlReader is passed, just do nothing.
3075 In WriteXmlSchema(string), earlier try block.
3076 In BuildSchema(), try to add serialization namespaces for each
3077 namespaces in DataSet/DataTable/DataColumn.
3078 Removed namespace argument from WriteColumnAsElement() and don't
3079 overwrite when namespace is "". This fixes bug #57330.
3080 * DataColumn.cs : For Namespace and Prefix, never set null.
3082 2004-04-21 Boris Kirzner <borisk@mainsoft.com>
3084 * XmlSchemaMapper.cs : Check for not null unique constraint in ReadXmlSchemaKeyref()
3085 before creating and adding foreign key constraint and relation.
3087 2004-04-21 Boris Kirzner <borisk@mainsoft.com>
3089 * MergeManager.cs : In AdjustSchema() source table clone should be added
3090 and not the table itself.
3092 2004-04-21 Boris Kirzner <borisk@mainsoft.com>
3095 - CaseSensitive : Additional fix (removed unnesessary assignment).
3096 - CopyProperties : Do not try to copy ExtendedProperties if the collection is empty.
3098 2004-04-21 Boris Kirzner <borisk@mainsoft.com>
3100 * DataTable.cs : Ensure that DataSet property is not null before using it in Clear().
3102 2004-04-20 Boris Kirzner <borisk@mainsoft.com>
3105 - EndLoadData() : perfomance fix in case of null constraint violation
3106 during data load (also in DataRow.cs).
3107 - CaseSensitive : If DataTable belongs to DataSet it should always use
3108 DataSet.CaseSensitive untill explicitly changed.
3109 - CopyProperties() : do not try to copy ExtendedProperties if the collection is empty.
3112 - Pefromance fix in case of null constraint violation
3113 during data load (also in DataTable.cs).
3114 - CollectionChanged() : use correct column number after new DataColumn was added
3115 (differs in case some DataColumn was previosly removed).
3116 - EndEdit() - throw away proposed values only after CheckChildRows() complete.
3118 2004-04-20 Boris Kirzner <borisk@mainsoft.com>
3120 * DataColumnCollection.cs : Since unique constraint is added now
3121 in DataColumn.SetTable() the additional creation of constraint in
3122 DataColumnCollection.Add() is redundant and causes exception - fixed.
3124 2004-04-19 Atsushi Enomoto <atsushi@ximian.com>
3126 * XmlDataLoader.cs : Added "never add data rows" mode.
3127 Removed unused code. However, it is temporary fixes to unify
3128 ReadXml() and InferXmlSchema().
3129 * DataSet.cs : Implemented InferXmlSchema(), though it is incomplete.
3131 I'll create another XmlDataLoader since there are many problems
3132 such that 1) it is too waste to read the entire xml into an
3133 XmlDocument, 2) it does not handle attributes correctly, and 3) it
3134 must handle "ignored namespaces".
3136 2004-04-19 Atsushi Enomoto <atsushi@ximian.com>
3138 * Added XmlSchemaDataImporter.cs (new schema reader).
3139 * DataSet.cs : Use XmlSchemaDataImporter (right now for DataSet only)
3140 for ReadXmlSchema().
3141 Let schema reading work to ReadXmlSchema().
3142 Don't return ReadSchema when argument read mode was DiffGram.
3144 2004-04-15 Umadevi S (sumadevi@novell.com)
3145 * Updated Clone/Copy methods in DataSet along with Testcase
3146 * ForeignKeyConstraint.cs - special ctor implemented
3147 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).
3148 * Changes in ConstraintCollection.cs for the above
3149 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.
3152 2004-04-15 Atsushi Enomoto <atsushi@ximian.com>
3154 * XmlSchemaMapper.cs : set parent key and foreign key info to
3155 DataRelation when reading refkey constraints.
3156 Supply constraint name for fkey.
3158 2004-04-15 Atsushi Enomoto <atsushi@ximian.com>
3160 * XmlDataLoader.cs : Don't overwrite existing DataSetName. When read
3161 mode is Auto, just ignore the schema if there is already schema info.
3162 * DataSet.cs : Similarly ignore schema info for XmlReadMode = Auto.
3164 2004-04-14 Atsushi Enomoto <atsushi@ximian.com>
3167 - In MS output, XML declaration looks to have standalone decl (yes).
3168 - ReadXml(reader) just calls to ReadXml(reader, XmlReadMode.Auto)
3169 - ReadXml(reader, mode)
3170 1) return originally specified mode, instead of (always) Auto.
3171 2) Check empty reader.
3172 3) Check diffgram schema and content separately.
3173 4) When diffgram exists, remaining (the same-level) contents
3175 5) Similar fact should be applied, but somewhat different.
3176 InferSchema and IgnoreSchema just skips, Fragment reads both
3177 schema and content, others just reads schema.
3178 - Removed unused code.
3179 * XmlDataLoader.cs :
3180 - Read() should skip in some ReadMode.
3181 - Don't compare schema element name as case-insensitive (well,
3182 should schemas be checked here?)
3183 - Avoided BuildDocument() not to create confusing DataSet
3185 - Don't add any tables when reader has single element.
3186 * XmlDiffLoader.cs :
3187 When target table was not found, MS.NET doesn't raise an error.
3188 * XmlSchemaMapper.cs :
3189 When XmlSchema.Read() left xml reader at </xs:schema>, read once.
3191 2004-04-13 Atsushi Enomoto <atsushi@ximian.com>
3194 - InferXmlSchema(): Throw explicit NotImplementedException now.
3195 - Don't put XML declaration everywhere. Write just for filename arg.
3196 - xmlns="" should not be written. Maybe WebService problem is
3197 because default namespace is overwritten. This patch will keep
3198 the WS problem away and actually fixes some unit tests (i.e. use
3199 explicit String.Empty for null namespace in WriteStartElement()).
3200 - MoveToContent() should always be called, not only when
3201 LocalName="xml". It will ignore prolog (DTD, PI, comment etc.).
3202 - Even XmlReadMode is DiffGram, reader might not be "diffgram"
3203 element. As to MSDN, diffgram does not contain schema.
3205 2004-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3207 * DataTable.cs: made _initStatus private so that System.Data is CLS
3210 2004-04-13 Umadevi S <sumadevi@novell.com>
3211 * UniqueConstraint.cs:
3212 * ConstraintCollection.cs:
3214 - Implemented a Constructor for UniqueConstraint.cs
3215 - Used EndInit on DataTable to call a delegate which adds the
3216 constraints passed to the most recent call of AddRange().Used
3217 AddRange() on ConstraintCollection to check whether
3218 DataTable.BeginInit has occurred. If yes, save the argument
3219 constraint collection passed, then return. If no, Check whether the
3220 constraints are of type UniqueConstraint and initialized with the
3221 special constructor If yes Initialized the table property of this
3222 UniqueConstraint object with table assosciated with the current
3223 instance of ConstraintCollection class.
3225 2004-04-07 Marek Safar <marek.safar@seznam.cz>
3227 * Constraint.cs: changed ClsCompliant to CLSCompliant, build fix.
3229 2004-04-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3232 * DataColumnCollection.cs:
3233 * DataRelationCollection.cs:
3234 * DataRowCollection.cs:
3235 * DataTableCollection.cs:
3236 * InternalDataCollectionBase.cs:
3237 * Node.cs: CLS compliance for System.Data. Patch by Gert Driesen.
3240 2004-04-05 Jackson Harper <jackson@ximian.com>
3242 * DataTable.cs: Add rows to the row list if there is no filter.
3244 2004-03-31 Juraj Skripsky <juraj@hotfeet.ch>
3246 * DataColumn.cs : Setting Caption to null sets it to the empty string
3247 (ms.net behaviour, testcase is in DataColumnTest).
3249 * DataRow.cs : Evaluate DataColumn.Expression when such a column's
3252 2004-03-30 Lluis Sanchez Gual <lluis@ximian.com>
3254 * DataColumn.cs: In Expression setter, set the expression member even if
3255 it is an empty string.
3256 * DataSet.cs: Support serialization of byte[] columns.
3257 * XmlDataLoader.cs: Support deserialization of Guid columns.
3258 Set MappingType.Attribute to columns infered from attributes.
3260 2004-03-29 Juraj Skripsky <juraj@hotfeet.ch>
3262 * ExpressionElements.cs : remove
3263 * DataColumn.cs, DataRelationCollection.cs, DataTable.cs :
3264 Integration of new Mono.Data.SqlExpressions classes used in
3265 DataTable.{Select, Compute}.
3266 Fixes bug #55503 and lots of failures in DataTableTest.cs.
3268 2004-03-28 Juraj Skripsky <juraj@hotfeet.ch>
3270 * Index.cs: Simple fix in ComparePartialRowNonUnique.
3271 This fixes bugs #56129 and #56014.
3273 2004-03-25 Lluis Sanchez Gual <lluis@ximian.com>
3275 * DataSet.cs: In WriteXml (string filename, XmlWriteMode mode), close the
3276 stream after writing the dataset. This fixes bug #52581.
3277 Also added several writer.Close into finally blocks, so writers are properly
3278 closed in case of an exception.
3280 2004-03-12 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3282 * Constraint.cs: DO NOT USE the consts scheme if types can be referenced directly!
3283 * DataColumn.cs: DO NOT USE the consts scheme if types can be referenced directly!
3284 * ColumnTypeConverter.cs: Added stub
3285 * DefaultValueTypeConverter: Added stub
3286 * ConstraintConverter.cs: Added stub
3288 2004-03-04 Eran Domb <erand@mainsoft.com>
3290 * XmlDataLoader.cs : Xml reading reviewed. Added support for additional xml formats as described
3291 in MS.NET documentation (missing DataSet element etc).
3293 2004-03-04 Eran Domb <erand@mainsoft.com>
3296 * Index.cs : Rollback last changes.
3298 2004-03-03 Atsushi Enomoto <atsushi@ximian.com>
3300 * Index.cs : justa build fix.
3302 2004-03-03 Eran Domb <erand@mainsoft.com>
3305 * Constraint.cs, ForeignKeyConstraint.cs, UniqueConstraint, ConstraintCollection.cs, DataColumn.cs,
3306 DataRow.cs, DataRowCollection.cs, DataSet.cs, DataTable.cs : Changes made for using indexes on tables.
3307 This changes made for performance improvement.
3309 2004-02-08 Eran Domb <erand@mainsoft.com>
3311 * XmlSchemaMapper.cs : Read columns is they were written as SimpleContent or as Attributes.
3313 2004-02-08 Eran Domb <erand@mainsoft.com>
3315 * DataSet.cs: Fix some bugs in ReadXml().
3317 2004-02-04 Lluis Sanchez Gual <lluis@ximian.com>
3319 * DataSet.cs: Added missing method that broke the build.
3321 2004-02-04 Eran Domb <erand@mainsoft.com>
3323 * DataRowCollection.cs (InsertAt): Add a check for null row. Replace check of IndexOf with RowId for
3325 * DataSet.cs (GetTableSchema) : Add supprot for simple content columns. Change the condition for a case
3326 when all column are attributes (elements count is 0), we still want to add the relations. No relations
3327 can be on simple contents.
3328 (AddUniqueConstraints) Check that the column of the constraint are not hidden.
3329 (AddForeignKeys) Check that the relation has constraints attach to it.
3330 * XmlConstants.cs : Added constant.
3332 2004-02-04 Eran Domb <erand@mainsoft.com>
3334 * DataSet.cs : GetSchemaSerializable() return null and not BuildSchema().
3335 DoWriteXmlSchema calls BuildSchema ().
3337 2004-02-04 Lluis Sanchez Gual <lluis@ximian.com>
3339 * DataRow.cs: Added SetOriginalValue(), which is used to set the original
3341 * DataRowCollection.cs: In InsertAt(), perform the correct checks and
3343 * DataSet.cs: Fixed method GetChanges(): Parent rows of modified rows must
3344 also be added to the dataset.
3345 In WriteTable(), do not write unchanged rows when writing the original
3346 version of the table.
3347 Added WriteIndividualTableContent(), for writing the contents of a single
3349 Changed BuildSchema and related methods, so it can generate a schema for
3350 any set of tables, not just the tables of the dataset (needed for
3351 single datatable serialization).
3352 * DataTable.cs: Implemented serialization constructor and GetObjectData method.
3353 Also implemented some ReadXmlSchema methods.
3354 * XmlDiffLoader.cs: Read and process the xml document directly from XmlReader,
3355 instead of loading the full dataset in an XmlDocument. It is faster and
3356 saves memory. Also fixed several problems when generating the changes.
3357 * XmlSchemaMapper.cs: Support reading schemas for single tables (used by
3358 table serialization).
3360 2004-02-02 Eran Domb <erand@mainsoft.com>
3362 * DataSet.cs : Add indentation to the xml serialization only if we create the XmlWriter.
3363 Add the namespace attribute even if namespace is an empty string for inteoperability with MS.NET.
3364 * DataTable.cs (NewRow): Create only one DataRowBuilder.
3365 Initiate new row with row id -1.
3366 * DataRow.cs : Add RowId property.
3367 * DataRowBuilder.cs : Add _rowId member.
3368 * DataRowCollection.cs (Add) : Use the RowId property of the new row to check if it is already exists in the collection.
3370 2004-01-26 Eran Domb <erand@mainsoft.com>
3372 * XmlConstants.cs : Added some constants.
3373 * DataColumn.cs : Added a method to retrive AutoIncrement value.
3374 * XmlDataLoader.cs : Set the value of the foriegn key column, according to the value of the
3375 parent table column.
3376 * XmlDiffLoader.cs : Convert the value comming from the xml.
3377 * XmlSchemaMapper.cs (Read) : Set the DataSet namespace.
3378 (ReadXmlSchemaSequence) : Change the logic that decides if this element is a column or a table.
3379 (ReadXmlSchemaElement) : Set the locale of the dataset.
3380 (ReadColumn) : Set the column type. Find if the column is AutoIncrement.
3381 (GetColumnType) : New method to get the column type from the attribute value.
3382 (ReadXmlSchemaUnique) : Improve parsing of XPath. Set the constraint as a PK if needed,
3383 and add the constraint to the table.
3384 (ReadXmlSchemaKeyref) : Improve parsing of XPath. Create the FK constraint and add it to
3386 * DataSet.cs : Improving writing of unique constraints, and foriegn key constraint. Givving them the correct names.
3387 Writing more information to the schema for interoperability with ms.net.
3388 Improve diffgarm writing mode.
3391 2004-01-21 Atsushi Enomoto <atsushi@ximian.com>
3393 * TypedDataSetGenerator.cs : Implemented GenerateIdName().
3395 2004-01-21 Eran Domb <erand@mainsoft.com>
3397 * XmlDataLoader.cs (AddRowToTable) : Give thre new relation correct name.
3398 Do not set the child column to be AutoIncrement.
3399 Create the new column for the relation as MappingType.Hidden so they will not be serialized
3400 when writing the dataset to xml.
3402 2004-01-20 Atsushi Enomoto <atsushi@ximian.com>
3404 * Added missing TypedDataSetGenerator.cs.
3406 2004-01-08 Eran Domb <erand@mainsoft.com>
3408 * XmlSchemaMapper.cs : Fix a bug. Check if table already in DataSet before adding it.
3409 * DataSet.cs (ReadXml) : Fix bugs. Read correctly the xml file with XmlReadMode of DiffGram,
3410 InferSchema, ReadSchema and IgnoreSchema.
3411 * XmlDataLoader.cs : All modes use the same logic.
3412 * XmlDiffLoader.cs : Adding BuildXmlDocument method to the class.
3414 2004-01-06 Eran Domb <erand@mainsoft.com>
3416 * DataRelationCollection.cs : Use IndexOf in indexer.
3417 * DataSet.cs : Adding support for WriteXml with diffgram. Code style changes.
3418 * XmlDataLoader.cs : Set the DataSet.enforceConstraints to false before loading the tables.
3419 * XmlDiffLoader.cs : Reading nested tables.
3420 * XmlSchemaMapper.cs : Reading the relation.
3421 * XmlConstants.cs : Adding some constants.
3423 2004-01-05 Jackson Harper <jackson@ximian.com>
3425 * DataView.cs: Set readonly property of property descriptor. This
3428 2004-01-01 Sanjay Gupta <gsanjay@novell.com>
3430 * DataRelationCollection.cs : Fixed incorrect generation of default
3432 * DataSet.cs : Added missing functionality in WriteXml().
3433 * XmlConstants.cs : Added new constants.
3435 2003-12-27 Atsushi Enomoto <atsushi@ximian.com>
3437 * DataSet.cs : Fixed incorrect WriteXml() signature.
3439 2003-12-18 Jackson Harper <jackson@ximian.com>
3441 * DataView.cs: Implement AddNew, Delete, and OnListChanged.
3443 2003-12-17 Atsushi Enomoto <atsushi@ximian.com>
3445 * DataSet.cs, XmlDataLoader.cs : Table name should be encoded before
3446 they take shape of xml. This fixed bug #52240
3448 2003-12-16 Tim Coleman <tim@timcoleman.com>
3449 * KeyRestrictionBehavior.cs:
3450 New stubs added for .NET 1.2
3454 2003-12-08 Eran Domb <erand@mainsoft.com>
3455 * DataColumn.cs (Expression) : Validate the expression.
3457 * DataRelationCollection.cs (IndexOf) : Added new method sensetive to case differences in relation name.
3458 (Contains, IndexOf, this[], Add) : Call new IndexOf when needed.
3460 * DataRow.cs (this[]) : Fix the condition for throwing RowNotInTableException.
3461 (RejectChanges) : Detach row when state was Added.
3462 (CollectionChanged) : Fix a bug.
3464 * ExpressionElement (ValidateExpression) : Fix a bug.
3466 * ForeignKeyConstraint.cs (AssertConstraint) : Added implementation. Check all rows from child table have
3467 a parent row in the parent table.
3468 (_validateColumns) : Fix bugs.
3470 * MergeManager.cs (AdjustSchema) : Fix a bug.
3472 * XmlDataLoader.cs (ReadModeInferSchema) : Change implementation. Now we can read nested xml, and we generate the relations
3475 2003-11-30 Eran Domb <erand@mainsoft.com>
3476 * DataColumnCollection.cs (this[string name]) : Use IndexOf to find the column.
3477 (Add) : Find if the new column name is the same as the one found in IndexOf.
3478 (IndexOf) : New method.
3479 (Contains) : Use new IndexOf.
3480 (IndexOf) : Use new IndexOf.
3482 * DataRelationCollection.cs (DataRelationCollection.AddCore) : Add The Relation to the collection.
3483 (DataSetRelationCollection.AddCore) : First add the UniqueConstraint.
3485 * DataRow.cs (this[int columnIndex, DataRowVersion version]) : Change exceptions.
3486 (Delete) : Detach row if the RowState was Added.
3487 (GetChildRows) : Get the array form the ChildTable.
3488 (GetParentRows) : Get the array from the ParenTable.
3490 * DataRowCollection.cs (Remove) : Check if row state is Detached to avoid exception.
3492 * DataSet.cs (IXmlSerializable.ReadXml) : Do not call MoveToContent and ReadEndElement - the XmlSerializationReader does it.
3494 * DataTable.cs (PrimaryKey) : Fix bugs.
3495 (Compute) : First call Select. Then create ExpressionAggregate to aggregate the Select result.
3497 * DataTableCollection.cs (Add) : Fix a bug.
3499 * ExpressionElement.cs (ValidateExpression) : Turning ValidateExpression to static.
3500 (Result) : Added new interface to AggregateExpression that get DataRow[] as a param.
3501 Some code style changes (tab instead of whit spaces, alignment, etc...).
3503 * ForeignKeyConstraint.cs (_validateColumns) : Throw correct exception.
3505 * MergeManager.cs (AdjustSchema) : Fix a bug.
3509 2003-11-26 Miguel de Icaza <miguel@ximian.com>
3511 * DataSet.cs: Add a few more missing methods, code style updated
3514 2003-11-26 Tim Coleman <tim@timcoleman.com>
3516 * ConflictOptions.cs DataAdapterException.cs DataTableReader.cs
3517 * DbMetaData.cs FillOptions.cs IDataReader2.cs IDataRecord2.cs
3518 * IDataUpdatableRecord.cs IDbAsyncCommand.cs IDbAsyncConnection.cs
3519 * IDbExecutionContext.cs IGetTypedData.cs ISetTypedData.cs
3520 * LoadOption.cs OperationAbortedException.cs ResultSetOptions.cs
3521 * ResultSetSensitivity.cs StatementCompletedEventArgs.cs
3522 * StatementCompletedEventHandler.cs UpdateOptions.cs:
3523 New classes added for NET_2_0
3524 * DBConcurrencyException.cs DataRelation.cs DataSet.cs DataTable.cs
3525 * DataTableCollection.cs DataView.cs ForeignKeyConstraint.cs:
3526 Modifications to add new NET_2_0 functions
3528 2003-11-25 Tim Coleman <tim@timcoleman.com>
3532 2003-11-21 Pedro Martinez Julia <yoros@wanadoo.es>
3534 * DataRow.cs: Detached row can be accesible (new rows from data
3535 table are detached). Closes but #51263.
3537 2003-11-19 Eran Domb <erand@mainsoft.com>
3538 * DataRow.cs : Throw exceptions if Row is Detached.
3539 (EndEdit) : Check that we are not in middle of ChangeEvent.
3540 (AcceptChanges) : Detach the row.
3542 * DataRelation.cs : throw correct exception.
3543 *UniqueConstraint.cs : throw correct exception.
3546 2003-11-09 Pedro Martinez Julia <yoros@wanadoo.es>
3548 * DataRow.cs: Use RemoveInternal instead of Remove because the last
3549 one uses Delete and AcceptChanges.
3551 * DataRowCollection.cs: When removing, Delete and AcceptChanges
3552 method from the row are called. Added an internal method that will
3553 be used by DataRow to "physically" remove the row from the list.
3555 2003-11-09 Pedro Martinez Julia <yoros@wanadoo.es>
3557 * DataRowCollection.cs: To follow the specification: Remove and
3558 RemoveAt should remove the row. But needed to call DeletingDataRow
3559 to prepare the deleting.
3561 * DataRow.cs: Don't call DeletingDataRow when it is called by the
3562 method Table.Rows.Remove.
3564 2003-11-09 Pedro Martinez Julia <yoros@wanadoo.es>
3566 * DataRowCollection.cs: Make the row be deleted by itself. If not,
3567 it fails because we need to call OnRowDeleting and OnRowDeleted. It
3568 is full implemented inside DataRow.
3570 2003-11-05 Eran Domb <erand@mainsoft.com>
3571 * DataView.cs (ctor) : Changing default RowStateFilter to CurrentRow.
3573 2003-11-04 Eran Domb <erand@mainsoft.com>
3574 * DataRow.cs (CheckChildRows) : Improving the implementation - checking child for all FK, and not
3576 (GetChildRows) : Adding some checks.
3577 (GetParentRows) : Adding some checks. Fix a bug in implementation.
3578 (SetParentRow) : Added implementation.
3580 * DataRowCollection.cs (Add) : Added more checks on the row added to the collection.
3581 * DataTable.cs (Copy) : Set the During Loading flag to save unnecessary assertions.
3582 * ForeignKeyConstraint.cs (AssertConstraint) : Fixing bugs in implementation. Checking for DBNull values in the row.
3583 * MergeManager.cs : Check that the target table is not null.
3585 2003-10-27 Eran Domb <erand@mainsoft.com>
3586 * DataColumn.cs (DefaultValue) : Changing null value to DBNull. Checking that the type of the new default value
3587 can be converted to the column type.
3589 * DataRelationCollection.cs (AddCore) : Give the new FK the name of the relation.
3591 * DataRow.cs (EndEdit) : Check if we need to validate the constraints.
3592 (GetParentRows, GetChildRows) : Checking that the row has the wanted version, before accessing the row's value.
3594 * DataRowCollection.cs (Add) : Fixing a bug.
3595 (Clear) : Before clearing the array check that there is no violation of FK constraint.
3597 * DataSet.cs (Prefix) : If value is null chage it to empty string.
3598 (GetXml) : Removing the Processing Instructions from the xml string as in MS ADO.NET.
3600 * ExpressionElement : Adding support for IN expresion.
3602 * DataTable (CopyConstraints) : New method that copy the tables constraints to the copy table.
3603 (Select) : Adding support for DataViewwRowState.
3605 * ForeignKeyConstraint.cs (AssertConstraint) : Adding implementation.
3607 * MergeManager.cs (MergeRow) : Fix bugs.
3609 2003-10-27 Eran Domb <erand@mainsoft.com>
3610 * DataRow.cs (SetColumnValue): Donot check null value when in midle of loading data.
3611 check null values when ending loading data.
3613 * DataSet.cs (RejectChanges) : Imlementation.
3614 (Prefix) : If prefix was changed fire event. Check that the prefix is not null - if null,
3615 change it to empty string.
3617 * DataTable.cs (BeginLoadData, EndLoadData) : Impemantation.
3619 2003-10-22 Eran Domb <erand@mainsoft.com>
3620 * MergeManager.cs : Fixing bugs. Adding check for PrimaryKey matching.
3622 * ConstraintCollection.cs (RamoveAt): Change implemntation.
3624 * DataTableCollection (CanRemove): Removing cast to Constraint.
3626 2003-10-22 Eran Domb <erand@mainsoft.com>
3627 * DataRelationCollection.cs (AddCore): The unique constraint was added even if the createConstraints flag was false.
3628 (Clear): The collection was cleared without removing the relation from the parent and child tables.
3630 * DataSet.cs (Copy, Clone): The Relations of the DataSet were not copy.
3631 (HasChanges, Reset): Imlementation.
3633 * DataTable.cs (HasErrors): There is no flag for errors, instead the table ask her row if they have any errors.
3634 This is because the we do not no when to turn off the flag.
3635 (Locale): Changing implementation to behave like ADO.NET.
3636 (AcceptChanges): Fix bug.
3637 (Clear): Check that this table is not referenced from a foreign key constraint.
3638 (Copy): Do not try to access a deleted row.
3639 (CopyProperties): Copy the PrimaryKey.
3640 (GetChanges, ImportRow): Implementation.
3641 (LoadDataRow): Adding implementation if the table has PrimaryKey.
3642 (ToString): Changing implementation to behave like ADO.NET.
3644 * UniqueConstraint.cs (AssertConstraint): support for Multiple DataColumns in the constraint.
3646 * DataRow.cs (Ctor): In the constructor we initiate the current array, but we should initiate only the proposed array for new rows.
3647 (HasErrors): Implementation.
3648 (Delete): Added checking for child rows of the deleted row.
3649 (EndEdit): Added checking for child row and firing events.
3650 (GetColumnError): Added a check that the method will not return null, as in ADO.NET(an empty string is returned).
3651 (GetColumnsInError): Added a check for null values in column error.
3652 (HasVersion): Added special treatment for special RowState.
3653 (CollectionChanged): More checks to avoid NullReferenceException.
3655 * DataRowCollection.cs (Remove): Fix a bug.
3658 2003-10-01 Duncan Mak <duncan@ximian.com>
3660 More patches from Eran Domb <erand@mainsoft.com>.
3662 * MergeManager.cs: New file.
3664 * DataRelationCollection.cs (AddCore): Check that a
3665 UniqueConstraint is already exists. It loops over the Relations
3666 instead of the Constraints.
3667 (Add, AddCore): The relation was added twice.
3669 * DataSet.cs (Merge, GetChanges, HasChanges): Implemented.
3671 2003-09-30 Duncan Mak <duncan@ximian.com>
3673 Patches from Eran Domb <erand@mainsoft.com>.
3675 * DataRelation.cs (constructor): When the name of the relation is
3676 null, it should return an empty, not "Relation".
3678 * DataRow.cs (AcceptChanges): Added special case for
3680 (CancelEdit): Set editing flag to false.
3681 (IsNull): Check that the value is DBNull.
3683 * DataRowCollection.cs (Add): There was no check that the table of
3684 the collection is owned by a DataSet.
3686 * DataSet.cs (OnMergeFailed): Added.
3688 * UniqueConstraint.cs (AssertConstraint): There was no check that
3689 values in the row are not null, where it is a primary key
3690 column. Also check that the row has a proposed version, if not,
3691 get the current version when we compare the rows.
3693 2003-09-25 Duncan Mak <duncan@ximian.com>
3695 Patches from Eran Domb <erand@mainsoft.com>.
3697 * DataColumn.cs (Unique): Implemented.
3700 * ConstraintCollection.cs:
3701 * ForeignKeyConstraint.cs (_ensureUniqueConstraintExists): Fixes
3702 an Exception thrown. Details:
3703 http://lists.ximian.com/archives/public/mono-devel-list/2003-September/002130.html
3705 * DataRowCollection.cs (Add): There is no checking that there is
3706 no violation of the unique constrains.
3708 * UniqueConstraint.cs (AssertConstraint): There is no checking on
3709 all columns in the constraint.
3711 * DataTableCollection (Add): Correctly throw an Exception, more
3713 http://lists.ximian.com/archives/public/mono-devel-list/2003-September/002117.html
3714 (Remove, RemoveAt): Implemented.
3716 2003-07-31 Duncan Mak <duncan@ximian.com>
3718 * DBConcurrencyException.cs: Added new NET_1_1 no-param constructor.
3720 2003-07-25 Ravi Pratap <ravi@ximian.com>
3722 * DataRelation.cs (OnPropertyChanging): Calling the 'Invoke'
3723 method on a delegate is disallowed - fix this.
3725 2003-07-22 Lluis Sanchez Gual <lluis@ximian.com>
3727 * DataSet.cs: Implemented IXmlSerializable interface. Added basic support for
3728 xml serialization. Modified method of writing schema. Now it creates
3729 a XmlSchema object and serializes it using XmlSerializer.
3730 * XmlConstants.cs: Added constants for data type names.
3731 * XmlDataLoader.cs: Fixed deserialization of data. Now converts data to the
3732 type specified in the column.
3734 2003-04-20 Alan Tam <Tam@SiuLung.com>
3736 * DataRelationCollection.cs: Fix a bug that prevent relations
3737 from being added via DataSet.
3739 2003-04-12 Ville Palo <vi64pa@kolumbus.fi>
3741 * UniqueConstraint.cs: one tiny fix.
3743 2003-04-05 Ville Palo <vi64pa@kolumbus.fi>
3745 * DataTable.cs: Remove UniqueConstraints when adding new ones
3747 2003-04-04 Ville Palo <vi64pa@kolumbus.fi>
3749 * DataColumnCollection.cs: Little 'case sensitive' fix
3751 2003-04-04 Ville Palo <vi64pa@kolumbus.fi>
3753 * DataRow.cs: AutoIncrement handling to Constructor
3754 * DataRowCollection.cs: This doesnt need anymore AutoIncrements
3756 2003-03-27 Ville Palo <vi64pa@kolumbus.fi>
3758 * DataTable.cs: Some fixes to PrimaryKey etc...
3759 * UniqueConstraint.cs: Little clean up
3761 2003-03-27 Ville Palo <vi64pa@kolumbus.fi>
3763 * DataTable.cs: Tiny fix to ToString () -method
3765 2003-03-27 Ville Palo <vi64pa@kolumbus.fi>
3767 * ConstraintCollection.cs: Little fix.
3768 * DataColumn.cs: Added new internal method SetUnique()
3769 * UniqueConstraint.cs: some little fixes
3771 2003-03-26 Ville Palo <vi64pa@kolumbus.fi>
3773 * DataRowCollection.cs: Bugfixes, implementation,...
3775 2003-03-26 Ville Palo <vi64pa@kolumbus.fi>
3777 * DataColumn.cs: If DataType if set to something else than short, int
3778 or long and AutoIncrement is true, AutoIncrement is must set to false.
3780 2003-03-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3783 (BeginEdit): fixed array bound problem when a column has been added.
3784 (EndEdit): just assign proposed to current as proposed is set to null.
3785 This also fixes another array boudn problem.
3787 2003-03-21 Alan Tam <Tam@SiuLung.com>
3789 * DataRow.cs: Fixed problems in accessers, BeginEdit, CancelEdit,
3790 EndEdit and AcceptChanges to act correctly according to DataRowState
3792 * DataRowCollection.cs: Call AttachRow and DetachRow when a row is
3793 attached and detached from the collection.
3795 2003-03-20 Alan Tam <Tam@SiuLung.com>
3797 * DataColumn.cs: Store empty string for Expression when null is passed in.
3798 Classes generated by XSD.exe passes null by default.
3800 2003-03-16 Ville Palo <vi64pa@kolumbus.fi>
3802 * DataColumnCollection.cs: Tiny clean up
3804 2003-03-16 Ville Palo <vi64pa@kolumbus.fi>
3806 * DataColumn.cs: little fixes.
3807 * DataColumnCollection.cs: Lots of little fixes and improvments.
3809 2003-03-12 Alan Tam <Tam@SiuLung.com>
3811 * DataSet.cs: Fixed a bug that the file written does not close correctly.
3813 2003-03-08 Alan Tam <Tam@SiuLung.com>
3815 * DataRelationCollection.cs: Removed the mis-overridden methods
3816 * DataRow.cs: Fixed an attribute
3817 * DataSet.cs: Fixed the modifiers
3819 2003-03-06 Aleksey Demakov <avd@openlinksw.com>
3821 * DataTableCollection.cs: The Contains (string name),
3822 IndexOf (string name) methods, and item[string name] indexer
3823 now behave more like .NET with respect to case-sensitivity.
3824 That is if there is an exactly matching item then this one is used.
3825 If there is only one item differing in case then it used.
3826 If there are more than one item differing in case then
3827 Contains returns false, IndexOf returns -1, and item[]
3828 throws an ArgumentException.
3830 2003-02-28 Ville Palo <vi64pa@kolumbus.fi>
3832 * ExpressionElement.cs: More implementation.
3834 2003-02-28 Alan Tam <Tam@SiuLung.com>
3835 * DataSet.cs: Changed WriteTable so that it now calls the newly written
3836 WriteObjectXml to direct the call to the respective XmlConvert method.
3837 This fixes the wrong format written to XML files of bool, float,
3838 double, DateTime and TimeSpan types.
3840 2003-02-25 Alan Tam <Tam@SiuLung.com>
3842 * DataRelation.cs: Added SetDataSet for DataSetRelationCollection to use.
3843 * DataRelationCollection.cs: Implemented AddRange and Contains.
3844 Implemented AddRange, Clear, List and RemoveCore for DataSetRelationColletion.
3845 Implemented AddCore, List and RemoveCore for DataTableRelationCollection.
3846 Reimplemented most Add methods to eliminate duplicated checks.
3847 Centralized RelationName generation procedure in GetNextDefaultRelationName.
3849 2003-02-25 Alan Tam <Tam@SiuLung.com>
3851 * DataColumn.cs: Fixed wrong storage representation of Expression
3852 (using empty string instead of null) so that ToString() returns nothing.
3853 * DataColumnCollection.cs: Reimplemented GetNextDefaultColumnName so that
3854 auto column naming now works as expected. Reimplemented some Add methods
3855 to eliminate code duplication.
3857 2003-02-19 Ville Palo <vi64pa@kolumbus.fi>
3859 * DataTable.cs: DataTable.CaseSensitive follows parent
3860 DataSet.CaseSensitive property if DataTable.CaseSensitive has never
3861 been changed directly from DataTable
3863 2003-02-19 Ville Palo <vi64pa@kolumbus.fi>
3865 * DataSet.cs: When CaseSensitive property is changed all of the Tables
3866 of DataSet have to change too
3868 2003-02-19 Daniel Morgan <danmorg@sc.rr.com>
3870 * InternalDataCollectionBase.cs: revert change to field
3873 * DataViewManager.cs
3876 * DataSet.cs: commented use of DesignerAttribute
3877 because it broke the build. According to MSDN,
3878 DesignerAttribute does not have a zero-argument constructor
3880 2003-02-18 Ville Palo <vi64pa@kolumbus.fi>
3882 * DataColumnCollectin.cs: Little fix for indexer and case sensitivity
3884 2003-02-18 Alan Tam <Tam@SiuLung.com>
3886 * DataRow.cs: Implemented GetParentRow and GetParentRows.
3887 * DataSet.cs: Added stub for HasChanges, InferXmlSchema,
3888 OnPropertyChanging, OnRemoveRelation, OnRemoveTable,
3889 RaisePropertyChanging.
3890 * DataTable.cs: Implemented NewRowArray.
3891 * DataTablePropertyDescriptor: Fixed a modifier.
3892 * InternalDataCollectionBase.cs: Fixed modifiers. Implemented SyncRoot.
3893 * PropertyCollection.cs: Minor fix.
3894 * ConstraintCollection.cs DataColumn.cs DataColumnCollection.cs
3895 * DataRelation.cs DataRelationCollection.cs DataRow.cs
3896 * DataRowCollection.cs DataRowState.cs DataSet.cs DataTable.cs
3897 * DataTableCollection.cs DataTablePropertyDescriptor.cs DataView.cs
3898 * DataViewManager.cs DataViewRowState.cs DataViewSettingCollection.cs
3899 * ForeignKeyConstraint.cs InternalDataCollectionBase.cs
3900 * PropertyCollection.cs UniqueConstraint.cs: Added missing attributes
3902 2003-02-08 Ville Palo <vi64pa@koti.soon.fi>
3904 * ExpressionElement.cs: More implementation
3906 2003-02-05 Alan Tam <Tam@SiuLung.com>
3908 * DataSet.cs: Added framework for DataSet.Update Implemented missing
3909 methods GetSchemaSerializable, GetSerializationData,
3910 ReadXmlSerializable, ShouldSerializeRelations and ShouldSerializeTables
3912 * DataTable.cs: Implemented missing methods CreateInstance and
3913 GetRowType for DataTable
3915 2003-02-03 Ville Palo <vi64pa@koti.soon.fi>
3917 * DataSet.cs: Implemented private method MapType for
3918 mapping datatypes for XmlSchema
3920 2003-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3922 * DataView.cs: implemented Dispose.
3924 2003-01-30 Ville Palo <vi64pa@koti.soon.fi>
3926 * ExpressionElement.cs: Added new file. This file is for parsing
3927 and DataData.Select () -methods and DataColumn.Expression -property
3928 * DataTable.cs: Implemented Select(string) -method
3930 2003-01-28 Ville Palo <vi64pa@koti.soon.fi>
3932 * DataSet.cs: One little fix to writing xml
3934 2003-01-27 Ville Palo <vi64pa@koti.soon.fi>
3936 * XmlSchemaMapper.cs: Some fixes.
3937 * DatSet.cs: Some XmlFixes and BeginInit ()/ EndInit () -fix
3940 2003-01-24 Ville Palo <vi64pa@koti.soon.fi>
3942 * UniqueConstraint.cs: Do not set columns Unique property true
3944 * ForeignKeyConstraint.cs: Add UniqueConstraint to parent Table
3946 2003-01-18 Ville Palo <vi64pa@koti.soon.fi>
3948 * DataTableCollection.cs: Now names new DataTable if it doesn't
3949 already have a name.
3951 2003-01-17 Ville Palo <vi64pa@koti.soon.fi>
3953 * XmlSchemaMapper.cs: Improvments.
3954 * XmlConstaints.cs: Added more constants.
3955 * DataSet.cs: Improvments of reading and writing xml
3956 * DataColumn.cs: Added default values of properties.
3958 2003-01-14 Ville Palo <vi64pa@koti.soon.fi>
3960 * XmlSchemaMapper.cs: Some improvments
3962 2003-01-13 Ville Palo <vi64pa@koti.soon.fi>
3964 * DataRowCollection.cs: Added IndexOutOfRangeException
3965 * DataTableCollection.cs: Added OnCollectionChanging and
3966 OnCollectionChanged events.
3967 * DataSet.cs: Many fixes. Implemented Clone () and Copy () -methods
3968 * DataTable.cs: Implemented Copy () and Clone () methods.
3969 * XmlDataLoader.cs: some fixes.
3970 * XmlSchemaMapper.cs: comments.
3972 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3974 * DataColumnPropertyDescriptor.cs: store columnIndex in the .ctor.
3976 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3978 * DataColumnPropertyDescriptor.cs: fixed typo.
3979 * DataViewManagerListItemTypeDescriptor.cs: added new internal property
3980 to get the DataViewManager and removed TablePD class.
3981 * DataTablePropertyDescriptor.cs: TablePD class is now this one as
3982 suggested by danmorg.
3984 2003-01-06 Ville Palo <vi64pa@koti.soon.fi>
3986 * XmlDataLoader.cs: Moved diffgram stuff to new internal class
3988 * XmlDiffLoader.cs: new class for diffgrams. Added handling of
3989 diffgr:Errors and some fixes and changed XmlReader to XPathNavigator.
3991 2003-01-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3993 * DataView.cs: made dataViewManager internal.
3994 * DataViewManager.cs: use ICustomTypeDescriptor. We don't want the
3995 properties of the object, but the values of the columns present in a
3998 * DataViewManagerListItemTypeDescriptor.cs: implemented GetProperties,
3999 which returns a PropertyDescriptorCollection. Created a new class
4000 derived from PropertyDescriptor that treats Table as an object whose
4001 properties are DataRowView.
4003 2003-01-04 Ville Palo <vi64pa@koti.soon.fi>
4005 * XmlSchemaMapper.cs: Added handling for Constraints, Attributes.
4007 2003-01-04 Ville Palo <vi64pa@koti.soon.fi>
4009 * DataColumn.cs: ExtendedProperties is by default !null-
4011 2003-01-04 Ville Palo <vi64pa@koti.soon.fi>
4013 * DataColumnCollection.cs: Add (DataColumn Column) -method didn't
4014 set column's ordinal.
4016 2003-01-02 Ville Palo <vi64pa@koti.soon.fi>
4019 * XmlDataLoader.cs: XmlReader closing fixes.
4020 * XmlSchemaReader.cs: Added support for ref=
4022 2003-01-01 Ville Palo <vi64pa@koti.soon.fi>
4025 - Added XmlReader and XmlWriter Closing.
4026 - Moved ReadXmlSchema stuff to new internal class XmlSchemaMapper.
4027 * XmlSchemaMapper.cs
4028 - Much better way IMHO to map xmlschema than the old one in
4029 DataSet.cs. Its, more flexible, cleaner, ...
4031 2002-12-29 Ville Palo <vi64pa@koti.soon.fi>
4033 * XmlDataLoader.cs: Reading diffgrams.
4035 2002-12-29 Ville Palo <vi64pa@koti.soon.fi>
4037 * DataRow.cs: Little fix to indexer and DataColumnCang* trigger fixes.
4038 * DataTable.cs: Added ChanginDataColumn () for triggering
4039 DataColumnChanging event
4041 2002-12-28 Ville Palo <vi64pa@koti.soon.fi>
4043 * DataSet.cs: Indentations to WriteXmlSchema () and one little fix
4045 2002-12-28 Ville Palo <vi64pa@koti.soon.fi>
4047 * DataSet.cs: Indentations to WriteXml ()
4049 2002-12-27 Ville Palo <vi64pa@koti.soon.fi>
4052 * XmlDataLoader.cs: Moved ReadXml -stuff from DataSet.cs to new
4053 class XmlDataLoader.cs
4055 2002-12-19 Ville Palo <vi64pa@koti.soon.fi>
4057 * DataSet.cs Implemented ReadXml with XmlReadMode.ReadSchema
4059 2002-12-18 Ville Palo <vi64pa@koti.soon.fi>
4061 * DataSet.cs: Started to implement ReadXml-methods.
4063 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4065 * DataSet.cs: implemented DefaultViewManager and GetList.
4067 * DataViewManager.cs: a bit of work on IList and ITypedList needed by
4068 DataList in System.Web.
4070 * DataViewManagerListItemTypeDescriptor.cs: custom type descriptor for
4073 2002-12-16 Ville Palo <vi64pa@koti.soon.fi>
4076 * DataTable.cs: Fixed NullException (rollback -event)
4077 * DataSet.cs: WriteXml -method does not anymore write <?xml... row.
4079 2002-12-15 Ville Palo <vi64pa@koti.soon.fi>
4082 * DataRowCollection.cs: Moved event triggering from DataRow to
4085 2002-12-09 Ville Palo <vi64pa@koti.soon.fi>
4087 * DataSet.cs: Little fix to WriteTable () -method
4088 and DoReadXmlSchema () -method.
4090 2002-12-06 Ville Palo <vi64pa@koti.soon.fi>
4092 * DataSet.cs: Clean up to reading xmlschema. This looks much better
4093 now (work better too), but it not working correctly yet.
4095 2002-12-04 Ville Palo <vi64pa@koti.soon.fi>
4098 * DataRowCollection.cs: Added some event handlins stuff.
4099 * DataSet.cs: Some fixes.
4100 * DataTable.cs: Added event handlers.
4102 2002-11-30 Ville Palo <vi64pa@koti.soon.fi>
4104 * DataRowChangeEventArgs.cs: Implemented Action and Row properties
4106 2002-11-30 Ville Palo <vi64pa@koti.soon.fi>
4108 * System.Data/DataRow.cs: Added internal property XmlDataID
4110 2002-11-29 Ville Palo <vi64pa@koti.soon.fi>
4112 * DataSystem.Data.DataTableCollection.cs:
4113 Removed HashTable. There could be situations where DataTable
4114 is added to collection before it hava TableName. So using
4115 HashTable is impossible.
4117 2002-11-19 Carlos Guzman Alvarez <carlosga@telefonica.net>
4119 * DataRow.cs: an object that is equal to null
4120 should be allowed to be set in this indexer too
4123 2002-11-06 Daniel Morgan <danmorg@sc.rr.com>
4125 * DataColumnPropertyDescriptor.cs: added file
4127 * System.Data/DataRowView.cs: started implementation
4129 * DataTable.cs: stubbed more interfaces. Implemented
4130 IListSource.GetList()
4132 * DataView.cs: stubbed more interfaces. Implemented
4133 some properties and methods: GetEnumerator(),
4134 ITypedList.GetItemProperties, Item indexer, CopyTo()
4136 2002-05-18 Nick Drochak <ndrochak@gol.com>
4138 * DataRow.cs: Fix typo.