1 2010-06-23 Veerapuram Varadhan <vvaradhan@novell.com>
4 * DataRelationCollection.cs (Add, Remove): Use DataRelation obj instead
5 of this when raising OnCollectionChang(ing, ed) events.
7 2010-04-11 Veerapuram Varadhan <vvaradhan@novell.com>
10 * DataColumn.cs (Clone): Use propert to clone Expression as it builds
11 compiled expression also, if any.
13 2010-04-10 Veerapuram Varadhan <vvaradhan@novell.com>
16 * DataColumn.cs (set_DataType): Preserve autoIncrement value
17 for Decimal types as well.
19 2010-04-09 Veerapuram Varadhan <vvaradhan@novell.com>
21 ** Fixes #576520 - Based on a patch by Greg SIROU <gspam@secway.fr>
22 * DataSet.cs (WriteColumnAsElement): Handle system.object types sanely.
24 2010-04-09 Veerapuram Varadhan <vvaradhan@novell.com>
27 * DataColumn.cs (Clone): Clone extended properties as well
29 2010-02-10 Marek Habersack <mhabersack@novell.com>
31 * XmlSchemaDataImporter.cs: the <connections> element might be
32 empty - make sure FirstChild of the element is not null before
33 attempting to use it. Fixes bug #578587
35 2009-10-30 Veerapuram Varadhan <vvaradhan@novell.com>
37 * DataTable.cs: Reuse old utility methods for raising DataTable
38 clearing/cleared events.
39 * DataRowCollection.cs (Clear): Raise DataTable clearing/cleared
40 events only for non 1.x profiles. Fixes broken 1.x build.
42 2009-10-30 Veerapuram Varadhan <vvaradhan@novell.com>
45 * DataTable.cs (Clear): Do not raise TableClearing/Cleared events as
46 they will be raised from DataRowCollection.Clear(). New utility methods
47 for raising TableClearing/TableCleared events from outside DataTable.
48 Don't manually reset indexes as ResetIndexes is called from
49 DataRowCollection.Clear
50 * DataRowCollection.cs (Clear): Raise TableClearing/Cleared events accordingly.
52 2009-10-29 Veerapuram Varadhan <vvaradhan@novell.com>
54 ** Fixes 332875 - based on analysis by Ben Martin <ben@trustorm.com.au>
55 * XmlSchemaDataImporter.cs (AddParentKeyColumn): If a table already has a
56 PrimaryKey column defined, when called again, fill the PKCol data into the
57 passed DataColumn and return.
59 2009-10-29 Veerapuram Varadhan <vvaradhan@novell.com>
61 ** Fixes #550960 - Patch by Stefano <stefano.sapienti@apsystems.it>
62 * DataTable.cs (BinarySerialize): Use datatype from DataColumn
63 instead of value of the column.
65 2009-10-14 Jonathan Pryor <jpryor@novell.com>
67 * XmlSchemaDataImporter.cs: Remove DbProviderFactories dependency in
68 the MonoTouch profile.
70 2009-10-13 Veerapuram Varadhan <vvaradhan@novell.com>
73 * XmlDiffLoader (LoadColumnAttributes/Children): Decode column names in
74 case if they are encoded.
76 2009-09-26 Veerapuram Varadhan <vvaradhan@novell.com>
78 ** Fixes part of #427769 - Patch by John Lenz <jlenz2@math.uiuc.edu>
79 * DataSet.cs: XML serialization improvements to be compatible with MS impl.
81 2009-09-15 Veerapuram Varadhan <vvaradhan@novell.com>
83 ** Fixes #536194 - Patch by Andrew Kurochk <aaki.viper@gmail.com>
84 * MergeManager.cs (Merge*): Do nothing when source and target
87 2009-09-10 Veerapuram Varadhan <vvaradhan@novell.com>
90 * DataView.cs (OnRowChanged/OnRowDeleted): Raise appropriate events iff
91 view is affected. This silence of the numerous Add/Change events that were
92 getting raised from DataView.
93 (ToTable): Use appropriate index to generated DataTable in case of
94 RowFilter / Sort conditions.
96 * DataRow.cs (AcceptChanges/RejectChanges): Raise appropriate Changing events
98 2009-09-03 Ivan N. Zlatev <contact@i-nz.net>
100 * DataColumnPropertyDescriptor.cs, DataView.cs: Not browsable if Hidden.
101 [Fixes the second part of bug #536547]
103 2009-08-25 Veerapuram Varadhan <vvaradhan@novell.com>
106 * DataViewManager.cs (CollectionToListChangeEventArgs) : Use a corresponding
107 DataTable/DataRelation obj instead of only DataRelation.
109 2009-07-30 Veerapuram Varadhan <vvaradhan@novell.com>
111 * CustomDataClassGenerator.cs (MakeSafeName): Throw NRE instead of
112 ArgumentNullException - fixes failing tests.
114 2009-07-23 Veerapuram Varadhan <vvaradhan@novell.com>
116 * XmlSchemaDataImporter.cs (HandleDataSourceAnnotation): Don't rely
117 on the order of elements.
119 2009-07-23 Veerapuram Varadhan <vvaradhan@novell.com>
121 * XmlSchemaDataImporter.cs: String.IsNullOrEmpty changes
123 2009-07-23 Veerapuram Varadhan <vvaradhan@novell.com>
125 * XmlSchemaDataImporter.cs: Added null checks.
127 2009-07-22 Veerapuram Varadhan <vvaradhan@novell.com>
129 * XmlSchemaDataImporter.cs:
130 CustomDataClassGenerator.cs: Silence off CWLs.
132 2009-07-22 Veerapuram Varadhan <vvaradhan@novell.com>
134 * CustomDataClassGenerator.cs (CreateCommandCollectionInitializeMethod):
135 Fix generation of DbCommand[] instead of DbCommand()[]. Fix IndexRef to
137 Avoid using SourceColumnNullMapping property in the constructor
138 of DbParameter while creating the code.
140 2009-07-18 Veerapuram Varadhan <vvaradhan@novell.com>
142 * CustomDataClassGenerator.cs (CreateDbSourceMethods): Handle cases of Scalar
143 and NoData QueryTypes.
145 2009-07-17 Veerapuram Varadhan <vvaradhan@novell.com>
147 * TableAdapterSchemaInfo.cs: Wrap DbCommand within DbCommandInfo and
148 define MethodInfo to hold method properties common to both Get and Fill.
150 * CustomDataClassGenerator.cs (CreateDbSourceMethods): Handle cases of Fill
151 and Get appropriately.
153 2009-07-16 Veerapuram Varadhan <vvaradhan@novell.com>
155 * CustomDataClassGenerator.cs (CreateDbSourceMethods): Handle
156 methods of type "Fill".
158 * XmlSchemaDataImporter.cs (ProcessDbParameters): Handle empty strings
159 while setting parameter properties.
161 2009-07-15 Veerapuram Varadhan <vvaradhan@novell.com>
163 ** Part of fix for #325464
164 * CustomDataClassGenerator.cs: Add implementation to generate
167 * DataSet.cs (TableAdapterSchemaData): New internal property that
168 holds TableAdapter details to generate code from.
170 * XmlConstants.cs: Add Msdatasource constant to handle
171 <...:xml-msdatasource> elements.
173 * XmlSchemaDataImporter.cs: Implement handling of <TableAdapter ...>
174 * TableAdapterSchemaInfo.cs: New
176 2009-05-16 Veerapuram Varadhan <vvaradhan@novell.com>
178 ** Fixes #325464 - ToolItems.xsd
179 * CustomDataClassGenerator.cs (CreateDataSetTableMembers): Prefix a "_" to
180 member names when it is same as that of the dataset. Fixes the CS0542 error
181 during compilation of the generated source.
183 2009-03-25 Ivan N. Zlatev <contact@i-nz.net>
185 * DataView.cs: Fire ListChanged when the RowFilter changes.
188 2009-02-24 Veerapuram Varadhan <vvaradhan@novell.com>
190 * *Fixes #377146 - in a better way
191 * XmlDataReader.cs (ReadElementElement): For reference types that
192 implement IXmlSerializable, call the corresponding ReadXml.
193 * DataSet.cs (WriteColumnAsElement): For reference types that implement
194 IXmlSerializable, call the corresponding WriteXml.
196 2009-02-24 Veerapuram Varadhan <vvaradhan@novell.com>
199 * DbType.cs: Add DateTime2 and DateTimeOffset - 3.5 additions
200 Patch by Jay Wren <jrwren@xmtp.net>
202 2009-01-05 Raja R Harinath <harinath@hurrynot.org>
204 * DataRelationCollection.cs (BinarySerialize): New. Carved out of ...
205 * DataSet.cs (BinarySerialize): ... this.
207 2009-01-04 Raja R Harinath <harinath@hurrynot.org>
209 * DataRelationCollection.cs: Sequester NET_2_0 and NET_1_1
210 specific code into separate parts.
212 * DataTableCollection.cs (BinarySerialize_Schema): New.
213 (BinarySerialize_Data): Likewise. Carved out of ...
214 * DataSet.cs (BinarySerialize): ... this.
216 2009-01-04 Raja R Harinath <harinath@hurrynot.org>
218 * DataTableCollection.cs: Sequester NET_2_0 and NET_1_1 specific
219 code into separate parts.
221 2009-01-02 Ivan N. Zlatev <contact@i-nz.net>
223 * DataViewManager.cs: Implement all MonoTODO. Fixes the WinForms
224 DataBinding unit tests.
226 2009-01-01 Ivan N. Zlatev <contact@i-nz.net>
228 * DataViewManager.cs: Hookup to the table/relations changed events and
229 raise ListChanged events accordingly.
231 2008-12-30 Gert Driesen <drieseng@users.sourceforge.net>
233 * DBConcurrencyException.cs: Marked .ctor taking DataRow [] as
234 internal so we can use it on the 1.0 profile (internally). Implemented
237 2008-12-29 Gert Driesen <drieseng@users.sourceforge.net>
239 * SqlDbType: Added Date and Time (2.0 only).
241 2008-11-18 Raja R Harinath <harinath@hurrynot.org>
244 * XmlConstants.cs (QnUnsignedShort): Rename from QnUsigned short
245 and fix the value too.
246 * XmlSchemaWriter.cs (XmlQualifiedName): Update to changes.
248 2008-09-27 Raja R Harinath <harinath@hurrynot.org>
250 * DataView.cs: Convert into a partial class and sequester
251 interface-implementations and NET_2_0 pieces into separate parts.
253 2008-09-16 brandin claar <brandin.claar@gmail.com>
254 Raja R Harinath <harinath@hurrynot.org>
256 * DataTable.cs (BinarySerialize): Handle empty DataTables.
257 (DeserializeRecords): Likewise.
258 (BinaryDeserializeTable): Allow DefaultValue to be set to any value.
260 2008-09-12 Raja R Harinath <harinath@hurrynot.org>
262 * DataTable.cs (NewRowAdded): Make into partial method.
263 (DataTableClearing, DataTableCleared): New partial methods.
266 * DataTable.cs: Sequester ISupportInitializationNotification
267 pieces into separate part.
268 (DataTableInitialized): Turn into a 'partial method' to avoid #ifs.
270 * DataTable.cs (AssertNotNullConstraints): Hoist out a more useful
271 loop-invariant by inverting loops.
272 (RowExists): Outdent. Rewrite for slightly better clarity.
273 (BeginLoadData): Outdent.
274 (GetChanges): Outdent. Replace GetEnumerator/while with foreach.
276 * DataTable.cs: Convert to a partial class, sequester NET_2_0
277 specific and IXmlSerializable specific pieces into separate parts.
279 2008-09-07 Raja R Harinath <harinath@hurrynot.org>
281 * DataSet.cs: Convert to a partial class and sequester NET_2_0
282 pieces into a separate part.
284 * DataRowView.cs: Convert to a partial class, and sequester
285 NET_2_0 parts into a separate part. Use partial classes instead
286 of ugly #region directives.
287 (Item): Remove redundant attributes. Cleanup slightly.
289 2008-09-05 Raja R Harinath <harinath@hurrynot.org>
291 * DataRowCollection.cs (RemoveInternal): Update RowIDs of rows
292 after the deleted row.
293 (IndexOf): Avoid loop to search for a row, since we already know
294 where a row is: its RowID.
295 (Remove): Use IndexOf rather than List.Contains.
297 * DataRowCollection.cs (InsertRow): Delegate setting of RowId
298 to the row itself. Use 'row.AttachAt' instead of 'row.AttachRow'.
299 (AddInternal): Likewise. Also delegate handling of
300 ChangeCurrentAndOriginal to AttachAt.
301 * DataRow.cs (AttachAt): Rename from AttachRow. Set rowId from
302 passed-in id. Handle ChangeCurrentAndOriginal and ChangeOriginal
305 * DataRow.cs (_hasParentCollection): Remove. Implied by _rowId >= 0.
306 (HasParentCollection): Remove.
307 * DataRowCollection.cs (AddInternal, InsertAt): Update to changes.
309 * DataTable.cs (NewRowArray): Special case size == 0 to avoid
310 creating a lot of garbage.
312 * DataRow.cs (Detach): Rename from DetachRow. Make private.
313 Simplify code to be more uniform. Move common prefix code here ...
314 (AcceptChanges) [Deleted]: ... from here ...
315 (Delete) [Added]: ... and here ...
316 (RejectChanges) [Added]: ... and here.
318 2008-09-04 Raja R Harinath <harinath@hurrynot.org>
320 * DataRow.cs (CheckChildRows) <1-arg variant>: Remove excessive
322 (CheckChildRows) <3-arg variant>: Likewise. Move/split loop
324 (EndEdit): Out-dent some code.
325 (IsNullColumns): Simplify slightly.
327 * DataRelationCollection.cs (CanRemove): Simplify slightly.
329 * DataRelation.cs (CheckStateForProperty): Use the childColumn to
332 * DataColumn.cs (AllowDBNull.set): Rearrange code to be more readable.
333 (AutoIncrement.set): Likewise.
335 (SetDefaultValue): Likewise.
337 2008-08-28 Raja R Harinath <harinath@hurrynot.org>
339 * Constraint.cs (SetExtendedProperties): New internal method.
341 (ExtendedProperties.set): ... here. Kill a #ifdef.
342 * DataTable.cs (DeserializeConstraints): Update to changes.
344 2008-08-27 Raja R Harinath <harinath@hurrynot.org>
346 * ConstraintCollection.cs (Item) <string variant>: Don't incur
347 additional check for index that's returned by 'IndexOf'.
348 (_createNewConstraintName): Improve readability of code.
349 (_isDuplicateConstraintName): Perform cheaper test first.
351 * ConstraintCollection.cs: Reduce some #ifdef by using partial
352 classes. Move 'sealed' and '[Serializable]' to appropriate
353 partial class declarations.
354 * DataRowCollection.cs: Likewise.
356 2008-08-13 Marek Habersack <mhabersack@novell.com>
358 * DataRow.cs: do not check whether a column is read-only when
361 2008-08-08 Raja R Harinath <harinath@hurrynot.org>
363 * DataColumn.cs: Update to changes in DataCollection.
365 2008-07-29 Veerapuram Varadhan <vvaradhan@novell.com>
368 * XmlDataReader.cs (ReadElementElement): Handle custom reference types sanely.
370 2008-07-20 Gert Driesen <drieseng@users.sourceforge.net>
372 * DataColumnCollection.cs (IndexOf): Include name of column - for which
373 there are multiple matches in a different case - in the exception
375 * DataRow.cs (this [int]): On 2.0 profile, throw ArgumentException if
376 value is null and datatype of column is a value type. On 1.0 profile,
377 only allow null value if datatype of column is string. Do not replace
378 value with DBNull.Value if value is null.
380 2008-07-04 Gert Driesen <drieseng@users.sourceforge.net>
382 * DataRow.cs: Use indexer of DataColumnCollection instead of IndexOf.
383 Cosmetic changes to exception message.
384 * DataColumnCollection.cs: Fixed off by one error in index check. Added
385 null check in name indexer. In Clear, also reset columnNameCount and
388 2008-07-03 Gert Driesen <drieseng@users.sourceforge.net>
390 * DataRow.cs: Added missing null checks. Cosmetic changes to exception
393 2008-07-03 Marek Habersack <mhabersack@novell.com>
395 * DataRow.cs (this []): Use DBNull instead of throwing an exception
397 2008-07-01 Rodrigo Kumpera <rkumpera@novell.com>
399 * DataTable.cs: Kill some foreach loops.
403 2008-07-01 Marek Safar <marek.safar@gmail.com>
405 * DataColumnCollection.cs: Made few simple optimizations.
407 2008-06-28 Zoltan Varga <vargaz@gmail.com>
409 * DataTable.cs (NewRowArray): Avoid using reflection if possible.
411 2008-06-19 Atsushi Enomoto <atsushi@ximian.com>
413 * DataRelation.cs : keep createConstraints flag for cloning in
414 DataSet.Merge(). Use different flag for initialization instead.
415 * MergeManager.cs : When cloning DataRelation, createConstraints
416 flag should depend on the source.
417 * XmlSchemaDataImporter.cs : create constraints when creating
420 2008-06-18 Atsushi Enomoto <atsushi@ximian.com>
422 * DataSet.cs : when InferSchema mode, ReadXml() should do "merging
424 * XmlDataInferenceLoader.cs : fixed primary key processing in
425 merging inference mode. Reuse existing one, instead of rejecting
428 2008-06-17 Atsushi Enomoto <atsushi@ximian.com>
430 * XmlSchemaWriter.cs, DataSet.cs, XmlTableWriter.cs, DataTable.cs,
431 XmlDataInferenceLoader.cs, XmlSchemaDataImporter.cs:
432 fix xsd output on msdata:Locale and msdata.UseCurrentCulture.
433 Output explicit Locale only when it is explicitly specified.
434 On the other hand, ReadXml/ReadXmlSchema fills Locale as en-US
435 by default (on .NET).
436 Some code unification in DataTable.WriteXmlSchema() overloads.
438 2008-06-16 Atsushi Enomoto <atsushi@ximian.com>
440 * DataColumn.cs : replaced Activator.CreateInstance() with
441 returning explicit Null member for each SqlXxx type.
443 2008-06-13 Atsushi Enomoto <atsushi@ximian.com>
446 DefaultValue can be non-DBNull. For SqlXxx type, it becomes
447 SqlXxx.Null. Also, changing DataType may change DefaultValue
448 to be consistent with the new type (say, having int DefaultValue
449 for new string DataType is wrong).
452 This should be fixed to take non-DBNull default value into
455 2008-06-12 Atsushi Enomoto <atsushi@ximian.com>
457 * DataSet.cs, DataTable.cs, XmlSchemaDataImporter.cs : constraints
458 on missing tables are ignored when reading a DataTable schema.
459 Fixes part of DataTableTest.ReadXmlSchema() test.
461 2008-05-30 Marek Habersack <mhabersack@novell.com>
463 * Constraint.cs: do not use synthetized event accessors (to avoid
466 2008-05-29 Marek Habersack <mhabersack@novell.com>
468 * DataColumn.cs: do not use synthetic methods for events - this
469 avoids unnecessary locking, especially for internal events.
471 2008-04-21 Gert Driesen <drieseng@users.sourceforge.net>
473 * DataRowView.cs: Modified argument names to match MS. Use
474 String.Empty instead of "". Code formatting.
476 2008-04-16 Veerapuram Varadhan <vvaradhan@novell.com>
478 * XmlDataInferenceLoader.cs (ReadXml): Make sure the name of
479 reference key column(s) in child tables are unique.
481 * XmlSchemaWriter.cs (WriteSchema, WriteDataSetElement,
482 WriteTableType, WriteChildRelations): Handle the scenario wherein
483 we have a relation and only one table. This can occur when we
484 have an XML with same parent/child table names.
486 2008-03-31 Veerapuram Varadhan <vvaradhan@novell.com>
488 * DataView.cs: Reverting rev#98474 changes - as it broke quite a
491 2008-03-23 Gert Driesen <drieseng@users.sourceforge.net>
493 * DataSet.cs: Corcompare fix.
494 * IDataRecord.cs: Corcompare fix.
496 2008-03-22 Gert Driesen <drieseng@users.sourceforge.net>
498 * DataViewSettingCollection.cs: Corcompare fixes and code formatting.
499 * SyntaxErrorException.cs: Corcompare fixes and code formatting.
500 * EvaluateException.cs: Corcompare fixes and code formatting.
501 * StrongTypingException.cs: Coecompare fixes and code formatting.
502 * ReadOnlyException.cs: Corcompare fixes and code formatting.
503 * DataTableCollection.cs: Corcompare fixes and code formatting.
504 * MissingPrimaryKeyException.cs: Corcompare fixes and code formatting.
505 * DeletedRowInaccesibleException.cs: Corcompare fixes and code
507 * DataSet.cs: Corcompare fixes and code formatting.
508 * DuplicateNameException.cs: Corcompare fixes and code formatting.
509 * DataView.cs: Corcompare fixes and code formatting.
510 * VersionNotFoundException.cs: Corcompare fixes and code formatting.
511 * MergeFailedEventArgs.cs: Corcomare fixes and code formatting.
512 * InvalidExpressionException.cs: Corcompare fixes and code formatting.
513 * DBConcurrencyException.cs: Corcompare fixes and code formatting.
514 * DataRowView.cs: Corcompare fixes and code formatting.
515 * DataViewManager.cs: Corcompare fixes and code formatting.
516 * ConstraintException.cs: Corcompare fixes and code formatting.
517 * InvalidConstraintException.cs: Corcompare fixes and code formatting.
518 * IDataRecord.cs: Corcompare fixes.
519 * RowNotInTableException.cs: Corcompare fixes and code formatting.
520 * TypeDataSetGeneratorException.cs: Corcompare fixes and code
522 * InRowChangingEventException.cs: Corcompare fixes and code formatting.
523 * NoNullAllowedException.cs: Corcompare fixes and code formatting.
524 * DataException.cs: Corcompare fixes and code formatting.
526 2008-03-17 Veerapuram Varadhan <vvaradhan@novell.com>
528 ** Fixes part1 of #357947
529 * DataView.cs: (OnRowDeleted): Don't call update, instead delete the row
530 directly from Index. Peformance fix submitted by Hubert FONGARNAND
531 <informatique.internet@fiducial.fr>.
533 2008-02-04 Arina Itkes <arinai@mainsoft.com>
535 * DataTable.cs: Fix for IXmlSerializable.ReadXml.
537 2008-01-28 Arina Itkes <arinai@mainsoft.com>
539 * DataTable.cs: Fix for IXmlSerializable.WriteXml.
541 2007-10-21 Gert Driesen <drieseng@users.sourceforge.net>
543 * DataColumn.cs: Fixed ParamName of ArgumentNullException. Modified
544 exception message for invalid DateTimeMode value to match MS. Code
547 2007-10-19 Nagappan <anagappan@novell.com>
549 * DataRelation.cs: Removed bogus TODO.
551 2007-09-27 Nagappan A <anagappan@novell.com>
553 * DataRelationCollection.cs: Added LAME spec comment as there is no
554 relevant event. Removed MonoTODO too.
556 2007-09-26 Nagappan A <anagappan@novell.com>
558 * DataView.cs (ToTable): Added params keyword.
560 * DataTable.cs: Added XmlSchemaProvider attribute.
562 2007-09-25 Konstantin Triger <kostat@mainsoft.com>
564 * DataSet.cs: correct WriteAttributeString while writing xml with
565 XmlWriteMode.WriteSchema.
567 2007-09-25 Nagappan A <anagappan@novell.com>
569 * DataTable.cs: Code alignment.
571 2007-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
573 * DataColumnCollection.cs: refactoring, fixed columnNameCount comparer
574 to remove culture sensitive ToLower() calls
576 2007-07-22 Nagappan A <anagappan@novell.com>
578 * DataRow.cs: Added internal set property for Table in 2.0
581 * DataColumn.cs: Added internal set property for Table in 2.0
584 2007-07-01 Gert Driesen <drieseng@users.sourceforge.net>
586 * DataRowCollection.cs: Only override Count on 2.0 profile.
587 * RelatedDataView.cs: Fixed line endings.
588 * XmlDataInferenceLoader.cs: Fixed line endings.
590 2007-06-30 Gert Driesen <drieseng@users.sourceforge.net>
592 * DataTableCollection.cs: CopyTo is 2.0 only. Removed extra tabs,
593 and changed spaces to tabs.
595 2007-06-06 Nagappan A <anagappan@novell.com>
597 * DataTable.cs (Select): Removed ununsed variable.
599 2007-05-30 Nagappan A <anagappan@novell.com>
601 * DataColumnCollection.cs (CopyTo): Method specific to 2.0
604 * DataRowCollection.cs (Count): Property is overridden in 2.0
607 * TypedDataSetGenerator.cs: Class is obsolete in 2.0 profile.
609 * DataRelationCollection.cs (CopyTo): Method specific to 2.0
612 2007-05-18 Rolf Bjarne Kvinge <RKvinge@novell.com>
614 * CustomDataClassGenerator.cs: Misc fixes in order to emit correct VB code.
615 CreateDataSetDefaultCtor: we're creating a delegate, not an object, so use a DelegateCreateExpression.
616 CreateDataSetSchemaChanged: we're comparing value types, use the correct equality operator.
617 CreateTableGetEnumerator: explicity state that the method is an implementation of IEnumerable.GetEnumerator.
618 CreateTableEventStarter: we're invoking a delegate, so use a DelegateInvokeExpression.
619 Several changes to not generate members with names that only differ by case.
621 2007-05-18 Chris Toshok <toshok@ximian.com>
623 * DataColumnCollection.cs (Add ()): handle the default name case
625 (Add (string)): same - let Add(DataColumn) handle the default name
627 (Add (DataColumn)): in the 1.1 case, we need to add the column's
628 PropertyChanged handler *before* possibly setting the column name
629 to the default so we emit the right events (Changed/Added). In
630 the 2.0 case, we add the event handler after the name is set, and
631 therefore only emit the Added event.
633 2007-05-07 Adar Wesley <adarw@mainsoft.com>
635 * ConstraintCollection.cs: added CopyTo method with strongly typed Constraint[]
638 * DataTable.cs: added implementation of IXmlSerializable. Added missing
639 method ReadXmlSerializable.
641 2007-04-19 Chris Toshok <toshok@ximian.com>
643 * DataColumnCollection.cs (Add): the Element in our
644 CollectionChangedEventArgs should be the column, not the
645 collection. Also, add an event handler for the column's
646 PropertyChanged event so we can propagate metadata changes.
647 (Remove): Analogous change to the CollectionChangedEventArgs as in
648 Add. Also, unhook the column's PropertyChanged event.
649 (OnCollectionmetaDataChanged): emit our new event.
650 (ColumnPropertyChanged): called when the column's ColumnName
651 property changes. Emit the proper CollectionChangeEvent.
653 * DataView.cs (ColumnCollectionChanged): fix up the comment about
654 CollectionChangeAction.Refresh, and make explicit what generates
656 (RegisterEventHandlers): hook up
657 DataColumnCollectoin.CollectionMetaDataChanged.
658 (RegisterEventHandlers): unhook
659 DataColumnCollectoin.CollectionMetaDataChanged.
661 2007-02-23 Nagappan A <anagappan@novell.com>
663 * DataRow.cs (Item): Checks whether this DataRow exist in the
664 DataRowCollection, then compute the expression. Fixes bug #
667 * DataRowCollection.cs (IndexOf): Modified as internal method for
670 * XmlDataReader.cs (StringToObject): DataTables containing
671 System.Type throw exception on deserializing. Fixes bug # 80596.
673 * XmlDataLoader.cs (StringToObject): DataTables containing
674 System.Type throw exception on deserializing. Fixes bug # 80596.
676 2007-02-20 Konstantin Triger <kostat@mainsoft.com>
678 * XmlSchemaDataImporter.cs: ensure the tables are created in document order.
680 2007-02-19 Konstantin Triger <kostat@mainsoft.com>
682 * XmlDataReader.cs, XmlDataInferenceLoader.cs, XmlDiffLoader.cs:
683 ignore attributes from "http://www.w3.org/XML/1998/namespace".
684 * XmlConstants.cs: add constant for "http://www.w3.org/XML/1998/namespace".
685 * XmlDataInferenceLoader.cs: track the added elements index to fix the
686 added column ordinal.
688 2006-12-11 Chris Toshok <toshok@ximian.com>
690 * DataView.cs: GetItemProperties should return an empty collection
691 if we have no data table. Presently we NRE.
693 2006-12-08 Nagappan A <anagappan@novell.com>
695 * DataTable.cs (ReadXml): Removed if condition, as it should not
696 check the exception string.
698 2006-12-07 Chris Toshok <toshok@ximian.com>
700 * DataView.cs: add CollectionChangeEventHandler's on the
701 ChildRelations and ParentRelations collections, and emit
702 ListChanged events with PropertyDescriptor.Added/Deleted/Changed
705 2006-12-07 Nagappan A <anagappan@novell.com>
707 * DataTable.cs (ReadXml): Integrated the implementation of
708 ReadXml, patch provided by deepak_2603@yahoo.com.
710 2006-12-05 Nagappan A <anagappan@novell.com>
712 * DataTable.cs (WriteXmlSchema): Using XmlTextWriter instead of
713 XmlWriter, solved the File Sharing IO Exception.
715 2006-11-28 Hubert FONGARNAND, FrAcdAcric Mestayer <informatique.internet@fiducial.fr>
717 * DataColumnCollection.cs : Improved Column searching when not
718 using exact column name (case sensitivity). Fixes bug # 80075.
720 2006-11-28 Nagappan A <anagappan@novell.com>
722 * XmlSchemaDataImporter.cs: Fixed 2.0 profile compilation
723 warnings. Using AttributeSchemaType instead of AttributeType and
724 ElementSchemaType instead of ElementType.
726 * TypedDataSetGenerator.cs: Modified the profile check from
727 !NET_1_1 to !NET_1_0, as this class is obsolete from 1.1 profile.
729 * DataRelationCollection.cs (Item): Modified the property Item as
730 abstract and implemented it in DataSetRelationCollection and
731 DataTableRelationCollection classes.
733 * DataRowView.cs: Remove bogus MonoTODOs.
735 * ForeignKeyConstraint.cs (ForeignKeyConstraint): Implemented
736 2.0 profile's missing constructor.
738 * XmlDataLoader.cs (StringToObject): Modify XmlConvert.ToDateTime
739 to use XmlDateTimeSerializationMode, as the default ToDataTime
742 * XmlDataReader.cs (StringToObject): Modify XmlConvert.ToDateTime
743 to use XmlDateTimeSerializationMode, as the default ToDataTime
746 * DataView.cs (IsInitialized): Added browsable attribute.
748 * DataViewSettingCollection.cs (CopyTo): Implemented missing 2.0
751 * DataRelation.cs (DataRelation): Added 2.0 profile constructor to
752 take parentTableNameSpace and childTableNameSpace as argument.
753 (FinishInit): Update parentTableNameSpace and childTableNameSpace,
754 when the string is not empty in 2.0 profile.
756 * DataRowCollection.cs: Implemented Count public property.
757 Added !NET_2_0 for List protected property, as it has been removed
759 (IndexOf): Implemented new public method.
760 (CopyTo): Implemented new public override method.
761 (GetEnumerator): Implemented new public override method.
763 * DataTable.cs (Load): Throw ArgumentNullException, when reader
765 (WriteXmlSchema): Throw InvalidOperationException, when table name
766 is empty. When DataSet Namespace is set, append that with '_x003A_'
768 (IsInitialized): Added browsable attribute.
770 * DataSet.cs (Load): Throw ArgumentNullException, when reader
772 (IsInitialized): Added browsable attribute.
773 (WriteObjectXml): Modify XmlConvert.ToDateTime to use
774 XmlDateTimeSerializationMode, as the default ToDataTime method id
777 * XmlSchemaWriter.cs (WriteSchema): Modified UseCurrentCulture to
779 (WriteDataSetElement): Added minOccurs attribute.
780 (WriteConstraints): Check for tables length, if > 1 then add the
781 relations to XmlSchema.
783 2006-11-21 Nagappan A <anagappan@novell.com>
785 * DataView.cs: Added public event Initialized.
786 (IsInitialized): Implemented public function to check whether a
787 dataview is initialized or not.
789 * DataSet.cs: Added ISupportInitializeNotification for .NET 2.0
791 (RemotingFormat): Set the default value attribute as
792 SerializationFormat.Xml.
793 (IsInitialized): Implemented public function to check whether a
794 table is initialized or not.
795 (CreateDataReader): Added params keyword in argument.
796 (Load): Implemented all Load overloaded functions.
797 (GetObjectData): Modified to public for .NET 2.0 implementation.
798 (IsBinarySerialized): Implemented the public API to check whether
799 the given stream is binary serialized or not.
800 * DataTable.cs: Added ISupportInitializeNotification for .NET 2.0
803 2006-11-15 Nagappan A <anagappan@novell.com>
805 * DataTable.cs (RemotingFormat): Set the default value attribute
806 as SerializationFormat.Xml.
807 (OnTableNewRow, NewRowAdded): Implemented new function to raise an
808 event when a new row is added to the table.
809 (DataTableInitialized, OnTableInitialized): Implemented new
810 function to raise an event when a table is initialized.
811 (IsInitialized): Implemented public function to check whether a
812 table is initialized or not.
813 (OnTableClearing): Raise an event before the table is cleared.
814 (GetObjectData): Modified to public for .NET 2.0 implementation.
815 (Load): Implemented missing API to call the registered delegate
816 function on load exception.
817 (WriteXmlSchema): Implemented overloaded function to write the
818 hierarchy with XML Schema.
820 2006-11-15 Konstantin Triger <kostat@mainsoft.com>
822 * DataTable.cs: Fixed LoadDataRow scenarios.
823 * DataRowCollection.cs: Added override for AddInternal taking DataRowAction parameter.
825 2006-11-14 Konstantin Triger <kostat@mainsoft.com>
827 * DataColumn.cs: consider row version wen checking row.IsNull().
829 2006-10-18 Nagappan A <anagappan@novell.com>
831 * ForeignKeyConstraint.cs (_validateColumns): Parent and child
832 columns can't be the same column - Exception, bug # 79689
834 2006-10-13 Nagappan A <anagappan@novell.com>
836 * DataTable.cs (DeserializeConstraints): Fine tuned the
837 serialization and deserialization of constraints.
839 * DataRelationCollection.cs (Contains): Fixes bug
840 #79233. DuplicateNameException when two relations for different
841 DataTables in DataSet are defined
843 2006-10-06 Patrick Earl <mono@patearl.net>
845 * DataTable.cs, XmlTableWriter.cs, XmlSchemaWriter.cs, DataSet.cs:
846 Implemented DataTable.WriteXml
848 2006-09-26 Nagappan A <anagappan@novell.com>
850 * DataTable.cs, DataSet.cs, DataColumn.cs, Constraint.cs,
851 DataRow.cs: Implementation of Binary Serialization /
854 * DataTable.cs (RowsExist): Check rows based on version.
856 * DataRow.cs: Raise exception same as MS.NET. Thanks to
857 Hubert FONGARNAND <informatique.internet@fiducial.fr> for
858 providing this patch.
860 2006-09-07 Vladimir Krasnov <vladimirk@mainsoft.com>
862 * DataSet.cs: added 2.0 stubs to solve typed dataset porting issues
864 2006-08-30 Nagappan A <anagappan@novell.com>
866 * DataRow.cs (EndEdit): DataRow.EndEdit emits RowChanged too
867 often. Fixes bug # 78885.
869 2006-08-14 Konstantin Triger <kostat@mainsoft.com>
871 * DataTableCollection.cs, DataRelationCollection.cs, DataRowCollection.cs,
872 DataColumnCollection.cs: implemented specialized CopyTo() method.
874 2006-07-26 Nagappan A <anagappan@novell.com>
876 * DataTable.cs (GetIndex): Fixes memory explode on
877 DataTable.Select - Bug # 77691.
879 2006-07-25 Nagappan A <anagappan@novell.com>
881 * DataView.cs (OnRowCollectionChanged): On DataTable.Clear,
882 setting rowCache to empty DataRowView. Fixes bug # 78610.
884 * DataTable.cs (AcceptChanges): Raises Reset event. Fixes bug #
887 2006-07-20 Senganal T <tsenganal@novell.com>
890 - Merge : moved the columntypecheck to AdjustSchema,
891 Remove the unncessary calls to Table.ResetIndexes.
892 - AdjustSchema : check for columntypes
893 Thanks to Deepak Kr Valechha for the patch
895 2006-07-17 Senganal T <tsenganal@novell.com>
898 - ToTable : Implemented all the overloads
899 - Equals : Implemented
900 - IBindingListView : Implemented the interface
902 2006-07-15 Senganal T <tsenganal@novell.com>
904 * DataTableCollection.cs :
905 - Contain,IndexOf,Remove,Add,Indexer : support for table
906 namespace. Remove redundant checks in Remove/Add.
908 2006-07-14 Senganal T <tsenganal@novell.com>
911 - SetOrdinal : Implemented
912 - Ordinal : added internal set
913 * DataColumnCollection.cs :
914 - Add : Set the column ordinals
915 - MoveColumn : Changes the position of column in the
918 2006-07-14 Senganal T <tsenganal@novell.com>
921 - Merge - Implement the merge methods
922 - Clone - Ensure column's DateTimeMode property is also copied
924 - DateTimeMode : Implemement
925 - DataTypeMatches : Added. In 2.0 profile, test DateTime
926 property when verifying column types.
928 - ctr : For DateTime columns, check DateTimeMode property
929 * ForeignKeyConstraint.cs :
930 - _validateColumns : For DateTime columns, check DateTimeMode
933 - Merge : Added. Overload to merge two tables
934 - ResolveColumns : Change the method to use a table instead of
936 - Renamed AdjustSchema to AdjustSchemaRelations
938 2006-07-13 Senganal T <tsenganal@novell.com>
941 - WriteTables : Remove some commented out code
942 - WriteTable : Fix the logic to skip the table data when the
943 table has a nested relation.
946 2006-07-12 Senganal T <tsenganal@novell.com>
948 * ConstraintCollection.cs :
949 - Remove (string): If constraint name is not found, throw exception
950 - Remove (Constraint): Set the ConstraintCollection of the removed
952 Thanks to Deepak Kr Velachha for reporting the bug.
954 2006-07-12 Senganal T <tsenganal@novell.com>
957 - LoadColumnChildren : If schema name is missing, skip the
959 Thanks to Deepak Kr Velachha for identifying the bug.
961 2006-07-11 Senganal T <tsenganal@novell.com>
963 * XmlSchemaWriter.cs :
964 - WriteTableType : If Relation.Nested is true, then nest the
965 table schemas. Correct the xml to add the table element within
966 the <Sequence> element.
967 - WriteChildRelations : Correct the Xml element name and
968 attributes. Close the attribute correctly.
970 * XmlSchemaDataImporter.cs :
971 - GenerateRelationship : When creating the relations, if
972 ParentColumn exists but Corr ChildCol is null, create a child
973 Column with the same name and type as the parent column.
974 - Renamed DataSetDefinesPrimaryKey to DataSetDefinesKey
975 - DataSetDefinesKey : if either xsd:key or xsd:keyref is
976 defined for the dataset, do not manually create the relations.
977 - AddParentKeyColumn : if Columnname already exists, use
978 colname_0 instead of throwing an exception.
979 - FillDataColumnRepeatedSimpleElement : Do not set the Unique
980 value as it creates a constraint by default. The unique value
981 is automatically set when pk is set.
982 - CreateChildColumns : Added. Creates a ChildColumn duplicating
983 ParentColumn properties.
985 2006-06-30 Senganal T <tsenganal@novell.com>
988 - SetAdded, SetModified : new methods in 2.0
990 2006-06-30 Senganal T <tsenganal@novell.com>
991 * SerializationFormat.cs, DataSetDateTime.cs, DataTableNewRowEventArgs.cs,
992 DataTableNewRowEventHandler.cs : Added
993 * SyntaxErrorException.cs EvaluateException.cs StrongTypingException.cs
994 IsolationLevel.cs ReadOnlyException.cs DataTableCollection.cs
995 DataRowState.cs MissingPrimaryKeyException.cs DeletedRowInaccessibleException.cs
996 DuplicateNameException.cs PropertyAttributes.cs StatementType.cs
997 VersionNotFoundException.cs FillErrorEventHandler.cs DataRowChangeEventHandler.cs
998 XmlWriteMode.cs InvalidExpressionException.cs StateChangeEventHandler.cs
999 DbType.cs DataColumnChangeEventHandler.cs KeyRestrictionBehavior.cs
1000 ConnectionState.cs SchemaType.cs MergeFailedEventHandler.cs SqlDbType.cs
1001 DataRowVersion.cs ForeignKeyConstraint.cs DBConcurrencyException.cs
1002 OperationAbortedException.cs MissingSchemaAction.cs DataTableClearEventHandler.cs
1003 DataRowView.cs DataRowAction.cs ConstraintCollection.cs DataTableReader.cs
1004 LoadOption.cs InvalidConstraintException.cs InternalDataCollectionBase.cs
1005 ParameterDirection.cs AcceptRejectRule.cs UpdateRowSource.cs XmlReadMode.cs
1006 TypedDataSetGenerator.cs RowNotInTableException.cs TypeDataSetGeneratorException.cs
1007 InRowChangingEventException.cs MissingMappingAction.cs NoNullAllowedException.cs
1008 CommandBehavior.cs PropertyCollection.cs CommandType.cs
1009 UpdateStatus.cs ConflictOption.cs DataViewRowState.cs Rule.cs
1010 DataColumnCollection.cs :
1013 2006-06-27 Senganal T <tsenganal@novell.com>
1015 * DataSet.cs, DataTable.cs : implement CreateDataReader methods
1016 * InternalDataCollectionBase.cs
1017 - ToArray () : helper method
1018 * DataTableReader.cs :
1019 - GetSchemaTable : set the schema info correctly
1020 - GetProvider*, GetChars, GetBytes, GetValues :
1021 Implemented the methods
1022 - GetName : return the name of corresponding schema.
1023 - ValidateSchemaIntact, OnColumnCollectionChanged,
1025 Listen and raise expception if schema changes
1027 2006-06-21 Chris Toshok <toshok@ximian.com>
1029 * DataView.cs: update the index after we successfully add the new
1030 row. This keeps the dataview's row view count in sync with the
1033 2006-06-20 Chris Toshok <toshok@ximian.com>
1035 * DataView.cs: the PropertyDescriptorCollection returned by
1036 ITyepdList.GetItemProperties should include the child relations of
1037 our table, in order to match MS's behavior.
1039 * DataViewManager.cs: ICollection.Count property is always 1.
1041 2006-06-15 Senganal T <tsenganal@novell.com>
1044 - Select : If Sort String is not provided, sort the result
1045 DataRows in Ascending Order of the Columns used in the filter
1047 2006-06-15 Senganal T <tsenganal@novell.com>
1050 - InternalEnforceConstraints : Check if any null constraints
1051 are violated. Throw ConstraintException only after all the errors
1054 - EnforceConstraints : Move away the logic to check for
1055 NullConstraintViolation.
1056 - AssertNotNullConstraint : Checks for Null Constraint
1058 - EndLoadData : Do not throw any exceptions here. All the
1059 errors have to be found and RowErrors set before throwing the
1062 - ImportRecrod : Check the values of the row for any null
1064 - SetColumnError : If the error for column is already set,
1065 do not add a new error but edit the existing error.
1066 - CheckValue : Set the NullConstraintViolation flag if either
1067 table is being loaded or if EnforceConstraints is set to
1069 * Constraint.cs : Do not throw exception when EnforceConstraints is
1070 set to false or table is being loaded.
1071 * UniqueConstraint.cs : Correct the error message. Set ColumnErrors
1072 along with the RowError.
1074 2006-05-31 Gert Driesen <drieseng@users.sourceforge.net>
1076 * DataTable.cs: Renamed initInProgress to fInitInProgress. BeginInit
1077 and EndInit must only be virtual in 2.0 profile. Set eol-style to CRLF.
1079 2006-05-31 Senganal T <tsenganal@novell.com>
1081 * XmlDataInferenceLoader.cs :
1082 - InferTableElement : Repeated element should result in a single
1084 Patch from Deepak Kr Velachha
1086 2006-04-21 Senganal T <tsenganal@novell.com>
1088 * DataRowCollection.cs :
1089 - Find : If search on the table using PrimaryKey fails and if
1090 index is not being maintained (during table load), search the
1092 - Find (int) : Removed. Deadcode.
1094 - Not necessary to delete each row from the Index.
1095 Just reset the Indexes after cleaning up the row
1097 - Simplify dependency check for child tables
1100 - Do not use DataRowCollection.Find to search for
1101 existing records as this wud check even newly loaded rows.
1103 - Do not add new records to Index. Update Index only
1104 if an existing record is modified. New records will be
1105 taken care by EndLoadData.
1107 2006-04-19 Senganal T <tsenganal@novell.com>
1109 * XmlHelper.cs : A helper class for encoding/decoding schema names.
1110 Caches the Schema names to minimize encoding/decoding operations and
1111 duplicate strings created.
1113 - Use XmlHelper for encoding/decoding schema names.
1114 - Encode ConstraintNames when writing as xml.
1117 * XmlDataInferenceLoader.cs
1118 * XmlSchemaDataImporter.cs
1119 - Use XmlHelper for encoding/decoding schema names.
1120 * DataTableCollections : Minor code refactor.
1121 * DataRow.cs : Create XmlElement only if required.
1123 2006-04-07 Senganal T <tsenganal@novell.com>
1126 - InternalEnforceConstraints() : Reset Indexes of all tables
1127 before validating constraints. Fixes #78010
1129 2006-03-04 Boris Kirzner <borisk@mainsoft.com>
1130 * TypeDataSetGeneratorException.cs: fix .Net Soap serialization compatibility.
1132 2006-03-25 Senganal T <tsenganal@novell.com>
1135 - RejectChanges : When row is in Deleted state, add the row back to
1136 Indexes and Validate the row.
1139 2006-03-23 Senganal T <tsenganal@novell.com>
1142 - LoadDataRow : Add the row to the indexes, when loading a new row.
1144 2006-03-22 Senganal T <tsenganal@novell.com>
1147 - PrimaryKey : Set the IsPrimaryKey attribute before Removing from collection.
1148 - RemoveUniqueConstraints : Removed. dead code.
1151 - If adding/removing constraint fails, retain Unique value
1152 - Remove redundant code
1153 * UniqueConstraint.cs :
1154 - SetIsPrimaryKey : Added. Sets the value of IsPrimaryKey.
1155 - RemoveFromConstraintCollectionCleanup : If constraint is on a single column, then
1156 set Unique for that column to false.
1157 - CanRemoveFromCollection : Do not remove constraint, if its a PrimaryKey
1159 2006-03-20 Senganal T <tsenganal@novell.com>
1162 - CopyRelations () : When copying the relation, do not add constraints
1163 automatically for the relation.
1164 - OnMergeFailed () : If merge fails and no handler is set for the MergeFailedEvent,
1165 then throw DataException
1166 * ConstraintCollection.cs :
1167 - Add () : Check if a constraint already exists on the Columns that are being
1169 - IndexOf () : Do not check for equivalent constraints, check for the exact instance.
1170 * MergeManager.cs ():
1172 - Handle the MissingSchemaAction.Error case,
1173 - Do not create constraints when mergin the DataRelation
1174 - Follow the semantics for schema merge/validation when constraints are already present
1175 in the target DataSet.
1176 - AdjustPrimaryKeys () :
1178 - Verify Order of Columns in the PrimaryKey when merging.
1179 - ResolveColumns : Changed the arument to DataSet. Simplifies code elsewhere.
1180 - CompareColumnArrays, CompareColumnArrays : Helper funtions.
1182 2006-03-09 Senganal T <tsenganal@novell.com>
1185 - RejectChanges () : Add the row to index, if it was in deleted state and
1186 Update the index if in Modified State.
1187 - AcceptChanges () : Do not update the Indexes.
1188 - EndEdit () : Update the indexes even if BeginLoadData has been called
1189 on the table. Ideally, indexes should not be maintained during DataLoad,
1190 but this needs to handled in multiple places correctly. For now, just maintain
1191 the index to ensure correct operation.
1193 2006-03-05 Senganal T <tsenganal@novell.com>
1196 - BeginInit (), EndInit () : Implemented methods
1197 - InitInProgress : Added.
1199 - EndInit () : Move the adding of columns and constraints
1201 - FinishInit () : Added. Adds the Constraints and Columns
1203 - InitInProgress : Added.
1205 - FinishInit () : Added. Virtual method
1206 - InitInProgress : Added. Virtual property
1207 * UniqueConstraint.cs
1208 * ForeignKeyConstraint.cs
1209 - FinishInit () : Added.
1210 - InitInProgress : Added.
1211 - DataColsNotValidated : Removed.
1212 * ConstraintCollection.cs
1213 - PostAddRange : Removed event
1214 - PostEndEdit () : Renamed to PostAddRange
1215 - Add () : Simplified the testing if constraint is initialized
1216 - AddRange () : Simplified initializing the constraints
1217 * DataTableCollection.cs
1218 - PostAddRange () : Added. Adds the tables to the collection
1219 * DataColumnColletion.cs
1220 - PostEndInit () : Renamed to PostAddRange.Also, add column to
1221 the collection only if not null.
1223 Added/Implemented methods for design time support. Renamed some methods for consistency
1224 in naming across classes for methods serving the same purpose.
1226 2006-02-24 Senganal T <tsenganal@novell.com>
1228 * UniqueConstraint.cs :
1229 - ChildConstraint : Added. Simplifies verifying if constraints are
1231 - CanRemoveFromCollection : Fixed the check to verify if constraints is
1232 linked to a ForeignKeyConstraint. Fixes #77630
1233 * ForeignKeyConstraint.cs :
1234 - _validateRemoveParentConstraint : Removed. Not used anymore
1235 - ParentConstraint : Added. Simplifies verifying if constraints are
1237 2006-02-22 Senganal T <tsenganal@novell.com>
1240 - RejectChanges : Do not remove Row from Indexes when state is Deleted.
1241 - CheckChildRows : When checking for the ChildRows, use the current value
1242 and not the original value.
1244 2006-02-18 Atsushi Enomoto <atsushi@ximian.com>
1246 * CustomDataClassGenerator.cs : Patch by Marek Habersack. xsd now
1247 outputs AutoIncrement, AutoIncrementSeed, AutoIncrementStep and
1248 ReadOnly properties. This fixes bug #77576.
1250 2006-02-17 Chris Toshok <toshok@ximian.com>
1252 * System.Data/DataSet.cs, System.Data/DataView.cs,
1253 System.Data/ForeignKeyConstraint.cs,
1254 System.Data/DataViewManager.cs, System.Data/DataRow.cs,
1255 System.Data/DataSysDescriptionAttribute.cs,
1256 System.Data/UniqueConstraint.cs, System.Data/DataTable.cs,
1257 System.Data/DataRelation.cs: lots of attribute work, removing
1258 DataSysDescription atributes (and marking the class obsolete) for
1261 2006-02-17 Chris Toshok <toshok@ximian.com>
1263 * DataAdapterException.cs: remove this file.
1265 2006-02-17 Chris Toshok <toshok@ximian.com>
1267 * DataTableReader.cs: Switch to the (bool) form of Dispose to
1268 override, as the no-arg form isn't virtual.
1270 * Constraint.cs: #ifdef out more DataSysDescriptions.
1272 * ConstraintException.cs: add ..ctor (string, Exception) for 2.0.
1274 2006-02-17 Chris Toshok <toshok@ximian.com>
1276 * DataColumn.cs: #ifdef all the DataSysDescriptions !NET_2_0.
1278 * AdapterMappingException.cs: nuke this file.
1280 * IDbAsyncConnection.cs, IDbAsyncCommand.cs, IGetTypedData.cs,
1281 ISetTypedData.cs, IDataReader2.cs, IDataSources.cs,
1282 IDbExecutionContext.cs, IDataRecord2.cs, IDataUpdatableRecord.cs:
1283 remove these 2.0 files.
1285 2006-02-17 Chris Toshok <toshok@ximian.com>
1287 * ConstraintCollection.cs: in 2.0, class is not serializable and
1288 is sealed. make all the "virtuals" #if !NET_2_0 as well.
1290 * Constraint.cs: not serializable in 2.0.
1292 * DataColumnCollection.cs: in 2.0, class is not serializable and
1293 is sealed. make all the "virtuals" #if !NET_2_0 as well.
1295 * DataRelationCollection.cs: not serializable in 2.0.
1297 * DataRelation.cs: not serializable in 2.0.
1299 * DataRowBuilder.cs: class is sealed in 2.0.
1301 * DataRowCollection.cs: in 2.0, class is not serialized and is
1302 sealed. Also, Add isn't virtual in 2.0 (as the class is sealed).
1304 * DataRow.cs: not serializable in 2.0.
1306 * DataSet.cs: remove some DataSysDescriptions from the 2.0 build,
1307 and s/GetDataReader/CreateDataReader.
1309 * DataTableCollection.cs: in 2.0, class is not serializable and is
1310 sealed. make all the "virtuals" #if !NET_2_0 as well.
1312 * DataTableReader.cs: remove VisibleFieldCount property.
1314 * DataViewSettingCollection.cs: not serializable in 2.0.
1316 * DataViewSetting.cs: not serializable in 2.0.
1318 * ForeignKeyConstraint.cs: serializable in 2.0.
1320 * OperationAbortedException.cs: class is sealed and serializable.
1322 * PropertyCollection.cs: serializable in 2.0.
1324 * StatementCompletedEventArgs.cs: class is sealed.
1326 * UniqueConstraint.cs: not serializable in 2.0.
1328 2006-02-16 Senganal T <tsenganal@novell.com>
1331 WriteDataSetElement : Add an annotation element if exists.
1332 WriteDataRelationAnnotation : New. Write a DataRelation as an annotation.
1333 WriteConstraints : Write ForeignKeyConstraint even when not associated with
1334 a DataRelation and add a "ConstraintOnly=true" attribute for such constraints.
1335 * XmlConstants.cs : Add a new constant - ConstraintOnly
1336 * XmlSchemaImporter.cs :
1337 - ConstraintStructure : Add field ,IsConstraintOnly, to distinguish if a foreignkeyconstraint
1338 is related to relation or not.
1339 - GenerateRelation : Handle the case when parentkey and childkey contain multiple columnnames.
1341 2006-02-11 Senganal T <tsenganal@novell.com>
1343 * UniqueConstraint.cs :
1344 - PostAddRange : Check PrimaryKey is not already set for the table
1346 - PrimaryKey : follow ms.net behavior when BeginInit , EndInit is used.
1347 - Add new priamry key only when EndInit is called.
1348 - Incase of an error, retain old primarykey
1350 - Add Constraints after columns are added.
1351 - If both PrimaryKey Property and PrimaryKey Constraint are set,
1352 then the Constraint takes precedence.
1355 2006-02-03 Senganal T <tsenganal@novell.com>
1357 * DataTableCollection.cs :
1358 - Remove () : Check for invalid TableName
1359 - Add () : Verify the table doesn't belong to another dataset
1361 - CompleteLastAdded () : Do not raise ItemAdded Event as it is
1362 already raised in AddNew().
1364 - Expression : Verify that the Column names in the expression are valid
1365 - ResetCollectionInfo : Renamed to ResetColumnInfo
1367 - RejectChanges () : Reorganized the code to do the Right thing.
1368 - Item : Dont check for detached and deleted rows as these are
1370 * DataRowCollection.cs :
1371 - Add () : Check for null value
1373 - PrimaryKey : Set AllowDBNull=false for all the key columns
1374 - ImportRow : Import the row only if it is not in Detached state. if in Deleted
1375 state, perform the validation when AcceptChanges/RejectChanges is called.
1376 * DataColumnCollection.cs :
1377 - Add : Validate the column expression before adding it to the collection.
1378 - GetColumnDependency () : New. Get the dependencies on the column
1379 - CanRemove : Move checks to GetColumnDependency
1380 - Clear () : Simplified code. Remove unncessary checks.Also, dont check Expression col.
1381 - IndexOf - Check argument.
1382 Overall , appropriate error msg's are thrown if Remove/Clear fails. Removed a few
1383 redundant checks performed and moved the common code to GetColumnDependency.
1385 2006-01-31 Senganal T <tsenganal@novell.com>
1387 * DataSet.cs : Modified CopyRelations ()
1388 - Added code to copy ForeignKeyConstraints. Fixes #77411.
1390 2006-01-18 Boris Kirzner <borisk@mainsoft.com>
1391 * DataColumn.cs: added PropertyCchangedEvent handling.
1393 2006-01-17 Senganal T <tsenganal@novell.com>
1396 ItemArray : Modified to raise RowInTableException only if
1397 the concerned row has been removed from the table.Fixes
1400 2006-01-16 Boris Kirzner <borisk@mainsoft.com>
1401 * DataTable.cs: Drop dependend indexes on column removal.
1403 2006-01-16 Atsushi Enomoto <atsushi@ximian.com>
1405 * CustomDataClassGenerator.cs :
1406 When a DataRelation connects the same table as parent and child,
1407 generate parent row property as BlahRowParent. Fixed bug #77248.
1409 2006-01-10 Senganal T <tsenganal@novell.com>
1410 * DataRowCollection.cs
1411 - Added ListChangedEvent to notify reset of the collection.
1413 - Subscribes to the ListChangedEvent of DataRowCollection
1416 2006-01-09 Senganal T <tsenganal@novell.com>
1417 * RelatedDataView.cs
1419 - Resolving a name clash in IExpression
1421 2006-01-06 Senganal T <tsenganal@novell.com>
1424 * DataColumnCollection.cs
1425 - Reset the Parameters of DataColumn to Default Values when
1426 column is removed from the Table's Collection
1428 2006-01-03 Senganal T <tsenganal@novell.com>
1431 - ParseSortString() : Changed the way the sort string is parsed.
1432 Using a regex to parse the string.Fixes bug #77104
1434 2005-12-12 Konstantin Triger <kostat@mainsoft.com>
1436 * DataRow.cs: Added index Updates.
1437 EndEdit() fixed to first update indices and then AssertConstraints
1438 based on those indices.
1439 Added Validate() and AssertConstraints() functions.
1440 * DataRowCollection.cs: Removed ValidateDataRowInternal().
1441 * DataTable: Fixed Clear().
1443 2005-12-06 Atsushi Enomoto <atsushi@ximian.com>
1445 * CustomDataClassGenerator.cs : (InitializeFields) handle AllowDBNull
1446 and DefaultValue as well. Patch by Marek Habersack (bug #76709).
1448 2005-12-01 Miguel de Icaza <miguel@novell.com>
1450 * DataSet.cs: Apply patch from Robert Jordan, to fix #76817
1452 2005-11-26 Konstantin Triger <kostat@mainsoft.com>
1454 * ConflictOption.cs: TARGET_JVM include.
1456 2005-11-11 Senganal T <tsenganal@novell.com>
1458 * ConflictOption.cs (new file)
1459 - Added ConflictOption Enumeration
1460 * DataTableReader.cs
1462 - GetProviderSpecificFieldType : Corrected the method name
1464 2005-11-11 Senganal T <tsenganal@novell.com>
1466 * DataSet.cs : Added the SchemaSerializationMode Property for NET_2_0
1468 * SchemaSerializationMode.cs : Added SchemaSerializationMode Enumeration
1469 for NET_2_0 compatibility.
1473 2005-10-20 Atsushi Enomoto <atsushi@ximian.com>
1475 * XmlSchemaWriter.cs : escape names in the schema with XmlConvert.
1478 2005-10-14 Sureshkumar T <tsureshkumar@novell.com>
1480 * DataView.cs: Correct multiple throwing of events. Patch from
1482 (RowStateFilter): Fire ListChangedEvent.
1483 (ApplyDefaultSort): Fire ListChangedEvent.
1484 (CompleteLastAdded): call UpdateIndex to remove the row from rowCache.
1485 (IBindingList.Find): Implemented.
1487 2005-10-11 Sureshkumar T <tsureshkumar@novell.com>
1489 * DataView.cs (IBindingList): Implemented methods for IBindingList interface.
1491 2005-09-26 Lluis Sanchez Gual <lluis@novell.com>
1493 * DataSet.cs: In IXmlSerializable.GetSchema, return null again for
1494 untyped datasets. Fixes bug #76101.
1496 2005-09-21 Boris Kirzner <borisk@mainsoft.com>
1497 * DataRow.cs: Fixes for index updating.
1499 - Reset case-sensitive indexes also if their filter contains columns
1501 - Use GetIndex instead of FindIndex, so the indexes created in Select()
1503 * RelatedDataView.cs: implement IExpression.Equals() and GetHashCode().
1505 2005-09-20 Sureshkumar T <tsureshkumar@novell.com>
1507 * DataView.cs (Sort): Apply default Sorting Order if Sort property
1508 is reset to null. Sort property handles this. Patch from Marc.
1510 * DataTable.cs (ParseSortString): Patch from Marc Haisenko for
1511 allowing [ & ] in DataView.Sort string.
1513 2005-09-01 Boris Kirzner <borisk@mainsoft.com>
1514 * System.Data/DataRowCollection.cs: indexes should be updated even if
1515 EnforceConstraints is false. Check for EnforceConstraints in
1516 ValidateDataRowInternal.
1518 2005-08-08 Gert Driesen <drieseng@users.sourceforge.net>
1520 * DataView.cs: Changed accessibility of dataTable, rowState and
1521 rowCache field to internal to fix public API. Assigned TypeConverter
1523 * ForeignKeyConstraint.cs: IsConstraintViolated is now internal.
1524 * Constraint.cs: IsConstraintViolated is now internal.
1525 * UniqueConstraint.cs: IsConstraintViolated is now internal.
1527 2005-08-05 Atsushi Enomoto <atsushi@ximian.com>
1529 * XmlSchemaDataImporter.cs : When "dataset element" has identity
1530 constraints, then first reserve constraints room for them and then
1531 process elements, skipping pkey creation if there is already
1532 reserved one. Fixed bug #75711.
1534 2005-08-05 Atsushi Enomoto <atsushi@ximian.com>
1536 * XmlDataInferenceLoader.cs : in GetElementMappingType(), don't guess
1537 the same (QNamed) element again when it was already evaluated as
1538 not simple type. Fixed one part of bug #75711.
1540 2005-08-02 Boris Kirzner <borisk@mainsoft.com>
1541 * XmlSchemaDataImporter.cs : Data relations should be processed after the
1542 keys, so no redundant constraints created while relations processing.
1544 2005-07-25 Boris Kirzner <borisk@mainsoft.com>
1545 * FillOptions.cs, ConflictOptions.cs, UpdateOptions.cs:
1546 added ifdef TARGET_JVM.
1548 2005-07-22 Sureshkumar T <tsureshkumar@novell.com>
1550 * DataViewSettingCollection.cs, DataTableCollection.cs,
1551 DataSet.cs, DataView.cs, DataColumn.cs, ForeignKeyConstraint.cs,
1552 DataRelationCollection.cs, UniqueConstraint.cs, DataTable.cs,
1553 DataColumnCollection.cs, DataRelation.cs, DataSet.cs:
1554 - updated attributes & attribute descriptions to match with
1557 * DataView.cs: changed protected members
1558 rowstate,rowcache,dataTable to protected internal.
1559 * Constraint.cs, ForeignKeyConstraint.cs, UniqueConstraint.cs:
1560 changed InConstraintViolated to protected internal.
1561 * ConflictOptions.cs, UpdateOptions.cs, FillOptions.cs: enclosed
1562 with NET_2_0 define.
1564 2005-07-21 Sureshkumar T <tsureshkumar@novell.com>
1566 * ForeignKeyConstraint.cs:
1567 - IsConstraintViolated (): no matter what EnforceConstraints is,
1568 this function now honestly validates. It is upto the caller to run
1570 - AddToConstraintCollectionSetup (): AssertConstraint according to
1573 2005-07-21 Boris Kirzner <borisk@mainsoft.com>
1574 * ForeignKeyConstraint.cs - IsConstraintViolated() should check also for Table.EnforceConstraints.
1575 * DataTable.cs - EnforceConstraints becomes internal so it can be used by ForeignKeyConstraint.
1577 2005-07-19 Sureshkumar T <tsureshkumar@novell.com>
1579 * DataTable.cs - CopyConstraints (): copy constraints only if it
1582 * DataSet.cs - Copy ():
1583 - use activator.CreateInstance to create a typed dataset.
1584 - copy tables if target does not exist, otherwise, just add rows.
1585 - add relation only if it does not exists.
1587 Typed datasets create the constraints & relations through
1588 constructors. Fixes bug #75211.
1590 2005-07-14 Sureshkumar T <tsureshkumar@novell.com>
1592 * DataView.cs: Patch from Marc Haisenko to throw descriptive error
1593 message when accessing Item, with invalid index.
1595 2005-07-14 Sureshkumar T <tsureshkumar@novell.com>
1597 reapplied patch from Marc Haisenko.
1598 * DataView.cs: Patch from Marc Haisenko that ensures that rowCache
1601 2005-07-13 Sureshkumar T <tsureshkumar@novell.com>
1603 * DataRelationCollection.cs: adding a relation with same set of
1604 parent columns & child columns, should not be allowed.
1606 2005-07-08 Sureshkumar T <tsureshkumar@novell.com>
1608 * DataTableReader.cs: GetSchemaTable: DataType column should be
1609 passed a type of Type.
1611 * DataRow.cs: Load : Fired necessary events.
1613 * DataTable.cs: LoadDataRow (object [], LoadOption): Fired
1616 2005-06-28 Sureshkumar T <tsureshkumar@novell.com>
1618 * DataRow.cs: Delete (): if row is detached, do nothing.
1621 2005-06-22 Sureshkumar T <tsureshkumar@novell.com>
1623 * DataRow.cs: Added method MergeValuesToRow copy merge two rows
1624 according to the merge rules.
1626 * MergeManager.cs: (MergeRow): use MergeValuesToRow
1627 API. CopyValuesToRow simply makes the target row same as source
1628 row. Rather, MergeValuesToRow merges with the target row according
1631 2005-06-19 Konstantin Triger <kostat@mainsoft.com>
1633 * DataSet.cs: Fixed ReadXml to work with IXmlSerializable
1635 2005-06-17 Jordi Mas i Hernandez <jordi@ximian.com>
1637 * DataViewManager.cs: fixes exception and creates DataView
1639 2005-06-15 Sureshkumar T <tsureshkumar@novell.com>
1641 * DataRow.cs: CheckChildRows: cascade parent changes to child rows
1642 only if there is a change in columns of the fk constraint.
1644 2005-06-14 Sureshkumar T <tsureshkumar@novell.com>
1646 * DataSet.cs: GetChanges: if row is deleted, get parent rows based
1647 on original version. fixes bug #75227.
1649 2005-06-13 Sureshkumar T <tsureshkumar@novell.com>
1651 * DataRowCollection.cs: Find (keys, version): Added an overload to
1652 find keys matching given DataViewRowState filter. Used in
1653 DataSet.Merge and DataTable.LoadDataRow.
1655 * DataTable.cs: LoadDataRow (values, LoadOption): Use
1656 DataRowCollection.Find (object [], DataViewRowState) overload.
1659 - CopyValuesToRow: Create target "records" out of loop. Records
1660 should be created once, not for each column. Dispose Unused target
1664 - MergeRow: Find rows with matching original records. If not,
1665 select with current values.
1666 - MergeRow: While adding new row, use NewNotInitializedRow.
1668 * ForeignKeyConstraint.cs: IsConstraintViolated: should not check
1669 if EnforceConstraints is false.
1671 2005-06-10 Sureshkumar T <tsureshkumar@novell.com>
1673 * DataRow.cs: CopyValuesToRow: if orginal == current, don't create
1674 a new current record.
1676 * DataSet.cs: GetChanges :Temporarily disable EnforceConstraints.
1678 * MergeManager.cs: Merge: Temporarily disable
1679 EnforceConstraints. Patch from george.barbarosie@gmail.com (George
1682 2005-06-09 Jordi Mas i Hernandez <jordi@ximian.com>
1684 * DataView.cs: fixes GetListName
1686 2005-06-02 Atsushi Enomoto <atsushi@ximian.com>
1688 * XmlSchemaConstants.cs,
1689 XmlSchemaDataImporter.cs,
1690 XmlSchemaWriter.cs : AutoIncrementStep support. Patch partly by
1691 George Barbarosie. Fixed bug #75121.
1692 * XmlSchemaMapper.cs : it is not used anymore, so just removed.
1694 2005-05-31 Boris Kirzner <borisk@mainsoft.com>
1695 * DataRow.cs : SetParentRow on Detached row with no Default version throws an exception.
1697 2005-05-29 Konstantin Triger <kostat@mainsoft.com>
1699 * This patch fixes #74813
1700 * DataView.cs: rework the CreateChildView to receive the index into the indexed row array, rowState became protected to be initialized from RelatedDataView
1701 * DataRowView.cs: movo the logic of creating the child view to the DataView
1702 * RelatedDataView.cs: perform correct init.
1704 2005-05-25 Sureshkumar T <tsureshkumar@novell.com>
1706 * DataTable.cs: Reworked DataTable.LoadDataRow method after
1707 regressions caused by Index redesign.
1708 * DataRow.cs: Load : reworked.
1710 2005-05-25 Konstantin Triger <kostat@mainsoft.com>
1712 * ISafeDataRecord.cs: Added GetDateTimeSafe method, the interface was made derived from IDataRecord
1714 2005-05-22 Konstantin Triger <kostat@mainsoft.com>
1716 * 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
1718 2005-05-20 Sureshkumar T <tsureshkumar@novell.com>
1720 * DataTable.cs: CreateRecord :value should be set to auto
1721 increment value or default value if the given value is null.
1723 2005-05-16 Konstantin Triger <kostat@mainsoft.com>
1725 * DataTable.cs: In DataTable.LoadDataRow with LoadOption - reverting the search order back to Original -> Current (by Suresh request)
1727 2005-05-16 Konstantin Triger <kostat@mainsoft.com>
1729 * DataRow.cs, DataTable.cs: code under net_2_0 changed to use the new interface
1730 * DataTable.cs: Added CompareRecords, which compares records in column order
1733 2005-05-16 Sureshkumar T <tsureshkumar@novell.com>
1736 * DataTable.cs: quick fix to make build 2.0 profile (follow up for
1737 check in 2005-05-16). Merge with previous changes.
1739 2005-05-11 Sureshkumar T <tsureshkumar@novell.com>
1741 fix for "import row does not import deleted records"
1743 * UniqueConstraint.cs: Make a way to access value even from a
1744 deleted record. deleted records are added to the collection by
1748 - Added restriction-less methods GetValue to fetch a
1749 value even if it is in deleted state.
1750 - If a row is detached, don't try to delete it from indexes.
1751 - sanity check for record_index in CopyValuesToRow method
1753 2005-05-05 Sureshkumar T <tsureshkumar@novell.com>
1755 * DataTableReader.cs: Implemented Delete handler and move the
1756 current pointer accordingly.
1758 2005-05-04 Sureshkumar T <tsureshkumar@novell.com>
1760 * DataTableReader.cs: Added event handlers to make reader stable
1761 when the datasource is modified. Thanks to Umadevi for giving the
1762 review comments for this implementation.
1764 * DataTable.cs: Clear (): Raise TableCleared event.
1766 * DataTableClearEventArgs.cs: Args for DataTableClearEventHandler.
1768 * DataTableClearEventHandler.cs: Handler for DataTable.TableClear
1771 * DataRow.cs: AcceptChanges: raise row changing & row changed
1774 * DataRowCollection.cs: Clear : remove rows from indexes
1776 2005-05-02 Atsushi Enomoto <atsushi@ximian.com>
1778 * XmlSchemaDataImporter.cs : XmlSchemaParicle might be XmlSchemaAny.
1779 This fixes bug #74784.
1781 2005-04-29 Sureshkumar T <tsureshkumar@novell.com>
1783 * DataTableReader.cs: removed use of _first. throw if given index
1784 is out of range of columns. Copy DataTable [] to local array so
1785 that not to be disturbed.
1787 2005-04-27 Sureshkumar T <tsureshkumar@novell.com>
1789 * DataTableReader.cs: Implemented most of the TODO.
1791 2005-04-22 Sureshkumar T <tsureshkumar@novell.com>
1793 * LoadOption.cs: Changed the enums. Keeping old values for
1796 * DataTable.cs: Implemented methods Load and its overloads. Also
1797 implemented LoadDataRow.
1799 * DataRowCollection.cs: Added a variation of the Find method to
1800 return a row even if it is of state Deleted. This is required for
1801 DataTable.LoadDataRow method.
1803 * DataRow.cs: Implemented internal helper method Load for loading
1804 values from an object array and given an LoadOption (2.0 feature).
1806 * DataRowAction.cs: Added few more enums for .net 2.0. Sorted
1809 2005-05-16 Konstantin Triger <kostat@mainsoft.com>
1811 * UniqueConstraint.cs : IsNull check is relevant for rows having default row version.
1812 * DataTable.cs : The row should be validated when imported
1813 * DataRowCollection.cs : if the row does not contain Proposed neither Current version, it's irrelevant for validation
1815 2005-04-26 Boris Kirzner <borisk@mainsoft.com>
1817 * UniqueConstraint.cs :
1818 - Add indication whenever the constraint belongs to collection.
1819 - Calculation of IsPrimaryKey simplified.
1820 - If constraint is based on single column, the column becomes unique.
1821 - Use boolean IsConstraintViolated() instead of AssertConstraint().
1822 - Use Index.Duplicates to proper exception message formatting.
1823 - AssertConstraint(DataRow) changed to suite new indexes interface.
1824 - Added CanRemoveFromCollection method.
1825 - Contains() method renamed to IsColumnContained().
1826 * RelatedDataView.cs : added new class.
1828 - Reset indexes after merge.
1829 - Add new tables when row array is merged into dataset.
1830 - Clean proposed record in MergeRow.
1831 - Inherit nesting on creating new relations in target data set.
1832 - Avoid double loop on constraints collection.
1833 * Locale.cs : added new class.
1834 * ISafeDataRecord.cs : added new interface.
1835 * Index.cs : commented out. Index implementation moved to System.Data.Common.
1836 * ForeignKeyConstraint.cs :
1837 - No more use of childColumnsExtended since new indexes allow duplicate records.
1838 - Constraints can not be created on expression columns.
1839 - Removed unnecessary delegation.
1840 - Use boolean IsConstraintViolated() instead of AssertConstraint().
1841 - Use proper exception message formatting.
1842 - Contains() method renamed to IsColumnContained().
1843 * DataViewRowState.cs : use enum members to simplify notation.
1844 * MergeManager.cs : implemented RelationCollectionChanged().
1845 * DataView.cs : new implementation.
1846 * DataTableCollection.cs :
1847 - Added boundary check in indexer.
1848 - More accurate handling in AddRange().
1849 - Raise event in Remove().
1851 - Hold primary key as constraint.
1852 - Added accurate handling of DefaultView.
1853 - Hold DataRowBuilder per table.
1854 - Proper exception messages if enforce Constraints is violated.
1855 - If there is no rows, Compute() returns DBNull.
1856 - Use DataRow properties instead of private members.
1857 - CopyProperties() fixed.
1858 - Raise proper events in EndInit().
1859 - Proper order of violation checks in EndLoadData().
1860 - Create array of rows using NewRowArray().
1861 - ImportRow handles rows according to their versions.
1862 - LoadDataRow make use of records (instead of raw object array).
1863 - Added and implemented LoadDataRow() that gets IDataRecord as a parameter (used in Fill)
1864 - Select() uses indexes filtering and sorting ability (instead of "loop-throw-sort" approach).
1865 - Removed redundant RowSorter and Sortable column classes.
1866 - ParseSortString() fixed to threat bracketed column names.
1867 - Table holds collection of property descriptors.
1869 - Reset table case sensitive indexes on CaseSensitive change.
1870 - EnforceConstraints update logic moved to internal method (used by DataTable).
1871 - InAddChangedRow first add row and than copy values for proper handling of default values.
1873 - Changed private member names to suite name convention.
1874 - CancelEdit() fixed.
1875 - CreateChildView() delegates to DataView.
1877 - Proper exception messages in indexers.
1878 - RowVersion uses DataView.
1879 - GetProperties() delegates to corresponding table if needed.
1880 * DataRowCollection.cs :
1881 - Common Add() logic moved to AddInternal() (used also by DataTable).
1882 - Removed redundant check from Contains().
1883 - Dalegate Find() calls when possible.
1885 - RomoveAt() delegates to Remove().
1886 - Optimized constraints check in row validation.
1887 * DataRelationPropertyDescriptor.cs : added new class.
1888 * DataRelationCollection.cs :
1890 - Fixed order of actions in AddCore().
1891 - RemoveCore() also delegates to base.
1892 - Add relation to dataset also in AddCore().
1893 - Remove relation from dataset also in RemoveCore().
1894 - InTransition hold a data relation so we can properly identify the "in transition" state.
1895 - Added threat of parent and child table s property descriptors in Add().
1896 - Common Add() logic moved to AddCore().
1898 - Remove() threats "in transition" state properly.
1899 - Remove methods delegate to single implementation.
1900 * DataColumnPropertyDescriptior.cs :
1901 - Added new constructor.
1902 - Commented out redundant method.
1903 * DataColumnCollection.cs :
1904 - Boundary check in indexer.
1905 - RegisterName and UnregisterName become internal (used also by DataColumn).
1907 - Fixed CanRemove().
1908 - Rethrow correct exception in Clear();
1909 - Change in collection resets parent table property descriptors.
1910 - Added PostEndEdit() helper method (used by DataTable).
1912 - Private member names changed to suite name convention.
1913 - Created method for CanAutoIncrement() logic.
1914 - Proper handling of column name update.
1915 - Proper exception messages on expression update.
1916 - Proper namespace handling (delegates to table when needed).
1917 - Removed redundant check in Unique update.
1918 - Implemented internal Clone().
1919 - GetParentRalation() and GetChildRelation() become private.
1921 - Added abstract methods (implemented in UniqueConstraint and ForeignKeyConstraint).
1922 - Simplified index update.
1923 * ConstraintCollection.cs :
1924 - Use Locale instead of CaseSensitive in column names comparison.
1926 - Rethrow correct exception type in Add().
1927 - Proper update of table primary key in Add().
1928 - Delegate CanRemove() to constraint.
1929 - Remove table primary key in Clear();
1930 - Delegate "can remove" check to constraint in Remove().
1931 - Removed unnecessary methods and properties.
1933 - RowSate becomes calculated property.
1934 - Use properties instead of private members where possible.
1936 - Fixed order of actions in ItemArray update.
1937 - Fixed DetachRow().
1938 - Added ImportRecord() method.
1939 - Removed redundant SetValuesFromDataRecord().
1940 - Fixed IndexFromVersion().
1941 - Added VersionFromIndex() method. Returns row version the passed record index corresponds to.
1942 - Fixed AcceptChanges().
1943 - Fixed creating proposed version in BeginEdit();
1944 - Added record disposal in Delete().
1945 - Fixed CheckChildRows().
1946 - EndEdit() fixed. Checks for readonly. Uses straight flow instead of "try and fix if fail" approach.
1947 - GetChildRows() and GetPrarentRows() rewrited. Use records and indexes for rows lookup.
1948 - GetColumnError() delegates to another implementation.
1949 - HasVersion() fixed.
1950 - RejectCahnges checks on child rows before passing through.
1951 - SetParentRow() fixed. Create relation collection if needed. Use typed data container value copy.
1952 - CopyErrors() logic moved to separate method (used also by DataTable).
1953 * ExpressionElement.cs : added new class.
1954 * Res.cs : added new class.
1956 2005-04-20 Jordi Mas i Hernandez <jordi@ximian.com>
1958 * DataViewManager.cs: implements TypedList.GetListName used in SWF
1960 2005-04-19 Atsushi Enomoto <atsushi@ximian.com>
1962 * DataRowView.cs : indexer should access to DataRow with proper
1963 DataRowVersion. Fixed bug #74650.
1965 2005-04-18 Sureshkumar T <tsureshkumar@novell.com>
1967 * DataRow.cs: if there are no mapping fields, fill with default
1970 2005-04-17 Atsushi Enomoto <atsushi@ximian.com>
1972 * DataView.cs : Delete() should not try to remove row twice.
1975 2005-04-13 Atsushi Enomoto <atsushi@ximian.com>
1977 * DataTable.cs : Use GetRowType() for the base of the returning array
1978 type of Select(). Fix by Gerhard Rittweger.
1979 * CustomDataClassGenerator.cs : Fixed slightly harmless wrong code.
1981 2005-04-13 Atsushi Enomoto <atsushi@ximian.com>
1983 * CustomDataClassGenerator.cs : custom relation was not added to
1984 Relations property. The second entry of bug #69276 was fixed.
1985 Patch by Daniel Rodriguez.
1987 2005-04-07 Lluis Sanchez Gual <lluis@novell.com>
1989 * DataRowCollection.cs: Fix the signature of the Add method
1992 2005-03-16 Atsushi Enomoto <atsushi@ximian.com>
1994 * DataRow.cs : on importing row, it was copying data from incorrect
1995 DataRow. This fixes bug #73288.
1997 2005-03-07 Jackson Harper <jackson@ximian.com>
1999 * DataViewManagerListItemTypeDescriptor.cs: Implement missing
2000 features. These are needed for System.Windows.Forms databinding.
2002 2005-02-25 Atsushi Enomoto <atsushi@ximian.com>
2004 * DataColumn.cs : setting negative value on MaxLength of SimpleContent
2005 column is still valid.
2007 2005-02-15 Atsushi Enomoto <atsushi@ximian.com>
2009 * XmlSchemaWriter.cs : new file for outputting XmlSchema.
2010 * DataSet.cs : removed rewritten code in XmlSchemaWriter.
2011 * XmlConstants.cs : added UseCurrentCulture constant.
2013 Use new Xml Schema writer.
2014 Use XmlSchemaDataImporter as we use in DataSet.
2016 2005-02-10 Atsushi Enomoto <atsushi@ximian.com>
2018 * DataView.cs, DataRowView.cs : Fixed bug #72421. CreateChildView()
2019 should target only child rows.
2021 2005-02-03 Atsushi Enomoto <atsushi@ximian.com>
2023 * DataViewManager.cs: misuse of ReadStartElement(string).
2024 * DataRowView.cs : removed some MonoTODO.
2026 2005-02-02 Sureshkumar T <tsureshkumar@novell.com>
2027 Ankit Jain <radical@corewars.org>
2029 * DataColumn.cs: throw exception if the column is part of a
2030 relationship, when chaning the data type. Added methods
2031 "GetParentRelation ()" and "GetChildRelation ()" get the relation
2032 which contains the current column
2033 * DataRelation.cs: Added method "Contains (DataColumn)" to check
2034 whether the relation contains the given column.
2036 fixes nunit failure: DataRelationTest.InvalidConstraintException2.
2038 2005-02-02 Sureshkumar T <tsureshkumar@novell.com>
2040 * DataColumnCollection.cs: implemented todo item "check for
2041 constraints" when removing columns from table.
2042 * DataRowCollection.cs: Clear (): don't have to throw child key
2043 constraint exception when the child table does not have any
2044 rows. safe to remove parent rows.
2045 * UniqueConstraint.cs: added method "Contains (DataColumn)" to
2046 check whether a column is part of UniqueConstraint.
2047 * ForeignKeyConstraint.cs: added method "Contains (DataColumn,
2048 lookInParent)" to check whether a column is part of foreignkey.
2050 fixes nunit failure: DataTableTest.ClearTest ()
2052 2005-02-02 Sureshkumar T <tsureshkumar@novell.com>
2054 * ForeignKeyConstraint.cs: validating columns: move checking
2055 "tables are of same dataset" before "checking column types".
2057 fixes nunit failure: ForeignKeyConstraint.CtorExceptions.
2059 2005-02-02 Atsushi Enomoto <atsushi@ximian.com>
2061 * DataViewManager.cs : let's just use StringWriter instead of
2062 XmlTextWriter (to avoid empty tag string mismatch annoyance.)
2063 * DataView.cs : implemented BeginInit() and EndInit(). Don't update
2064 rows during init phase until EndInit() is invoked. During init phase,
2065 just hold properties such as Sort that affects on rows.
2067 2005-02-02 Atsushi Enomoto <atsushi@ximian.com>
2069 * DataTableCollection.cs : (RemoveAt) just use IndexOutOfRangeException.
2071 2005-02-02 Atsushi Enomoto <atsushi@ximian.com>
2073 * DataView.cs : DataRowView.EndEdit() raises ItemMoved event.
2074 set_Table clears Sort and RowFilter.
2076 2005-02-02 Atsushi Enomoto <atsushi@ximian.com>
2079 - Clear() should clear AddNew cache.
2080 - Open() invokes Reset().
2081 - ConstraintCollectionChanged() itself does not invoke OnListChanged().
2082 - Reset() does not Open, Close and Update Index.
2083 - UpdateIndex() can be invoked even if it has no table.
2084 - Reset event is invoked always after actual query to table.
2085 - set_Table should raise PropertyDescriptorChanged event.
2087 2005-02-02 Atsushi Enomoto <atsushi@ximian.com>
2089 * DataView.cs : ColumnCollectionChanged() is the event invoker (i.e.
2090 when overriden, no column change events are fired).
2092 2005-02-02 Atsushi Enomoto <atsushi@ximian.com>
2094 * DataView.cs : CancelEditRowView() and DeleteRowView() was incorrectly
2095 checking target tables. They also should raise events if required.
2097 2005-02-02 Atsushi Enomoto <atsushi@ximian.com>
2099 * DataView.cs : simplify code with UnsortedList.
2101 2005-02-01 Atsushi Enomoto <atsushi@ximian.com>
2103 * DataView.cs : Mostly reimplemented.
2104 - UpdateIndex() is invoked only when it is required (results in
2105 significant performance improvement).
2106 - Use SortedList and wrapper OptionalSortedList which switches
2107 between SortedList (with Sort) and UnsortedList (without Sort).
2108 - DataView itself now contains two collections for rowviews:
2109 Table rows based pool and AddNew() based cache. Consider those
2110 two collections in every members.
2111 - Reset() does not clear rows. Just invokes UpdateIndex().
2112 - Hook RowDeleting, ColumnChanging and ColumnChanged events in table
2113 which is required to handle state changes.
2114 - Reimplemented Find() and FindRows() because of internal changes.
2116 2005-02-01 Atsushi Enomoto <atsushi@ximian.com>
2118 * DataTable.cs : Fixed row comparer. Even if every of the sort target
2119 columns are identical for two rows, they should not be regarded as
2120 the same unless they are Object.ReferenceEquals.
2122 2005-02-01 Atsushi Enomoto <atsushi@ximian.com>
2124 * DataRowCollection.cs : on adding a row, should raise
2125 ChangingDataRow() as well as ChangedDataRow().
2127 2005-01-31 Sureshkumar T <tsureshkumar@novell.com>
2129 * DataRow.cs: SetParentRow (): use relation.ParentColumns &
2130 relation.ChildColumns instead of relation.ChildKeyConstraint.*
2131 because createConstrains flag may be false when creating data
2132 relations. Hack along with Ankit Jain.
2134 2005-01-31 Atsushi Enomoto <atsushi@ximian.com>
2136 * DataView.cs :some interface implementations.
2138 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
2140 * DataView.cs : Add to table only when the row is not in the table.
2142 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
2144 * DataView.cs : implemented FindRows() (btw we should not use
2145 DataTable since there are detached rows by AddNew().)
2147 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
2150 Code cleanup: privatify some members, remove unused methods.
2151 Some event-based invocation methods should not raise NotImplemented.
2153 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
2155 * DataSet.cs : ReadXml() became closer to MS behavior, being hacky.
2157 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
2159 * XmlSchemaDataImporter.cs : empty element is not regarded as a column.
2161 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
2163 * UniqueConstraint.cs : mostly reverted the previous patch + check
2164 IsPrimaryKey before validation.
2166 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
2168 * DataView.cs : Fixed duplicate insertion to Hashtable.
2169 * UniqueConstraint.cs : Unique constrained pair of columns could be
2172 2005-01-27 Atsushi Enomoto <atsushi@ximian.com>
2175 Don't do anything for Sort/ApplyDefaultSort/RowFilter/RowStateFilter
2176 when the same value is being set.
2177 Examined UpdateIndex() and marked FIXME where MS does not invoke it.
2178 Removed unused OnColumnChanged().
2179 Now store rowViewPool and reuse DataRowView objects.
2180 Optimized UpdateIndex() - avoid ArrayList. Avoid Haashtable.Rehash().
2182 2005-01-27 Atsushi Enomoto <atsushi@ximian.com>
2184 * DataViewSettings.cs : no MonoTODO anymore.
2185 * DataViewManager.cs : pass itself to new DataView() (new ctor).
2186 * DataRowView.cs : GetHashCode() returns its Row's hash.
2187 * DataTablePropertyDescriptor.cs : use new ctor().
2188 * DataView.cs : added new ctor()s that accept DataViewManager.
2190 2005-01-27 Atsushi Enomoto <atsushi@ximian.com>
2192 * DataView.cs, DataRowView.cs : AddNew() should not add the row to table
2193 (it is still detached). So handle those rows differntly.
2194 CancelEdit(), EndEdit() and Delete() propagates those events to
2195 DataView (and handle row collection).
2196 Eliminate "throw new Exception()".
2197 Don't catch all the exception thrown in ListChanged event.
2198 * DataTable.cs : made RowSorter as internal and use it in DataView.
2199 no need to pass DataRow[] to .ctor().
2201 2005-01-27 Atsushi Enomoto <atsushi@ximian.com>
2203 * DataTable.cs : don't create DefaultView unless it is required. It
2204 significantly improves performance. (i.e. DataView perf. is sick ;-)
2206 2005-01-27 Atsushi Enomoto <atsushi@ximian.com>
2208 * DataViewSetting.cs,
2209 DataViewSettingCollection.cs,
2210 DataViewManager.cs : implemented basic members.
2212 2005-01-26 Atsushi Enomoto <atsushi@ximian.com>
2214 * Node.cs, DataColumnPropertyDescriptor.cs, DataTable.cs :
2215 Eliminate "throw new Exception".
2217 2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
2219 * DataRow.cs : (set_Item) RowNotInTableExeption check should be done
2220 regardless of index existence.
2222 2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
2224 * DataTable.cs : use new IExpression.EvalBoolean() to avoid extraneous
2227 2005-01-25 Sureshkumar T <tsureshkumar@novell.com>
2229 * DataTable.cs: ImportRow :Do not add to rows collection if the
2230 import row is in detached state.
2232 2005-01-25 Sureshkumar T <tsureshkumar@novell.com>
2234 * DataRow.cs: CopyValuesToRow : set the column value with the
2235 default version of the given row.
2236 * DataTable.cs: ImportRow: Copy values before adding row.
2237 * DataSet.cs: AddChangedRow: Add the row to the table after
2240 Fixes bug #67317. Patch by Ankit Jain.
2242 2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
2244 * DataRowView.cs : Fixed IsEdit to reflect correct status of DataRow.
2245 * DataRow.cs : Expose editing status internally.
2247 2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
2249 * DataView.cs : missing attributes.
2251 2005-01-24 Atsushi Enomoto <atsushi@ximian.com>
2253 * DataRowView.cs : implemented CreateChildView().
2255 2005-01-24 Atsushi Enomoto <atsushi@ximian.com>
2257 * DataTable.cs, DataView.cs :
2258 Optimized DataView to compile only once RowFilter and Sort when
2259 those properties are set. To make it possible, extracted
2260 SortableColumn out of DataTable and added internal DataTable.Select()
2261 that accepts precompiled IExpression and SortableColumns[].
2263 2005-01-24 Atsushi Enomoto <atsushi@ximian.com>
2265 * DataColumn.cs : set_MaxLength is not allowed when it is mapped to
2266 SimpleContent. (However, it is weird but it never fails when we set
2267 ColumnMapping = MappingType.SimpleContent when we fhave MaxLength.)
2269 2005-01-21 Atsushi Enomoto <atsushi@ximian.com>
2271 * DataRow.cs : more Current -> Default fixes. Check if it should throw
2272 VersionNotFoundException. Patch by Ankit Jain.
2274 2005-01-21 Atsushi Enomoto <atsushi@ximian.com>
2276 * DataRow.cs : Default selects the right version for the current
2277 state of the row. Current is not always available. Also change
2278 that for GetParentRow(). Patch by Ankit Jain.
2280 2005-01-21 Atsushi Enomoto <atsushi@ximian.com>
2282 * DataTable.cs : CopyColumn() should copy AutoIncrement after
2283 DefaultValue, or it will raise an error in some cases.
2285 2005-01-20 Atsushi Enomoto <atsushi@ximian.com>
2287 * ConstraintCollection.cs : Add() should throw ArgumentException when
2288 the argument constraint fails validation.
2289 DataTable.cs : set_PrimaryKey should throw ArgumentException when
2290 the argument contains constraints which fail validation.
2292 2005-01-19 Sureshkumar T <tsureshkumar@novell.com>
2294 * DataRelationCollection.cs:
2296 Method Remove : Donot throw exception if DataRelation argument is
2297 null in DataRelationCollection.Remove method.
2299 Method RemoveAt : Exception should be IndexOutOfRangeException if
2300 row index is not in list range.
2302 Fixes nunit failures DataRelationCollection.Remove and
2303 DataRelationCollection.RemoveAt.
2305 2005-01-19 Sureshkumar T <tsureshkumar@novell.com>
2307 * ConstraintCollection.cs: Donot throw exception if constraints
2308 are null in AddRange method. Check for null before using the
2313 2004-01-19 Atsushi Enomoto <atsushi@ximian.com>
2315 * XmlDataInferenceLoader.cs,
2316 XmlDataReader.cs : Check if the XmlReader (node) represents DataSet
2317 or a table, reusing code block in XmlDataInferenceLoader.
2318 This fixes bug #60118.
2320 2004-01-19 Atsushi Enomoto <atsushi@ximian.com>
2322 * XmlDiffLoader.cs : Ankit Jain <radical@imt.ac.in> has a conflicting
2323 patches and some good catches. Some attributes should be skipped,
2324 and loaded value must be typed.
2326 2004-01-19 Atsushi Enomoto <atsushi@ximian.com>
2329 XmlDataInferenceLoader.cs,
2330 XmlDataReader.cs : use common const for http://www.w3.org/2000/xmlns/.
2331 * XmlDiffLoader.cs : It was not handling attributes. Fixed bug #70961.
2333 2005-01-18 Sureshkumar T <tsureshkumar@novell.com>
2335 Fix for bug #66838. This patch is submitted by "Ankit Jain"
2336 <radical@corewars.org> and refactored.
2338 * DataRow.cs: Allows to set a parent row even if the row is in
2341 * DataRelation.cs: method "UpdateConstraints" is added to check
2342 and create missing keys when adding a relation. This is refactored
2343 approach from DataRelationCollection.Add method.
2345 * DataRelationCollection.cs: AddCore methods of all relation types
2346 are synchronized. A Check for existing constraints is
2347 done. Relation is added to the list only if all checks are passed.
2349 2004-01-18 Atsushi Enomoto <atsushi@ximian.com>
2351 * DataColumnCollection.cs : Clear() throws ArgumentException that
2352 wraps thrown innerException.
2353 * XmlSchemaDataImporter.cs : removed FIXMEs.
2355 2004-01-12 Atsushi Enomoto <atsushi@ximian.com>
2357 * DataSet.cs : When serializing DataTable, BuildSchema() is passed
2358 null relation collections.
2359 Quick fix for XmlSerializer deserialization. It does not require
2360 XML Schema included.
2362 2004-01-11 Atsushi Enomoto <atsushi@ximian.com>
2365 CustomDataClassGenerator.cs :
2366 In DataSet class, IXmlSerializable.GetSchema() returns null.
2367 In strongly-typed class, it returns schema.
2369 2004-01-07 Atsushi Enomoto <atsushi@ximian.com>
2371 * XmlDataInferenceLoader.cs : test driver class should be excluded.
2373 2004-12-01 Miguel de Icaza <miguel@ximian.com>
2375 * DataView.cs: Patch from Marc Haisenko that ensures that rowCache
2378 2004-11-10 Atsushi Enomoto <atsushi@ximian.com>
2380 * CustomDataClassGenerator.cs : generated foreign key constraint
2381 construction code was creating empty child columns and thus it
2382 was invalid. This fixes bug #69276 (patch by Martin Voelkle).
2384 2004-11-02 Atsushi Enomoto <atsushi@ximian.com>
2386 * CustomDataClassGenerator.cs : custom DataTable ctor should call
2387 InitializeFields(), and those DataColumns created by that method
2388 should take data type. This should fix bug #68972.
2390 2004-10-15 Atsushi Enomoto <atsushi@ximian.com>
2392 * DataSet.cs : Also clear UnhandledAttributes ArrayList before
2393 generating next attribute column schema. This fixes bug #68432.
2395 2004-10-14 Umadevi S <sumadevi@novell.com>
2396 * DataTable.cs : Corrected the Clone method to use Activator.CreateInstance so that the
2397 correct subclass is returned. This fixes bug #67631
2399 2004-10-14 Umadevi S <sumadevi@novell.com>
2400 * DataSet.cs : Corrected the Clone method to use Activator.CreateInstance so that the
2401 correct subclass is returned. This fixes bug #67627
2403 2004-10-13 Atsushi Enomoto <atsushi@ximian.com>
2405 * DataSet.cs : clear UnhandledAttributes ArrayList before generating
2406 next element column schema. This fixes bug #68256.
2408 2004-10-12 Atsushi Enomoto <atsushi@ximian.com>
2410 * DataSet.cs : now xs:schema contains xmlns="".
2411 This fixes bug #68008.
2413 2004-10-12 Atsushi Enomoto <atsushi@ximian.com>
2415 * DataSet.cs : DBNull attribute column should not be written as
2416 empty attribute. This fixes bug #68007.
2418 2004-10-12 Atsushi Enomoto <atsushi@ximian.com>
2420 * DataSet.cs, XmlConstant.cs, XmlSchemaDataImporter.cs:
2421 DataColumn.ReadOnly was not handled. This fixes bug #68005.
2422 Attribute defaultValue was not handled too.
2424 2004-10-07 Atsushi Enomoto <atsushi@ximian.com>
2427 - When AllowDBNull is false on attribute DataColumn, its schema
2428 should contain use="required". This fixes bug #66792.
2429 - If MaxLength is set on attribute DataColumn, the mapped schema
2430 type should contain maxLength facet. This fixes bug #66793.
2432 2004-10-04 Atsushi Enomoto <atsushi@ximian.com>
2434 * DataSet.cs : For a row, when a relation is not nested, then it is
2435 still output target since it won't be written as a child of its
2436 parent. It fixes bug #66379.
2438 2004-10-03 Atsushi Enomoto <atsushi@ximian.com>
2440 * DataSet.cs : Attribute constraint field XPath must be written as
2441 @blah. This fixes bug #66366.
2443 2004-09-28 Umadevi S <sumadevi@novell.com>
2444 * DataRow.cs - checked for Enforceconstraints, while using indices to search for related rows
2446 2004-09-24 Sureshkumar T <tsureshkumar@novell.com>
2448 * DataSet.cs : Don't check constraints for dataset clear
2449 * DataRowCollection.cs : check for EnforceConstraints flag
2450 before checking foriegn key constraints in Clear method
2451 * DataTable.cs : Redundant checking removed in Clear method as it is
2452 checked in DataRowCollection.Clear method.
2455 2004-09-19 Sureshkumar T <tsureshkumar@novell.com>
2456 * DataRow.cs : while deserialization of dataset, adding a current row precedes the original row.
2457 hence, adding a row cache is necessary if the original row happens to be current.
2460 2004-08-23 Martin Baulig <martin@ximian.com>
2462 * XmlDataInferenceLoader.cs (Driver): Make this class internal,
2465 2004-08-18 Umadevi S <sumadevi@novell.com>
2466 * DataView.cs - Completed most of the event handling.
2467 Thanks to Punit Todi <punit_todi@da-iict.org> for implementing most of it.
2468 Thanks to Boris Kirzner <borisk@mainsoft.com> for commenting and suggesting changes to the implementation.
2469 * DataTable.cs - Changed Access modifiers of class/methods since it was used by DataView.
2471 2004-08-06 Atsushi Enomoto <atsushi@ximian.com>
2473 * DataSet.cs : DataSet's ExtendedProperties were not XmlConverted.
2475 2004-08-05 Atsushi Enomoto <atsushi@ximian.com>
2477 * XmlConstants.cs : Added constants for "msprop" support.
2478 * DataSet.cs : ExtendedProperties should be written in the schema.
2479 This fixes bug #61233.
2481 2004-07-27 Atsushi Enomoto <atsushi@ximian.com>
2483 * DataSet.cs : on serialization to XmlWriter, XmlConvert should be
2484 used. There were also some culture dependency problems to write int.
2486 2004-06-27 Atsushi Enomoto <atsushi@ximian.com>
2488 * XmlDataInferenceLoader.cs : It was not always filling relation
2489 child table information correctly. This fixes bug #60742.
2491 2004-06-23 Umadevi S <sumadevi@novell.com>
2492 * UniqueConstraint.cs :changed a ifdef true to ifdef NET_1_1
2494 2004-06-22 Atsushi Enomoto <atsushi@ximian.com>
2496 * DataSet.cs : Fixed ReadXml(). When ReadMode is ReadSchema and the
2497 schema is inside the document element (as created in XmlWriteMode
2498 .WriteSchema), it should read schema from that non-document element.
2499 This fixes one case reported in bug #60470.
2501 2004-06-20 Atsushi Enomoto <atsushi@ximian.com>
2503 * XmlDataInferenceLoader.cs : Kindly reject xml schema document as a
2504 inference target. For bug #60470. (MS does not support schema
2505 document inference and results in unconsistent dataset structure.)
2507 2004-06-20 Atsushi Enomoto <atsushi@ximian.com>
2509 * DataTableCollection.cs : reset the table's DataSet to null when
2510 removing a table from this collection.
2511 * DataTable.cs : When Namespace is not specified explicitly, its
2512 Namespace property reflects DataSet's Namespace if exist.
2513 This fixes bug #60469.
2515 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
2517 * DBConcurrentcyException.cs: CRLF to LF
2518 * DataViewSetting.cs: CRLF to LF
2520 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
2522 * DataViewSetting.cs: renamed fields to match MS.NET
2524 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
2526 * DBConcurrencyException.cs: fixed serialization compatibility with
2529 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
2531 * ChangeLog : Fix for misspelled words.
2533 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
2535 * DataRowCollection.cs : Removed onColumnRemoved since it is not in use.
2537 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
2540 - Table stores default values for columns in special default values row.
2541 It is allocated once (in NewRow).
2542 - DataTable.Copy rewrited. It works with uninitialized rows for better perfomance.
2543 - OnRemoveColumn has nothing to perform by now.
2545 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
2548 - Changed access of original, current and proposed indexes to internal.
2549 - ColumnErrors reviewed : now column errors stored in ArrayList and allocated on demand only.
2550 - Added new DataRow constructor that creates uninitialized DataRow (used in DataTable.Copy).
2551 - Use DataContainer.CopyValue and default values row for faster set of default values in row.
2552 - SetColumnValue become CheckValue. Now it does not changes the value, but only checks for its correctness.
2553 Care about Null and DBNull values is now in DataContainer.
2554 - Use DataColumn.AutoIncrementValue and GetInt64 for faster set of autoincrement value.
2555 - Use Datacontainer.CopyValue and default values row to speed up CheckChildRows.
2556 - Fix in CopyState : clone column errors.
2557 - Removed CollectionChanged and onColumnRemoved since we are not using both of them anymore.
2559 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
2561 * DataColumnCollection.cs :
2562 - Fix : Add() now delegates to Add(DataColumn).
2563 - autoIncrement list holds DataColumn objects, and not just column names.
2565 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
2568 - AutoIncrementValue fixes. Now AutoIncrement uses DataContainer.GetInt64 to avoid boxing.
2569 - DefaultValue fixes. Default value from now on is also stored in special record in
2570 DataTable, so we're able to set default value for the column faster (typed).
2573 2004-06-15 Atsushi Enomoto <atsushi@ximian.com>
2575 * DataSet.cs : children of non-root rows were not properly written.
2578 2004-06-10 Umadevi S <sumadevi@novell.com>
2579 * DataRelation.cs - Constructor
2580 - The datatypes of the parentcolumn(s) and the childcolumn(s) should match
2582 2004-06-06 Atsushi Enomoto <atsushi@ximian.com>
2584 * XmlSchemaDataImporter.cs : We should fill Namespace for DataTable.
2586 2004-06-04 Gert Driesen <drieseng@users.sourceforge.net>
2588 * Constraint.cs: marked methods internal to fix public API
2589 * ConstraintCollection.cs: to fix public API, use
2590 DataTable.fInitInProgress to check whether initialization
2591 of DataTable is in progress
2592 * DataColumn.cs: added stubs for missing methods
2593 * DataRowBuilder.cs: marked Table property internal to
2595 * DataSet.cs: removed extra empty destructor, marked
2596 OnMergeFailed internal to fix public API
2597 * DataTable.cs: use fInitInProgress field to hold init
2598 status, to match MS.NET
2599 * DataView.cs: added missing attributes on IsOpen
2601 2004-06-03 Atsushi Enomoto <atsushi@ximian.com>
2603 * DataSet.cs : Use NameTable.Get() before calling LookupNamespace()
2604 in XmlNamespaceManager.
2606 2004-06-03 Atsushi Enomoto <atsushi@ximian.com>
2608 * DataSet.cs : complex table content child was not properly added
2609 when it is the only one child in the parent table. Fixed bug #53959.
2611 2004-06-02 Gert Driesen <drieseng@users.sourceforge.net>
2612 * DataTableTypeConverter.cs: added
2613 * DataView.cs: added missing attribute on Table property
2614 * DataViewManager.cs: moved attribute to correct property
2615 * UniqueConstraint.cs: removed extra ReadOnly attribute from
2616 IsPrimaryKey property
2618 2004-06-01 Atsushi Enomoto <atsushi@ximian.com>
2620 * DataRow.cs : ColumnsChanged event is not required in .ctor().
2622 2004-06-01 Atsushi Enomoto <atsushi@ximian.com>
2624 * XmlDataReader.cs : type change is required before setting value
2627 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
2629 * DataSet.cs : Loop-break of the last fix was incorrect.
2631 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
2633 * DataSet.cs : When a row has no parent row but the table has parent
2634 relation(s), that row had been always ignored.
2636 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
2638 * XmlDataInferenceLoader.cs : Fixed GetMappedTable() that incorrectly
2639 rejected same-named tables in different hierarchy. Thanks to Boris.
2641 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
2643 * XmlDiffLoader.cs : Added some Skip() that is required not to go to
2644 infinite loop. Thanks to Boris for this fix.
2646 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
2648 * XmlDataInferenceLoader.cs : XmlSchema elements should not be infered.
2649 Thanks to Boris for this fix.
2651 2004-05-30 Atsushi Enomoto <atsushi@ximian.com>
2653 * DataTable.cs : serialization .ctor() should use XmlReadMode.DiffGram
2654 for ReadXml(). Thanks to Boris.
2656 2004-05-27 Boris Kirzner <borisk@mainsoft.com>
2658 - CheckReadOnlyStatus : use typed (and faster comparing).
2659 - EndEdit : bug fix - do not dispose record if it holds original version.
2660 - SetValuesFromDataRecord : Take care about autoincrement columns.
2663 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
2665 * MergeManager.cs : don't output debug message to Console.
2667 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
2669 * XmlDataInferenceLoader.cs : Namespace are not imported to the table
2670 structure. Thanks to Boris Kirzner for the fix.
2672 2004-05-27 Umadevi S <sumadevi@novell.com>
2673 * DataRelationCollection.cs - fixed nunit test errors
2675 2004-05-27 Umadevi S <sumadevi@novell.com>
2676 * DataTableCollection.cs - fixed nunit test errors
2678 2004-05-21 Atsushi Enomoto <atsushi@ximian.com>
2680 * DataColumnCollection.cs : NullReferenceException was thrown when
2681 the table was not found.
2682 * DataRowCollection.cs :
2683 Find() just returns null for null value under MS.NET 1.1.
2684 RemoveAt() should also avoid to call AcceptChanges() like Remove().
2685 * UniqueConstraint.cs : in AssertConstraint() throw ConstraintException
2686 directly under MS.NET (for nunit test).
2688 2004-05-21 Atsushi Enomoto <atsushi@ximian.com>
2690 * XmlSchemaDataImporter.cs : Setting startindex in LastIndexOf()
2691 caused problem on qualified name to get schema Field name.
2693 2004-05-21 Atsushi Enomoto <atsushi@ximian.com>
2695 * XmlDataReader.cs : Now data reader is namespace aware in all places.
2696 When table's namespace is different, it entered to infinite loop.
2698 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
2699 * MergeManager.cs : AdjustSchema now updates by reference new created table,
2700 so in Merge you do not need to lookup for it (were unable to do this for unnamed tables).
2703 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
2705 * DataColumn.cs : In set_Item[int] - if autoincrement, adjust next autoincrement value.
2706 * DataColumnCollection.cs : fixed parantethes.
2708 - AcceptChanges : do nothing if row state is unchanged.
2709 - GetChildRows, GetParentRows : bug fix (use correct index).
2710 * DataRowCollection.cs : bug fix (compare all row's values).
2711 * DataTable.cs : bug fix (use correct row version).
2713 2004-05-20 Atsushi Enomoto <atsushi@ximian.com>
2715 * XmlSchemaDataImporter.cs : xs:positiveInteger is mapped to ulong.
2716 When content type is Mixed, text column is not required (it is
2717 required only when the complex type has no particle).
2718 "Repeated element" column is also created (considering maxOccurs=0
2719 and complex content extension).
2721 2004-05-20 Atsushi Enomoto <atsushi@ximian.com>
2723 * XmlSchemaDataImporter.cs : XmlSchemaGroupBase was not handled
2726 2004-05-20 Atsushi Enomoto <atsushi@ximian.com>
2728 * XmlSchemaDataImporter.cs : Removed unused code and extra MonoTODO.
2729 Fixed relation inference to consider attribute XPath.
2731 2004-05-19 Atsushi Enomoto <atsushi@ximian.com>
2733 * DataColumn.cs : Fixed set_Item[int]. Convert.ToInt64(DBNull.Value)
2736 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
2738 * DataColumn.cs - removed default member attribute.
2740 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
2743 DataColumnChangeEventArgs.cs,
2744 DataColumnCollection.cs,
2746 DataRowCollection.cs,
2748 Index.cs : Data storage in the row is redesigned. Now data is stored in
2749 typed containers inside DataColumn. Row holds its versions as indexes inside
2750 each of data container, accessed through the row that holds it.
2752 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
2754 * UniqueConstraint.cs - added comment.
2756 2004-05-19 Atsushi Enomoto <atsushi@ximian.com>
2758 * XmlDataInferenceLoader.cs : Don't add already-existing DataTable to
2761 2004-05-17 Atsushi Enomoto <atsushi@ximian.com>
2764 XmlDataInferenceLoader.cs,
2766 XmlSchemaDataImporter.cs : XmlDecode every local name to read and
2767 XmlEncode every local name to write. This should fix bug #58268.
2769 2004-05-17 Atsushi Enomoto <atsushi@ximian.com>
2771 * DataSet.cs : Implemented ignored namespaces in InferXmlSchema().
2772 Supported repeated elements. Removed MonoTODOs.
2773 * XmlDataInferenceLoader.cs : Design change to support ignored
2774 namespace and repeated elements.
2775 * XmlSchemaDataImporter.cs : Added mapping support classes.
2777 2004-05-15 Atsushi Enomoto <atsushi@ximian.com>
2779 * CustomDataClassGenerator.cs :
2780 Added property parent "[foo]Row" and children "Get[foo]Row" support
2781 for custom DataRow classes.
2782 Fixed DataColumn property accessibility (public --> internal).
2784 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
2786 * CustomDataClassGenerator.cs :
2787 - Put classes inside custom DataSet class.
2788 - Added automatic DataRelation creation support.
2789 - Added Constraints creation support. That is done separate from
2790 relations, since they might be independently created.
2791 - Added non-MS public DataRelation fields.
2792 - Removed extraneous "DataRelation type generation" code.
2793 - Fixed custom_dataset.Initialize() not to create "c" field that
2794 was created more than once.
2795 - Implemented AddxxxRow() that takes parameters for every column.
2797 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
2799 * XmlSchemaDataImporter.cs : When primary key is used more than once,
2800 DataRelation borked because of empty parent column name.
2802 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
2804 * XmlSchemaDataImporter.cs : When Creating constraints with related
2805 to DataRelation creation, also set PrimaryKey to the parent table.
2807 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
2809 * XmlSchemaDataImporter.cs :
2810 Design change to add indirect table and relation structures.
2811 Support for "relation" annotation for local element.
2812 Support for repeatable simple element column (maxOccurs > 1).
2813 Fixed handling of Nested property on DataRelation (for globally
2814 annotated relation, Nested is false).
2816 2004-05-13 Atsushi Enomoto <atsushi@ximian.com>
2818 * DataRow.cs : Added DataElement property to avoid storing every row-
2819 element mapping. It stored even for nodes that should be removed.
2821 2004-05-13 Umadevi S <sumadevi@novell.com>
2823 * RelationshipConverter.cs - Stubbed this class
2824 * DataRelation.cs - added TypeConveterAttribute
2826 2004-05-13 Umadevi S <sumadevi@novell.com>
2828 * DataColumnCollection.cs - Added ResDescriptionAttribute
2829 * DataRelation.cs - Added TypeConverterAttribute
2830 * DataRelationCollection.cs - Added DefaultPropertyAttribute
2831 * DataRowView.cs - Added GetHashCode method with a TODO tag
2832 * DataSet.cs - Added DesignerAttribute
2833 * DataView.cs - Added DesignerAttribute
2834 * DataViewManager.cs - Added DesignerAttribute
2835 * DataViewSetting.cs - Added TypeConverterAttribute
2837 2004-05-12 Atsushi Enomoto <atsushi@ximian.com>
2839 * DataRow.cs : Added XmlDataElement initialization code.
2841 2004-05-11 Atsushi Enomoto <atsushi@ximian.com>
2843 * XmlDataInferenceLoader.cs :
2844 It now requires XmlDocument as input. Improved identification of
2845 DataSet element. Removed extra lines.
2846 Moved boresome design notes to bottom of the source and
2847 added standalone runnable driver (not included on build).
2849 Update with related to the change above.
2850 WriteXml() should call Flush() after writing. This fixes bug #58327.
2851 * XmlSchemaDataImporter.cs :
2852 Improved indentification of DataSet element.
2854 2004-05-11 Gert Driesen (drieseng@users.sourceforge.net)
2855 * DataTable: marked initStatus enum internal
2857 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
2858 * DataTable.cs: removed TypeConverterAttribute, marked RowsExist
2860 * DataRowView.cs: removed extra Error property
2861 * DataRow.cs: reduced accessibility of CollectionChanged method
2863 * DataColumnPropertyDescriptor.cs: made class internal
2864 * DataColumn.cs: removed extra TypeConvertorAttribute
2865 * ConstrainCollection.cs: marked PostEndInit method internal
2867 2004-05-07 Atsushi Enomoto <atsushi@ximian.com>
2870 In WriteXmlSchema(), when complex type contains simple type content
2871 attributes must not added to XmlSchemaComplexType directly. It
2872 causes schema compilation error.
2873 DataRelation should not be output when related columns are hidden.
2875 2004-05-07 Atsushi Enomoto <atsushi@ximian.com>
2877 * XmlDataInferenceReader.cs : Added. It does InferXmlSchema() (it is
2878 also expected to do ReadXml(), but I will remove that feature and
2879 support column reordering).
2880 * XmlSchemaDataImporter.cs : Always initialize dataset name.
2881 Always set Nested and primary key for parent table.
2882 * XmlDataReader.cs : Now it is used.
2883 Top level element might not match to dataset name nor any table
2884 name, but still possible to read content tables.
2885 Handle empty element correctly in some places.
2886 Handle Fragment mode (read up XmlReader to the end).
2887 * DataSet.cs : Modified InferXmlSchema() and ReadXml() to use
2888 XmlDataInferenceLoader and XmlDataReader.
2890 2004-05-06 Atsushi Enomoto <atsushi@ximian.com>
2893 Eliminated CRLF injection.
2894 More clear message in Clear().
2895 Updates reflecting XmlSchemaDataImporter change.
2896 Added duplicate check for XmlSerializerNamespaces in BuildSchema().
2897 Don't use xmlns attribute for UnhandledAttributes (its not mandatory
2898 but that depends on different behavior from ms.net).
2899 Set locale also for DataTable.
2900 Add xs:element only when target namespace matches to the
2901 element's namespace. Otherwise, add xs:import for external namespace.
2902 Put xs:sequence for dataset element's particle _only when_ actual
2905 2004-05-06 Atsushi Enomoto <atsushi@ximian.com>
2907 * XmlDataReader.cs : Added. This class will work better when our
2908 schema inference and schema read engine gets improved. (It contains
2909 standalone testable Driver class.)
2911 2004-05-06 Atsushi Enomoto <atsushi@ximian.com>
2913 * ForeignKeyConstraint.cs : Check step change. Existence then column
2914 validity. just for tests.
2915 * XmlSchemaDataImporter.cs : code simplification. reduced extraneous
2918 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
2920 * DataSet.cs : Ignore empty content only when output type is diffgram.
2922 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
2924 * CustomDataClassGenerator.cs : Modified that DataSet contains each
2925 DataTable field so that each table property can access them directly.
2926 (plus, modified standalone code driver code: shouldn't affect)
2928 2004-05-05 Boris Kirzner <borisk@mainsoft.com>
2930 * DataView.cs , DataRowView.cs : Added implementation to basic methods and properties.
2932 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
2934 * XmlSchemaDataImporter.cs :
2935 SimpleContent column support.
2936 Annotated relation support.
2937 Top-level element is counted only when its type is complex.
2938 xs:anyType is no longer treated as complex type.
2939 dataset existence is mandatory now.
2940 Improved DataType and DefaultValue support.
2941 Attribute namespace is properly handled now.
2942 Prohibited attribute is now treated as hidden column.
2943 Reject list or union simple type.
2945 Still incomplete 1) to read relationship in some cases, 2) to
2946 determine whether an element is dataset or table, 3) thus to
2947 exclude extraneous column, 4) to remove extraneous *_Id column.
2949 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
2952 We had better reuse DataSet's ReadXmlSchema() and ReadXml() in
2953 serialization .ctor() (thus schema read/inference should be easier).
2954 DataRowSorter should consider Table's Locale.
2956 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
2958 * DataColumnCollection.cs : We already had AutoIncrementValue(), so
2959 use it instead of duplicating logic.
2961 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
2963 * ConstraintCollection.cs :
2964 Use Table.CaseSensitive and Table.Locale to compare strings.
2965 Duplicate constraint name exception does not occur under .NET 1.1.
2967 2004-05-04 Lluis Sanchez Gual <lluis@ximian.com>
2969 * XmlSchemaDataImporter.cs: Added little type check.
2971 2004-05-04 Lluis Sanchez Gual <lluis@ximian.com>
2973 * DataSet.cs: Implemented support for runtime serialization. Fixed support
2974 for xml serialization.
2975 * XmlDiffLoader.cs: Skip diffgram element when it is empty.
2977 2004-04-30 Umadevi S <sumadevi@novell.com>
2978 * DataColumnCollection.cs : Fixed nunit test errors, removed TODOs
2979 * DataTableCollection.cs : Tested and removed TODO
2980 * TypedDataSetGeneratorException.cs : Fixed a couple of TODOs
2982 2004-04-29 Atsushi Enomoto <atsushi@ximian.com>
2984 * DataRow.cs : My previous patch unintentionally reverted Boris patch.
2986 2004-04-29 Boris Kirzner <borisk@mainsoft.com>
2988 * UniqueConstraint.cs : Constraint columns becaomes unique after adding constraint ifand only if
2989 constraint is defined on single column.
2991 2004-04-29 Atsushi Enomoto <atsushi@ximian.com>
2993 * DataRowCollection.cs : .NET 1.1 throws InvalidConstaintException,
2994 not ArgumentException (maybe changed after 1.1).
2996 2004-04-29 Atsushi Enomoto <atsushi@ximian.com>
2998 * DataRow.cs : When Column was added and it was AutoIncrement column,
2999 it extended the item object array incorrectly.
3000 (Plus tiny comment and incorrect indentation fix.)
3002 2004-04-29 Boris Kirzner <borisk@mainsoft.com>
3004 * MergeManager.cs : added ( incomplete yet ) support for merging DataSet schema.
3006 2004-04-29 Boris Kirzner <borisk@mainsoft.com>
3008 * DataRow.cs : Bug fix in CopyValuesToRow().
3010 2004-04-29 Boris Kirzner <borisk@mainsoft.com>
3012 * UniqueConstraint.cs : There is no reason to mark constraint's columns as unique, because
3013 each of the columns should not be unique, but only all the constraint's columns together.
3015 2004-04-28 Boris Kirzner <borisk@mainsoft.com>
3018 - Added using of list of autoIncrement columns
3019 - SetColumnValue receives also DataColumn to avoid duplicate lookup in DatacolumnCollection
3020 - Fix in CheckNullConstraints
3021 - Fix in this[] and HasVersion() : when evaluating an expression deleted rows values can be accessed.
3022 - Fix in SetColumnValue() , added CanAccess() method to avoid case of accessing internal array values berore it actually allocated.
3023 - Added onColumnRemoved() method to threat column removal accurately.
3025 * DataRowCollection.cs :
3026 - Added using of DataRow._nullConstraintViolation (for perfomance fix in EndLoadData())
3027 - Added method onColumnRemoved() - calls each row's onColumnRemoved() (to ensure column removal is treated accurately)
3030 - Call DataRowCollection.onColumnRemoved() in OnRemoveColumn() (to ensure column removal is treated accurately)
3032 * DataColumnCollection.cs :
3033 - Perfomance fixes :
3034 - collection holds a list of its autoIncrement columns (avoids unnesessary lookup through whole collection)
3035 - collection holds mapping from column names to DataColumn objects (avoids lookup through whole collection).
3036 - automatic creation of column names rewrited (bug fixes + perfomance improvement)
3039 - Uses autoincrement list of a table
3041 2004-04-27 Atsushi Enomoto <atsushi@ximian.com>
3043 * XmlDataLoader.cs : Even when it should ignore schema, it was
3045 * XmlSchemaDataImporter.cs : DataRelation creation support.
3046 Improved "DataSet" element handing. When attributes are on the
3047 element, it is not a "DataSet" element.
3048 Fixed parent key column name.
3049 Unique name creation is not required. Just raise an error.
3050 Fill facet also for attribute types.
3052 2004-04-27 Atsushi Enomoto <atsushi@ximian.com>
3054 * DataRow.cs : Null check for CheckReadOnlyStatus() and
3055 CheckNullConstraints(), with some coding guideline fixes.
3056 Type check should be done by Type instance comparison.
3058 2004-04-27 Atsushi Enomoto <atsushi@ximian.com>
3060 * DataColumnCollection.cs : When add a column to the collection, fill
3061 auto-increment column.
3063 2004-04-26 Boris Kirzner <borisk@mainsoft.com>
3065 * DataColumn.cs : Small perfomance fix (avoid unnesessary string concatenation).
3067 2004-04-26 Atsushi Enomoto <atsushi@ximian.com>
3069 * CustomDataClassGenerator.cs : Added.
3070 * TypedDataSetGenerator.cs : Implemented Generate().
3071 Changed GenerateIdName() to call CustomDataClassGenerator.MakeSafeName
3072 * XmlSchemaDataImporter.cs : Table Locale should be supplied.
3074 2004-04-25 Boris Kirzner <borisk@mainsoft.com>
3076 * DataTable.cs : Small perfomance fix (avoid unnesessary string concatenation).
3078 2004-04-25 Boris Kirzner <borisk@mainsoft.com>
3080 * Constraint.cs : Small perfomance fix (avoid unnesessary string concatenation).
3082 2004-04-23 Umadevi S (sumadevi@novell.com)
3083 * DataRow.cs: Checked BeginEdit,EndEdit,CancelEdit and Delete methods
3084 - Added error handling to the above methods
3086 2004-04-22 Atsushi Enomoto <atsushi@ximian.com>
3088 * DataSet.cs : Data should be read when mode is IgnoreSchema (well,
3089 the support is incomplete yet).
3090 * XmlDataLoader.cs :
3091 Reverted ReadModeSchema() argument change. XmlReadMode would be
3092 useful to handle IgnoreSchema.
3093 Don't overwrite DataSetName when mode is not such kind.
3094 Set Prefix and Namespace as well as DataSetName.
3095 AllowDBNull looks set false by default for element column.
3096 Set unique constraint as primary key when infering the table schema.
3098 2004-04-21 Atsushi Enomoto <atsushi@ximian.com>
3101 Never set null string for Prefix and Namespace.
3102 In InferXmlSchema() when null XmlReader is passed, just do nothing.
3103 In WriteXmlSchema(string), earlier try block.
3104 In BuildSchema(), try to add serialization namespaces for each
3105 namespaces in DataSet/DataTable/DataColumn.
3106 Removed namespace argument from WriteColumnAsElement() and don't
3107 overwrite when namespace is "". This fixes bug #57330.
3108 * DataColumn.cs : For Namespace and Prefix, never set null.
3110 2004-04-21 Boris Kirzner <borisk@mainsoft.com>
3112 * XmlSchemaMapper.cs : Check for not null unique constraint in ReadXmlSchemaKeyref()
3113 before creating and adding foreign key constraint and relation.
3115 2004-04-21 Boris Kirzner <borisk@mainsoft.com>
3117 * MergeManager.cs : In AdjustSchema() source table clone should be added
3118 and not the table itself.
3120 2004-04-21 Boris Kirzner <borisk@mainsoft.com>
3123 - CaseSensitive : Additional fix (removed unnesessary assignment).
3124 - CopyProperties : Do not try to copy ExtendedProperties if the collection is empty.
3126 2004-04-21 Boris Kirzner <borisk@mainsoft.com>
3128 * DataTable.cs : Ensure that DataSet property is not null before using it in Clear().
3130 2004-04-20 Boris Kirzner <borisk@mainsoft.com>
3133 - EndLoadData() : perfomance fix in case of null constraint violation
3134 during data load (also in DataRow.cs).
3135 - CaseSensitive : If DataTable belongs to DataSet it should always use
3136 DataSet.CaseSensitive untill explicitly changed.
3137 - CopyProperties() : do not try to copy ExtendedProperties if the collection is empty.
3140 - Pefromance fix in case of null constraint violation
3141 during data load (also in DataTable.cs).
3142 - CollectionChanged() : use correct column number after new DataColumn was added
3143 (differs in case some DataColumn was previosly removed).
3144 - EndEdit() - throw away proposed values only after CheckChildRows() complete.
3146 2004-04-20 Boris Kirzner <borisk@mainsoft.com>
3148 * DataColumnCollection.cs : Since unique constraint is added now
3149 in DataColumn.SetTable() the additional creation of constraint in
3150 DataColumnCollection.Add() is redundant and causes exception - fixed.
3152 2004-04-19 Atsushi Enomoto <atsushi@ximian.com>
3154 * XmlDataLoader.cs : Added "never add data rows" mode.
3155 Removed unused code. However, it is temporary fixes to unify
3156 ReadXml() and InferXmlSchema().
3157 * DataSet.cs : Implemented InferXmlSchema(), though it is incomplete.
3159 I'll create another XmlDataLoader since there are many problems
3160 such that 1) it is too waste to read the entire xml into an
3161 XmlDocument, 2) it does not handle attributes correctly, and 3) it
3162 must handle "ignored namespaces".
3164 2004-04-19 Atsushi Enomoto <atsushi@ximian.com>
3166 * Added XmlSchemaDataImporter.cs (new schema reader).
3167 * DataSet.cs : Use XmlSchemaDataImporter (right now for DataSet only)
3168 for ReadXmlSchema().
3169 Let schema reading work to ReadXmlSchema().
3170 Don't return ReadSchema when argument read mode was DiffGram.
3172 2004-04-15 Umadevi S (sumadevi@novell.com)
3173 * Updated Clone/Copy methods in DataSet along with Testcase
3174 * ForeignKeyConstraint.cs - special ctor implemented
3175 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).
3176 * Changes in ConstraintCollection.cs for the above
3177 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.
3180 2004-04-15 Atsushi Enomoto <atsushi@ximian.com>
3182 * XmlSchemaMapper.cs : set parent key and foreign key info to
3183 DataRelation when reading refkey constraints.
3184 Supply constraint name for fkey.
3186 2004-04-15 Atsushi Enomoto <atsushi@ximian.com>
3188 * XmlDataLoader.cs : Don't overwrite existing DataSetName. When read
3189 mode is Auto, just ignore the schema if there is already schema info.
3190 * DataSet.cs : Similarly ignore schema info for XmlReadMode = Auto.
3192 2004-04-14 Atsushi Enomoto <atsushi@ximian.com>
3195 - In MS output, XML declaration looks to have standalone decl (yes).
3196 - ReadXml(reader) just calls to ReadXml(reader, XmlReadMode.Auto)
3197 - ReadXml(reader, mode)
3198 1) return originally specified mode, instead of (always) Auto.
3199 2) Check empty reader.
3200 3) Check diffgram schema and content separately.
3201 4) When diffgram exists, remaining (the same-level) contents
3203 5) Similar fact should be applied, but somewhat different.
3204 InferSchema and IgnoreSchema just skips, Fragment reads both
3205 schema and content, others just reads schema.
3206 - Removed unused code.
3207 * XmlDataLoader.cs :
3208 - Read() should skip in some ReadMode.
3209 - Don't compare schema element name as case-insensitive (well,
3210 should schemas be checked here?)
3211 - Avoided BuildDocument() not to create confusing DataSet
3213 - Don't add any tables when reader has single element.
3214 * XmlDiffLoader.cs :
3215 When target table was not found, MS.NET doesn't raise an error.
3216 * XmlSchemaMapper.cs :
3217 When XmlSchema.Read() left xml reader at </xs:schema>, read once.
3219 2004-04-13 Atsushi Enomoto <atsushi@ximian.com>
3222 - InferXmlSchema(): Throw explicit NotImplementedException now.
3223 - Don't put XML declaration everywhere. Write just for filename arg.
3224 - xmlns="" should not be written. Maybe WebService problem is
3225 because default namespace is overwritten. This patch will keep
3226 the WS problem away and actually fixes some unit tests (i.e. use
3227 explicit String.Empty for null namespace in WriteStartElement()).
3228 - MoveToContent() should always be called, not only when
3229 LocalName="xml". It will ignore prolog (DTD, PI, comment etc.).
3230 - Even XmlReadMode is DiffGram, reader might not be "diffgram"
3231 element. As to MSDN, diffgram does not contain schema.
3233 2004-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3235 * DataTable.cs: made _initStatus private so that System.Data is CLS
3238 2004-04-13 Umadevi S <sumadevi@novell.com>
3239 * UniqueConstraint.cs:
3240 * ConstraintCollection.cs:
3242 - Implemented a Constructor for UniqueConstraint.cs
3243 - Used EndInit on DataTable to call a delegate which adds the
3244 constraints passed to the most recent call of AddRange().Used
3245 AddRange() on ConstraintCollection to check whether
3246 DataTable.BeginInit has occurred. If yes, save the argument
3247 constraint collection passed, then return. If no, Check whether the
3248 constraints are of type UniqueConstraint and initialized with the
3249 special constructor If yes Initialized the table property of this
3250 UniqueConstraint object with table assosciated with the current
3251 instance of ConstraintCollection class.
3253 2004-04-07 Marek Safar <marek.safar@seznam.cz>
3255 * Constraint.cs: changed ClsCompliant to CLSCompliant, build fix.
3257 2004-04-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3260 * DataColumnCollection.cs:
3261 * DataRelationCollection.cs:
3262 * DataRowCollection.cs:
3263 * DataTableCollection.cs:
3264 * InternalDataCollectionBase.cs:
3265 * Node.cs: CLS compliance for System.Data. Patch by Gert Driesen.
3268 2004-04-05 Jackson Harper <jackson@ximian.com>
3270 * DataTable.cs: Add rows to the row list if there is no filter.
3272 2004-03-31 Juraj Skripsky <juraj@hotfeet.ch>
3274 * DataColumn.cs : Setting Caption to null sets it to the empty string
3275 (ms.net behaviour, testcase is in DataColumnTest).
3277 * DataRow.cs : Evaluate DataColumn.Expression when such a column's
3280 2004-03-30 Lluis Sanchez Gual <lluis@ximian.com>
3282 * DataColumn.cs: In Expression setter, set the expression member even if
3283 it is an empty string.
3284 * DataSet.cs: Support serialization of byte[] columns.
3285 * XmlDataLoader.cs: Support deserialization of Guid columns.
3286 Set MappingType.Attribute to columns infered from attributes.
3288 2004-03-29 Juraj Skripsky <juraj@hotfeet.ch>
3290 * ExpressionElements.cs : remove
3291 * DataColumn.cs, DataRelationCollection.cs, DataTable.cs :
3292 Integration of new Mono.Data.SqlExpressions classes used in
3293 DataTable.{Select, Compute}.
3294 Fixes bug #55503 and lots of failures in DataTableTest.cs.
3296 2004-03-28 Juraj Skripsky <juraj@hotfeet.ch>
3298 * Index.cs: Simple fix in ComparePartialRowNonUnique.
3299 This fixes bugs #56129 and #56014.
3301 2004-03-25 Lluis Sanchez Gual <lluis@ximian.com>
3303 * DataSet.cs: In WriteXml (string filename, XmlWriteMode mode), close the
3304 stream after writing the dataset. This fixes bug #52581.
3305 Also added several writer.Close into finally blocks, so writers are properly
3306 closed in case of an exception.
3308 2004-03-12 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3310 * Constraint.cs: DO NOT USE the consts scheme if types can be referenced directly!
3311 * DataColumn.cs: DO NOT USE the consts scheme if types can be referenced directly!
3312 * ColumnTypeConverter.cs: Added stub
3313 * DefaultValueTypeConverter: Added stub
3314 * ConstraintConverter.cs: Added stub
3316 2004-03-04 Eran Domb <erand@mainsoft.com>
3318 * XmlDataLoader.cs : Xml reading reviewed. Added support for additional xml formats as described
3319 in MS.NET documentation (missing DataSet element etc).
3321 2004-03-04 Eran Domb <erand@mainsoft.com>
3324 * Index.cs : Rollback last changes.
3326 2004-03-03 Atsushi Enomoto <atsushi@ximian.com>
3328 * Index.cs : justa build fix.
3330 2004-03-03 Eran Domb <erand@mainsoft.com>
3333 * Constraint.cs, ForeignKeyConstraint.cs, UniqueConstraint, ConstraintCollection.cs, DataColumn.cs,
3334 DataRow.cs, DataRowCollection.cs, DataSet.cs, DataTable.cs : Changes made for using indexes on tables.
3335 This changes made for performance improvement.
3337 2004-02-08 Eran Domb <erand@mainsoft.com>
3339 * XmlSchemaMapper.cs : Read columns is they were written as SimpleContent or as Attributes.
3341 2004-02-08 Eran Domb <erand@mainsoft.com>
3343 * DataSet.cs: Fix some bugs in ReadXml().
3345 2004-02-04 Lluis Sanchez Gual <lluis@ximian.com>
3347 * DataSet.cs: Added missing method that broke the build.
3349 2004-02-04 Eran Domb <erand@mainsoft.com>
3351 * DataRowCollection.cs (InsertAt): Add a check for null row. Replace check of IndexOf with RowId for
3353 * DataSet.cs (GetTableSchema) : Add supprot for simple content columns. Change the condition for a case
3354 when all column are attributes (elements count is 0), we still want to add the relations. No relations
3355 can be on simple contents.
3356 (AddUniqueConstraints) Check that the column of the constraint are not hidden.
3357 (AddForeignKeys) Check that the relation has constraints attach to it.
3358 * XmlConstants.cs : Added constant.
3360 2004-02-04 Eran Domb <erand@mainsoft.com>
3362 * DataSet.cs : GetSchemaSerializable() return null and not BuildSchema().
3363 DoWriteXmlSchema calls BuildSchema ().
3365 2004-02-04 Lluis Sanchez Gual <lluis@ximian.com>
3367 * DataRow.cs: Added SetOriginalValue(), which is used to set the original
3369 * DataRowCollection.cs: In InsertAt(), perform the correct checks and
3371 * DataSet.cs: Fixed method GetChanges(): Parent rows of modified rows must
3372 also be added to the dataset.
3373 In WriteTable(), do not write unchanged rows when writing the original
3374 version of the table.
3375 Added WriteIndividualTableContent(), for writing the contents of a single
3377 Changed BuildSchema and related methods, so it can generate a schema for
3378 any set of tables, not just the tables of the dataset (needed for
3379 single datatable serialization).
3380 * DataTable.cs: Implemented serialization constructor and GetObjectData method.
3381 Also implemented some ReadXmlSchema methods.
3382 * XmlDiffLoader.cs: Read and process the xml document directly from XmlReader,
3383 instead of loading the full dataset in an XmlDocument. It is faster and
3384 saves memory. Also fixed several problems when generating the changes.
3385 * XmlSchemaMapper.cs: Support reading schemas for single tables (used by
3386 table serialization).
3388 2004-02-02 Eran Domb <erand@mainsoft.com>
3390 * DataSet.cs : Add indentation to the xml serialization only if we create the XmlWriter.
3391 Add the namespace attribute even if namespace is an empty string for inteoperability with MS.NET.
3392 * DataTable.cs (NewRow): Create only one DataRowBuilder.
3393 Initiate new row with row id -1.
3394 * DataRow.cs : Add RowId property.
3395 * DataRowBuilder.cs : Add _rowId member.
3396 * DataRowCollection.cs (Add) : Use the RowId property of the new row to check if it is already exists in the collection.
3398 2004-01-26 Eran Domb <erand@mainsoft.com>
3400 * XmlConstants.cs : Added some constants.
3401 * DataColumn.cs : Added a method to retrive AutoIncrement value.
3402 * XmlDataLoader.cs : Set the value of the foriegn key column, according to the value of the
3403 parent table column.
3404 * XmlDiffLoader.cs : Convert the value comming from the xml.
3405 * XmlSchemaMapper.cs (Read) : Set the DataSet namespace.
3406 (ReadXmlSchemaSequence) : Change the logic that decides if this element is a column or a table.
3407 (ReadXmlSchemaElement) : Set the locale of the dataset.
3408 (ReadColumn) : Set the column type. Find if the column is AutoIncrement.
3409 (GetColumnType) : New method to get the column type from the attribute value.
3410 (ReadXmlSchemaUnique) : Improve parsing of XPath. Set the constraint as a PK if needed,
3411 and add the constraint to the table.
3412 (ReadXmlSchemaKeyref) : Improve parsing of XPath. Create the FK constraint and add it to
3414 * DataSet.cs : Improving writing of unique constraints, and foriegn key constraint. Givving them the correct names.
3415 Writing more information to the schema for interoperability with ms.net.
3416 Improve diffgarm writing mode.
3419 2004-01-21 Atsushi Enomoto <atsushi@ximian.com>
3421 * TypedDataSetGenerator.cs : Implemented GenerateIdName().
3423 2004-01-21 Eran Domb <erand@mainsoft.com>
3425 * XmlDataLoader.cs (AddRowToTable) : Give thre new relation correct name.
3426 Do not set the child column to be AutoIncrement.
3427 Create the new column for the relation as MappingType.Hidden so they will not be serialized
3428 when writing the dataset to xml.
3430 2004-01-20 Atsushi Enomoto <atsushi@ximian.com>
3432 * Added missing TypedDataSetGenerator.cs.
3434 2004-01-08 Eran Domb <erand@mainsoft.com>
3436 * XmlSchemaMapper.cs : Fix a bug. Check if table already in DataSet before adding it.
3437 * DataSet.cs (ReadXml) : Fix bugs. Read correctly the xml file with XmlReadMode of DiffGram,
3438 InferSchema, ReadSchema and IgnoreSchema.
3439 * XmlDataLoader.cs : All modes use the same logic.
3440 * XmlDiffLoader.cs : Adding BuildXmlDocument method to the class.
3442 2004-01-06 Eran Domb <erand@mainsoft.com>
3444 * DataRelationCollection.cs : Use IndexOf in indexer.
3445 * DataSet.cs : Adding support for WriteXml with diffgram. Code style changes.
3446 * XmlDataLoader.cs : Set the DataSet.enforceConstraints to false before loading the tables.
3447 * XmlDiffLoader.cs : Reading nested tables.
3448 * XmlSchemaMapper.cs : Reading the relation.
3449 * XmlConstants.cs : Adding some constants.
3451 2004-01-05 Jackson Harper <jackson@ximian.com>
3453 * DataView.cs: Set readonly property of property descriptor. This
3456 2004-01-01 Sanjay Gupta <gsanjay@novell.com>
3458 * DataRelationCollection.cs : Fixed incorrect generation of default
3460 * DataSet.cs : Added missing functionality in WriteXml().
3461 * XmlConstants.cs : Added new constants.
3463 2003-12-27 Atsushi Enomoto <atsushi@ximian.com>
3465 * DataSet.cs : Fixed incorrect WriteXml() signature.
3467 2003-12-18 Jackson Harper <jackson@ximian.com>
3469 * DataView.cs: Implement AddNew, Delete, and OnListChanged.
3471 2003-12-17 Atsushi Enomoto <atsushi@ximian.com>
3473 * DataSet.cs, XmlDataLoader.cs : Table name should be encoded before
3474 they take shape of xml. This fixed bug #52240
3476 2003-12-16 Tim Coleman <tim@timcoleman.com>
3477 * KeyRestrictionBehavior.cs:
3478 New stubs added for .NET 1.2
3482 2003-12-08 Eran Domb <erand@mainsoft.com>
3483 * DataColumn.cs (Expression) : Validate the expression.
3485 * DataRelationCollection.cs (IndexOf) : Added new method sensetive to case differences in relation name.
3486 (Contains, IndexOf, this[], Add) : Call new IndexOf when needed.
3488 * DataRow.cs (this[]) : Fix the condition for throwing RowNotInTableException.
3489 (RejectChanges) : Detach row when state was Added.
3490 (CollectionChanged) : Fix a bug.
3492 * ExpressionElement (ValidateExpression) : Fix a bug.
3494 * ForeignKeyConstraint.cs (AssertConstraint) : Added implementation. Check all rows from child table have
3495 a parent row in the parent table.
3496 (_validateColumns) : Fix bugs.
3498 * MergeManager.cs (AdjustSchema) : Fix a bug.
3500 * XmlDataLoader.cs (ReadModeInferSchema) : Change implementation. Now we can read nested xml, and we generate the relations
3503 2003-11-30 Eran Domb <erand@mainsoft.com>
3504 * DataColumnCollection.cs (this[string name]) : Use IndexOf to find the column.
3505 (Add) : Find if the new column name is the same as the one found in IndexOf.
3506 (IndexOf) : New method.
3507 (Contains) : Use new IndexOf.
3508 (IndexOf) : Use new IndexOf.
3510 * DataRelationCollection.cs (DataRelationCollection.AddCore) : Add The Relation to the collection.
3511 (DataSetRelationCollection.AddCore) : First add the UniqueConstraint.
3513 * DataRow.cs (this[int columnIndex, DataRowVersion version]) : Change exceptions.
3514 (Delete) : Detach row if the RowState was Added.
3515 (GetChildRows) : Get the array form the ChildTable.
3516 (GetParentRows) : Get the array from the ParenTable.
3518 * DataRowCollection.cs (Remove) : Check if row state is Detached to avoid exception.
3520 * DataSet.cs (IXmlSerializable.ReadXml) : Do not call MoveToContent and ReadEndElement - the XmlSerializationReader does it.
3522 * DataTable.cs (PrimaryKey) : Fix bugs.
3523 (Compute) : First call Select. Then create ExpressionAggregate to aggregate the Select result.
3525 * DataTableCollection.cs (Add) : Fix a bug.
3527 * ExpressionElement.cs (ValidateExpression) : Turning ValidateExpression to static.
3528 (Result) : Added new interface to AggregateExpression that get DataRow[] as a param.
3529 Some code style changes (tab instead of whit spaces, alignment, etc...).
3531 * ForeignKeyConstraint.cs (_validateColumns) : Throw correct exception.
3533 * MergeManager.cs (AdjustSchema) : Fix a bug.
3537 2003-11-26 Miguel de Icaza <miguel@ximian.com>
3539 * DataSet.cs: Add a few more missing methods, code style updated
3542 2003-11-26 Tim Coleman <tim@timcoleman.com>
3544 * ConflictOptions.cs DataAdapterException.cs DataTableReader.cs
3545 * DbMetaData.cs FillOptions.cs IDataReader2.cs IDataRecord2.cs
3546 * IDataUpdatableRecord.cs IDbAsyncCommand.cs IDbAsyncConnection.cs
3547 * IDbExecutionContext.cs IGetTypedData.cs ISetTypedData.cs
3548 * LoadOption.cs OperationAbortedException.cs ResultSetOptions.cs
3549 * ResultSetSensitivity.cs StatementCompletedEventArgs.cs
3550 * StatementCompletedEventHandler.cs UpdateOptions.cs:
3551 New classes added for NET_2_0
3552 * DBConcurrencyException.cs DataRelation.cs DataSet.cs DataTable.cs
3553 * DataTableCollection.cs DataView.cs ForeignKeyConstraint.cs:
3554 Modifications to add new NET_2_0 functions
3556 2003-11-25 Tim Coleman <tim@timcoleman.com>
3560 2003-11-21 Pedro Martinez Julia <yoros@wanadoo.es>
3562 * DataRow.cs: Detached row can be accesible (new rows from data
3563 table are detached). Closes but #51263.
3565 2003-11-19 Eran Domb <erand@mainsoft.com>
3566 * DataRow.cs : Throw exceptions if Row is Detached.
3567 (EndEdit) : Check that we are not in middle of ChangeEvent.
3568 (AcceptChanges) : Detach the row.
3570 * DataRelation.cs : throw correct exception.
3571 *UniqueConstraint.cs : throw correct exception.
3574 2003-11-09 Pedro Martinez Julia <yoros@wanadoo.es>
3576 * DataRow.cs: Use RemoveInternal instead of Remove because the last
3577 one uses Delete and AcceptChanges.
3579 * DataRowCollection.cs: When removing, Delete and AcceptChanges
3580 method from the row are called. Added an internal method that will
3581 be used by DataRow to "physically" remove the row from the list.
3583 2003-11-09 Pedro Martinez Julia <yoros@wanadoo.es>
3585 * DataRowCollection.cs: To follow the specification: Remove and
3586 RemoveAt should remove the row. But needed to call DeletingDataRow
3587 to prepare the deleting.
3589 * DataRow.cs: Don't call DeletingDataRow when it is called by the
3590 method Table.Rows.Remove.
3592 2003-11-09 Pedro Martinez Julia <yoros@wanadoo.es>
3594 * DataRowCollection.cs: Make the row be deleted by itself. If not,
3595 it fails because we need to call OnRowDeleting and OnRowDeleted. It
3596 is full implemented inside DataRow.
3598 2003-11-05 Eran Domb <erand@mainsoft.com>
3599 * DataView.cs (ctor) : Changing default RowStateFilter to CurrentRow.
3601 2003-11-04 Eran Domb <erand@mainsoft.com>
3602 * DataRow.cs (CheckChildRows) : Improving the implementation - checking child for all FK, and not
3604 (GetChildRows) : Adding some checks.
3605 (GetParentRows) : Adding some checks. Fix a bug in implementation.
3606 (SetParentRow) : Added implementation.
3608 * DataRowCollection.cs (Add) : Added more checks on the row added to the collection.
3609 * DataTable.cs (Copy) : Set the During Loading flag to save unnecessary assertions.
3610 * ForeignKeyConstraint.cs (AssertConstraint) : Fixing bugs in implementation. Checking for DBNull values in the row.
3611 * MergeManager.cs : Check that the target table is not null.
3613 2003-10-27 Eran Domb <erand@mainsoft.com>
3614 * DataColumn.cs (DefaultValue) : Changing null value to DBNull. Checking that the type of the new default value
3615 can be converted to the column type.
3617 * DataRelationCollection.cs (AddCore) : Give the new FK the name of the relation.
3619 * DataRow.cs (EndEdit) : Check if we need to validate the constraints.
3620 (GetParentRows, GetChildRows) : Checking that the row has the wanted version, before accessing the row's value.
3622 * DataRowCollection.cs (Add) : Fixing a bug.
3623 (Clear) : Before clearing the array check that there is no violation of FK constraint.
3625 * DataSet.cs (Prefix) : If value is null chage it to empty string.
3626 (GetXml) : Removing the Processing Instructions from the xml string as in MS ADO.NET.
3628 * ExpressionElement : Adding support for IN expresion.
3630 * DataTable (CopyConstraints) : New method that copy the tables constraints to the copy table.
3631 (Select) : Adding support for DataViewwRowState.
3633 * ForeignKeyConstraint.cs (AssertConstraint) : Adding implementation.
3635 * MergeManager.cs (MergeRow) : Fix bugs.
3637 2003-10-27 Eran Domb <erand@mainsoft.com>
3638 * DataRow.cs (SetColumnValue): Donot check null value when in midle of loading data.
3639 check null values when ending loading data.
3641 * DataSet.cs (RejectChanges) : Imlementation.
3642 (Prefix) : If prefix was changed fire event. Check that the prefix is not null - if null,
3643 change it to empty string.
3645 * DataTable.cs (BeginLoadData, EndLoadData) : Impemantation.
3647 2003-10-22 Eran Domb <erand@mainsoft.com>
3648 * MergeManager.cs : Fixing bugs. Adding check for PrimaryKey matching.
3650 * ConstraintCollection.cs (RamoveAt): Change implemntation.
3652 * DataTableCollection (CanRemove): Removing cast to Constraint.
3654 2003-10-22 Eran Domb <erand@mainsoft.com>
3655 * DataRelationCollection.cs (AddCore): The unique constraint was added even if the createConstraints flag was false.
3656 (Clear): The collection was cleared without removing the relation from the parent and child tables.
3658 * DataSet.cs (Copy, Clone): The Relations of the DataSet were not copy.
3659 (HasChanges, Reset): Imlementation.
3661 * DataTable.cs (HasErrors): There is no flag for errors, instead the table ask her row if they have any errors.
3662 This is because the we do not no when to turn off the flag.
3663 (Locale): Changing implementation to behave like ADO.NET.
3664 (AcceptChanges): Fix bug.
3665 (Clear): Check that this table is not referenced from a foreign key constraint.
3666 (Copy): Do not try to access a deleted row.
3667 (CopyProperties): Copy the PrimaryKey.
3668 (GetChanges, ImportRow): Implementation.
3669 (LoadDataRow): Adding implementation if the table has PrimaryKey.
3670 (ToString): Changing implementation to behave like ADO.NET.
3672 * UniqueConstraint.cs (AssertConstraint): support for Multiple DataColumns in the constraint.
3674 * DataRow.cs (Ctor): In the constructor we initiate the current array, but we should initiate only the proposed array for new rows.
3675 (HasErrors): Implementation.
3676 (Delete): Added checking for child rows of the deleted row.
3677 (EndEdit): Added checking for child row and firing events.
3678 (GetColumnError): Added a check that the method will not return null, as in ADO.NET(an empty string is returned).
3679 (GetColumnsInError): Added a check for null values in column error.
3680 (HasVersion): Added special treatment for special RowState.
3681 (CollectionChanged): More checks to avoid NullReferenceException.
3683 * DataRowCollection.cs (Remove): Fix a bug.
3686 2003-10-01 Duncan Mak <duncan@ximian.com>
3688 More patches from Eran Domb <erand@mainsoft.com>.
3690 * MergeManager.cs: New file.
3692 * DataRelationCollection.cs (AddCore): Check that a
3693 UniqueConstraint is already exists. It loops over the Relations
3694 instead of the Constraints.
3695 (Add, AddCore): The relation was added twice.
3697 * DataSet.cs (Merge, GetChanges, HasChanges): Implemented.
3699 2003-09-30 Duncan Mak <duncan@ximian.com>
3701 Patches from Eran Domb <erand@mainsoft.com>.
3703 * DataRelation.cs (constructor): When the name of the relation is
3704 null, it should return an empty, not "Relation".
3706 * DataRow.cs (AcceptChanges): Added special case for
3708 (CancelEdit): Set editing flag to false.
3709 (IsNull): Check that the value is DBNull.
3711 * DataRowCollection.cs (Add): There was no check that the table of
3712 the collection is owned by a DataSet.
3714 * DataSet.cs (OnMergeFailed): Added.
3716 * UniqueConstraint.cs (AssertConstraint): There was no check that
3717 values in the row are not null, where it is a primary key
3718 column. Also check that the row has a proposed version, if not,
3719 get the current version when we compare the rows.
3721 2003-09-25 Duncan Mak <duncan@ximian.com>
3723 Patches from Eran Domb <erand@mainsoft.com>.
3725 * DataColumn.cs (Unique): Implemented.
3728 * ConstraintCollection.cs:
3729 * ForeignKeyConstraint.cs (_ensureUniqueConstraintExists): Fixes
3730 an Exception thrown. Details:
3731 http://lists.ximian.com/archives/public/mono-devel-list/2003-September/002130.html
3733 * DataRowCollection.cs (Add): There is no checking that there is
3734 no violation of the unique constrains.
3736 * UniqueConstraint.cs (AssertConstraint): There is no checking on
3737 all columns in the constraint.
3739 * DataTableCollection (Add): Correctly throw an Exception, more
3741 http://lists.ximian.com/archives/public/mono-devel-list/2003-September/002117.html
3742 (Remove, RemoveAt): Implemented.
3744 2003-07-31 Duncan Mak <duncan@ximian.com>
3746 * DBConcurrencyException.cs: Added new NET_1_1 no-param constructor.
3748 2003-07-25 Ravi Pratap <ravi@ximian.com>
3750 * DataRelation.cs (OnPropertyChanging): Calling the 'Invoke'
3751 method on a delegate is disallowed - fix this.
3753 2003-07-22 Lluis Sanchez Gual <lluis@ximian.com>
3755 * DataSet.cs: Implemented IXmlSerializable interface. Added basic support for
3756 xml serialization. Modified method of writing schema. Now it creates
3757 a XmlSchema object and serializes it using XmlSerializer.
3758 * XmlConstants.cs: Added constants for data type names.
3759 * XmlDataLoader.cs: Fixed deserialization of data. Now converts data to the
3760 type specified in the column.
3762 2003-04-20 Alan Tam <Tam@SiuLung.com>
3764 * DataRelationCollection.cs: Fix a bug that prevent relations
3765 from being added via DataSet.
3767 2003-04-12 Ville Palo <vi64pa@kolumbus.fi>
3769 * UniqueConstraint.cs: one tiny fix.
3771 2003-04-05 Ville Palo <vi64pa@kolumbus.fi>
3773 * DataTable.cs: Remove UniqueConstraints when adding new ones
3775 2003-04-04 Ville Palo <vi64pa@kolumbus.fi>
3777 * DataColumnCollection.cs: Little 'case sensitive' fix
3779 2003-04-04 Ville Palo <vi64pa@kolumbus.fi>
3781 * DataRow.cs: AutoIncrement handling to Constructor
3782 * DataRowCollection.cs: This doesnt need anymore AutoIncrements
3784 2003-03-27 Ville Palo <vi64pa@kolumbus.fi>
3786 * DataTable.cs: Some fixes to PrimaryKey etc...
3787 * UniqueConstraint.cs: Little clean up
3789 2003-03-27 Ville Palo <vi64pa@kolumbus.fi>
3791 * DataTable.cs: Tiny fix to ToString () -method
3793 2003-03-27 Ville Palo <vi64pa@kolumbus.fi>
3795 * ConstraintCollection.cs: Little fix.
3796 * DataColumn.cs: Added new internal method SetUnique()
3797 * UniqueConstraint.cs: some little fixes
3799 2003-03-26 Ville Palo <vi64pa@kolumbus.fi>
3801 * DataRowCollection.cs: Bugfixes, implementation,...
3803 2003-03-26 Ville Palo <vi64pa@kolumbus.fi>
3805 * DataColumn.cs: If DataType if set to something else than short, int
3806 or long and AutoIncrement is true, AutoIncrement is must set to false.
3808 2003-03-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3811 (BeginEdit): fixed array bound problem when a column has been added.
3812 (EndEdit): just assign proposed to current as proposed is set to null.
3813 This also fixes another array boudn problem.
3815 2003-03-21 Alan Tam <Tam@SiuLung.com>
3817 * DataRow.cs: Fixed problems in accessers, BeginEdit, CancelEdit,
3818 EndEdit and AcceptChanges to act correctly according to DataRowState
3820 * DataRowCollection.cs: Call AttachRow and DetachRow when a row is
3821 attached and detached from the collection.
3823 2003-03-20 Alan Tam <Tam@SiuLung.com>
3825 * DataColumn.cs: Store empty string for Expression when null is passed in.
3826 Classes generated by XSD.exe passes null by default.
3828 2003-03-16 Ville Palo <vi64pa@kolumbus.fi>
3830 * DataColumnCollection.cs: Tiny clean up
3832 2003-03-16 Ville Palo <vi64pa@kolumbus.fi>
3834 * DataColumn.cs: little fixes.
3835 * DataColumnCollection.cs: Lots of little fixes and improvments.
3837 2003-03-12 Alan Tam <Tam@SiuLung.com>
3839 * DataSet.cs: Fixed a bug that the file written does not close correctly.
3841 2003-03-08 Alan Tam <Tam@SiuLung.com>
3843 * DataRelationCollection.cs: Removed the mis-overridden methods
3844 * DataRow.cs: Fixed an attribute
3845 * DataSet.cs: Fixed the modifiers
3847 2003-03-06 Aleksey Demakov <avd@openlinksw.com>
3849 * DataTableCollection.cs: The Contains (string name),
3850 IndexOf (string name) methods, and item[string name] indexer
3851 now behave more like .NET with respect to case-sensitivity.
3852 That is if there is an exactly matching item then this one is used.
3853 If there is only one item differing in case then it used.
3854 If there are more than one item differing in case then
3855 Contains returns false, IndexOf returns -1, and item[]
3856 throws an ArgumentException.
3858 2003-02-28 Ville Palo <vi64pa@kolumbus.fi>
3860 * ExpressionElement.cs: More implementation.
3862 2003-02-28 Alan Tam <Tam@SiuLung.com>
3863 * DataSet.cs: Changed WriteTable so that it now calls the newly written
3864 WriteObjectXml to direct the call to the respective XmlConvert method.
3865 This fixes the wrong format written to XML files of bool, float,
3866 double, DateTime and TimeSpan types.
3868 2003-02-25 Alan Tam <Tam@SiuLung.com>
3870 * DataRelation.cs: Added SetDataSet for DataSetRelationCollection to use.
3871 * DataRelationCollection.cs: Implemented AddRange and Contains.
3872 Implemented AddRange, Clear, List and RemoveCore for DataSetRelationColletion.
3873 Implemented AddCore, List and RemoveCore for DataTableRelationCollection.
3874 Reimplemented most Add methods to eliminate duplicated checks.
3875 Centralized RelationName generation procedure in GetNextDefaultRelationName.
3877 2003-02-25 Alan Tam <Tam@SiuLung.com>
3879 * DataColumn.cs: Fixed wrong storage representation of Expression
3880 (using empty string instead of null) so that ToString() returns nothing.
3881 * DataColumnCollection.cs: Reimplemented GetNextDefaultColumnName so that
3882 auto column naming now works as expected. Reimplemented some Add methods
3883 to eliminate code duplication.
3885 2003-02-19 Ville Palo <vi64pa@kolumbus.fi>
3887 * DataTable.cs: DataTable.CaseSensitive follows parent
3888 DataSet.CaseSensitive property if DataTable.CaseSensitive has never
3889 been changed directly from DataTable
3891 2003-02-19 Ville Palo <vi64pa@kolumbus.fi>
3893 * DataSet.cs: When CaseSensitive property is changed all of the Tables
3894 of DataSet have to change too
3896 2003-02-19 Daniel Morgan <danmorg@sc.rr.com>
3898 * InternalDataCollectionBase.cs: revert change to field
3901 * DataViewManager.cs
3904 * DataSet.cs: commented use of DesignerAttribute
3905 because it broke the build. According to MSDN,
3906 DesignerAttribute does not have a zero-argument constructor
3908 2003-02-18 Ville Palo <vi64pa@kolumbus.fi>
3910 * DataColumnCollectin.cs: Little fix for indexer and case sensitivity
3912 2003-02-18 Alan Tam <Tam@SiuLung.com>
3914 * DataRow.cs: Implemented GetParentRow and GetParentRows.
3915 * DataSet.cs: Added stub for HasChanges, InferXmlSchema,
3916 OnPropertyChanging, OnRemoveRelation, OnRemoveTable,
3917 RaisePropertyChanging.
3918 * DataTable.cs: Implemented NewRowArray.
3919 * DataTablePropertyDescriptor: Fixed a modifier.
3920 * InternalDataCollectionBase.cs: Fixed modifiers. Implemented SyncRoot.
3921 * PropertyCollection.cs: Minor fix.
3922 * ConstraintCollection.cs DataColumn.cs DataColumnCollection.cs
3923 * DataRelation.cs DataRelationCollection.cs DataRow.cs
3924 * DataRowCollection.cs DataRowState.cs DataSet.cs DataTable.cs
3925 * DataTableCollection.cs DataTablePropertyDescriptor.cs DataView.cs
3926 * DataViewManager.cs DataViewRowState.cs DataViewSettingCollection.cs
3927 * ForeignKeyConstraint.cs InternalDataCollectionBase.cs
3928 * PropertyCollection.cs UniqueConstraint.cs: Added missing attributes
3930 2003-02-08 Ville Palo <vi64pa@koti.soon.fi>
3932 * ExpressionElement.cs: More implementation
3934 2003-02-05 Alan Tam <Tam@SiuLung.com>
3936 * DataSet.cs: Added framework for DataSet.Update Implemented missing
3937 methods GetSchemaSerializable, GetSerializationData,
3938 ReadXmlSerializable, ShouldSerializeRelations and ShouldSerializeTables
3940 * DataTable.cs: Implemented missing methods CreateInstance and
3941 GetRowType for DataTable
3943 2003-02-03 Ville Palo <vi64pa@koti.soon.fi>
3945 * DataSet.cs: Implemented private method MapType for
3946 mapping datatypes for XmlSchema
3948 2003-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3950 * DataView.cs: implemented Dispose.
3952 2003-01-30 Ville Palo <vi64pa@koti.soon.fi>
3954 * ExpressionElement.cs: Added new file. This file is for parsing
3955 and DataData.Select () -methods and DataColumn.Expression -property
3956 * DataTable.cs: Implemented Select(string) -method
3958 2003-01-28 Ville Palo <vi64pa@koti.soon.fi>
3960 * DataSet.cs: One little fix to writing xml
3962 2003-01-27 Ville Palo <vi64pa@koti.soon.fi>
3964 * XmlSchemaMapper.cs: Some fixes.
3965 * DatSet.cs: Some XmlFixes and BeginInit ()/ EndInit () -fix
3968 2003-01-24 Ville Palo <vi64pa@koti.soon.fi>
3970 * UniqueConstraint.cs: Do not set columns Unique property true
3972 * ForeignKeyConstraint.cs: Add UniqueConstraint to parent Table
3974 2003-01-18 Ville Palo <vi64pa@koti.soon.fi>
3976 * DataTableCollection.cs: Now names new DataTable if it doesn't
3977 already have a name.
3979 2003-01-17 Ville Palo <vi64pa@koti.soon.fi>
3981 * XmlSchemaMapper.cs: Improvments.
3982 * XmlConstaints.cs: Added more constants.
3983 * DataSet.cs: Improvments of reading and writing xml
3984 * DataColumn.cs: Added default values of properties.
3986 2003-01-14 Ville Palo <vi64pa@koti.soon.fi>
3988 * XmlSchemaMapper.cs: Some improvments
3990 2003-01-13 Ville Palo <vi64pa@koti.soon.fi>
3992 * DataRowCollection.cs: Added IndexOutOfRangeException
3993 * DataTableCollection.cs: Added OnCollectionChanging and
3994 OnCollectionChanged events.
3995 * DataSet.cs: Many fixes. Implemented Clone () and Copy () -methods
3996 * DataTable.cs: Implemented Copy () and Clone () methods.
3997 * XmlDataLoader.cs: some fixes.
3998 * XmlSchemaMapper.cs: comments.
4000 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4002 * DataColumnPropertyDescriptor.cs: store columnIndex in the .ctor.
4004 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4006 * DataColumnPropertyDescriptor.cs: fixed typo.
4007 * DataViewManagerListItemTypeDescriptor.cs: added new internal property
4008 to get the DataViewManager and removed TablePD class.
4009 * DataTablePropertyDescriptor.cs: TablePD class is now this one as
4010 suggested by danmorg.
4012 2003-01-06 Ville Palo <vi64pa@koti.soon.fi>
4014 * XmlDataLoader.cs: Moved diffgram stuff to new internal class
4016 * XmlDiffLoader.cs: new class for diffgrams. Added handling of
4017 diffgr:Errors and some fixes and changed XmlReader to XPathNavigator.
4019 2003-01-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4021 * DataView.cs: made dataViewManager internal.
4022 * DataViewManager.cs: use ICustomTypeDescriptor. We don't want the
4023 properties of the object, but the values of the columns present in a
4026 * DataViewManagerListItemTypeDescriptor.cs: implemented GetProperties,
4027 which returns a PropertyDescriptorCollection. Created a new class
4028 derived from PropertyDescriptor that treats Table as an object whose
4029 properties are DataRowView.
4031 2003-01-04 Ville Palo <vi64pa@koti.soon.fi>
4033 * XmlSchemaMapper.cs: Added handling for Constraints, Attributes.
4035 2003-01-04 Ville Palo <vi64pa@koti.soon.fi>
4037 * DataColumn.cs: ExtendedProperties is by default !null-
4039 2003-01-04 Ville Palo <vi64pa@koti.soon.fi>
4041 * DataColumnCollection.cs: Add (DataColumn Column) -method didn't
4042 set column's ordinal.
4044 2003-01-02 Ville Palo <vi64pa@koti.soon.fi>
4047 * XmlDataLoader.cs: XmlReader closing fixes.
4048 * XmlSchemaReader.cs: Added support for ref=
4050 2003-01-01 Ville Palo <vi64pa@koti.soon.fi>
4053 - Added XmlReader and XmlWriter Closing.
4054 - Moved ReadXmlSchema stuff to new internal class XmlSchemaMapper.
4055 * XmlSchemaMapper.cs
4056 - Much better way IMHO to map xmlschema than the old one in
4057 DataSet.cs. Its, more flexible, cleaner, ...
4059 2002-12-29 Ville Palo <vi64pa@koti.soon.fi>
4061 * XmlDataLoader.cs: Reading diffgrams.
4063 2002-12-29 Ville Palo <vi64pa@koti.soon.fi>
4065 * DataRow.cs: Little fix to indexer and DataColumnCang* trigger fixes.
4066 * DataTable.cs: Added ChanginDataColumn () for triggering
4067 DataColumnChanging event
4069 2002-12-28 Ville Palo <vi64pa@koti.soon.fi>
4071 * DataSet.cs: Indentations to WriteXmlSchema () and one little fix
4073 2002-12-28 Ville Palo <vi64pa@koti.soon.fi>
4075 * DataSet.cs: Indentations to WriteXml ()
4077 2002-12-27 Ville Palo <vi64pa@koti.soon.fi>
4080 * XmlDataLoader.cs: Moved ReadXml -stuff from DataSet.cs to new
4081 class XmlDataLoader.cs
4083 2002-12-19 Ville Palo <vi64pa@koti.soon.fi>
4085 * DataSet.cs Implemented ReadXml with XmlReadMode.ReadSchema
4087 2002-12-18 Ville Palo <vi64pa@koti.soon.fi>
4089 * DataSet.cs: Started to implement ReadXml-methods.
4091 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4093 * DataSet.cs: implemented DefaultViewManager and GetList.
4095 * DataViewManager.cs: a bit of work on IList and ITypedList needed by
4096 DataList in System.Web.
4098 * DataViewManagerListItemTypeDescriptor.cs: custom type descriptor for
4101 2002-12-16 Ville Palo <vi64pa@koti.soon.fi>
4104 * DataTable.cs: Fixed NullException (rollback -event)
4105 * DataSet.cs: WriteXml -method does not anymore write <?xml... row.
4107 2002-12-15 Ville Palo <vi64pa@koti.soon.fi>
4110 * DataRowCollection.cs: Moved event triggering from DataRow to
4113 2002-12-09 Ville Palo <vi64pa@koti.soon.fi>
4115 * DataSet.cs: Little fix to WriteTable () -method
4116 and DoReadXmlSchema () -method.
4118 2002-12-06 Ville Palo <vi64pa@koti.soon.fi>
4120 * DataSet.cs: Clean up to reading xmlschema. This looks much better
4121 now (work better too), but it not working correctly yet.
4123 2002-12-04 Ville Palo <vi64pa@koti.soon.fi>
4126 * DataRowCollection.cs: Added some event handlins stuff.
4127 * DataSet.cs: Some fixes.
4128 * DataTable.cs: Added event handlers.
4130 2002-11-30 Ville Palo <vi64pa@koti.soon.fi>
4132 * DataRowChangeEventArgs.cs: Implemented Action and Row properties
4134 2002-11-30 Ville Palo <vi64pa@koti.soon.fi>
4136 * System.Data/DataRow.cs: Added internal property XmlDataID
4138 2002-11-29 Ville Palo <vi64pa@koti.soon.fi>
4140 * DataSystem.Data.DataTableCollection.cs:
4141 Removed HashTable. There could be situations where DataTable
4142 is added to collection before it hava TableName. So using
4143 HashTable is impossible.
4145 2002-11-19 Carlos Guzman Alvarez <carlosga@telefonica.net>
4147 * DataRow.cs: an object that is equal to null
4148 should be allowed to be set in this indexer too
4151 2002-11-06 Daniel Morgan <danmorg@sc.rr.com>
4153 * DataColumnPropertyDescriptor.cs: added file
4155 * System.Data/DataRowView.cs: started implementation
4157 * DataTable.cs: stubbed more interfaces. Implemented
4158 IListSource.GetList()
4160 * DataView.cs: stubbed more interfaces. Implemented
4161 some properties and methods: GetEnumerator(),
4162 ITypedList.GetItemProperties, Item indexer, CopyTo()
4164 2002-05-18 Nick Drochak <ndrochak@gol.com>
4166 * DataRow.cs: Fix typo.