1 2010-04-11 Veerapuram Varadhan <vvaradhan@novell.com>
4 * DataColumn.cs (Clone): Use propert to clone Expression as it builds
5 compiled expression also, if any.
7 2010-04-10 Veerapuram Varadhan <vvaradhan@novell.com>
10 * DataColumn.cs (set_DataType): Preserve autoIncrement value
11 for Decimal types as well.
13 2010-04-09 Veerapuram Varadhan <vvaradhan@novell.com>
15 ** Fixes #576520 - Based on a patch by Greg SIROU <gspam@secway.fr>
16 * DataSet.cs (WriteColumnAsElement): Handle system.object types sanely.
18 2010-04-09 Veerapuram Varadhan <vvaradhan@novell.com>
21 * DataColumn.cs (Clone): Clone extended properties as well
23 2010-02-10 Marek Habersack <mhabersack@novell.com>
25 * XmlSchemaDataImporter.cs: the <connections> element might be
26 empty - make sure FirstChild of the element is not null before
27 attempting to use it. Fixes bug #578587
29 2009-10-30 Veerapuram Varadhan <vvaradhan@novell.com>
31 * DataTable.cs: Reuse old utility methods for raising DataTable
32 clearing/cleared events.
33 * DataRowCollection.cs (Clear): Raise DataTable clearing/cleared
34 events only for non 1.x profiles. Fixes broken 1.x build.
36 2009-10-30 Veerapuram Varadhan <vvaradhan@novell.com>
39 * DataTable.cs (Clear): Do not raise TableClearing/Cleared events as
40 they will be raised from DataRowCollection.Clear(). New utility methods
41 for raising TableClearing/TableCleared events from outside DataTable.
42 Don't manually reset indexes as ResetIndexes is called from
43 DataRowCollection.Clear
44 * DataRowCollection.cs (Clear): Raise TableClearing/Cleared events accordingly.
46 2009-10-29 Veerapuram Varadhan <vvaradhan@novell.com>
48 ** Fixes 332875 - based on analysis by Ben Martin <ben@trustorm.com.au>
49 * XmlSchemaDataImporter.cs (AddParentKeyColumn): If a table already has a
50 PrimaryKey column defined, when called again, fill the PKCol data into the
51 passed DataColumn and return.
53 2009-10-29 Veerapuram Varadhan <vvaradhan@novell.com>
55 ** Fixes #550960 - Patch by Stefano <stefano.sapienti@apsystems.it>
56 * DataTable.cs (BinarySerialize): Use datatype from DataColumn
57 instead of value of the column.
59 2009-10-14 Jonathan Pryor <jpryor@novell.com>
61 * XmlSchemaDataImporter.cs: Remove DbProviderFactories dependency in
62 the MonoTouch profile.
64 2009-10-13 Veerapuram Varadhan <vvaradhan@novell.com>
67 * XmlDiffLoader (LoadColumnAttributes/Children): Decode column names in
68 case if they are encoded.
70 2009-09-26 Veerapuram Varadhan <vvaradhan@novell.com>
72 ** Fixes part of #427769 - Patch by John Lenz <jlenz2@math.uiuc.edu>
73 * DataSet.cs: XML serialization improvements to be compatible with MS impl.
75 2009-09-15 Veerapuram Varadhan <vvaradhan@novell.com>
77 ** Fixes #536194 - Patch by Andrew Kurochk <aaki.viper@gmail.com>
78 * MergeManager.cs (Merge*): Do nothing when source and target
81 2009-09-10 Veerapuram Varadhan <vvaradhan@novell.com>
84 * DataView.cs (OnRowChanged/OnRowDeleted): Raise appropriate events iff
85 view is affected. This silence of the numerous Add/Change events that were
86 getting raised from DataView.
87 (ToTable): Use appropriate index to generated DataTable in case of
88 RowFilter / Sort conditions.
90 * DataRow.cs (AcceptChanges/RejectChanges): Raise appropriate Changing events
92 2009-09-03 Ivan N. Zlatev <contact@i-nz.net>
94 * DataColumnPropertyDescriptor.cs, DataView.cs: Not browsable if Hidden.
95 [Fixes the second part of bug #536547]
97 2009-08-25 Veerapuram Varadhan <vvaradhan@novell.com>
100 * DataViewManager.cs (CollectionToListChangeEventArgs) : Use a corresponding
101 DataTable/DataRelation obj instead of only DataRelation.
103 2009-07-30 Veerapuram Varadhan <vvaradhan@novell.com>
105 * CustomDataClassGenerator.cs (MakeSafeName): Throw NRE instead of
106 ArgumentNullException - fixes failing tests.
108 2009-07-23 Veerapuram Varadhan <vvaradhan@novell.com>
110 * XmlSchemaDataImporter.cs (HandleDataSourceAnnotation): Don't rely
111 on the order of elements.
113 2009-07-23 Veerapuram Varadhan <vvaradhan@novell.com>
115 * XmlSchemaDataImporter.cs: String.IsNullOrEmpty changes
117 2009-07-23 Veerapuram Varadhan <vvaradhan@novell.com>
119 * XmlSchemaDataImporter.cs: Added null checks.
121 2009-07-22 Veerapuram Varadhan <vvaradhan@novell.com>
123 * XmlSchemaDataImporter.cs:
124 CustomDataClassGenerator.cs: Silence off CWLs.
126 2009-07-22 Veerapuram Varadhan <vvaradhan@novell.com>
128 * CustomDataClassGenerator.cs (CreateCommandCollectionInitializeMethod):
129 Fix generation of DbCommand[] instead of DbCommand()[]. Fix IndexRef to
131 Avoid using SourceColumnNullMapping property in the constructor
132 of DbParameter while creating the code.
134 2009-07-18 Veerapuram Varadhan <vvaradhan@novell.com>
136 * CustomDataClassGenerator.cs (CreateDbSourceMethods): Handle cases of Scalar
137 and NoData QueryTypes.
139 2009-07-17 Veerapuram Varadhan <vvaradhan@novell.com>
141 * TableAdapterSchemaInfo.cs: Wrap DbCommand within DbCommandInfo and
142 define MethodInfo to hold method properties common to both Get and Fill.
144 * CustomDataClassGenerator.cs (CreateDbSourceMethods): Handle cases of Fill
145 and Get appropriately.
147 2009-07-16 Veerapuram Varadhan <vvaradhan@novell.com>
149 * CustomDataClassGenerator.cs (CreateDbSourceMethods): Handle
150 methods of type "Fill".
152 * XmlSchemaDataImporter.cs (ProcessDbParameters): Handle empty strings
153 while setting parameter properties.
155 2009-07-15 Veerapuram Varadhan <vvaradhan@novell.com>
157 ** Part of fix for #325464
158 * CustomDataClassGenerator.cs: Add implementation to generate
161 * DataSet.cs (TableAdapterSchemaData): New internal property that
162 holds TableAdapter details to generate code from.
164 * XmlConstants.cs: Add Msdatasource constant to handle
165 <...:xml-msdatasource> elements.
167 * XmlSchemaDataImporter.cs: Implement handling of <TableAdapter ...>
168 * TableAdapterSchemaInfo.cs: New
170 2009-05-16 Veerapuram Varadhan <vvaradhan@novell.com>
172 ** Fixes #325464 - ToolItems.xsd
173 * CustomDataClassGenerator.cs (CreateDataSetTableMembers): Prefix a "_" to
174 member names when it is same as that of the dataset. Fixes the CS0542 error
175 during compilation of the generated source.
177 2009-03-25 Ivan N. Zlatev <contact@i-nz.net>
179 * DataView.cs: Fire ListChanged when the RowFilter changes.
182 2009-02-24 Veerapuram Varadhan <vvaradhan@novell.com>
184 * *Fixes #377146 - in a better way
185 * XmlDataReader.cs (ReadElementElement): For reference types that
186 implement IXmlSerializable, call the corresponding ReadXml.
187 * DataSet.cs (WriteColumnAsElement): For reference types that implement
188 IXmlSerializable, call the corresponding WriteXml.
190 2009-02-24 Veerapuram Varadhan <vvaradhan@novell.com>
193 * DbType.cs: Add DateTime2 and DateTimeOffset - 3.5 additions
194 Patch by Jay Wren <jrwren@xmtp.net>
196 2009-01-05 Raja R Harinath <harinath@hurrynot.org>
198 * DataRelationCollection.cs (BinarySerialize): New. Carved out of ...
199 * DataSet.cs (BinarySerialize): ... this.
201 2009-01-04 Raja R Harinath <harinath@hurrynot.org>
203 * DataRelationCollection.cs: Sequester NET_2_0 and NET_1_1
204 specific code into separate parts.
206 * DataTableCollection.cs (BinarySerialize_Schema): New.
207 (BinarySerialize_Data): Likewise. Carved out of ...
208 * DataSet.cs (BinarySerialize): ... this.
210 2009-01-04 Raja R Harinath <harinath@hurrynot.org>
212 * DataTableCollection.cs: Sequester NET_2_0 and NET_1_1 specific
213 code into separate parts.
215 2009-01-02 Ivan N. Zlatev <contact@i-nz.net>
217 * DataViewManager.cs: Implement all MonoTODO. Fixes the WinForms
218 DataBinding unit tests.
220 2009-01-01 Ivan N. Zlatev <contact@i-nz.net>
222 * DataViewManager.cs: Hookup to the table/relations changed events and
223 raise ListChanged events accordingly.
225 2008-12-30 Gert Driesen <drieseng@users.sourceforge.net>
227 * DBConcurrencyException.cs: Marked .ctor taking DataRow [] as
228 internal so we can use it on the 1.0 profile (internally). Implemented
231 2008-12-29 Gert Driesen <drieseng@users.sourceforge.net>
233 * SqlDbType: Added Date and Time (2.0 only).
235 2008-11-18 Raja R Harinath <harinath@hurrynot.org>
238 * XmlConstants.cs (QnUnsignedShort): Rename from QnUsigned short
239 and fix the value too.
240 * XmlSchemaWriter.cs (XmlQualifiedName): Update to changes.
242 2008-09-27 Raja R Harinath <harinath@hurrynot.org>
244 * DataView.cs: Convert into a partial class and sequester
245 interface-implementations and NET_2_0 pieces into separate parts.
247 2008-09-16 brandin claar <brandin.claar@gmail.com>
248 Raja R Harinath <harinath@hurrynot.org>
250 * DataTable.cs (BinarySerialize): Handle empty DataTables.
251 (DeserializeRecords): Likewise.
252 (BinaryDeserializeTable): Allow DefaultValue to be set to any value.
254 2008-09-12 Raja R Harinath <harinath@hurrynot.org>
256 * DataTable.cs (NewRowAdded): Make into partial method.
257 (DataTableClearing, DataTableCleared): New partial methods.
260 * DataTable.cs: Sequester ISupportInitializationNotification
261 pieces into separate part.
262 (DataTableInitialized): Turn into a 'partial method' to avoid #ifs.
264 * DataTable.cs (AssertNotNullConstraints): Hoist out a more useful
265 loop-invariant by inverting loops.
266 (RowExists): Outdent. Rewrite for slightly better clarity.
267 (BeginLoadData): Outdent.
268 (GetChanges): Outdent. Replace GetEnumerator/while with foreach.
270 * DataTable.cs: Convert to a partial class, sequester NET_2_0
271 specific and IXmlSerializable specific pieces into separate parts.
273 2008-09-07 Raja R Harinath <harinath@hurrynot.org>
275 * DataSet.cs: Convert to a partial class and sequester NET_2_0
276 pieces into a separate part.
278 * DataRowView.cs: Convert to a partial class, and sequester
279 NET_2_0 parts into a separate part. Use partial classes instead
280 of ugly #region directives.
281 (Item): Remove redundant attributes. Cleanup slightly.
283 2008-09-05 Raja R Harinath <harinath@hurrynot.org>
285 * DataRowCollection.cs (RemoveInternal): Update RowIDs of rows
286 after the deleted row.
287 (IndexOf): Avoid loop to search for a row, since we already know
288 where a row is: its RowID.
289 (Remove): Use IndexOf rather than List.Contains.
291 * DataRowCollection.cs (InsertRow): Delegate setting of RowId
292 to the row itself. Use 'row.AttachAt' instead of 'row.AttachRow'.
293 (AddInternal): Likewise. Also delegate handling of
294 ChangeCurrentAndOriginal to AttachAt.
295 * DataRow.cs (AttachAt): Rename from AttachRow. Set rowId from
296 passed-in id. Handle ChangeCurrentAndOriginal and ChangeOriginal
299 * DataRow.cs (_hasParentCollection): Remove. Implied by _rowId >= 0.
300 (HasParentCollection): Remove.
301 * DataRowCollection.cs (AddInternal, InsertAt): Update to changes.
303 * DataTable.cs (NewRowArray): Special case size == 0 to avoid
304 creating a lot of garbage.
306 * DataRow.cs (Detach): Rename from DetachRow. Make private.
307 Simplify code to be more uniform. Move common prefix code here ...
308 (AcceptChanges) [Deleted]: ... from here ...
309 (Delete) [Added]: ... and here ...
310 (RejectChanges) [Added]: ... and here.
312 2008-09-04 Raja R Harinath <harinath@hurrynot.org>
314 * DataRow.cs (CheckChildRows) <1-arg variant>: Remove excessive
316 (CheckChildRows) <3-arg variant>: Likewise. Move/split loop
318 (EndEdit): Out-dent some code.
319 (IsNullColumns): Simplify slightly.
321 * DataRelationCollection.cs (CanRemove): Simplify slightly.
323 * DataRelation.cs (CheckStateForProperty): Use the childColumn to
326 * DataColumn.cs (AllowDBNull.set): Rearrange code to be more readable.
327 (AutoIncrement.set): Likewise.
329 (SetDefaultValue): Likewise.
331 2008-08-28 Raja R Harinath <harinath@hurrynot.org>
333 * Constraint.cs (SetExtendedProperties): New internal method.
335 (ExtendedProperties.set): ... here. Kill a #ifdef.
336 * DataTable.cs (DeserializeConstraints): Update to changes.
338 2008-08-27 Raja R Harinath <harinath@hurrynot.org>
340 * ConstraintCollection.cs (Item) <string variant>: Don't incur
341 additional check for index that's returned by 'IndexOf'.
342 (_createNewConstraintName): Improve readability of code.
343 (_isDuplicateConstraintName): Perform cheaper test first.
345 * ConstraintCollection.cs: Reduce some #ifdef by using partial
346 classes. Move 'sealed' and '[Serializable]' to appropriate
347 partial class declarations.
348 * DataRowCollection.cs: Likewise.
350 2008-08-13 Marek Habersack <mhabersack@novell.com>
352 * DataRow.cs: do not check whether a column is read-only when
355 2008-08-08 Raja R Harinath <harinath@hurrynot.org>
357 * DataColumn.cs: Update to changes in DataCollection.
359 2008-07-29 Veerapuram Varadhan <vvaradhan@novell.com>
362 * XmlDataReader.cs (ReadElementElement): Handle custom reference types sanely.
364 2008-07-20 Gert Driesen <drieseng@users.sourceforge.net>
366 * DataColumnCollection.cs (IndexOf): Include name of column - for which
367 there are multiple matches in a different case - in the exception
369 * DataRow.cs (this [int]): On 2.0 profile, throw ArgumentException if
370 value is null and datatype of column is a value type. On 1.0 profile,
371 only allow null value if datatype of column is string. Do not replace
372 value with DBNull.Value if value is null.
374 2008-07-04 Gert Driesen <drieseng@users.sourceforge.net>
376 * DataRow.cs: Use indexer of DataColumnCollection instead of IndexOf.
377 Cosmetic changes to exception message.
378 * DataColumnCollection.cs: Fixed off by one error in index check. Added
379 null check in name indexer. In Clear, also reset columnNameCount and
382 2008-07-03 Gert Driesen <drieseng@users.sourceforge.net>
384 * DataRow.cs: Added missing null checks. Cosmetic changes to exception
387 2008-07-03 Marek Habersack <mhabersack@novell.com>
389 * DataRow.cs (this []): Use DBNull instead of throwing an exception
391 2008-07-01 Rodrigo Kumpera <rkumpera@novell.com>
393 * DataTable.cs: Kill some foreach loops.
397 2008-07-01 Marek Safar <marek.safar@gmail.com>
399 * DataColumnCollection.cs: Made few simple optimizations.
401 2008-06-28 Zoltan Varga <vargaz@gmail.com>
403 * DataTable.cs (NewRowArray): Avoid using reflection if possible.
405 2008-06-19 Atsushi Enomoto <atsushi@ximian.com>
407 * DataRelation.cs : keep createConstraints flag for cloning in
408 DataSet.Merge(). Use different flag for initialization instead.
409 * MergeManager.cs : When cloning DataRelation, createConstraints
410 flag should depend on the source.
411 * XmlSchemaDataImporter.cs : create constraints when creating
414 2008-06-18 Atsushi Enomoto <atsushi@ximian.com>
416 * DataSet.cs : when InferSchema mode, ReadXml() should do "merging
418 * XmlDataInferenceLoader.cs : fixed primary key processing in
419 merging inference mode. Reuse existing one, instead of rejecting
422 2008-06-17 Atsushi Enomoto <atsushi@ximian.com>
424 * XmlSchemaWriter.cs, DataSet.cs, XmlTableWriter.cs, DataTable.cs,
425 XmlDataInferenceLoader.cs, XmlSchemaDataImporter.cs:
426 fix xsd output on msdata:Locale and msdata.UseCurrentCulture.
427 Output explicit Locale only when it is explicitly specified.
428 On the other hand, ReadXml/ReadXmlSchema fills Locale as en-US
429 by default (on .NET).
430 Some code unification in DataTable.WriteXmlSchema() overloads.
432 2008-06-16 Atsushi Enomoto <atsushi@ximian.com>
434 * DataColumn.cs : replaced Activator.CreateInstance() with
435 returning explicit Null member for each SqlXxx type.
437 2008-06-13 Atsushi Enomoto <atsushi@ximian.com>
440 DefaultValue can be non-DBNull. For SqlXxx type, it becomes
441 SqlXxx.Null. Also, changing DataType may change DefaultValue
442 to be consistent with the new type (say, having int DefaultValue
443 for new string DataType is wrong).
446 This should be fixed to take non-DBNull default value into
449 2008-06-12 Atsushi Enomoto <atsushi@ximian.com>
451 * DataSet.cs, DataTable.cs, XmlSchemaDataImporter.cs : constraints
452 on missing tables are ignored when reading a DataTable schema.
453 Fixes part of DataTableTest.ReadXmlSchema() test.
455 2008-05-30 Marek Habersack <mhabersack@novell.com>
457 * Constraint.cs: do not use synthetized event accessors (to avoid
460 2008-05-29 Marek Habersack <mhabersack@novell.com>
462 * DataColumn.cs: do not use synthetic methods for events - this
463 avoids unnecessary locking, especially for internal events.
465 2008-04-21 Gert Driesen <drieseng@users.sourceforge.net>
467 * DataRowView.cs: Modified argument names to match MS. Use
468 String.Empty instead of "". Code formatting.
470 2008-04-16 Veerapuram Varadhan <vvaradhan@novell.com>
472 * XmlDataInferenceLoader.cs (ReadXml): Make sure the name of
473 reference key column(s) in child tables are unique.
475 * XmlSchemaWriter.cs (WriteSchema, WriteDataSetElement,
476 WriteTableType, WriteChildRelations): Handle the scenario wherein
477 we have a relation and only one table. This can occur when we
478 have an XML with same parent/child table names.
480 2008-03-31 Veerapuram Varadhan <vvaradhan@novell.com>
482 * DataView.cs: Reverting rev#98474 changes - as it broke quite a
485 2008-03-23 Gert Driesen <drieseng@users.sourceforge.net>
487 * DataSet.cs: Corcompare fix.
488 * IDataRecord.cs: Corcompare fix.
490 2008-03-22 Gert Driesen <drieseng@users.sourceforge.net>
492 * DataViewSettingCollection.cs: Corcompare fixes and code formatting.
493 * SyntaxErrorException.cs: Corcompare fixes and code formatting.
494 * EvaluateException.cs: Corcompare fixes and code formatting.
495 * StrongTypingException.cs: Coecompare fixes and code formatting.
496 * ReadOnlyException.cs: Corcompare fixes and code formatting.
497 * DataTableCollection.cs: Corcompare fixes and code formatting.
498 * MissingPrimaryKeyException.cs: Corcompare fixes and code formatting.
499 * DeletedRowInaccesibleException.cs: Corcompare fixes and code
501 * DataSet.cs: Corcompare fixes and code formatting.
502 * DuplicateNameException.cs: Corcompare fixes and code formatting.
503 * DataView.cs: Corcompare fixes and code formatting.
504 * VersionNotFoundException.cs: Corcompare fixes and code formatting.
505 * MergeFailedEventArgs.cs: Corcomare fixes and code formatting.
506 * InvalidExpressionException.cs: Corcompare fixes and code formatting.
507 * DBConcurrencyException.cs: Corcompare fixes and code formatting.
508 * DataRowView.cs: Corcompare fixes and code formatting.
509 * DataViewManager.cs: Corcompare fixes and code formatting.
510 * ConstraintException.cs: Corcompare fixes and code formatting.
511 * InvalidConstraintException.cs: Corcompare fixes and code formatting.
512 * IDataRecord.cs: Corcompare fixes.
513 * RowNotInTableException.cs: Corcompare fixes and code formatting.
514 * TypeDataSetGeneratorException.cs: Corcompare fixes and code
516 * InRowChangingEventException.cs: Corcompare fixes and code formatting.
517 * NoNullAllowedException.cs: Corcompare fixes and code formatting.
518 * DataException.cs: Corcompare fixes and code formatting.
520 2008-03-17 Veerapuram Varadhan <vvaradhan@novell.com>
522 ** Fixes part1 of #357947
523 * DataView.cs: (OnRowDeleted): Don't call update, instead delete the row
524 directly from Index. Peformance fix submitted by Hubert FONGARNAND
525 <informatique.internet@fiducial.fr>.
527 2008-02-04 Arina Itkes <arinai@mainsoft.com>
529 * DataTable.cs: Fix for IXmlSerializable.ReadXml.
531 2008-01-28 Arina Itkes <arinai@mainsoft.com>
533 * DataTable.cs: Fix for IXmlSerializable.WriteXml.
535 2007-10-21 Gert Driesen <drieseng@users.sourceforge.net>
537 * DataColumn.cs: Fixed ParamName of ArgumentNullException. Modified
538 exception message for invalid DateTimeMode value to match MS. Code
541 2007-10-19 Nagappan <anagappan@novell.com>
543 * DataRelation.cs: Removed bogus TODO.
545 2007-09-27 Nagappan A <anagappan@novell.com>
547 * DataRelationCollection.cs: Added LAME spec comment as there is no
548 relevant event. Removed MonoTODO too.
550 2007-09-26 Nagappan A <anagappan@novell.com>
552 * DataView.cs (ToTable): Added params keyword.
554 * DataTable.cs: Added XmlSchemaProvider attribute.
556 2007-09-25 Konstantin Triger <kostat@mainsoft.com>
558 * DataSet.cs: correct WriteAttributeString while writing xml with
559 XmlWriteMode.WriteSchema.
561 2007-09-25 Nagappan A <anagappan@novell.com>
563 * DataTable.cs: Code alignment.
565 2007-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
567 * DataColumnCollection.cs: refactoring, fixed columnNameCount comparer
568 to remove culture sensitive ToLower() calls
570 2007-07-22 Nagappan A <anagappan@novell.com>
572 * DataRow.cs: Added internal set property for Table in 2.0
575 * DataColumn.cs: Added internal set property for Table in 2.0
578 2007-07-01 Gert Driesen <drieseng@users.sourceforge.net>
580 * DataRowCollection.cs: Only override Count on 2.0 profile.
581 * RelatedDataView.cs: Fixed line endings.
582 * XmlDataInferenceLoader.cs: Fixed line endings.
584 2007-06-30 Gert Driesen <drieseng@users.sourceforge.net>
586 * DataTableCollection.cs: CopyTo is 2.0 only. Removed extra tabs,
587 and changed spaces to tabs.
589 2007-06-06 Nagappan A <anagappan@novell.com>
591 * DataTable.cs (Select): Removed ununsed variable.
593 2007-05-30 Nagappan A <anagappan@novell.com>
595 * DataColumnCollection.cs (CopyTo): Method specific to 2.0
598 * DataRowCollection.cs (Count): Property is overridden in 2.0
601 * TypedDataSetGenerator.cs: Class is obsolete in 2.0 profile.
603 * DataRelationCollection.cs (CopyTo): Method specific to 2.0
606 2007-05-18 Rolf Bjarne Kvinge <RKvinge@novell.com>
608 * CustomDataClassGenerator.cs: Misc fixes in order to emit correct VB code.
609 CreateDataSetDefaultCtor: we're creating a delegate, not an object, so use a DelegateCreateExpression.
610 CreateDataSetSchemaChanged: we're comparing value types, use the correct equality operator.
611 CreateTableGetEnumerator: explicity state that the method is an implementation of IEnumerable.GetEnumerator.
612 CreateTableEventStarter: we're invoking a delegate, so use a DelegateInvokeExpression.
613 Several changes to not generate members with names that only differ by case.
615 2007-05-18 Chris Toshok <toshok@ximian.com>
617 * DataColumnCollection.cs (Add ()): handle the default name case
619 (Add (string)): same - let Add(DataColumn) handle the default name
621 (Add (DataColumn)): in the 1.1 case, we need to add the column's
622 PropertyChanged handler *before* possibly setting the column name
623 to the default so we emit the right events (Changed/Added). In
624 the 2.0 case, we add the event handler after the name is set, and
625 therefore only emit the Added event.
627 2007-05-07 Adar Wesley <adarw@mainsoft.com>
629 * ConstraintCollection.cs: added CopyTo method with strongly typed Constraint[]
632 * DataTable.cs: added implementation of IXmlSerializable. Added missing
633 method ReadXmlSerializable.
635 2007-04-19 Chris Toshok <toshok@ximian.com>
637 * DataColumnCollection.cs (Add): the Element in our
638 CollectionChangedEventArgs should be the column, not the
639 collection. Also, add an event handler for the column's
640 PropertyChanged event so we can propagate metadata changes.
641 (Remove): Analogous change to the CollectionChangedEventArgs as in
642 Add. Also, unhook the column's PropertyChanged event.
643 (OnCollectionmetaDataChanged): emit our new event.
644 (ColumnPropertyChanged): called when the column's ColumnName
645 property changes. Emit the proper CollectionChangeEvent.
647 * DataView.cs (ColumnCollectionChanged): fix up the comment about
648 CollectionChangeAction.Refresh, and make explicit what generates
650 (RegisterEventHandlers): hook up
651 DataColumnCollectoin.CollectionMetaDataChanged.
652 (RegisterEventHandlers): unhook
653 DataColumnCollectoin.CollectionMetaDataChanged.
655 2007-02-23 Nagappan A <anagappan@novell.com>
657 * DataRow.cs (Item): Checks whether this DataRow exist in the
658 DataRowCollection, then compute the expression. Fixes bug #
661 * DataRowCollection.cs (IndexOf): Modified as internal method for
664 * XmlDataReader.cs (StringToObject): DataTables containing
665 System.Type throw exception on deserializing. Fixes bug # 80596.
667 * XmlDataLoader.cs (StringToObject): DataTables containing
668 System.Type throw exception on deserializing. Fixes bug # 80596.
670 2007-02-20 Konstantin Triger <kostat@mainsoft.com>
672 * XmlSchemaDataImporter.cs: ensure the tables are created in document order.
674 2007-02-19 Konstantin Triger <kostat@mainsoft.com>
676 * XmlDataReader.cs, XmlDataInferenceLoader.cs, XmlDiffLoader.cs:
677 ignore attributes from "http://www.w3.org/XML/1998/namespace".
678 * XmlConstants.cs: add constant for "http://www.w3.org/XML/1998/namespace".
679 * XmlDataInferenceLoader.cs: track the added elements index to fix the
680 added column ordinal.
682 2006-12-11 Chris Toshok <toshok@ximian.com>
684 * DataView.cs: GetItemProperties should return an empty collection
685 if we have no data table. Presently we NRE.
687 2006-12-08 Nagappan A <anagappan@novell.com>
689 * DataTable.cs (ReadXml): Removed if condition, as it should not
690 check the exception string.
692 2006-12-07 Chris Toshok <toshok@ximian.com>
694 * DataView.cs: add CollectionChangeEventHandler's on the
695 ChildRelations and ParentRelations collections, and emit
696 ListChanged events with PropertyDescriptor.Added/Deleted/Changed
699 2006-12-07 Nagappan A <anagappan@novell.com>
701 * DataTable.cs (ReadXml): Integrated the implementation of
702 ReadXml, patch provided by deepak_2603@yahoo.com.
704 2006-12-05 Nagappan A <anagappan@novell.com>
706 * DataTable.cs (WriteXmlSchema): Using XmlTextWriter instead of
707 XmlWriter, solved the File Sharing IO Exception.
709 2006-11-28 Hubert FONGARNAND, FrAcdAcric Mestayer <informatique.internet@fiducial.fr>
711 * DataColumnCollection.cs : Improved Column searching when not
712 using exact column name (case sensitivity). Fixes bug # 80075.
714 2006-11-28 Nagappan A <anagappan@novell.com>
716 * XmlSchemaDataImporter.cs: Fixed 2.0 profile compilation
717 warnings. Using AttributeSchemaType instead of AttributeType and
718 ElementSchemaType instead of ElementType.
720 * TypedDataSetGenerator.cs: Modified the profile check from
721 !NET_1_1 to !NET_1_0, as this class is obsolete from 1.1 profile.
723 * DataRelationCollection.cs (Item): Modified the property Item as
724 abstract and implemented it in DataSetRelationCollection and
725 DataTableRelationCollection classes.
727 * DataRowView.cs: Remove bogus MonoTODOs.
729 * ForeignKeyConstraint.cs (ForeignKeyConstraint): Implemented
730 2.0 profile's missing constructor.
732 * XmlDataLoader.cs (StringToObject): Modify XmlConvert.ToDateTime
733 to use XmlDateTimeSerializationMode, as the default ToDataTime
736 * XmlDataReader.cs (StringToObject): Modify XmlConvert.ToDateTime
737 to use XmlDateTimeSerializationMode, as the default ToDataTime
740 * DataView.cs (IsInitialized): Added browsable attribute.
742 * DataViewSettingCollection.cs (CopyTo): Implemented missing 2.0
745 * DataRelation.cs (DataRelation): Added 2.0 profile constructor to
746 take parentTableNameSpace and childTableNameSpace as argument.
747 (FinishInit): Update parentTableNameSpace and childTableNameSpace,
748 when the string is not empty in 2.0 profile.
750 * DataRowCollection.cs: Implemented Count public property.
751 Added !NET_2_0 for List protected property, as it has been removed
753 (IndexOf): Implemented new public method.
754 (CopyTo): Implemented new public override method.
755 (GetEnumerator): Implemented new public override method.
757 * DataTable.cs (Load): Throw ArgumentNullException, when reader
759 (WriteXmlSchema): Throw InvalidOperationException, when table name
760 is empty. When DataSet Namespace is set, append that with '_x003A_'
762 (IsInitialized): Added browsable attribute.
764 * DataSet.cs (Load): Throw ArgumentNullException, when reader
766 (IsInitialized): Added browsable attribute.
767 (WriteObjectXml): Modify XmlConvert.ToDateTime to use
768 XmlDateTimeSerializationMode, as the default ToDataTime method id
771 * XmlSchemaWriter.cs (WriteSchema): Modified UseCurrentCulture to
773 (WriteDataSetElement): Added minOccurs attribute.
774 (WriteConstraints): Check for tables length, if > 1 then add the
775 relations to XmlSchema.
777 2006-11-21 Nagappan A <anagappan@novell.com>
779 * DataView.cs: Added public event Initialized.
780 (IsInitialized): Implemented public function to check whether a
781 dataview is initialized or not.
783 * DataSet.cs: Added ISupportInitializeNotification for .NET 2.0
785 (RemotingFormat): Set the default value attribute as
786 SerializationFormat.Xml.
787 (IsInitialized): Implemented public function to check whether a
788 table is initialized or not.
789 (CreateDataReader): Added params keyword in argument.
790 (Load): Implemented all Load overloaded functions.
791 (GetObjectData): Modified to public for .NET 2.0 implementation.
792 (IsBinarySerialized): Implemented the public API to check whether
793 the given stream is binary serialized or not.
794 * DataTable.cs: Added ISupportInitializeNotification for .NET 2.0
797 2006-11-15 Nagappan A <anagappan@novell.com>
799 * DataTable.cs (RemotingFormat): Set the default value attribute
800 as SerializationFormat.Xml.
801 (OnTableNewRow, NewRowAdded): Implemented new function to raise an
802 event when a new row is added to the table.
803 (DataTableInitialized, OnTableInitialized): Implemented new
804 function to raise an event when a table is initialized.
805 (IsInitialized): Implemented public function to check whether a
806 table is initialized or not.
807 (OnTableClearing): Raise an event before the table is cleared.
808 (GetObjectData): Modified to public for .NET 2.0 implementation.
809 (Load): Implemented missing API to call the registered delegate
810 function on load exception.
811 (WriteXmlSchema): Implemented overloaded function to write the
812 hierarchy with XML Schema.
814 2006-11-15 Konstantin Triger <kostat@mainsoft.com>
816 * DataTable.cs: Fixed LoadDataRow scenarios.
817 * DataRowCollection.cs: Added override for AddInternal taking DataRowAction parameter.
819 2006-11-14 Konstantin Triger <kostat@mainsoft.com>
821 * DataColumn.cs: consider row version wen checking row.IsNull().
823 2006-10-18 Nagappan A <anagappan@novell.com>
825 * ForeignKeyConstraint.cs (_validateColumns): Parent and child
826 columns can't be the same column - Exception, bug # 79689
828 2006-10-13 Nagappan A <anagappan@novell.com>
830 * DataTable.cs (DeserializeConstraints): Fine tuned the
831 serialization and deserialization of constraints.
833 * DataRelationCollection.cs (Contains): Fixes bug
834 #79233. DuplicateNameException when two relations for different
835 DataTables in DataSet are defined
837 2006-10-06 Patrick Earl <mono@patearl.net>
839 * DataTable.cs, XmlTableWriter.cs, XmlSchemaWriter.cs, DataSet.cs:
840 Implemented DataTable.WriteXml
842 2006-09-26 Nagappan A <anagappan@novell.com>
844 * DataTable.cs, DataSet.cs, DataColumn.cs, Constraint.cs,
845 DataRow.cs: Implementation of Binary Serialization /
848 * DataTable.cs (RowsExist): Check rows based on version.
850 * DataRow.cs: Raise exception same as MS.NET. Thanks to
851 Hubert FONGARNAND <informatique.internet@fiducial.fr> for
852 providing this patch.
854 2006-09-07 Vladimir Krasnov <vladimirk@mainsoft.com>
856 * DataSet.cs: added 2.0 stubs to solve typed dataset porting issues
858 2006-08-30 Nagappan A <anagappan@novell.com>
860 * DataRow.cs (EndEdit): DataRow.EndEdit emits RowChanged too
861 often. Fixes bug # 78885.
863 2006-08-14 Konstantin Triger <kostat@mainsoft.com>
865 * DataTableCollection.cs, DataRelationCollection.cs, DataRowCollection.cs,
866 DataColumnCollection.cs: implemented specialized CopyTo() method.
868 2006-07-26 Nagappan A <anagappan@novell.com>
870 * DataTable.cs (GetIndex): Fixes memory explode on
871 DataTable.Select - Bug # 77691.
873 2006-07-25 Nagappan A <anagappan@novell.com>
875 * DataView.cs (OnRowCollectionChanged): On DataTable.Clear,
876 setting rowCache to empty DataRowView. Fixes bug # 78610.
878 * DataTable.cs (AcceptChanges): Raises Reset event. Fixes bug #
881 2006-07-20 Senganal T <tsenganal@novell.com>
884 - Merge : moved the columntypecheck to AdjustSchema,
885 Remove the unncessary calls to Table.ResetIndexes.
886 - AdjustSchema : check for columntypes
887 Thanks to Deepak Kr Valechha for the patch
889 2006-07-17 Senganal T <tsenganal@novell.com>
892 - ToTable : Implemented all the overloads
893 - Equals : Implemented
894 - IBindingListView : Implemented the interface
896 2006-07-15 Senganal T <tsenganal@novell.com>
898 * DataTableCollection.cs :
899 - Contain,IndexOf,Remove,Add,Indexer : support for table
900 namespace. Remove redundant checks in Remove/Add.
902 2006-07-14 Senganal T <tsenganal@novell.com>
905 - SetOrdinal : Implemented
906 - Ordinal : added internal set
907 * DataColumnCollection.cs :
908 - Add : Set the column ordinals
909 - MoveColumn : Changes the position of column in the
912 2006-07-14 Senganal T <tsenganal@novell.com>
915 - Merge - Implement the merge methods
916 - Clone - Ensure column's DateTimeMode property is also copied
918 - DateTimeMode : Implemement
919 - DataTypeMatches : Added. In 2.0 profile, test DateTime
920 property when verifying column types.
922 - ctr : For DateTime columns, check DateTimeMode property
923 * ForeignKeyConstraint.cs :
924 - _validateColumns : For DateTime columns, check DateTimeMode
927 - Merge : Added. Overload to merge two tables
928 - ResolveColumns : Change the method to use a table instead of
930 - Renamed AdjustSchema to AdjustSchemaRelations
932 2006-07-13 Senganal T <tsenganal@novell.com>
935 - WriteTables : Remove some commented out code
936 - WriteTable : Fix the logic to skip the table data when the
937 table has a nested relation.
940 2006-07-12 Senganal T <tsenganal@novell.com>
942 * ConstraintCollection.cs :
943 - Remove (string): If constraint name is not found, throw exception
944 - Remove (Constraint): Set the ConstraintCollection of the removed
946 Thanks to Deepak Kr Velachha for reporting the bug.
948 2006-07-12 Senganal T <tsenganal@novell.com>
951 - LoadColumnChildren : If schema name is missing, skip the
953 Thanks to Deepak Kr Velachha for identifying the bug.
955 2006-07-11 Senganal T <tsenganal@novell.com>
957 * XmlSchemaWriter.cs :
958 - WriteTableType : If Relation.Nested is true, then nest the
959 table schemas. Correct the xml to add the table element within
960 the <Sequence> element.
961 - WriteChildRelations : Correct the Xml element name and
962 attributes. Close the attribute correctly.
964 * XmlSchemaDataImporter.cs :
965 - GenerateRelationship : When creating the relations, if
966 ParentColumn exists but Corr ChildCol is null, create a child
967 Column with the same name and type as the parent column.
968 - Renamed DataSetDefinesPrimaryKey to DataSetDefinesKey
969 - DataSetDefinesKey : if either xsd:key or xsd:keyref is
970 defined for the dataset, do not manually create the relations.
971 - AddParentKeyColumn : if Columnname already exists, use
972 colname_0 instead of throwing an exception.
973 - FillDataColumnRepeatedSimpleElement : Do not set the Unique
974 value as it creates a constraint by default. The unique value
975 is automatically set when pk is set.
976 - CreateChildColumns : Added. Creates a ChildColumn duplicating
977 ParentColumn properties.
979 2006-06-30 Senganal T <tsenganal@novell.com>
982 - SetAdded, SetModified : new methods in 2.0
984 2006-06-30 Senganal T <tsenganal@novell.com>
985 * SerializationFormat.cs, DataSetDateTime.cs, DataTableNewRowEventArgs.cs,
986 DataTableNewRowEventHandler.cs : Added
987 * SyntaxErrorException.cs EvaluateException.cs StrongTypingException.cs
988 IsolationLevel.cs ReadOnlyException.cs DataTableCollection.cs
989 DataRowState.cs MissingPrimaryKeyException.cs DeletedRowInaccessibleException.cs
990 DuplicateNameException.cs PropertyAttributes.cs StatementType.cs
991 VersionNotFoundException.cs FillErrorEventHandler.cs DataRowChangeEventHandler.cs
992 XmlWriteMode.cs InvalidExpressionException.cs StateChangeEventHandler.cs
993 DbType.cs DataColumnChangeEventHandler.cs KeyRestrictionBehavior.cs
994 ConnectionState.cs SchemaType.cs MergeFailedEventHandler.cs SqlDbType.cs
995 DataRowVersion.cs ForeignKeyConstraint.cs DBConcurrencyException.cs
996 OperationAbortedException.cs MissingSchemaAction.cs DataTableClearEventHandler.cs
997 DataRowView.cs DataRowAction.cs ConstraintCollection.cs DataTableReader.cs
998 LoadOption.cs InvalidConstraintException.cs InternalDataCollectionBase.cs
999 ParameterDirection.cs AcceptRejectRule.cs UpdateRowSource.cs XmlReadMode.cs
1000 TypedDataSetGenerator.cs RowNotInTableException.cs TypeDataSetGeneratorException.cs
1001 InRowChangingEventException.cs MissingMappingAction.cs NoNullAllowedException.cs
1002 CommandBehavior.cs PropertyCollection.cs CommandType.cs
1003 UpdateStatus.cs ConflictOption.cs DataViewRowState.cs Rule.cs
1004 DataColumnCollection.cs :
1007 2006-06-27 Senganal T <tsenganal@novell.com>
1009 * DataSet.cs, DataTable.cs : implement CreateDataReader methods
1010 * InternalDataCollectionBase.cs
1011 - ToArray () : helper method
1012 * DataTableReader.cs :
1013 - GetSchemaTable : set the schema info correctly
1014 - GetProvider*, GetChars, GetBytes, GetValues :
1015 Implemented the methods
1016 - GetName : return the name of corresponding schema.
1017 - ValidateSchemaIntact, OnColumnCollectionChanged,
1019 Listen and raise expception if schema changes
1021 2006-06-21 Chris Toshok <toshok@ximian.com>
1023 * DataView.cs: update the index after we successfully add the new
1024 row. This keeps the dataview's row view count in sync with the
1027 2006-06-20 Chris Toshok <toshok@ximian.com>
1029 * DataView.cs: the PropertyDescriptorCollection returned by
1030 ITyepdList.GetItemProperties should include the child relations of
1031 our table, in order to match MS's behavior.
1033 * DataViewManager.cs: ICollection.Count property is always 1.
1035 2006-06-15 Senganal T <tsenganal@novell.com>
1038 - Select : If Sort String is not provided, sort the result
1039 DataRows in Ascending Order of the Columns used in the filter
1041 2006-06-15 Senganal T <tsenganal@novell.com>
1044 - InternalEnforceConstraints : Check if any null constraints
1045 are violated. Throw ConstraintException only after all the errors
1048 - EnforceConstraints : Move away the logic to check for
1049 NullConstraintViolation.
1050 - AssertNotNullConstraint : Checks for Null Constraint
1052 - EndLoadData : Do not throw any exceptions here. All the
1053 errors have to be found and RowErrors set before throwing the
1056 - ImportRecrod : Check the values of the row for any null
1058 - SetColumnError : If the error for column is already set,
1059 do not add a new error but edit the existing error.
1060 - CheckValue : Set the NullConstraintViolation flag if either
1061 table is being loaded or if EnforceConstraints is set to
1063 * Constraint.cs : Do not throw exception when EnforceConstraints is
1064 set to false or table is being loaded.
1065 * UniqueConstraint.cs : Correct the error message. Set ColumnErrors
1066 along with the RowError.
1068 2006-05-31 Gert Driesen <drieseng@users.sourceforge.net>
1070 * DataTable.cs: Renamed initInProgress to fInitInProgress. BeginInit
1071 and EndInit must only be virtual in 2.0 profile. Set eol-style to CRLF.
1073 2006-05-31 Senganal T <tsenganal@novell.com>
1075 * XmlDataInferenceLoader.cs :
1076 - InferTableElement : Repeated element should result in a single
1078 Patch from Deepak Kr Velachha
1080 2006-04-21 Senganal T <tsenganal@novell.com>
1082 * DataRowCollection.cs :
1083 - Find : If search on the table using PrimaryKey fails and if
1084 index is not being maintained (during table load), search the
1086 - Find (int) : Removed. Deadcode.
1088 - Not necessary to delete each row from the Index.
1089 Just reset the Indexes after cleaning up the row
1091 - Simplify dependency check for child tables
1094 - Do not use DataRowCollection.Find to search for
1095 existing records as this wud check even newly loaded rows.
1097 - Do not add new records to Index. Update Index only
1098 if an existing record is modified. New records will be
1099 taken care by EndLoadData.
1101 2006-04-19 Senganal T <tsenganal@novell.com>
1103 * XmlHelper.cs : A helper class for encoding/decoding schema names.
1104 Caches the Schema names to minimize encoding/decoding operations and
1105 duplicate strings created.
1107 - Use XmlHelper for encoding/decoding schema names.
1108 - Encode ConstraintNames when writing as xml.
1111 * XmlDataInferenceLoader.cs
1112 * XmlSchemaDataImporter.cs
1113 - Use XmlHelper for encoding/decoding schema names.
1114 * DataTableCollections : Minor code refactor.
1115 * DataRow.cs : Create XmlElement only if required.
1117 2006-04-07 Senganal T <tsenganal@novell.com>
1120 - InternalEnforceConstraints() : Reset Indexes of all tables
1121 before validating constraints. Fixes #78010
1123 2006-03-04 Boris Kirzner <borisk@mainsoft.com>
1124 * TypeDataSetGeneratorException.cs: fix .Net Soap serialization compatibility.
1126 2006-03-25 Senganal T <tsenganal@novell.com>
1129 - RejectChanges : When row is in Deleted state, add the row back to
1130 Indexes and Validate the row.
1133 2006-03-23 Senganal T <tsenganal@novell.com>
1136 - LoadDataRow : Add the row to the indexes, when loading a new row.
1138 2006-03-22 Senganal T <tsenganal@novell.com>
1141 - PrimaryKey : Set the IsPrimaryKey attribute before Removing from collection.
1142 - RemoveUniqueConstraints : Removed. dead code.
1145 - If adding/removing constraint fails, retain Unique value
1146 - Remove redundant code
1147 * UniqueConstraint.cs :
1148 - SetIsPrimaryKey : Added. Sets the value of IsPrimaryKey.
1149 - RemoveFromConstraintCollectionCleanup : If constraint is on a single column, then
1150 set Unique for that column to false.
1151 - CanRemoveFromCollection : Do not remove constraint, if its a PrimaryKey
1153 2006-03-20 Senganal T <tsenganal@novell.com>
1156 - CopyRelations () : When copying the relation, do not add constraints
1157 automatically for the relation.
1158 - OnMergeFailed () : If merge fails and no handler is set for the MergeFailedEvent,
1159 then throw DataException
1160 * ConstraintCollection.cs :
1161 - Add () : Check if a constraint already exists on the Columns that are being
1163 - IndexOf () : Do not check for equivalent constraints, check for the exact instance.
1164 * MergeManager.cs ():
1166 - Handle the MissingSchemaAction.Error case,
1167 - Do not create constraints when mergin the DataRelation
1168 - Follow the semantics for schema merge/validation when constraints are already present
1169 in the target DataSet.
1170 - AdjustPrimaryKeys () :
1172 - Verify Order of Columns in the PrimaryKey when merging.
1173 - ResolveColumns : Changed the arument to DataSet. Simplifies code elsewhere.
1174 - CompareColumnArrays, CompareColumnArrays : Helper funtions.
1176 2006-03-09 Senganal T <tsenganal@novell.com>
1179 - RejectChanges () : Add the row to index, if it was in deleted state and
1180 Update the index if in Modified State.
1181 - AcceptChanges () : Do not update the Indexes.
1182 - EndEdit () : Update the indexes even if BeginLoadData has been called
1183 on the table. Ideally, indexes should not be maintained during DataLoad,
1184 but this needs to handled in multiple places correctly. For now, just maintain
1185 the index to ensure correct operation.
1187 2006-03-05 Senganal T <tsenganal@novell.com>
1190 - BeginInit (), EndInit () : Implemented methods
1191 - InitInProgress : Added.
1193 - EndInit () : Move the adding of columns and constraints
1195 - FinishInit () : Added. Adds the Constraints and Columns
1197 - InitInProgress : Added.
1199 - FinishInit () : Added. Virtual method
1200 - InitInProgress : Added. Virtual property
1201 * UniqueConstraint.cs
1202 * ForeignKeyConstraint.cs
1203 - FinishInit () : Added.
1204 - InitInProgress : Added.
1205 - DataColsNotValidated : Removed.
1206 * ConstraintCollection.cs
1207 - PostAddRange : Removed event
1208 - PostEndEdit () : Renamed to PostAddRange
1209 - Add () : Simplified the testing if constraint is initialized
1210 - AddRange () : Simplified initializing the constraints
1211 * DataTableCollection.cs
1212 - PostAddRange () : Added. Adds the tables to the collection
1213 * DataColumnColletion.cs
1214 - PostEndInit () : Renamed to PostAddRange.Also, add column to
1215 the collection only if not null.
1217 Added/Implemented methods for design time support. Renamed some methods for consistency
1218 in naming across classes for methods serving the same purpose.
1220 2006-02-24 Senganal T <tsenganal@novell.com>
1222 * UniqueConstraint.cs :
1223 - ChildConstraint : Added. Simplifies verifying if constraints are
1225 - CanRemoveFromCollection : Fixed the check to verify if constraints is
1226 linked to a ForeignKeyConstraint. Fixes #77630
1227 * ForeignKeyConstraint.cs :
1228 - _validateRemoveParentConstraint : Removed. Not used anymore
1229 - ParentConstraint : Added. Simplifies verifying if constraints are
1231 2006-02-22 Senganal T <tsenganal@novell.com>
1234 - RejectChanges : Do not remove Row from Indexes when state is Deleted.
1235 - CheckChildRows : When checking for the ChildRows, use the current value
1236 and not the original value.
1238 2006-02-18 Atsushi Enomoto <atsushi@ximian.com>
1240 * CustomDataClassGenerator.cs : Patch by Marek Habersack. xsd now
1241 outputs AutoIncrement, AutoIncrementSeed, AutoIncrementStep and
1242 ReadOnly properties. This fixes bug #77576.
1244 2006-02-17 Chris Toshok <toshok@ximian.com>
1246 * System.Data/DataSet.cs, System.Data/DataView.cs,
1247 System.Data/ForeignKeyConstraint.cs,
1248 System.Data/DataViewManager.cs, System.Data/DataRow.cs,
1249 System.Data/DataSysDescriptionAttribute.cs,
1250 System.Data/UniqueConstraint.cs, System.Data/DataTable.cs,
1251 System.Data/DataRelation.cs: lots of attribute work, removing
1252 DataSysDescription atributes (and marking the class obsolete) for
1255 2006-02-17 Chris Toshok <toshok@ximian.com>
1257 * DataAdapterException.cs: remove this file.
1259 2006-02-17 Chris Toshok <toshok@ximian.com>
1261 * DataTableReader.cs: Switch to the (bool) form of Dispose to
1262 override, as the no-arg form isn't virtual.
1264 * Constraint.cs: #ifdef out more DataSysDescriptions.
1266 * ConstraintException.cs: add ..ctor (string, Exception) for 2.0.
1268 2006-02-17 Chris Toshok <toshok@ximian.com>
1270 * DataColumn.cs: #ifdef all the DataSysDescriptions !NET_2_0.
1272 * AdapterMappingException.cs: nuke this file.
1274 * IDbAsyncConnection.cs, IDbAsyncCommand.cs, IGetTypedData.cs,
1275 ISetTypedData.cs, IDataReader2.cs, IDataSources.cs,
1276 IDbExecutionContext.cs, IDataRecord2.cs, IDataUpdatableRecord.cs:
1277 remove these 2.0 files.
1279 2006-02-17 Chris Toshok <toshok@ximian.com>
1281 * ConstraintCollection.cs: in 2.0, class is not serializable and
1282 is sealed. make all the "virtuals" #if !NET_2_0 as well.
1284 * Constraint.cs: not serializable in 2.0.
1286 * DataColumnCollection.cs: in 2.0, class is not serializable and
1287 is sealed. make all the "virtuals" #if !NET_2_0 as well.
1289 * DataRelationCollection.cs: not serializable in 2.0.
1291 * DataRelation.cs: not serializable in 2.0.
1293 * DataRowBuilder.cs: class is sealed in 2.0.
1295 * DataRowCollection.cs: in 2.0, class is not serialized and is
1296 sealed. Also, Add isn't virtual in 2.0 (as the class is sealed).
1298 * DataRow.cs: not serializable in 2.0.
1300 * DataSet.cs: remove some DataSysDescriptions from the 2.0 build,
1301 and s/GetDataReader/CreateDataReader.
1303 * DataTableCollection.cs: in 2.0, class is not serializable and is
1304 sealed. make all the "virtuals" #if !NET_2_0 as well.
1306 * DataTableReader.cs: remove VisibleFieldCount property.
1308 * DataViewSettingCollection.cs: not serializable in 2.0.
1310 * DataViewSetting.cs: not serializable in 2.0.
1312 * ForeignKeyConstraint.cs: serializable in 2.0.
1314 * OperationAbortedException.cs: class is sealed and serializable.
1316 * PropertyCollection.cs: serializable in 2.0.
1318 * StatementCompletedEventArgs.cs: class is sealed.
1320 * UniqueConstraint.cs: not serializable in 2.0.
1322 2006-02-16 Senganal T <tsenganal@novell.com>
1325 WriteDataSetElement : Add an annotation element if exists.
1326 WriteDataRelationAnnotation : New. Write a DataRelation as an annotation.
1327 WriteConstraints : Write ForeignKeyConstraint even when not associated with
1328 a DataRelation and add a "ConstraintOnly=true" attribute for such constraints.
1329 * XmlConstants.cs : Add a new constant - ConstraintOnly
1330 * XmlSchemaImporter.cs :
1331 - ConstraintStructure : Add field ,IsConstraintOnly, to distinguish if a foreignkeyconstraint
1332 is related to relation or not.
1333 - GenerateRelation : Handle the case when parentkey and childkey contain multiple columnnames.
1335 2006-02-11 Senganal T <tsenganal@novell.com>
1337 * UniqueConstraint.cs :
1338 - PostAddRange : Check PrimaryKey is not already set for the table
1340 - PrimaryKey : follow ms.net behavior when BeginInit , EndInit is used.
1341 - Add new priamry key only when EndInit is called.
1342 - Incase of an error, retain old primarykey
1344 - Add Constraints after columns are added.
1345 - If both PrimaryKey Property and PrimaryKey Constraint are set,
1346 then the Constraint takes precedence.
1349 2006-02-03 Senganal T <tsenganal@novell.com>
1351 * DataTableCollection.cs :
1352 - Remove () : Check for invalid TableName
1353 - Add () : Verify the table doesn't belong to another dataset
1355 - CompleteLastAdded () : Do not raise ItemAdded Event as it is
1356 already raised in AddNew().
1358 - Expression : Verify that the Column names in the expression are valid
1359 - ResetCollectionInfo : Renamed to ResetColumnInfo
1361 - RejectChanges () : Reorganized the code to do the Right thing.
1362 - Item : Dont check for detached and deleted rows as these are
1364 * DataRowCollection.cs :
1365 - Add () : Check for null value
1367 - PrimaryKey : Set AllowDBNull=false for all the key columns
1368 - ImportRow : Import the row only if it is not in Detached state. if in Deleted
1369 state, perform the validation when AcceptChanges/RejectChanges is called.
1370 * DataColumnCollection.cs :
1371 - Add : Validate the column expression before adding it to the collection.
1372 - GetColumnDependency () : New. Get the dependencies on the column
1373 - CanRemove : Move checks to GetColumnDependency
1374 - Clear () : Simplified code. Remove unncessary checks.Also, dont check Expression col.
1375 - IndexOf - Check argument.
1376 Overall , appropriate error msg's are thrown if Remove/Clear fails. Removed a few
1377 redundant checks performed and moved the common code to GetColumnDependency.
1379 2006-01-31 Senganal T <tsenganal@novell.com>
1381 * DataSet.cs : Modified CopyRelations ()
1382 - Added code to copy ForeignKeyConstraints. Fixes #77411.
1384 2006-01-18 Boris Kirzner <borisk@mainsoft.com>
1385 * DataColumn.cs: added PropertyCchangedEvent handling.
1387 2006-01-17 Senganal T <tsenganal@novell.com>
1390 ItemArray : Modified to raise RowInTableException only if
1391 the concerned row has been removed from the table.Fixes
1394 2006-01-16 Boris Kirzner <borisk@mainsoft.com>
1395 * DataTable.cs: Drop dependend indexes on column removal.
1397 2006-01-16 Atsushi Enomoto <atsushi@ximian.com>
1399 * CustomDataClassGenerator.cs :
1400 When a DataRelation connects the same table as parent and child,
1401 generate parent row property as BlahRowParent. Fixed bug #77248.
1403 2006-01-10 Senganal T <tsenganal@novell.com>
1404 * DataRowCollection.cs
1405 - Added ListChangedEvent to notify reset of the collection.
1407 - Subscribes to the ListChangedEvent of DataRowCollection
1410 2006-01-09 Senganal T <tsenganal@novell.com>
1411 * RelatedDataView.cs
1413 - Resolving a name clash in IExpression
1415 2006-01-06 Senganal T <tsenganal@novell.com>
1418 * DataColumnCollection.cs
1419 - Reset the Parameters of DataColumn to Default Values when
1420 column is removed from the Table's Collection
1422 2006-01-03 Senganal T <tsenganal@novell.com>
1425 - ParseSortString() : Changed the way the sort string is parsed.
1426 Using a regex to parse the string.Fixes bug #77104
1428 2005-12-12 Konstantin Triger <kostat@mainsoft.com>
1430 * DataRow.cs: Added index Updates.
1431 EndEdit() fixed to first update indices and then AssertConstraints
1432 based on those indices.
1433 Added Validate() and AssertConstraints() functions.
1434 * DataRowCollection.cs: Removed ValidateDataRowInternal().
1435 * DataTable: Fixed Clear().
1437 2005-12-06 Atsushi Enomoto <atsushi@ximian.com>
1439 * CustomDataClassGenerator.cs : (InitializeFields) handle AllowDBNull
1440 and DefaultValue as well. Patch by Marek Habersack (bug #76709).
1442 2005-12-01 Miguel de Icaza <miguel@novell.com>
1444 * DataSet.cs: Apply patch from Robert Jordan, to fix #76817
1446 2005-11-26 Konstantin Triger <kostat@mainsoft.com>
1448 * ConflictOption.cs: TARGET_JVM include.
1450 2005-11-11 Senganal T <tsenganal@novell.com>
1452 * ConflictOption.cs (new file)
1453 - Added ConflictOption Enumeration
1454 * DataTableReader.cs
1456 - GetProviderSpecificFieldType : Corrected the method name
1458 2005-11-11 Senganal T <tsenganal@novell.com>
1460 * DataSet.cs : Added the SchemaSerializationMode Property for NET_2_0
1462 * SchemaSerializationMode.cs : Added SchemaSerializationMode Enumeration
1463 for NET_2_0 compatibility.
1467 2005-10-20 Atsushi Enomoto <atsushi@ximian.com>
1469 * XmlSchemaWriter.cs : escape names in the schema with XmlConvert.
1472 2005-10-14 Sureshkumar T <tsureshkumar@novell.com>
1474 * DataView.cs: Correct multiple throwing of events. Patch from
1476 (RowStateFilter): Fire ListChangedEvent.
1477 (ApplyDefaultSort): Fire ListChangedEvent.
1478 (CompleteLastAdded): call UpdateIndex to remove the row from rowCache.
1479 (IBindingList.Find): Implemented.
1481 2005-10-11 Sureshkumar T <tsureshkumar@novell.com>
1483 * DataView.cs (IBindingList): Implemented methods for IBindingList interface.
1485 2005-09-26 Lluis Sanchez Gual <lluis@novell.com>
1487 * DataSet.cs: In IXmlSerializable.GetSchema, return null again for
1488 untyped datasets. Fixes bug #76101.
1490 2005-09-21 Boris Kirzner <borisk@mainsoft.com>
1491 * DataRow.cs: Fixes for index updating.
1493 - Reset case-sensitive indexes also if their filter contains columns
1495 - Use GetIndex instead of FindIndex, so the indexes created in Select()
1497 * RelatedDataView.cs: implement IExpression.Equals() and GetHashCode().
1499 2005-09-20 Sureshkumar T <tsureshkumar@novell.com>
1501 * DataView.cs (Sort): Apply default Sorting Order if Sort property
1502 is reset to null. Sort property handles this. Patch from Marc.
1504 * DataTable.cs (ParseSortString): Patch from Marc Haisenko for
1505 allowing [ & ] in DataView.Sort string.
1507 2005-09-01 Boris Kirzner <borisk@mainsoft.com>
1508 * System.Data/DataRowCollection.cs: indexes should be updated even if
1509 EnforceConstraints is false. Check for EnforceConstraints in
1510 ValidateDataRowInternal.
1512 2005-08-08 Gert Driesen <drieseng@users.sourceforge.net>
1514 * DataView.cs: Changed accessibility of dataTable, rowState and
1515 rowCache field to internal to fix public API. Assigned TypeConverter
1517 * ForeignKeyConstraint.cs: IsConstraintViolated is now internal.
1518 * Constraint.cs: IsConstraintViolated is now internal.
1519 * UniqueConstraint.cs: IsConstraintViolated is now internal.
1521 2005-08-05 Atsushi Enomoto <atsushi@ximian.com>
1523 * XmlSchemaDataImporter.cs : When "dataset element" has identity
1524 constraints, then first reserve constraints room for them and then
1525 process elements, skipping pkey creation if there is already
1526 reserved one. Fixed bug #75711.
1528 2005-08-05 Atsushi Enomoto <atsushi@ximian.com>
1530 * XmlDataInferenceLoader.cs : in GetElementMappingType(), don't guess
1531 the same (QNamed) element again when it was already evaluated as
1532 not simple type. Fixed one part of bug #75711.
1534 2005-08-02 Boris Kirzner <borisk@mainsoft.com>
1535 * XmlSchemaDataImporter.cs : Data relations should be processed after the
1536 keys, so no redundant constraints created while relations processing.
1538 2005-07-25 Boris Kirzner <borisk@mainsoft.com>
1539 * FillOptions.cs, ConflictOptions.cs, UpdateOptions.cs:
1540 added ifdef TARGET_JVM.
1542 2005-07-22 Sureshkumar T <tsureshkumar@novell.com>
1544 * DataViewSettingCollection.cs, DataTableCollection.cs,
1545 DataSet.cs, DataView.cs, DataColumn.cs, ForeignKeyConstraint.cs,
1546 DataRelationCollection.cs, UniqueConstraint.cs, DataTable.cs,
1547 DataColumnCollection.cs, DataRelation.cs, DataSet.cs:
1548 - updated attributes & attribute descriptions to match with
1551 * DataView.cs: changed protected members
1552 rowstate,rowcache,dataTable to protected internal.
1553 * Constraint.cs, ForeignKeyConstraint.cs, UniqueConstraint.cs:
1554 changed InConstraintViolated to protected internal.
1555 * ConflictOptions.cs, UpdateOptions.cs, FillOptions.cs: enclosed
1556 with NET_2_0 define.
1558 2005-07-21 Sureshkumar T <tsureshkumar@novell.com>
1560 * ForeignKeyConstraint.cs:
1561 - IsConstraintViolated (): no matter what EnforceConstraints is,
1562 this function now honestly validates. It is upto the caller to run
1564 - AddToConstraintCollectionSetup (): AssertConstraint according to
1567 2005-07-21 Boris Kirzner <borisk@mainsoft.com>
1568 * ForeignKeyConstraint.cs - IsConstraintViolated() should check also for Table.EnforceConstraints.
1569 * DataTable.cs - EnforceConstraints becomes internal so it can be used by ForeignKeyConstraint.
1571 2005-07-19 Sureshkumar T <tsureshkumar@novell.com>
1573 * DataTable.cs - CopyConstraints (): copy constraints only if it
1576 * DataSet.cs - Copy ():
1577 - use activator.CreateInstance to create a typed dataset.
1578 - copy tables if target does not exist, otherwise, just add rows.
1579 - add relation only if it does not exists.
1581 Typed datasets create the constraints & relations through
1582 constructors. Fixes bug #75211.
1584 2005-07-14 Sureshkumar T <tsureshkumar@novell.com>
1586 * DataView.cs: Patch from Marc Haisenko to throw descriptive error
1587 message when accessing Item, with invalid index.
1589 2005-07-14 Sureshkumar T <tsureshkumar@novell.com>
1591 reapplied patch from Marc Haisenko.
1592 * DataView.cs: Patch from Marc Haisenko that ensures that rowCache
1595 2005-07-13 Sureshkumar T <tsureshkumar@novell.com>
1597 * DataRelationCollection.cs: adding a relation with same set of
1598 parent columns & child columns, should not be allowed.
1600 2005-07-08 Sureshkumar T <tsureshkumar@novell.com>
1602 * DataTableReader.cs: GetSchemaTable: DataType column should be
1603 passed a type of Type.
1605 * DataRow.cs: Load : Fired necessary events.
1607 * DataTable.cs: LoadDataRow (object [], LoadOption): Fired
1610 2005-06-28 Sureshkumar T <tsureshkumar@novell.com>
1612 * DataRow.cs: Delete (): if row is detached, do nothing.
1615 2005-06-22 Sureshkumar T <tsureshkumar@novell.com>
1617 * DataRow.cs: Added method MergeValuesToRow copy merge two rows
1618 according to the merge rules.
1620 * MergeManager.cs: (MergeRow): use MergeValuesToRow
1621 API. CopyValuesToRow simply makes the target row same as source
1622 row. Rather, MergeValuesToRow merges with the target row according
1625 2005-06-19 Konstantin Triger <kostat@mainsoft.com>
1627 * DataSet.cs: Fixed ReadXml to work with IXmlSerializable
1629 2005-06-17 Jordi Mas i Hernandez <jordi@ximian.com>
1631 * DataViewManager.cs: fixes exception and creates DataView
1633 2005-06-15 Sureshkumar T <tsureshkumar@novell.com>
1635 * DataRow.cs: CheckChildRows: cascade parent changes to child rows
1636 only if there is a change in columns of the fk constraint.
1638 2005-06-14 Sureshkumar T <tsureshkumar@novell.com>
1640 * DataSet.cs: GetChanges: if row is deleted, get parent rows based
1641 on original version. fixes bug #75227.
1643 2005-06-13 Sureshkumar T <tsureshkumar@novell.com>
1645 * DataRowCollection.cs: Find (keys, version): Added an overload to
1646 find keys matching given DataViewRowState filter. Used in
1647 DataSet.Merge and DataTable.LoadDataRow.
1649 * DataTable.cs: LoadDataRow (values, LoadOption): Use
1650 DataRowCollection.Find (object [], DataViewRowState) overload.
1653 - CopyValuesToRow: Create target "records" out of loop. Records
1654 should be created once, not for each column. Dispose Unused target
1658 - MergeRow: Find rows with matching original records. If not,
1659 select with current values.
1660 - MergeRow: While adding new row, use NewNotInitializedRow.
1662 * ForeignKeyConstraint.cs: IsConstraintViolated: should not check
1663 if EnforceConstraints is false.
1665 2005-06-10 Sureshkumar T <tsureshkumar@novell.com>
1667 * DataRow.cs: CopyValuesToRow: if orginal == current, don't create
1668 a new current record.
1670 * DataSet.cs: GetChanges :Temporarily disable EnforceConstraints.
1672 * MergeManager.cs: Merge: Temporarily disable
1673 EnforceConstraints. Patch from george.barbarosie@gmail.com (George
1676 2005-06-09 Jordi Mas i Hernandez <jordi@ximian.com>
1678 * DataView.cs: fixes GetListName
1680 2005-06-02 Atsushi Enomoto <atsushi@ximian.com>
1682 * XmlSchemaConstants.cs,
1683 XmlSchemaDataImporter.cs,
1684 XmlSchemaWriter.cs : AutoIncrementStep support. Patch partly by
1685 George Barbarosie. Fixed bug #75121.
1686 * XmlSchemaMapper.cs : it is not used anymore, so just removed.
1688 2005-05-31 Boris Kirzner <borisk@mainsoft.com>
1689 * DataRow.cs : SetParentRow on Detached row with no Default version throws an exception.
1691 2005-05-29 Konstantin Triger <kostat@mainsoft.com>
1693 * This patch fixes #74813
1694 * DataView.cs: rework the CreateChildView to receive the index into the indexed row array, rowState became protected to be initialized from RelatedDataView
1695 * DataRowView.cs: movo the logic of creating the child view to the DataView
1696 * RelatedDataView.cs: perform correct init.
1698 2005-05-25 Sureshkumar T <tsureshkumar@novell.com>
1700 * DataTable.cs: Reworked DataTable.LoadDataRow method after
1701 regressions caused by Index redesign.
1702 * DataRow.cs: Load : reworked.
1704 2005-05-25 Konstantin Triger <kostat@mainsoft.com>
1706 * ISafeDataRecord.cs: Added GetDateTimeSafe method, the interface was made derived from IDataRecord
1708 2005-05-22 Konstantin Triger <kostat@mainsoft.com>
1710 * 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
1712 2005-05-20 Sureshkumar T <tsureshkumar@novell.com>
1714 * DataTable.cs: CreateRecord :value should be set to auto
1715 increment value or default value if the given value is null.
1717 2005-05-16 Konstantin Triger <kostat@mainsoft.com>
1719 * DataTable.cs: In DataTable.LoadDataRow with LoadOption - reverting the search order back to Original -> Current (by Suresh request)
1721 2005-05-16 Konstantin Triger <kostat@mainsoft.com>
1723 * DataRow.cs, DataTable.cs: code under net_2_0 changed to use the new interface
1724 * DataTable.cs: Added CompareRecords, which compares records in column order
1727 2005-05-16 Sureshkumar T <tsureshkumar@novell.com>
1730 * DataTable.cs: quick fix to make build 2.0 profile (follow up for
1731 check in 2005-05-16). Merge with previous changes.
1733 2005-05-11 Sureshkumar T <tsureshkumar@novell.com>
1735 fix for "import row does not import deleted records"
1737 * UniqueConstraint.cs: Make a way to access value even from a
1738 deleted record. deleted records are added to the collection by
1742 - Added restriction-less methods GetValue to fetch a
1743 value even if it is in deleted state.
1744 - If a row is detached, don't try to delete it from indexes.
1745 - sanity check for record_index in CopyValuesToRow method
1747 2005-05-05 Sureshkumar T <tsureshkumar@novell.com>
1749 * DataTableReader.cs: Implemented Delete handler and move the
1750 current pointer accordingly.
1752 2005-05-04 Sureshkumar T <tsureshkumar@novell.com>
1754 * DataTableReader.cs: Added event handlers to make reader stable
1755 when the datasource is modified. Thanks to Umadevi for giving the
1756 review comments for this implementation.
1758 * DataTable.cs: Clear (): Raise TableCleared event.
1760 * DataTableClearEventArgs.cs: Args for DataTableClearEventHandler.
1762 * DataTableClearEventHandler.cs: Handler for DataTable.TableClear
1765 * DataRow.cs: AcceptChanges: raise row changing & row changed
1768 * DataRowCollection.cs: Clear : remove rows from indexes
1770 2005-05-02 Atsushi Enomoto <atsushi@ximian.com>
1772 * XmlSchemaDataImporter.cs : XmlSchemaParicle might be XmlSchemaAny.
1773 This fixes bug #74784.
1775 2005-04-29 Sureshkumar T <tsureshkumar@novell.com>
1777 * DataTableReader.cs: removed use of _first. throw if given index
1778 is out of range of columns. Copy DataTable [] to local array so
1779 that not to be disturbed.
1781 2005-04-27 Sureshkumar T <tsureshkumar@novell.com>
1783 * DataTableReader.cs: Implemented most of the TODO.
1785 2005-04-22 Sureshkumar T <tsureshkumar@novell.com>
1787 * LoadOption.cs: Changed the enums. Keeping old values for
1790 * DataTable.cs: Implemented methods Load and its overloads. Also
1791 implemented LoadDataRow.
1793 * DataRowCollection.cs: Added a variation of the Find method to
1794 return a row even if it is of state Deleted. This is required for
1795 DataTable.LoadDataRow method.
1797 * DataRow.cs: Implemented internal helper method Load for loading
1798 values from an object array and given an LoadOption (2.0 feature).
1800 * DataRowAction.cs: Added few more enums for .net 2.0. Sorted
1803 2005-05-16 Konstantin Triger <kostat@mainsoft.com>
1805 * UniqueConstraint.cs : IsNull check is relevant for rows having default row version.
1806 * DataTable.cs : The row should be validated when imported
1807 * DataRowCollection.cs : if the row does not contain Proposed neither Current version, it's irrelevant for validation
1809 2005-04-26 Boris Kirzner <borisk@mainsoft.com>
1811 * UniqueConstraint.cs :
1812 - Add indication whenever the constraint belongs to collection.
1813 - Calculation of IsPrimaryKey simplified.
1814 - If constraint is based on single column, the column becomes unique.
1815 - Use boolean IsConstraintViolated() instead of AssertConstraint().
1816 - Use Index.Duplicates to proper exception message formatting.
1817 - AssertConstraint(DataRow) changed to suite new indexes interface.
1818 - Added CanRemoveFromCollection method.
1819 - Contains() method renamed to IsColumnContained().
1820 * RelatedDataView.cs : added new class.
1822 - Reset indexes after merge.
1823 - Add new tables when row array is merged into dataset.
1824 - Clean proposed record in MergeRow.
1825 - Inherit nesting on creating new relations in target data set.
1826 - Avoid double loop on constraints collection.
1827 * Locale.cs : added new class.
1828 * ISafeDataRecord.cs : added new interface.
1829 * Index.cs : commented out. Index implementation moved to System.Data.Common.
1830 * ForeignKeyConstraint.cs :
1831 - No more use of childColumnsExtended since new indexes allow duplicate records.
1832 - Constraints can not be created on expression columns.
1833 - Removed unnecessary delegation.
1834 - Use boolean IsConstraintViolated() instead of AssertConstraint().
1835 - Use proper exception message formatting.
1836 - Contains() method renamed to IsColumnContained().
1837 * DataViewRowState.cs : use enum members to simplify notation.
1838 * MergeManager.cs : implemented RelationCollectionChanged().
1839 * DataView.cs : new implementation.
1840 * DataTableCollection.cs :
1841 - Added boundary check in indexer.
1842 - More accurate handling in AddRange().
1843 - Raise event in Remove().
1845 - Hold primary key as constraint.
1846 - Added accurate handling of DefaultView.
1847 - Hold DataRowBuilder per table.
1848 - Proper exception messages if enforce Constraints is violated.
1849 - If there is no rows, Compute() returns DBNull.
1850 - Use DataRow properties instead of private members.
1851 - CopyProperties() fixed.
1852 - Raise proper events in EndInit().
1853 - Proper order of violation checks in EndLoadData().
1854 - Create array of rows using NewRowArray().
1855 - ImportRow handles rows according to their versions.
1856 - LoadDataRow make use of records (instead of raw object array).
1857 - Added and implemented LoadDataRow() that gets IDataRecord as a parameter (used in Fill)
1858 - Select() uses indexes filtering and sorting ability (instead of "loop-throw-sort" approach).
1859 - Removed redundant RowSorter and Sortable column classes.
1860 - ParseSortString() fixed to threat bracketed column names.
1861 - Table holds collection of property descriptors.
1863 - Reset table case sensitive indexes on CaseSensitive change.
1864 - EnforceConstraints update logic moved to internal method (used by DataTable).
1865 - InAddChangedRow first add row and than copy values for proper handling of default values.
1867 - Changed private member names to suite name convention.
1868 - CancelEdit() fixed.
1869 - CreateChildView() delegates to DataView.
1871 - Proper exception messages in indexers.
1872 - RowVersion uses DataView.
1873 - GetProperties() delegates to corresponding table if needed.
1874 * DataRowCollection.cs :
1875 - Common Add() logic moved to AddInternal() (used also by DataTable).
1876 - Removed redundant check from Contains().
1877 - Dalegate Find() calls when possible.
1879 - RomoveAt() delegates to Remove().
1880 - Optimized constraints check in row validation.
1881 * DataRelationPropertyDescriptor.cs : added new class.
1882 * DataRelationCollection.cs :
1884 - Fixed order of actions in AddCore().
1885 - RemoveCore() also delegates to base.
1886 - Add relation to dataset also in AddCore().
1887 - Remove relation from dataset also in RemoveCore().
1888 - InTransition hold a data relation so we can properly identify the "in transition" state.
1889 - Added threat of parent and child table s property descriptors in Add().
1890 - Common Add() logic moved to AddCore().
1892 - Remove() threats "in transition" state properly.
1893 - Remove methods delegate to single implementation.
1894 * DataColumnPropertyDescriptior.cs :
1895 - Added new constructor.
1896 - Commented out redundant method.
1897 * DataColumnCollection.cs :
1898 - Boundary check in indexer.
1899 - RegisterName and UnregisterName become internal (used also by DataColumn).
1901 - Fixed CanRemove().
1902 - Rethrow correct exception in Clear();
1903 - Change in collection resets parent table property descriptors.
1904 - Added PostEndEdit() helper method (used by DataTable).
1906 - Private member names changed to suite name convention.
1907 - Created method for CanAutoIncrement() logic.
1908 - Proper handling of column name update.
1909 - Proper exception messages on expression update.
1910 - Proper namespace handling (delegates to table when needed).
1911 - Removed redundant check in Unique update.
1912 - Implemented internal Clone().
1913 - GetParentRalation() and GetChildRelation() become private.
1915 - Added abstract methods (implemented in UniqueConstraint and ForeignKeyConstraint).
1916 - Simplified index update.
1917 * ConstraintCollection.cs :
1918 - Use Locale instead of CaseSensitive in column names comparison.
1920 - Rethrow correct exception type in Add().
1921 - Proper update of table primary key in Add().
1922 - Delegate CanRemove() to constraint.
1923 - Remove table primary key in Clear();
1924 - Delegate "can remove" check to constraint in Remove().
1925 - Removed unnecessary methods and properties.
1927 - RowSate becomes calculated property.
1928 - Use properties instead of private members where possible.
1930 - Fixed order of actions in ItemArray update.
1931 - Fixed DetachRow().
1932 - Added ImportRecord() method.
1933 - Removed redundant SetValuesFromDataRecord().
1934 - Fixed IndexFromVersion().
1935 - Added VersionFromIndex() method. Returns row version the passed record index corresponds to.
1936 - Fixed AcceptChanges().
1937 - Fixed creating proposed version in BeginEdit();
1938 - Added record disposal in Delete().
1939 - Fixed CheckChildRows().
1940 - EndEdit() fixed. Checks for readonly. Uses straight flow instead of "try and fix if fail" approach.
1941 - GetChildRows() and GetPrarentRows() rewrited. Use records and indexes for rows lookup.
1942 - GetColumnError() delegates to another implementation.
1943 - HasVersion() fixed.
1944 - RejectCahnges checks on child rows before passing through.
1945 - SetParentRow() fixed. Create relation collection if needed. Use typed data container value copy.
1946 - CopyErrors() logic moved to separate method (used also by DataTable).
1947 * ExpressionElement.cs : added new class.
1948 * Res.cs : added new class.
1950 2005-04-20 Jordi Mas i Hernandez <jordi@ximian.com>
1952 * DataViewManager.cs: implements TypedList.GetListName used in SWF
1954 2005-04-19 Atsushi Enomoto <atsushi@ximian.com>
1956 * DataRowView.cs : indexer should access to DataRow with proper
1957 DataRowVersion. Fixed bug #74650.
1959 2005-04-18 Sureshkumar T <tsureshkumar@novell.com>
1961 * DataRow.cs: if there are no mapping fields, fill with default
1964 2005-04-17 Atsushi Enomoto <atsushi@ximian.com>
1966 * DataView.cs : Delete() should not try to remove row twice.
1969 2005-04-13 Atsushi Enomoto <atsushi@ximian.com>
1971 * DataTable.cs : Use GetRowType() for the base of the returning array
1972 type of Select(). Fix by Gerhard Rittweger.
1973 * CustomDataClassGenerator.cs : Fixed slightly harmless wrong code.
1975 2005-04-13 Atsushi Enomoto <atsushi@ximian.com>
1977 * CustomDataClassGenerator.cs : custom relation was not added to
1978 Relations property. The second entry of bug #69276 was fixed.
1979 Patch by Daniel Rodriguez.
1981 2005-04-07 Lluis Sanchez Gual <lluis@novell.com>
1983 * DataRowCollection.cs: Fix the signature of the Add method
1986 2005-03-16 Atsushi Enomoto <atsushi@ximian.com>
1988 * DataRow.cs : on importing row, it was copying data from incorrect
1989 DataRow. This fixes bug #73288.
1991 2005-03-07 Jackson Harper <jackson@ximian.com>
1993 * DataViewManagerListItemTypeDescriptor.cs: Implement missing
1994 features. These are needed for System.Windows.Forms databinding.
1996 2005-02-25 Atsushi Enomoto <atsushi@ximian.com>
1998 * DataColumn.cs : setting negative value on MaxLength of SimpleContent
1999 column is still valid.
2001 2005-02-15 Atsushi Enomoto <atsushi@ximian.com>
2003 * XmlSchemaWriter.cs : new file for outputting XmlSchema.
2004 * DataSet.cs : removed rewritten code in XmlSchemaWriter.
2005 * XmlConstants.cs : added UseCurrentCulture constant.
2007 Use new Xml Schema writer.
2008 Use XmlSchemaDataImporter as we use in DataSet.
2010 2005-02-10 Atsushi Enomoto <atsushi@ximian.com>
2012 * DataView.cs, DataRowView.cs : Fixed bug #72421. CreateChildView()
2013 should target only child rows.
2015 2005-02-03 Atsushi Enomoto <atsushi@ximian.com>
2017 * DataViewManager.cs: misuse of ReadStartElement(string).
2018 * DataRowView.cs : removed some MonoTODO.
2020 2005-02-02 Sureshkumar T <tsureshkumar@novell.com>
2021 Ankit Jain <radical@corewars.org>
2023 * DataColumn.cs: throw exception if the column is part of a
2024 relationship, when chaning the data type. Added methods
2025 "GetParentRelation ()" and "GetChildRelation ()" get the relation
2026 which contains the current column
2027 * DataRelation.cs: Added method "Contains (DataColumn)" to check
2028 whether the relation contains the given column.
2030 fixes nunit failure: DataRelationTest.InvalidConstraintException2.
2032 2005-02-02 Sureshkumar T <tsureshkumar@novell.com>
2034 * DataColumnCollection.cs: implemented todo item "check for
2035 constraints" when removing columns from table.
2036 * DataRowCollection.cs: Clear (): don't have to throw child key
2037 constraint exception when the child table does not have any
2038 rows. safe to remove parent rows.
2039 * UniqueConstraint.cs: added method "Contains (DataColumn)" to
2040 check whether a column is part of UniqueConstraint.
2041 * ForeignKeyConstraint.cs: added method "Contains (DataColumn,
2042 lookInParent)" to check whether a column is part of foreignkey.
2044 fixes nunit failure: DataTableTest.ClearTest ()
2046 2005-02-02 Sureshkumar T <tsureshkumar@novell.com>
2048 * ForeignKeyConstraint.cs: validating columns: move checking
2049 "tables are of same dataset" before "checking column types".
2051 fixes nunit failure: ForeignKeyConstraint.CtorExceptions.
2053 2005-02-02 Atsushi Enomoto <atsushi@ximian.com>
2055 * DataViewManager.cs : let's just use StringWriter instead of
2056 XmlTextWriter (to avoid empty tag string mismatch annoyance.)
2057 * DataView.cs : implemented BeginInit() and EndInit(). Don't update
2058 rows during init phase until EndInit() is invoked. During init phase,
2059 just hold properties such as Sort that affects on rows.
2061 2005-02-02 Atsushi Enomoto <atsushi@ximian.com>
2063 * DataTableCollection.cs : (RemoveAt) just use IndexOutOfRangeException.
2065 2005-02-02 Atsushi Enomoto <atsushi@ximian.com>
2067 * DataView.cs : DataRowView.EndEdit() raises ItemMoved event.
2068 set_Table clears Sort and RowFilter.
2070 2005-02-02 Atsushi Enomoto <atsushi@ximian.com>
2073 - Clear() should clear AddNew cache.
2074 - Open() invokes Reset().
2075 - ConstraintCollectionChanged() itself does not invoke OnListChanged().
2076 - Reset() does not Open, Close and Update Index.
2077 - UpdateIndex() can be invoked even if it has no table.
2078 - Reset event is invoked always after actual query to table.
2079 - set_Table should raise PropertyDescriptorChanged event.
2081 2005-02-02 Atsushi Enomoto <atsushi@ximian.com>
2083 * DataView.cs : ColumnCollectionChanged() is the event invoker (i.e.
2084 when overriden, no column change events are fired).
2086 2005-02-02 Atsushi Enomoto <atsushi@ximian.com>
2088 * DataView.cs : CancelEditRowView() and DeleteRowView() was incorrectly
2089 checking target tables. They also should raise events if required.
2091 2005-02-02 Atsushi Enomoto <atsushi@ximian.com>
2093 * DataView.cs : simplify code with UnsortedList.
2095 2005-02-01 Atsushi Enomoto <atsushi@ximian.com>
2097 * DataView.cs : Mostly reimplemented.
2098 - UpdateIndex() is invoked only when it is required (results in
2099 significant performance improvement).
2100 - Use SortedList and wrapper OptionalSortedList which switches
2101 between SortedList (with Sort) and UnsortedList (without Sort).
2102 - DataView itself now contains two collections for rowviews:
2103 Table rows based pool and AddNew() based cache. Consider those
2104 two collections in every members.
2105 - Reset() does not clear rows. Just invokes UpdateIndex().
2106 - Hook RowDeleting, ColumnChanging and ColumnChanged events in table
2107 which is required to handle state changes.
2108 - Reimplemented Find() and FindRows() because of internal changes.
2110 2005-02-01 Atsushi Enomoto <atsushi@ximian.com>
2112 * DataTable.cs : Fixed row comparer. Even if every of the sort target
2113 columns are identical for two rows, they should not be regarded as
2114 the same unless they are Object.ReferenceEquals.
2116 2005-02-01 Atsushi Enomoto <atsushi@ximian.com>
2118 * DataRowCollection.cs : on adding a row, should raise
2119 ChangingDataRow() as well as ChangedDataRow().
2121 2005-01-31 Sureshkumar T <tsureshkumar@novell.com>
2123 * DataRow.cs: SetParentRow (): use relation.ParentColumns &
2124 relation.ChildColumns instead of relation.ChildKeyConstraint.*
2125 because createConstrains flag may be false when creating data
2126 relations. Hack along with Ankit Jain.
2128 2005-01-31 Atsushi Enomoto <atsushi@ximian.com>
2130 * DataView.cs :some interface implementations.
2132 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
2134 * DataView.cs : Add to table only when the row is not in the table.
2136 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
2138 * DataView.cs : implemented FindRows() (btw we should not use
2139 DataTable since there are detached rows by AddNew().)
2141 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
2144 Code cleanup: privatify some members, remove unused methods.
2145 Some event-based invocation methods should not raise NotImplemented.
2147 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
2149 * DataSet.cs : ReadXml() became closer to MS behavior, being hacky.
2151 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
2153 * XmlSchemaDataImporter.cs : empty element is not regarded as a column.
2155 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
2157 * UniqueConstraint.cs : mostly reverted the previous patch + check
2158 IsPrimaryKey before validation.
2160 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
2162 * DataView.cs : Fixed duplicate insertion to Hashtable.
2163 * UniqueConstraint.cs : Unique constrained pair of columns could be
2166 2005-01-27 Atsushi Enomoto <atsushi@ximian.com>
2169 Don't do anything for Sort/ApplyDefaultSort/RowFilter/RowStateFilter
2170 when the same value is being set.
2171 Examined UpdateIndex() and marked FIXME where MS does not invoke it.
2172 Removed unused OnColumnChanged().
2173 Now store rowViewPool and reuse DataRowView objects.
2174 Optimized UpdateIndex() - avoid ArrayList. Avoid Haashtable.Rehash().
2176 2005-01-27 Atsushi Enomoto <atsushi@ximian.com>
2178 * DataViewSettings.cs : no MonoTODO anymore.
2179 * DataViewManager.cs : pass itself to new DataView() (new ctor).
2180 * DataRowView.cs : GetHashCode() returns its Row's hash.
2181 * DataTablePropertyDescriptor.cs : use new ctor().
2182 * DataView.cs : added new ctor()s that accept DataViewManager.
2184 2005-01-27 Atsushi Enomoto <atsushi@ximian.com>
2186 * DataView.cs, DataRowView.cs : AddNew() should not add the row to table
2187 (it is still detached). So handle those rows differntly.
2188 CancelEdit(), EndEdit() and Delete() propagates those events to
2189 DataView (and handle row collection).
2190 Eliminate "throw new Exception()".
2191 Don't catch all the exception thrown in ListChanged event.
2192 * DataTable.cs : made RowSorter as internal and use it in DataView.
2193 no need to pass DataRow[] to .ctor().
2195 2005-01-27 Atsushi Enomoto <atsushi@ximian.com>
2197 * DataTable.cs : don't create DefaultView unless it is required. It
2198 significantly improves performance. (i.e. DataView perf. is sick ;-)
2200 2005-01-27 Atsushi Enomoto <atsushi@ximian.com>
2202 * DataViewSetting.cs,
2203 DataViewSettingCollection.cs,
2204 DataViewManager.cs : implemented basic members.
2206 2005-01-26 Atsushi Enomoto <atsushi@ximian.com>
2208 * Node.cs, DataColumnPropertyDescriptor.cs, DataTable.cs :
2209 Eliminate "throw new Exception".
2211 2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
2213 * DataRow.cs : (set_Item) RowNotInTableExeption check should be done
2214 regardless of index existence.
2216 2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
2218 * DataTable.cs : use new IExpression.EvalBoolean() to avoid extraneous
2221 2005-01-25 Sureshkumar T <tsureshkumar@novell.com>
2223 * DataTable.cs: ImportRow :Do not add to rows collection if the
2224 import row is in detached state.
2226 2005-01-25 Sureshkumar T <tsureshkumar@novell.com>
2228 * DataRow.cs: CopyValuesToRow : set the column value with the
2229 default version of the given row.
2230 * DataTable.cs: ImportRow: Copy values before adding row.
2231 * DataSet.cs: AddChangedRow: Add the row to the table after
2234 Fixes bug #67317. Patch by Ankit Jain.
2236 2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
2238 * DataRowView.cs : Fixed IsEdit to reflect correct status of DataRow.
2239 * DataRow.cs : Expose editing status internally.
2241 2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
2243 * DataView.cs : missing attributes.
2245 2005-01-24 Atsushi Enomoto <atsushi@ximian.com>
2247 * DataRowView.cs : implemented CreateChildView().
2249 2005-01-24 Atsushi Enomoto <atsushi@ximian.com>
2251 * DataTable.cs, DataView.cs :
2252 Optimized DataView to compile only once RowFilter and Sort when
2253 those properties are set. To make it possible, extracted
2254 SortableColumn out of DataTable and added internal DataTable.Select()
2255 that accepts precompiled IExpression and SortableColumns[].
2257 2005-01-24 Atsushi Enomoto <atsushi@ximian.com>
2259 * DataColumn.cs : set_MaxLength is not allowed when it is mapped to
2260 SimpleContent. (However, it is weird but it never fails when we set
2261 ColumnMapping = MappingType.SimpleContent when we fhave MaxLength.)
2263 2005-01-21 Atsushi Enomoto <atsushi@ximian.com>
2265 * DataRow.cs : more Current -> Default fixes. Check if it should throw
2266 VersionNotFoundException. Patch by Ankit Jain.
2268 2005-01-21 Atsushi Enomoto <atsushi@ximian.com>
2270 * DataRow.cs : Default selects the right version for the current
2271 state of the row. Current is not always available. Also change
2272 that for GetParentRow(). Patch by Ankit Jain.
2274 2005-01-21 Atsushi Enomoto <atsushi@ximian.com>
2276 * DataTable.cs : CopyColumn() should copy AutoIncrement after
2277 DefaultValue, or it will raise an error in some cases.
2279 2005-01-20 Atsushi Enomoto <atsushi@ximian.com>
2281 * ConstraintCollection.cs : Add() should throw ArgumentException when
2282 the argument constraint fails validation.
2283 DataTable.cs : set_PrimaryKey should throw ArgumentException when
2284 the argument contains constraints which fail validation.
2286 2005-01-19 Sureshkumar T <tsureshkumar@novell.com>
2288 * DataRelationCollection.cs:
2290 Method Remove : Donot throw exception if DataRelation argument is
2291 null in DataRelationCollection.Remove method.
2293 Method RemoveAt : Exception should be IndexOutOfRangeException if
2294 row index is not in list range.
2296 Fixes nunit failures DataRelationCollection.Remove and
2297 DataRelationCollection.RemoveAt.
2299 2005-01-19 Sureshkumar T <tsureshkumar@novell.com>
2301 * ConstraintCollection.cs: Donot throw exception if constraints
2302 are null in AddRange method. Check for null before using the
2307 2004-01-19 Atsushi Enomoto <atsushi@ximian.com>
2309 * XmlDataInferenceLoader.cs,
2310 XmlDataReader.cs : Check if the XmlReader (node) represents DataSet
2311 or a table, reusing code block in XmlDataInferenceLoader.
2312 This fixes bug #60118.
2314 2004-01-19 Atsushi Enomoto <atsushi@ximian.com>
2316 * XmlDiffLoader.cs : Ankit Jain <radical@imt.ac.in> has a conflicting
2317 patches and some good catches. Some attributes should be skipped,
2318 and loaded value must be typed.
2320 2004-01-19 Atsushi Enomoto <atsushi@ximian.com>
2323 XmlDataInferenceLoader.cs,
2324 XmlDataReader.cs : use common const for http://www.w3.org/2000/xmlns/.
2325 * XmlDiffLoader.cs : It was not handling attributes. Fixed bug #70961.
2327 2005-01-18 Sureshkumar T <tsureshkumar@novell.com>
2329 Fix for bug #66838. This patch is submitted by "Ankit Jain"
2330 <radical@corewars.org> and refactored.
2332 * DataRow.cs: Allows to set a parent row even if the row is in
2335 * DataRelation.cs: method "UpdateConstraints" is added to check
2336 and create missing keys when adding a relation. This is refactored
2337 approach from DataRelationCollection.Add method.
2339 * DataRelationCollection.cs: AddCore methods of all relation types
2340 are synchronized. A Check for existing constraints is
2341 done. Relation is added to the list only if all checks are passed.
2343 2004-01-18 Atsushi Enomoto <atsushi@ximian.com>
2345 * DataColumnCollection.cs : Clear() throws ArgumentException that
2346 wraps thrown innerException.
2347 * XmlSchemaDataImporter.cs : removed FIXMEs.
2349 2004-01-12 Atsushi Enomoto <atsushi@ximian.com>
2351 * DataSet.cs : When serializing DataTable, BuildSchema() is passed
2352 null relation collections.
2353 Quick fix for XmlSerializer deserialization. It does not require
2354 XML Schema included.
2356 2004-01-11 Atsushi Enomoto <atsushi@ximian.com>
2359 CustomDataClassGenerator.cs :
2360 In DataSet class, IXmlSerializable.GetSchema() returns null.
2361 In strongly-typed class, it returns schema.
2363 2004-01-07 Atsushi Enomoto <atsushi@ximian.com>
2365 * XmlDataInferenceLoader.cs : test driver class should be excluded.
2367 2004-12-01 Miguel de Icaza <miguel@ximian.com>
2369 * DataView.cs: Patch from Marc Haisenko that ensures that rowCache
2372 2004-11-10 Atsushi Enomoto <atsushi@ximian.com>
2374 * CustomDataClassGenerator.cs : generated foreign key constraint
2375 construction code was creating empty child columns and thus it
2376 was invalid. This fixes bug #69276 (patch by Martin Voelkle).
2378 2004-11-02 Atsushi Enomoto <atsushi@ximian.com>
2380 * CustomDataClassGenerator.cs : custom DataTable ctor should call
2381 InitializeFields(), and those DataColumns created by that method
2382 should take data type. This should fix bug #68972.
2384 2004-10-15 Atsushi Enomoto <atsushi@ximian.com>
2386 * DataSet.cs : Also clear UnhandledAttributes ArrayList before
2387 generating next attribute column schema. This fixes bug #68432.
2389 2004-10-14 Umadevi S <sumadevi@novell.com>
2390 * DataTable.cs : Corrected the Clone method to use Activator.CreateInstance so that the
2391 correct subclass is returned. This fixes bug #67631
2393 2004-10-14 Umadevi S <sumadevi@novell.com>
2394 * DataSet.cs : Corrected the Clone method to use Activator.CreateInstance so that the
2395 correct subclass is returned. This fixes bug #67627
2397 2004-10-13 Atsushi Enomoto <atsushi@ximian.com>
2399 * DataSet.cs : clear UnhandledAttributes ArrayList before generating
2400 next element column schema. This fixes bug #68256.
2402 2004-10-12 Atsushi Enomoto <atsushi@ximian.com>
2404 * DataSet.cs : now xs:schema contains xmlns="".
2405 This fixes bug #68008.
2407 2004-10-12 Atsushi Enomoto <atsushi@ximian.com>
2409 * DataSet.cs : DBNull attribute column should not be written as
2410 empty attribute. This fixes bug #68007.
2412 2004-10-12 Atsushi Enomoto <atsushi@ximian.com>
2414 * DataSet.cs, XmlConstant.cs, XmlSchemaDataImporter.cs:
2415 DataColumn.ReadOnly was not handled. This fixes bug #68005.
2416 Attribute defaultValue was not handled too.
2418 2004-10-07 Atsushi Enomoto <atsushi@ximian.com>
2421 - When AllowDBNull is false on attribute DataColumn, its schema
2422 should contain use="required". This fixes bug #66792.
2423 - If MaxLength is set on attribute DataColumn, the mapped schema
2424 type should contain maxLength facet. This fixes bug #66793.
2426 2004-10-04 Atsushi Enomoto <atsushi@ximian.com>
2428 * DataSet.cs : For a row, when a relation is not nested, then it is
2429 still output target since it won't be written as a child of its
2430 parent. It fixes bug #66379.
2432 2004-10-03 Atsushi Enomoto <atsushi@ximian.com>
2434 * DataSet.cs : Attribute constraint field XPath must be written as
2435 @blah. This fixes bug #66366.
2437 2004-09-28 Umadevi S <sumadevi@novell.com>
2438 * DataRow.cs - checked for Enforceconstraints, while using indices to search for related rows
2440 2004-09-24 Sureshkumar T <tsureshkumar@novell.com>
2442 * DataSet.cs : Don't check constraints for dataset clear
2443 * DataRowCollection.cs : check for EnforceConstraints flag
2444 before checking foriegn key constraints in Clear method
2445 * DataTable.cs : Redundant checking removed in Clear method as it is
2446 checked in DataRowCollection.Clear method.
2449 2004-09-19 Sureshkumar T <tsureshkumar@novell.com>
2450 * DataRow.cs : while deserialization of dataset, adding a current row precedes the original row.
2451 hence, adding a row cache is necessary if the original row happens to be current.
2454 2004-08-23 Martin Baulig <martin@ximian.com>
2456 * XmlDataInferenceLoader.cs (Driver): Make this class internal,
2459 2004-08-18 Umadevi S <sumadevi@novell.com>
2460 * DataView.cs - Completed most of the event handling.
2461 Thanks to Punit Todi <punit_todi@da-iict.org> for implementing most of it.
2462 Thanks to Boris Kirzner <borisk@mainsoft.com> for commenting and suggesting changes to the implementation.
2463 * DataTable.cs - Changed Access modifiers of class/methods since it was used by DataView.
2465 2004-08-06 Atsushi Enomoto <atsushi@ximian.com>
2467 * DataSet.cs : DataSet's ExtendedProperties were not XmlConverted.
2469 2004-08-05 Atsushi Enomoto <atsushi@ximian.com>
2471 * XmlConstants.cs : Added constants for "msprop" support.
2472 * DataSet.cs : ExtendedProperties should be written in the schema.
2473 This fixes bug #61233.
2475 2004-07-27 Atsushi Enomoto <atsushi@ximian.com>
2477 * DataSet.cs : on serialization to XmlWriter, XmlConvert should be
2478 used. There were also some culture dependency problems to write int.
2480 2004-06-27 Atsushi Enomoto <atsushi@ximian.com>
2482 * XmlDataInferenceLoader.cs : It was not always filling relation
2483 child table information correctly. This fixes bug #60742.
2485 2004-06-23 Umadevi S <sumadevi@novell.com>
2486 * UniqueConstraint.cs :changed a ifdef true to ifdef NET_1_1
2488 2004-06-22 Atsushi Enomoto <atsushi@ximian.com>
2490 * DataSet.cs : Fixed ReadXml(). When ReadMode is ReadSchema and the
2491 schema is inside the document element (as created in XmlWriteMode
2492 .WriteSchema), it should read schema from that non-document element.
2493 This fixes one case reported in bug #60470.
2495 2004-06-20 Atsushi Enomoto <atsushi@ximian.com>
2497 * XmlDataInferenceLoader.cs : Kindly reject xml schema document as a
2498 inference target. For bug #60470. (MS does not support schema
2499 document inference and results in unconsistent dataset structure.)
2501 2004-06-20 Atsushi Enomoto <atsushi@ximian.com>
2503 * DataTableCollection.cs : reset the table's DataSet to null when
2504 removing a table from this collection.
2505 * DataTable.cs : When Namespace is not specified explicitly, its
2506 Namespace property reflects DataSet's Namespace if exist.
2507 This fixes bug #60469.
2509 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
2511 * DBConcurrentcyException.cs: CRLF to LF
2512 * DataViewSetting.cs: CRLF to LF
2514 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
2516 * DataViewSetting.cs: renamed fields to match MS.NET
2518 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
2520 * DBConcurrencyException.cs: fixed serialization compatibility with
2523 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
2525 * ChangeLog : Fix for misspelled words.
2527 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
2529 * DataRowCollection.cs : Removed onColumnRemoved since it is not in use.
2531 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
2534 - Table stores default values for columns in special default values row.
2535 It is allocated once (in NewRow).
2536 - DataTable.Copy rewrited. It works with uninitialized rows for better perfomance.
2537 - OnRemoveColumn has nothing to perform by now.
2539 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
2542 - Changed access of original, current and proposed indexes to internal.
2543 - ColumnErrors reviewed : now column errors stored in ArrayList and allocated on demand only.
2544 - Added new DataRow constructor that creates uninitialized DataRow (used in DataTable.Copy).
2545 - Use DataContainer.CopyValue and default values row for faster set of default values in row.
2546 - SetColumnValue become CheckValue. Now it does not changes the value, but only checks for its correctness.
2547 Care about Null and DBNull values is now in DataContainer.
2548 - Use DataColumn.AutoIncrementValue and GetInt64 for faster set of autoincrement value.
2549 - Use Datacontainer.CopyValue and default values row to speed up CheckChildRows.
2550 - Fix in CopyState : clone column errors.
2551 - Removed CollectionChanged and onColumnRemoved since we are not using both of them anymore.
2553 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
2555 * DataColumnCollection.cs :
2556 - Fix : Add() now delegates to Add(DataColumn).
2557 - autoIncrement list holds DataColumn objects, and not just column names.
2559 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
2562 - AutoIncrementValue fixes. Now AutoIncrement uses DataContainer.GetInt64 to avoid boxing.
2563 - DefaultValue fixes. Default value from now on is also stored in special record in
2564 DataTable, so we're able to set default value for the column faster (typed).
2567 2004-06-15 Atsushi Enomoto <atsushi@ximian.com>
2569 * DataSet.cs : children of non-root rows were not properly written.
2572 2004-06-10 Umadevi S <sumadevi@novell.com>
2573 * DataRelation.cs - Constructor
2574 - The datatypes of the parentcolumn(s) and the childcolumn(s) should match
2576 2004-06-06 Atsushi Enomoto <atsushi@ximian.com>
2578 * XmlSchemaDataImporter.cs : We should fill Namespace for DataTable.
2580 2004-06-04 Gert Driesen <drieseng@users.sourceforge.net>
2582 * Constraint.cs: marked methods internal to fix public API
2583 * ConstraintCollection.cs: to fix public API, use
2584 DataTable.fInitInProgress to check whether initialization
2585 of DataTable is in progress
2586 * DataColumn.cs: added stubs for missing methods
2587 * DataRowBuilder.cs: marked Table property internal to
2589 * DataSet.cs: removed extra empty destructor, marked
2590 OnMergeFailed internal to fix public API
2591 * DataTable.cs: use fInitInProgress field to hold init
2592 status, to match MS.NET
2593 * DataView.cs: added missing attributes on IsOpen
2595 2004-06-03 Atsushi Enomoto <atsushi@ximian.com>
2597 * DataSet.cs : Use NameTable.Get() before calling LookupNamespace()
2598 in XmlNamespaceManager.
2600 2004-06-03 Atsushi Enomoto <atsushi@ximian.com>
2602 * DataSet.cs : complex table content child was not properly added
2603 when it is the only one child in the parent table. Fixed bug #53959.
2605 2004-06-02 Gert Driesen <drieseng@users.sourceforge.net>
2606 * DataTableTypeConverter.cs: added
2607 * DataView.cs: added missing attribute on Table property
2608 * DataViewManager.cs: moved attribute to correct property
2609 * UniqueConstraint.cs: removed extra ReadOnly attribute from
2610 IsPrimaryKey property
2612 2004-06-01 Atsushi Enomoto <atsushi@ximian.com>
2614 * DataRow.cs : ColumnsChanged event is not required in .ctor().
2616 2004-06-01 Atsushi Enomoto <atsushi@ximian.com>
2618 * XmlDataReader.cs : type change is required before setting value
2621 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
2623 * DataSet.cs : Loop-break of the last fix was incorrect.
2625 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
2627 * DataSet.cs : When a row has no parent row but the table has parent
2628 relation(s), that row had been always ignored.
2630 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
2632 * XmlDataInferenceLoader.cs : Fixed GetMappedTable() that incorrectly
2633 rejected same-named tables in different hierarchy. Thanks to Boris.
2635 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
2637 * XmlDiffLoader.cs : Added some Skip() that is required not to go to
2638 infinite loop. Thanks to Boris for this fix.
2640 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
2642 * XmlDataInferenceLoader.cs : XmlSchema elements should not be infered.
2643 Thanks to Boris for this fix.
2645 2004-05-30 Atsushi Enomoto <atsushi@ximian.com>
2647 * DataTable.cs : serialization .ctor() should use XmlReadMode.DiffGram
2648 for ReadXml(). Thanks to Boris.
2650 2004-05-27 Boris Kirzner <borisk@mainsoft.com>
2652 - CheckReadOnlyStatus : use typed (and faster comparing).
2653 - EndEdit : bug fix - do not dispose record if it holds original version.
2654 - SetValuesFromDataRecord : Take care about autoincrement columns.
2657 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
2659 * MergeManager.cs : don't output debug message to Console.
2661 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
2663 * XmlDataInferenceLoader.cs : Namespace are not imported to the table
2664 structure. Thanks to Boris Kirzner for the fix.
2666 2004-05-27 Umadevi S <sumadevi@novell.com>
2667 * DataRelationCollection.cs - fixed nunit test errors
2669 2004-05-27 Umadevi S <sumadevi@novell.com>
2670 * DataTableCollection.cs - fixed nunit test errors
2672 2004-05-21 Atsushi Enomoto <atsushi@ximian.com>
2674 * DataColumnCollection.cs : NullReferenceException was thrown when
2675 the table was not found.
2676 * DataRowCollection.cs :
2677 Find() just returns null for null value under MS.NET 1.1.
2678 RemoveAt() should also avoid to call AcceptChanges() like Remove().
2679 * UniqueConstraint.cs : in AssertConstraint() throw ConstraintException
2680 directly under MS.NET (for nunit test).
2682 2004-05-21 Atsushi Enomoto <atsushi@ximian.com>
2684 * XmlSchemaDataImporter.cs : Setting startindex in LastIndexOf()
2685 caused problem on qualified name to get schema Field name.
2687 2004-05-21 Atsushi Enomoto <atsushi@ximian.com>
2689 * XmlDataReader.cs : Now data reader is namespace aware in all places.
2690 When table's namespace is different, it entered to infinite loop.
2692 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
2693 * MergeManager.cs : AdjustSchema now updates by reference new created table,
2694 so in Merge you do not need to lookup for it (were unable to do this for unnamed tables).
2697 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
2699 * DataColumn.cs : In set_Item[int] - if autoincrement, adjust next autoincrement value.
2700 * DataColumnCollection.cs : fixed parantethes.
2702 - AcceptChanges : do nothing if row state is unchanged.
2703 - GetChildRows, GetParentRows : bug fix (use correct index).
2704 * DataRowCollection.cs : bug fix (compare all row's values).
2705 * DataTable.cs : bug fix (use correct row version).
2707 2004-05-20 Atsushi Enomoto <atsushi@ximian.com>
2709 * XmlSchemaDataImporter.cs : xs:positiveInteger is mapped to ulong.
2710 When content type is Mixed, text column is not required (it is
2711 required only when the complex type has no particle).
2712 "Repeated element" column is also created (considering maxOccurs=0
2713 and complex content extension).
2715 2004-05-20 Atsushi Enomoto <atsushi@ximian.com>
2717 * XmlSchemaDataImporter.cs : XmlSchemaGroupBase was not handled
2720 2004-05-20 Atsushi Enomoto <atsushi@ximian.com>
2722 * XmlSchemaDataImporter.cs : Removed unused code and extra MonoTODO.
2723 Fixed relation inference to consider attribute XPath.
2725 2004-05-19 Atsushi Enomoto <atsushi@ximian.com>
2727 * DataColumn.cs : Fixed set_Item[int]. Convert.ToInt64(DBNull.Value)
2730 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
2732 * DataColumn.cs - removed default member attribute.
2734 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
2737 DataColumnChangeEventArgs.cs,
2738 DataColumnCollection.cs,
2740 DataRowCollection.cs,
2742 Index.cs : Data storage in the row is redesigned. Now data is stored in
2743 typed containers inside DataColumn. Row holds its versions as indexes inside
2744 each of data container, accessed through the row that holds it.
2746 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
2748 * UniqueConstraint.cs - added comment.
2750 2004-05-19 Atsushi Enomoto <atsushi@ximian.com>
2752 * XmlDataInferenceLoader.cs : Don't add already-existing DataTable to
2755 2004-05-17 Atsushi Enomoto <atsushi@ximian.com>
2758 XmlDataInferenceLoader.cs,
2760 XmlSchemaDataImporter.cs : XmlDecode every local name to read and
2761 XmlEncode every local name to write. This should fix bug #58268.
2763 2004-05-17 Atsushi Enomoto <atsushi@ximian.com>
2765 * DataSet.cs : Implemented ignored namespaces in InferXmlSchema().
2766 Supported repeated elements. Removed MonoTODOs.
2767 * XmlDataInferenceLoader.cs : Design change to support ignored
2768 namespace and repeated elements.
2769 * XmlSchemaDataImporter.cs : Added mapping support classes.
2771 2004-05-15 Atsushi Enomoto <atsushi@ximian.com>
2773 * CustomDataClassGenerator.cs :
2774 Added property parent "[foo]Row" and children "Get[foo]Row" support
2775 for custom DataRow classes.
2776 Fixed DataColumn property accessibility (public --> internal).
2778 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
2780 * CustomDataClassGenerator.cs :
2781 - Put classes inside custom DataSet class.
2782 - Added automatic DataRelation creation support.
2783 - Added Constraints creation support. That is done separate from
2784 relations, since they might be independently created.
2785 - Added non-MS public DataRelation fields.
2786 - Removed extraneous "DataRelation type generation" code.
2787 - Fixed custom_dataset.Initialize() not to create "c" field that
2788 was created more than once.
2789 - Implemented AddxxxRow() that takes parameters for every column.
2791 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
2793 * XmlSchemaDataImporter.cs : When primary key is used more than once,
2794 DataRelation borked because of empty parent column name.
2796 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
2798 * XmlSchemaDataImporter.cs : When Creating constraints with related
2799 to DataRelation creation, also set PrimaryKey to the parent table.
2801 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
2803 * XmlSchemaDataImporter.cs :
2804 Design change to add indirect table and relation structures.
2805 Support for "relation" annotation for local element.
2806 Support for repeatable simple element column (maxOccurs > 1).
2807 Fixed handling of Nested property on DataRelation (for globally
2808 annotated relation, Nested is false).
2810 2004-05-13 Atsushi Enomoto <atsushi@ximian.com>
2812 * DataRow.cs : Added DataElement property to avoid storing every row-
2813 element mapping. It stored even for nodes that should be removed.
2815 2004-05-13 Umadevi S <sumadevi@novell.com>
2817 * RelationshipConverter.cs - Stubbed this class
2818 * DataRelation.cs - added TypeConveterAttribute
2820 2004-05-13 Umadevi S <sumadevi@novell.com>
2822 * DataColumnCollection.cs - Added ResDescriptionAttribute
2823 * DataRelation.cs - Added TypeConverterAttribute
2824 * DataRelationCollection.cs - Added DefaultPropertyAttribute
2825 * DataRowView.cs - Added GetHashCode method with a TODO tag
2826 * DataSet.cs - Added DesignerAttribute
2827 * DataView.cs - Added DesignerAttribute
2828 * DataViewManager.cs - Added DesignerAttribute
2829 * DataViewSetting.cs - Added TypeConverterAttribute
2831 2004-05-12 Atsushi Enomoto <atsushi@ximian.com>
2833 * DataRow.cs : Added XmlDataElement initialization code.
2835 2004-05-11 Atsushi Enomoto <atsushi@ximian.com>
2837 * XmlDataInferenceLoader.cs :
2838 It now requires XmlDocument as input. Improved identification of
2839 DataSet element. Removed extra lines.
2840 Moved boresome design notes to bottom of the source and
2841 added standalone runnable driver (not included on build).
2843 Update with related to the change above.
2844 WriteXml() should call Flush() after writing. This fixes bug #58327.
2845 * XmlSchemaDataImporter.cs :
2846 Improved indentification of DataSet element.
2848 2004-05-11 Gert Driesen (drieseng@users.sourceforge.net)
2849 * DataTable: marked initStatus enum internal
2851 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
2852 * DataTable.cs: removed TypeConverterAttribute, marked RowsExist
2854 * DataRowView.cs: removed extra Error property
2855 * DataRow.cs: reduced accessibility of CollectionChanged method
2857 * DataColumnPropertyDescriptor.cs: made class internal
2858 * DataColumn.cs: removed extra TypeConvertorAttribute
2859 * ConstrainCollection.cs: marked PostEndInit method internal
2861 2004-05-07 Atsushi Enomoto <atsushi@ximian.com>
2864 In WriteXmlSchema(), when complex type contains simple type content
2865 attributes must not added to XmlSchemaComplexType directly. It
2866 causes schema compilation error.
2867 DataRelation should not be output when related columns are hidden.
2869 2004-05-07 Atsushi Enomoto <atsushi@ximian.com>
2871 * XmlDataInferenceReader.cs : Added. It does InferXmlSchema() (it is
2872 also expected to do ReadXml(), but I will remove that feature and
2873 support column reordering).
2874 * XmlSchemaDataImporter.cs : Always initialize dataset name.
2875 Always set Nested and primary key for parent table.
2876 * XmlDataReader.cs : Now it is used.
2877 Top level element might not match to dataset name nor any table
2878 name, but still possible to read content tables.
2879 Handle empty element correctly in some places.
2880 Handle Fragment mode (read up XmlReader to the end).
2881 * DataSet.cs : Modified InferXmlSchema() and ReadXml() to use
2882 XmlDataInferenceLoader and XmlDataReader.
2884 2004-05-06 Atsushi Enomoto <atsushi@ximian.com>
2887 Eliminated CRLF injection.
2888 More clear message in Clear().
2889 Updates reflecting XmlSchemaDataImporter change.
2890 Added duplicate check for XmlSerializerNamespaces in BuildSchema().
2891 Don't use xmlns attribute for UnhandledAttributes (its not mandatory
2892 but that depends on different behavior from ms.net).
2893 Set locale also for DataTable.
2894 Add xs:element only when target namespace matches to the
2895 element's namespace. Otherwise, add xs:import for external namespace.
2896 Put xs:sequence for dataset element's particle _only when_ actual
2899 2004-05-06 Atsushi Enomoto <atsushi@ximian.com>
2901 * XmlDataReader.cs : Added. This class will work better when our
2902 schema inference and schema read engine gets improved. (It contains
2903 standalone testable Driver class.)
2905 2004-05-06 Atsushi Enomoto <atsushi@ximian.com>
2907 * ForeignKeyConstraint.cs : Check step change. Existence then column
2908 validity. just for tests.
2909 * XmlSchemaDataImporter.cs : code simplification. reduced extraneous
2912 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
2914 * DataSet.cs : Ignore empty content only when output type is diffgram.
2916 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
2918 * CustomDataClassGenerator.cs : Modified that DataSet contains each
2919 DataTable field so that each table property can access them directly.
2920 (plus, modified standalone code driver code: shouldn't affect)
2922 2004-05-05 Boris Kirzner <borisk@mainsoft.com>
2924 * DataView.cs , DataRowView.cs : Added implementation to basic methods and properties.
2926 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
2928 * XmlSchemaDataImporter.cs :
2929 SimpleContent column support.
2930 Annotated relation support.
2931 Top-level element is counted only when its type is complex.
2932 xs:anyType is no longer treated as complex type.
2933 dataset existence is mandatory now.
2934 Improved DataType and DefaultValue support.
2935 Attribute namespace is properly handled now.
2936 Prohibited attribute is now treated as hidden column.
2937 Reject list or union simple type.
2939 Still incomplete 1) to read relationship in some cases, 2) to
2940 determine whether an element is dataset or table, 3) thus to
2941 exclude extraneous column, 4) to remove extraneous *_Id column.
2943 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
2946 We had better reuse DataSet's ReadXmlSchema() and ReadXml() in
2947 serialization .ctor() (thus schema read/inference should be easier).
2948 DataRowSorter should consider Table's Locale.
2950 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
2952 * DataColumnCollection.cs : We already had AutoIncrementValue(), so
2953 use it instead of duplicating logic.
2955 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
2957 * ConstraintCollection.cs :
2958 Use Table.CaseSensitive and Table.Locale to compare strings.
2959 Duplicate constraint name exception does not occur under .NET 1.1.
2961 2004-05-04 Lluis Sanchez Gual <lluis@ximian.com>
2963 * XmlSchemaDataImporter.cs: Added little type check.
2965 2004-05-04 Lluis Sanchez Gual <lluis@ximian.com>
2967 * DataSet.cs: Implemented support for runtime serialization. Fixed support
2968 for xml serialization.
2969 * XmlDiffLoader.cs: Skip diffgram element when it is empty.
2971 2004-04-30 Umadevi S <sumadevi@novell.com>
2972 * DataColumnCollection.cs : Fixed nunit test errors, removed TODOs
2973 * DataTableCollection.cs : Tested and removed TODO
2974 * TypedDataSetGeneratorException.cs : Fixed a couple of TODOs
2976 2004-04-29 Atsushi Enomoto <atsushi@ximian.com>
2978 * DataRow.cs : My previous patch unintentionally reverted Boris patch.
2980 2004-04-29 Boris Kirzner <borisk@mainsoft.com>
2982 * UniqueConstraint.cs : Constraint columns becaomes unique after adding constraint ifand only if
2983 constraint is defined on single column.
2985 2004-04-29 Atsushi Enomoto <atsushi@ximian.com>
2987 * DataRowCollection.cs : .NET 1.1 throws InvalidConstaintException,
2988 not ArgumentException (maybe changed after 1.1).
2990 2004-04-29 Atsushi Enomoto <atsushi@ximian.com>
2992 * DataRow.cs : When Column was added and it was AutoIncrement column,
2993 it extended the item object array incorrectly.
2994 (Plus tiny comment and incorrect indentation fix.)
2996 2004-04-29 Boris Kirzner <borisk@mainsoft.com>
2998 * MergeManager.cs : added ( incomplete yet ) support for merging DataSet schema.
3000 2004-04-29 Boris Kirzner <borisk@mainsoft.com>
3002 * DataRow.cs : Bug fix in CopyValuesToRow().
3004 2004-04-29 Boris Kirzner <borisk@mainsoft.com>
3006 * UniqueConstraint.cs : There is no reason to mark constraint's columns as unique, because
3007 each of the columns should not be unique, but only all the constraint's columns together.
3009 2004-04-28 Boris Kirzner <borisk@mainsoft.com>
3012 - Added using of list of autoIncrement columns
3013 - SetColumnValue receives also DataColumn to avoid duplicate lookup in DatacolumnCollection
3014 - Fix in CheckNullConstraints
3015 - Fix in this[] and HasVersion() : when evaluating an expression deleted rows values can be accessed.
3016 - Fix in SetColumnValue() , added CanAccess() method to avoid case of accessing internal array values berore it actually allocated.
3017 - Added onColumnRemoved() method to threat column removal accurately.
3019 * DataRowCollection.cs :
3020 - Added using of DataRow._nullConstraintViolation (for perfomance fix in EndLoadData())
3021 - Added method onColumnRemoved() - calls each row's onColumnRemoved() (to ensure column removal is treated accurately)
3024 - Call DataRowCollection.onColumnRemoved() in OnRemoveColumn() (to ensure column removal is treated accurately)
3026 * DataColumnCollection.cs :
3027 - Perfomance fixes :
3028 - collection holds a list of its autoIncrement columns (avoids unnesessary lookup through whole collection)
3029 - collection holds mapping from column names to DataColumn objects (avoids lookup through whole collection).
3030 - automatic creation of column names rewrited (bug fixes + perfomance improvement)
3033 - Uses autoincrement list of a table
3035 2004-04-27 Atsushi Enomoto <atsushi@ximian.com>
3037 * XmlDataLoader.cs : Even when it should ignore schema, it was
3039 * XmlSchemaDataImporter.cs : DataRelation creation support.
3040 Improved "DataSet" element handing. When attributes are on the
3041 element, it is not a "DataSet" element.
3042 Fixed parent key column name.
3043 Unique name creation is not required. Just raise an error.
3044 Fill facet also for attribute types.
3046 2004-04-27 Atsushi Enomoto <atsushi@ximian.com>
3048 * DataRow.cs : Null check for CheckReadOnlyStatus() and
3049 CheckNullConstraints(), with some coding guideline fixes.
3050 Type check should be done by Type instance comparison.
3052 2004-04-27 Atsushi Enomoto <atsushi@ximian.com>
3054 * DataColumnCollection.cs : When add a column to the collection, fill
3055 auto-increment column.
3057 2004-04-26 Boris Kirzner <borisk@mainsoft.com>
3059 * DataColumn.cs : Small perfomance fix (avoid unnesessary string concatenation).
3061 2004-04-26 Atsushi Enomoto <atsushi@ximian.com>
3063 * CustomDataClassGenerator.cs : Added.
3064 * TypedDataSetGenerator.cs : Implemented Generate().
3065 Changed GenerateIdName() to call CustomDataClassGenerator.MakeSafeName
3066 * XmlSchemaDataImporter.cs : Table Locale should be supplied.
3068 2004-04-25 Boris Kirzner <borisk@mainsoft.com>
3070 * DataTable.cs : Small perfomance fix (avoid unnesessary string concatenation).
3072 2004-04-25 Boris Kirzner <borisk@mainsoft.com>
3074 * Constraint.cs : Small perfomance fix (avoid unnesessary string concatenation).
3076 2004-04-23 Umadevi S (sumadevi@novell.com)
3077 * DataRow.cs: Checked BeginEdit,EndEdit,CancelEdit and Delete methods
3078 - Added error handling to the above methods
3080 2004-04-22 Atsushi Enomoto <atsushi@ximian.com>
3082 * DataSet.cs : Data should be read when mode is IgnoreSchema (well,
3083 the support is incomplete yet).
3084 * XmlDataLoader.cs :
3085 Reverted ReadModeSchema() argument change. XmlReadMode would be
3086 useful to handle IgnoreSchema.
3087 Don't overwrite DataSetName when mode is not such kind.
3088 Set Prefix and Namespace as well as DataSetName.
3089 AllowDBNull looks set false by default for element column.
3090 Set unique constraint as primary key when infering the table schema.
3092 2004-04-21 Atsushi Enomoto <atsushi@ximian.com>
3095 Never set null string for Prefix and Namespace.
3096 In InferXmlSchema() when null XmlReader is passed, just do nothing.
3097 In WriteXmlSchema(string), earlier try block.
3098 In BuildSchema(), try to add serialization namespaces for each
3099 namespaces in DataSet/DataTable/DataColumn.
3100 Removed namespace argument from WriteColumnAsElement() and don't
3101 overwrite when namespace is "". This fixes bug #57330.
3102 * DataColumn.cs : For Namespace and Prefix, never set null.
3104 2004-04-21 Boris Kirzner <borisk@mainsoft.com>
3106 * XmlSchemaMapper.cs : Check for not null unique constraint in ReadXmlSchemaKeyref()
3107 before creating and adding foreign key constraint and relation.
3109 2004-04-21 Boris Kirzner <borisk@mainsoft.com>
3111 * MergeManager.cs : In AdjustSchema() source table clone should be added
3112 and not the table itself.
3114 2004-04-21 Boris Kirzner <borisk@mainsoft.com>
3117 - CaseSensitive : Additional fix (removed unnesessary assignment).
3118 - CopyProperties : Do not try to copy ExtendedProperties if the collection is empty.
3120 2004-04-21 Boris Kirzner <borisk@mainsoft.com>
3122 * DataTable.cs : Ensure that DataSet property is not null before using it in Clear().
3124 2004-04-20 Boris Kirzner <borisk@mainsoft.com>
3127 - EndLoadData() : perfomance fix in case of null constraint violation
3128 during data load (also in DataRow.cs).
3129 - CaseSensitive : If DataTable belongs to DataSet it should always use
3130 DataSet.CaseSensitive untill explicitly changed.
3131 - CopyProperties() : do not try to copy ExtendedProperties if the collection is empty.
3134 - Pefromance fix in case of null constraint violation
3135 during data load (also in DataTable.cs).
3136 - CollectionChanged() : use correct column number after new DataColumn was added
3137 (differs in case some DataColumn was previosly removed).
3138 - EndEdit() - throw away proposed values only after CheckChildRows() complete.
3140 2004-04-20 Boris Kirzner <borisk@mainsoft.com>
3142 * DataColumnCollection.cs : Since unique constraint is added now
3143 in DataColumn.SetTable() the additional creation of constraint in
3144 DataColumnCollection.Add() is redundant and causes exception - fixed.
3146 2004-04-19 Atsushi Enomoto <atsushi@ximian.com>
3148 * XmlDataLoader.cs : Added "never add data rows" mode.
3149 Removed unused code. However, it is temporary fixes to unify
3150 ReadXml() and InferXmlSchema().
3151 * DataSet.cs : Implemented InferXmlSchema(), though it is incomplete.
3153 I'll create another XmlDataLoader since there are many problems
3154 such that 1) it is too waste to read the entire xml into an
3155 XmlDocument, 2) it does not handle attributes correctly, and 3) it
3156 must handle "ignored namespaces".
3158 2004-04-19 Atsushi Enomoto <atsushi@ximian.com>
3160 * Added XmlSchemaDataImporter.cs (new schema reader).
3161 * DataSet.cs : Use XmlSchemaDataImporter (right now for DataSet only)
3162 for ReadXmlSchema().
3163 Let schema reading work to ReadXmlSchema().
3164 Don't return ReadSchema when argument read mode was DiffGram.
3166 2004-04-15 Umadevi S (sumadevi@novell.com)
3167 * Updated Clone/Copy methods in DataSet along with Testcase
3168 * ForeignKeyConstraint.cs - special ctor implemented
3169 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).
3170 * Changes in ConstraintCollection.cs for the above
3171 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.
3174 2004-04-15 Atsushi Enomoto <atsushi@ximian.com>
3176 * XmlSchemaMapper.cs : set parent key and foreign key info to
3177 DataRelation when reading refkey constraints.
3178 Supply constraint name for fkey.
3180 2004-04-15 Atsushi Enomoto <atsushi@ximian.com>
3182 * XmlDataLoader.cs : Don't overwrite existing DataSetName. When read
3183 mode is Auto, just ignore the schema if there is already schema info.
3184 * DataSet.cs : Similarly ignore schema info for XmlReadMode = Auto.
3186 2004-04-14 Atsushi Enomoto <atsushi@ximian.com>
3189 - In MS output, XML declaration looks to have standalone decl (yes).
3190 - ReadXml(reader) just calls to ReadXml(reader, XmlReadMode.Auto)
3191 - ReadXml(reader, mode)
3192 1) return originally specified mode, instead of (always) Auto.
3193 2) Check empty reader.
3194 3) Check diffgram schema and content separately.
3195 4) When diffgram exists, remaining (the same-level) contents
3197 5) Similar fact should be applied, but somewhat different.
3198 InferSchema and IgnoreSchema just skips, Fragment reads both
3199 schema and content, others just reads schema.
3200 - Removed unused code.
3201 * XmlDataLoader.cs :
3202 - Read() should skip in some ReadMode.
3203 - Don't compare schema element name as case-insensitive (well,
3204 should schemas be checked here?)
3205 - Avoided BuildDocument() not to create confusing DataSet
3207 - Don't add any tables when reader has single element.
3208 * XmlDiffLoader.cs :
3209 When target table was not found, MS.NET doesn't raise an error.
3210 * XmlSchemaMapper.cs :
3211 When XmlSchema.Read() left xml reader at </xs:schema>, read once.
3213 2004-04-13 Atsushi Enomoto <atsushi@ximian.com>
3216 - InferXmlSchema(): Throw explicit NotImplementedException now.
3217 - Don't put XML declaration everywhere. Write just for filename arg.
3218 - xmlns="" should not be written. Maybe WebService problem is
3219 because default namespace is overwritten. This patch will keep
3220 the WS problem away and actually fixes some unit tests (i.e. use
3221 explicit String.Empty for null namespace in WriteStartElement()).
3222 - MoveToContent() should always be called, not only when
3223 LocalName="xml". It will ignore prolog (DTD, PI, comment etc.).
3224 - Even XmlReadMode is DiffGram, reader might not be "diffgram"
3225 element. As to MSDN, diffgram does not contain schema.
3227 2004-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3229 * DataTable.cs: made _initStatus private so that System.Data is CLS
3232 2004-04-13 Umadevi S <sumadevi@novell.com>
3233 * UniqueConstraint.cs:
3234 * ConstraintCollection.cs:
3236 - Implemented a Constructor for UniqueConstraint.cs
3237 - Used EndInit on DataTable to call a delegate which adds the
3238 constraints passed to the most recent call of AddRange().Used
3239 AddRange() on ConstraintCollection to check whether
3240 DataTable.BeginInit has occurred. If yes, save the argument
3241 constraint collection passed, then return. If no, Check whether the
3242 constraints are of type UniqueConstraint and initialized with the
3243 special constructor If yes Initialized the table property of this
3244 UniqueConstraint object with table assosciated with the current
3245 instance of ConstraintCollection class.
3247 2004-04-07 Marek Safar <marek.safar@seznam.cz>
3249 * Constraint.cs: changed ClsCompliant to CLSCompliant, build fix.
3251 2004-04-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3254 * DataColumnCollection.cs:
3255 * DataRelationCollection.cs:
3256 * DataRowCollection.cs:
3257 * DataTableCollection.cs:
3258 * InternalDataCollectionBase.cs:
3259 * Node.cs: CLS compliance for System.Data. Patch by Gert Driesen.
3262 2004-04-05 Jackson Harper <jackson@ximian.com>
3264 * DataTable.cs: Add rows to the row list if there is no filter.
3266 2004-03-31 Juraj Skripsky <juraj@hotfeet.ch>
3268 * DataColumn.cs : Setting Caption to null sets it to the empty string
3269 (ms.net behaviour, testcase is in DataColumnTest).
3271 * DataRow.cs : Evaluate DataColumn.Expression when such a column's
3274 2004-03-30 Lluis Sanchez Gual <lluis@ximian.com>
3276 * DataColumn.cs: In Expression setter, set the expression member even if
3277 it is an empty string.
3278 * DataSet.cs: Support serialization of byte[] columns.
3279 * XmlDataLoader.cs: Support deserialization of Guid columns.
3280 Set MappingType.Attribute to columns infered from attributes.
3282 2004-03-29 Juraj Skripsky <juraj@hotfeet.ch>
3284 * ExpressionElements.cs : remove
3285 * DataColumn.cs, DataRelationCollection.cs, DataTable.cs :
3286 Integration of new Mono.Data.SqlExpressions classes used in
3287 DataTable.{Select, Compute}.
3288 Fixes bug #55503 and lots of failures in DataTableTest.cs.
3290 2004-03-28 Juraj Skripsky <juraj@hotfeet.ch>
3292 * Index.cs: Simple fix in ComparePartialRowNonUnique.
3293 This fixes bugs #56129 and #56014.
3295 2004-03-25 Lluis Sanchez Gual <lluis@ximian.com>
3297 * DataSet.cs: In WriteXml (string filename, XmlWriteMode mode), close the
3298 stream after writing the dataset. This fixes bug #52581.
3299 Also added several writer.Close into finally blocks, so writers are properly
3300 closed in case of an exception.
3302 2004-03-12 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
3304 * Constraint.cs: DO NOT USE the consts scheme if types can be referenced directly!
3305 * DataColumn.cs: DO NOT USE the consts scheme if types can be referenced directly!
3306 * ColumnTypeConverter.cs: Added stub
3307 * DefaultValueTypeConverter: Added stub
3308 * ConstraintConverter.cs: Added stub
3310 2004-03-04 Eran Domb <erand@mainsoft.com>
3312 * XmlDataLoader.cs : Xml reading reviewed. Added support for additional xml formats as described
3313 in MS.NET documentation (missing DataSet element etc).
3315 2004-03-04 Eran Domb <erand@mainsoft.com>
3318 * Index.cs : Rollback last changes.
3320 2004-03-03 Atsushi Enomoto <atsushi@ximian.com>
3322 * Index.cs : justa build fix.
3324 2004-03-03 Eran Domb <erand@mainsoft.com>
3327 * Constraint.cs, ForeignKeyConstraint.cs, UniqueConstraint, ConstraintCollection.cs, DataColumn.cs,
3328 DataRow.cs, DataRowCollection.cs, DataSet.cs, DataTable.cs : Changes made for using indexes on tables.
3329 This changes made for performance improvement.
3331 2004-02-08 Eran Domb <erand@mainsoft.com>
3333 * XmlSchemaMapper.cs : Read columns is they were written as SimpleContent or as Attributes.
3335 2004-02-08 Eran Domb <erand@mainsoft.com>
3337 * DataSet.cs: Fix some bugs in ReadXml().
3339 2004-02-04 Lluis Sanchez Gual <lluis@ximian.com>
3341 * DataSet.cs: Added missing method that broke the build.
3343 2004-02-04 Eran Domb <erand@mainsoft.com>
3345 * DataRowCollection.cs (InsertAt): Add a check for null row. Replace check of IndexOf with RowId for
3347 * DataSet.cs (GetTableSchema) : Add supprot for simple content columns. Change the condition for a case
3348 when all column are attributes (elements count is 0), we still want to add the relations. No relations
3349 can be on simple contents.
3350 (AddUniqueConstraints) Check that the column of the constraint are not hidden.
3351 (AddForeignKeys) Check that the relation has constraints attach to it.
3352 * XmlConstants.cs : Added constant.
3354 2004-02-04 Eran Domb <erand@mainsoft.com>
3356 * DataSet.cs : GetSchemaSerializable() return null and not BuildSchema().
3357 DoWriteXmlSchema calls BuildSchema ().
3359 2004-02-04 Lluis Sanchez Gual <lluis@ximian.com>
3361 * DataRow.cs: Added SetOriginalValue(), which is used to set the original
3363 * DataRowCollection.cs: In InsertAt(), perform the correct checks and
3365 * DataSet.cs: Fixed method GetChanges(): Parent rows of modified rows must
3366 also be added to the dataset.
3367 In WriteTable(), do not write unchanged rows when writing the original
3368 version of the table.
3369 Added WriteIndividualTableContent(), for writing the contents of a single
3371 Changed BuildSchema and related methods, so it can generate a schema for
3372 any set of tables, not just the tables of the dataset (needed for
3373 single datatable serialization).
3374 * DataTable.cs: Implemented serialization constructor and GetObjectData method.
3375 Also implemented some ReadXmlSchema methods.
3376 * XmlDiffLoader.cs: Read and process the xml document directly from XmlReader,
3377 instead of loading the full dataset in an XmlDocument. It is faster and
3378 saves memory. Also fixed several problems when generating the changes.
3379 * XmlSchemaMapper.cs: Support reading schemas for single tables (used by
3380 table serialization).
3382 2004-02-02 Eran Domb <erand@mainsoft.com>
3384 * DataSet.cs : Add indentation to the xml serialization only if we create the XmlWriter.
3385 Add the namespace attribute even if namespace is an empty string for inteoperability with MS.NET.
3386 * DataTable.cs (NewRow): Create only one DataRowBuilder.
3387 Initiate new row with row id -1.
3388 * DataRow.cs : Add RowId property.
3389 * DataRowBuilder.cs : Add _rowId member.
3390 * DataRowCollection.cs (Add) : Use the RowId property of the new row to check if it is already exists in the collection.
3392 2004-01-26 Eran Domb <erand@mainsoft.com>
3394 * XmlConstants.cs : Added some constants.
3395 * DataColumn.cs : Added a method to retrive AutoIncrement value.
3396 * XmlDataLoader.cs : Set the value of the foriegn key column, according to the value of the
3397 parent table column.
3398 * XmlDiffLoader.cs : Convert the value comming from the xml.
3399 * XmlSchemaMapper.cs (Read) : Set the DataSet namespace.
3400 (ReadXmlSchemaSequence) : Change the logic that decides if this element is a column or a table.
3401 (ReadXmlSchemaElement) : Set the locale of the dataset.
3402 (ReadColumn) : Set the column type. Find if the column is AutoIncrement.
3403 (GetColumnType) : New method to get the column type from the attribute value.
3404 (ReadXmlSchemaUnique) : Improve parsing of XPath. Set the constraint as a PK if needed,
3405 and add the constraint to the table.
3406 (ReadXmlSchemaKeyref) : Improve parsing of XPath. Create the FK constraint and add it to
3408 * DataSet.cs : Improving writing of unique constraints, and foriegn key constraint. Givving them the correct names.
3409 Writing more information to the schema for interoperability with ms.net.
3410 Improve diffgarm writing mode.
3413 2004-01-21 Atsushi Enomoto <atsushi@ximian.com>
3415 * TypedDataSetGenerator.cs : Implemented GenerateIdName().
3417 2004-01-21 Eran Domb <erand@mainsoft.com>
3419 * XmlDataLoader.cs (AddRowToTable) : Give thre new relation correct name.
3420 Do not set the child column to be AutoIncrement.
3421 Create the new column for the relation as MappingType.Hidden so they will not be serialized
3422 when writing the dataset to xml.
3424 2004-01-20 Atsushi Enomoto <atsushi@ximian.com>
3426 * Added missing TypedDataSetGenerator.cs.
3428 2004-01-08 Eran Domb <erand@mainsoft.com>
3430 * XmlSchemaMapper.cs : Fix a bug. Check if table already in DataSet before adding it.
3431 * DataSet.cs (ReadXml) : Fix bugs. Read correctly the xml file with XmlReadMode of DiffGram,
3432 InferSchema, ReadSchema and IgnoreSchema.
3433 * XmlDataLoader.cs : All modes use the same logic.
3434 * XmlDiffLoader.cs : Adding BuildXmlDocument method to the class.
3436 2004-01-06 Eran Domb <erand@mainsoft.com>
3438 * DataRelationCollection.cs : Use IndexOf in indexer.
3439 * DataSet.cs : Adding support for WriteXml with diffgram. Code style changes.
3440 * XmlDataLoader.cs : Set the DataSet.enforceConstraints to false before loading the tables.
3441 * XmlDiffLoader.cs : Reading nested tables.
3442 * XmlSchemaMapper.cs : Reading the relation.
3443 * XmlConstants.cs : Adding some constants.
3445 2004-01-05 Jackson Harper <jackson@ximian.com>
3447 * DataView.cs: Set readonly property of property descriptor. This
3450 2004-01-01 Sanjay Gupta <gsanjay@novell.com>
3452 * DataRelationCollection.cs : Fixed incorrect generation of default
3454 * DataSet.cs : Added missing functionality in WriteXml().
3455 * XmlConstants.cs : Added new constants.
3457 2003-12-27 Atsushi Enomoto <atsushi@ximian.com>
3459 * DataSet.cs : Fixed incorrect WriteXml() signature.
3461 2003-12-18 Jackson Harper <jackson@ximian.com>
3463 * DataView.cs: Implement AddNew, Delete, and OnListChanged.
3465 2003-12-17 Atsushi Enomoto <atsushi@ximian.com>
3467 * DataSet.cs, XmlDataLoader.cs : Table name should be encoded before
3468 they take shape of xml. This fixed bug #52240
3470 2003-12-16 Tim Coleman <tim@timcoleman.com>
3471 * KeyRestrictionBehavior.cs:
3472 New stubs added for .NET 1.2
3476 2003-12-08 Eran Domb <erand@mainsoft.com>
3477 * DataColumn.cs (Expression) : Validate the expression.
3479 * DataRelationCollection.cs (IndexOf) : Added new method sensetive to case differences in relation name.
3480 (Contains, IndexOf, this[], Add) : Call new IndexOf when needed.
3482 * DataRow.cs (this[]) : Fix the condition for throwing RowNotInTableException.
3483 (RejectChanges) : Detach row when state was Added.
3484 (CollectionChanged) : Fix a bug.
3486 * ExpressionElement (ValidateExpression) : Fix a bug.
3488 * ForeignKeyConstraint.cs (AssertConstraint) : Added implementation. Check all rows from child table have
3489 a parent row in the parent table.
3490 (_validateColumns) : Fix bugs.
3492 * MergeManager.cs (AdjustSchema) : Fix a bug.
3494 * XmlDataLoader.cs (ReadModeInferSchema) : Change implementation. Now we can read nested xml, and we generate the relations
3497 2003-11-30 Eran Domb <erand@mainsoft.com>
3498 * DataColumnCollection.cs (this[string name]) : Use IndexOf to find the column.
3499 (Add) : Find if the new column name is the same as the one found in IndexOf.
3500 (IndexOf) : New method.
3501 (Contains) : Use new IndexOf.
3502 (IndexOf) : Use new IndexOf.
3504 * DataRelationCollection.cs (DataRelationCollection.AddCore) : Add The Relation to the collection.
3505 (DataSetRelationCollection.AddCore) : First add the UniqueConstraint.
3507 * DataRow.cs (this[int columnIndex, DataRowVersion version]) : Change exceptions.
3508 (Delete) : Detach row if the RowState was Added.
3509 (GetChildRows) : Get the array form the ChildTable.
3510 (GetParentRows) : Get the array from the ParenTable.
3512 * DataRowCollection.cs (Remove) : Check if row state is Detached to avoid exception.
3514 * DataSet.cs (IXmlSerializable.ReadXml) : Do not call MoveToContent and ReadEndElement - the XmlSerializationReader does it.
3516 * DataTable.cs (PrimaryKey) : Fix bugs.
3517 (Compute) : First call Select. Then create ExpressionAggregate to aggregate the Select result.
3519 * DataTableCollection.cs (Add) : Fix a bug.
3521 * ExpressionElement.cs (ValidateExpression) : Turning ValidateExpression to static.
3522 (Result) : Added new interface to AggregateExpression that get DataRow[] as a param.
3523 Some code style changes (tab instead of whit spaces, alignment, etc...).
3525 * ForeignKeyConstraint.cs (_validateColumns) : Throw correct exception.
3527 * MergeManager.cs (AdjustSchema) : Fix a bug.
3531 2003-11-26 Miguel de Icaza <miguel@ximian.com>
3533 * DataSet.cs: Add a few more missing methods, code style updated
3536 2003-11-26 Tim Coleman <tim@timcoleman.com>
3538 * ConflictOptions.cs DataAdapterException.cs DataTableReader.cs
3539 * DbMetaData.cs FillOptions.cs IDataReader2.cs IDataRecord2.cs
3540 * IDataUpdatableRecord.cs IDbAsyncCommand.cs IDbAsyncConnection.cs
3541 * IDbExecutionContext.cs IGetTypedData.cs ISetTypedData.cs
3542 * LoadOption.cs OperationAbortedException.cs ResultSetOptions.cs
3543 * ResultSetSensitivity.cs StatementCompletedEventArgs.cs
3544 * StatementCompletedEventHandler.cs UpdateOptions.cs:
3545 New classes added for NET_2_0
3546 * DBConcurrencyException.cs DataRelation.cs DataSet.cs DataTable.cs
3547 * DataTableCollection.cs DataView.cs ForeignKeyConstraint.cs:
3548 Modifications to add new NET_2_0 functions
3550 2003-11-25 Tim Coleman <tim@timcoleman.com>
3554 2003-11-21 Pedro Martinez Julia <yoros@wanadoo.es>
3556 * DataRow.cs: Detached row can be accesible (new rows from data
3557 table are detached). Closes but #51263.
3559 2003-11-19 Eran Domb <erand@mainsoft.com>
3560 * DataRow.cs : Throw exceptions if Row is Detached.
3561 (EndEdit) : Check that we are not in middle of ChangeEvent.
3562 (AcceptChanges) : Detach the row.
3564 * DataRelation.cs : throw correct exception.
3565 *UniqueConstraint.cs : throw correct exception.
3568 2003-11-09 Pedro Martinez Julia <yoros@wanadoo.es>
3570 * DataRow.cs: Use RemoveInternal instead of Remove because the last
3571 one uses Delete and AcceptChanges.
3573 * DataRowCollection.cs: When removing, Delete and AcceptChanges
3574 method from the row are called. Added an internal method that will
3575 be used by DataRow to "physically" remove the row from the list.
3577 2003-11-09 Pedro Martinez Julia <yoros@wanadoo.es>
3579 * DataRowCollection.cs: To follow the specification: Remove and
3580 RemoveAt should remove the row. But needed to call DeletingDataRow
3581 to prepare the deleting.
3583 * DataRow.cs: Don't call DeletingDataRow when it is called by the
3584 method Table.Rows.Remove.
3586 2003-11-09 Pedro Martinez Julia <yoros@wanadoo.es>
3588 * DataRowCollection.cs: Make the row be deleted by itself. If not,
3589 it fails because we need to call OnRowDeleting and OnRowDeleted. It
3590 is full implemented inside DataRow.
3592 2003-11-05 Eran Domb <erand@mainsoft.com>
3593 * DataView.cs (ctor) : Changing default RowStateFilter to CurrentRow.
3595 2003-11-04 Eran Domb <erand@mainsoft.com>
3596 * DataRow.cs (CheckChildRows) : Improving the implementation - checking child for all FK, and not
3598 (GetChildRows) : Adding some checks.
3599 (GetParentRows) : Adding some checks. Fix a bug in implementation.
3600 (SetParentRow) : Added implementation.
3602 * DataRowCollection.cs (Add) : Added more checks on the row added to the collection.
3603 * DataTable.cs (Copy) : Set the During Loading flag to save unnecessary assertions.
3604 * ForeignKeyConstraint.cs (AssertConstraint) : Fixing bugs in implementation. Checking for DBNull values in the row.
3605 * MergeManager.cs : Check that the target table is not null.
3607 2003-10-27 Eran Domb <erand@mainsoft.com>
3608 * DataColumn.cs (DefaultValue) : Changing null value to DBNull. Checking that the type of the new default value
3609 can be converted to the column type.
3611 * DataRelationCollection.cs (AddCore) : Give the new FK the name of the relation.
3613 * DataRow.cs (EndEdit) : Check if we need to validate the constraints.
3614 (GetParentRows, GetChildRows) : Checking that the row has the wanted version, before accessing the row's value.
3616 * DataRowCollection.cs (Add) : Fixing a bug.
3617 (Clear) : Before clearing the array check that there is no violation of FK constraint.
3619 * DataSet.cs (Prefix) : If value is null chage it to empty string.
3620 (GetXml) : Removing the Processing Instructions from the xml string as in MS ADO.NET.
3622 * ExpressionElement : Adding support for IN expresion.
3624 * DataTable (CopyConstraints) : New method that copy the tables constraints to the copy table.
3625 (Select) : Adding support for DataViewwRowState.
3627 * ForeignKeyConstraint.cs (AssertConstraint) : Adding implementation.
3629 * MergeManager.cs (MergeRow) : Fix bugs.
3631 2003-10-27 Eran Domb <erand@mainsoft.com>
3632 * DataRow.cs (SetColumnValue): Donot check null value when in midle of loading data.
3633 check null values when ending loading data.
3635 * DataSet.cs (RejectChanges) : Imlementation.
3636 (Prefix) : If prefix was changed fire event. Check that the prefix is not null - if null,
3637 change it to empty string.
3639 * DataTable.cs (BeginLoadData, EndLoadData) : Impemantation.
3641 2003-10-22 Eran Domb <erand@mainsoft.com>
3642 * MergeManager.cs : Fixing bugs. Adding check for PrimaryKey matching.
3644 * ConstraintCollection.cs (RamoveAt): Change implemntation.
3646 * DataTableCollection (CanRemove): Removing cast to Constraint.
3648 2003-10-22 Eran Domb <erand@mainsoft.com>
3649 * DataRelationCollection.cs (AddCore): The unique constraint was added even if the createConstraints flag was false.
3650 (Clear): The collection was cleared without removing the relation from the parent and child tables.
3652 * DataSet.cs (Copy, Clone): The Relations of the DataSet were not copy.
3653 (HasChanges, Reset): Imlementation.
3655 * DataTable.cs (HasErrors): There is no flag for errors, instead the table ask her row if they have any errors.
3656 This is because the we do not no when to turn off the flag.
3657 (Locale): Changing implementation to behave like ADO.NET.
3658 (AcceptChanges): Fix bug.
3659 (Clear): Check that this table is not referenced from a foreign key constraint.
3660 (Copy): Do not try to access a deleted row.
3661 (CopyProperties): Copy the PrimaryKey.
3662 (GetChanges, ImportRow): Implementation.
3663 (LoadDataRow): Adding implementation if the table has PrimaryKey.
3664 (ToString): Changing implementation to behave like ADO.NET.
3666 * UniqueConstraint.cs (AssertConstraint): support for Multiple DataColumns in the constraint.
3668 * DataRow.cs (Ctor): In the constructor we initiate the current array, but we should initiate only the proposed array for new rows.
3669 (HasErrors): Implementation.
3670 (Delete): Added checking for child rows of the deleted row.
3671 (EndEdit): Added checking for child row and firing events.
3672 (GetColumnError): Added a check that the method will not return null, as in ADO.NET(an empty string is returned).
3673 (GetColumnsInError): Added a check for null values in column error.
3674 (HasVersion): Added special treatment for special RowState.
3675 (CollectionChanged): More checks to avoid NullReferenceException.
3677 * DataRowCollection.cs (Remove): Fix a bug.
3680 2003-10-01 Duncan Mak <duncan@ximian.com>
3682 More patches from Eran Domb <erand@mainsoft.com>.
3684 * MergeManager.cs: New file.
3686 * DataRelationCollection.cs (AddCore): Check that a
3687 UniqueConstraint is already exists. It loops over the Relations
3688 instead of the Constraints.
3689 (Add, AddCore): The relation was added twice.
3691 * DataSet.cs (Merge, GetChanges, HasChanges): Implemented.
3693 2003-09-30 Duncan Mak <duncan@ximian.com>
3695 Patches from Eran Domb <erand@mainsoft.com>.
3697 * DataRelation.cs (constructor): When the name of the relation is
3698 null, it should return an empty, not "Relation".
3700 * DataRow.cs (AcceptChanges): Added special case for
3702 (CancelEdit): Set editing flag to false.
3703 (IsNull): Check that the value is DBNull.
3705 * DataRowCollection.cs (Add): There was no check that the table of
3706 the collection is owned by a DataSet.
3708 * DataSet.cs (OnMergeFailed): Added.
3710 * UniqueConstraint.cs (AssertConstraint): There was no check that
3711 values in the row are not null, where it is a primary key
3712 column. Also check that the row has a proposed version, if not,
3713 get the current version when we compare the rows.
3715 2003-09-25 Duncan Mak <duncan@ximian.com>
3717 Patches from Eran Domb <erand@mainsoft.com>.
3719 * DataColumn.cs (Unique): Implemented.
3722 * ConstraintCollection.cs:
3723 * ForeignKeyConstraint.cs (_ensureUniqueConstraintExists): Fixes
3724 an Exception thrown. Details:
3725 http://lists.ximian.com/archives/public/mono-devel-list/2003-September/002130.html
3727 * DataRowCollection.cs (Add): There is no checking that there is
3728 no violation of the unique constrains.
3730 * UniqueConstraint.cs (AssertConstraint): There is no checking on
3731 all columns in the constraint.
3733 * DataTableCollection (Add): Correctly throw an Exception, more
3735 http://lists.ximian.com/archives/public/mono-devel-list/2003-September/002117.html
3736 (Remove, RemoveAt): Implemented.
3738 2003-07-31 Duncan Mak <duncan@ximian.com>
3740 * DBConcurrencyException.cs: Added new NET_1_1 no-param constructor.
3742 2003-07-25 Ravi Pratap <ravi@ximian.com>
3744 * DataRelation.cs (OnPropertyChanging): Calling the 'Invoke'
3745 method on a delegate is disallowed - fix this.
3747 2003-07-22 Lluis Sanchez Gual <lluis@ximian.com>
3749 * DataSet.cs: Implemented IXmlSerializable interface. Added basic support for
3750 xml serialization. Modified method of writing schema. Now it creates
3751 a XmlSchema object and serializes it using XmlSerializer.
3752 * XmlConstants.cs: Added constants for data type names.
3753 * XmlDataLoader.cs: Fixed deserialization of data. Now converts data to the
3754 type specified in the column.
3756 2003-04-20 Alan Tam <Tam@SiuLung.com>
3758 * DataRelationCollection.cs: Fix a bug that prevent relations
3759 from being added via DataSet.
3761 2003-04-12 Ville Palo <vi64pa@kolumbus.fi>
3763 * UniqueConstraint.cs: one tiny fix.
3765 2003-04-05 Ville Palo <vi64pa@kolumbus.fi>
3767 * DataTable.cs: Remove UniqueConstraints when adding new ones
3769 2003-04-04 Ville Palo <vi64pa@kolumbus.fi>
3771 * DataColumnCollection.cs: Little 'case sensitive' fix
3773 2003-04-04 Ville Palo <vi64pa@kolumbus.fi>
3775 * DataRow.cs: AutoIncrement handling to Constructor
3776 * DataRowCollection.cs: This doesnt need anymore AutoIncrements
3778 2003-03-27 Ville Palo <vi64pa@kolumbus.fi>
3780 * DataTable.cs: Some fixes to PrimaryKey etc...
3781 * UniqueConstraint.cs: Little clean up
3783 2003-03-27 Ville Palo <vi64pa@kolumbus.fi>
3785 * DataTable.cs: Tiny fix to ToString () -method
3787 2003-03-27 Ville Palo <vi64pa@kolumbus.fi>
3789 * ConstraintCollection.cs: Little fix.
3790 * DataColumn.cs: Added new internal method SetUnique()
3791 * UniqueConstraint.cs: some little fixes
3793 2003-03-26 Ville Palo <vi64pa@kolumbus.fi>
3795 * DataRowCollection.cs: Bugfixes, implementation,...
3797 2003-03-26 Ville Palo <vi64pa@kolumbus.fi>
3799 * DataColumn.cs: If DataType if set to something else than short, int
3800 or long and AutoIncrement is true, AutoIncrement is must set to false.
3802 2003-03-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3805 (BeginEdit): fixed array bound problem when a column has been added.
3806 (EndEdit): just assign proposed to current as proposed is set to null.
3807 This also fixes another array boudn problem.
3809 2003-03-21 Alan Tam <Tam@SiuLung.com>
3811 * DataRow.cs: Fixed problems in accessers, BeginEdit, CancelEdit,
3812 EndEdit and AcceptChanges to act correctly according to DataRowState
3814 * DataRowCollection.cs: Call AttachRow and DetachRow when a row is
3815 attached and detached from the collection.
3817 2003-03-20 Alan Tam <Tam@SiuLung.com>
3819 * DataColumn.cs: Store empty string for Expression when null is passed in.
3820 Classes generated by XSD.exe passes null by default.
3822 2003-03-16 Ville Palo <vi64pa@kolumbus.fi>
3824 * DataColumnCollection.cs: Tiny clean up
3826 2003-03-16 Ville Palo <vi64pa@kolumbus.fi>
3828 * DataColumn.cs: little fixes.
3829 * DataColumnCollection.cs: Lots of little fixes and improvments.
3831 2003-03-12 Alan Tam <Tam@SiuLung.com>
3833 * DataSet.cs: Fixed a bug that the file written does not close correctly.
3835 2003-03-08 Alan Tam <Tam@SiuLung.com>
3837 * DataRelationCollection.cs: Removed the mis-overridden methods
3838 * DataRow.cs: Fixed an attribute
3839 * DataSet.cs: Fixed the modifiers
3841 2003-03-06 Aleksey Demakov <avd@openlinksw.com>
3843 * DataTableCollection.cs: The Contains (string name),
3844 IndexOf (string name) methods, and item[string name] indexer
3845 now behave more like .NET with respect to case-sensitivity.
3846 That is if there is an exactly matching item then this one is used.
3847 If there is only one item differing in case then it used.
3848 If there are more than one item differing in case then
3849 Contains returns false, IndexOf returns -1, and item[]
3850 throws an ArgumentException.
3852 2003-02-28 Ville Palo <vi64pa@kolumbus.fi>
3854 * ExpressionElement.cs: More implementation.
3856 2003-02-28 Alan Tam <Tam@SiuLung.com>
3857 * DataSet.cs: Changed WriteTable so that it now calls the newly written
3858 WriteObjectXml to direct the call to the respective XmlConvert method.
3859 This fixes the wrong format written to XML files of bool, float,
3860 double, DateTime and TimeSpan types.
3862 2003-02-25 Alan Tam <Tam@SiuLung.com>
3864 * DataRelation.cs: Added SetDataSet for DataSetRelationCollection to use.
3865 * DataRelationCollection.cs: Implemented AddRange and Contains.
3866 Implemented AddRange, Clear, List and RemoveCore for DataSetRelationColletion.
3867 Implemented AddCore, List and RemoveCore for DataTableRelationCollection.
3868 Reimplemented most Add methods to eliminate duplicated checks.
3869 Centralized RelationName generation procedure in GetNextDefaultRelationName.
3871 2003-02-25 Alan Tam <Tam@SiuLung.com>
3873 * DataColumn.cs: Fixed wrong storage representation of Expression
3874 (using empty string instead of null) so that ToString() returns nothing.
3875 * DataColumnCollection.cs: Reimplemented GetNextDefaultColumnName so that
3876 auto column naming now works as expected. Reimplemented some Add methods
3877 to eliminate code duplication.
3879 2003-02-19 Ville Palo <vi64pa@kolumbus.fi>
3881 * DataTable.cs: DataTable.CaseSensitive follows parent
3882 DataSet.CaseSensitive property if DataTable.CaseSensitive has never
3883 been changed directly from DataTable
3885 2003-02-19 Ville Palo <vi64pa@kolumbus.fi>
3887 * DataSet.cs: When CaseSensitive property is changed all of the Tables
3888 of DataSet have to change too
3890 2003-02-19 Daniel Morgan <danmorg@sc.rr.com>
3892 * InternalDataCollectionBase.cs: revert change to field
3895 * DataViewManager.cs
3898 * DataSet.cs: commented use of DesignerAttribute
3899 because it broke the build. According to MSDN,
3900 DesignerAttribute does not have a zero-argument constructor
3902 2003-02-18 Ville Palo <vi64pa@kolumbus.fi>
3904 * DataColumnCollectin.cs: Little fix for indexer and case sensitivity
3906 2003-02-18 Alan Tam <Tam@SiuLung.com>
3908 * DataRow.cs: Implemented GetParentRow and GetParentRows.
3909 * DataSet.cs: Added stub for HasChanges, InferXmlSchema,
3910 OnPropertyChanging, OnRemoveRelation, OnRemoveTable,
3911 RaisePropertyChanging.
3912 * DataTable.cs: Implemented NewRowArray.
3913 * DataTablePropertyDescriptor: Fixed a modifier.
3914 * InternalDataCollectionBase.cs: Fixed modifiers. Implemented SyncRoot.
3915 * PropertyCollection.cs: Minor fix.
3916 * ConstraintCollection.cs DataColumn.cs DataColumnCollection.cs
3917 * DataRelation.cs DataRelationCollection.cs DataRow.cs
3918 * DataRowCollection.cs DataRowState.cs DataSet.cs DataTable.cs
3919 * DataTableCollection.cs DataTablePropertyDescriptor.cs DataView.cs
3920 * DataViewManager.cs DataViewRowState.cs DataViewSettingCollection.cs
3921 * ForeignKeyConstraint.cs InternalDataCollectionBase.cs
3922 * PropertyCollection.cs UniqueConstraint.cs: Added missing attributes
3924 2003-02-08 Ville Palo <vi64pa@koti.soon.fi>
3926 * ExpressionElement.cs: More implementation
3928 2003-02-05 Alan Tam <Tam@SiuLung.com>
3930 * DataSet.cs: Added framework for DataSet.Update Implemented missing
3931 methods GetSchemaSerializable, GetSerializationData,
3932 ReadXmlSerializable, ShouldSerializeRelations and ShouldSerializeTables
3934 * DataTable.cs: Implemented missing methods CreateInstance and
3935 GetRowType for DataTable
3937 2003-02-03 Ville Palo <vi64pa@koti.soon.fi>
3939 * DataSet.cs: Implemented private method MapType for
3940 mapping datatypes for XmlSchema
3942 2003-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3944 * DataView.cs: implemented Dispose.
3946 2003-01-30 Ville Palo <vi64pa@koti.soon.fi>
3948 * ExpressionElement.cs: Added new file. This file is for parsing
3949 and DataData.Select () -methods and DataColumn.Expression -property
3950 * DataTable.cs: Implemented Select(string) -method
3952 2003-01-28 Ville Palo <vi64pa@koti.soon.fi>
3954 * DataSet.cs: One little fix to writing xml
3956 2003-01-27 Ville Palo <vi64pa@koti.soon.fi>
3958 * XmlSchemaMapper.cs: Some fixes.
3959 * DatSet.cs: Some XmlFixes and BeginInit ()/ EndInit () -fix
3962 2003-01-24 Ville Palo <vi64pa@koti.soon.fi>
3964 * UniqueConstraint.cs: Do not set columns Unique property true
3966 * ForeignKeyConstraint.cs: Add UniqueConstraint to parent Table
3968 2003-01-18 Ville Palo <vi64pa@koti.soon.fi>
3970 * DataTableCollection.cs: Now names new DataTable if it doesn't
3971 already have a name.
3973 2003-01-17 Ville Palo <vi64pa@koti.soon.fi>
3975 * XmlSchemaMapper.cs: Improvments.
3976 * XmlConstaints.cs: Added more constants.
3977 * DataSet.cs: Improvments of reading and writing xml
3978 * DataColumn.cs: Added default values of properties.
3980 2003-01-14 Ville Palo <vi64pa@koti.soon.fi>
3982 * XmlSchemaMapper.cs: Some improvments
3984 2003-01-13 Ville Palo <vi64pa@koti.soon.fi>
3986 * DataRowCollection.cs: Added IndexOutOfRangeException
3987 * DataTableCollection.cs: Added OnCollectionChanging and
3988 OnCollectionChanged events.
3989 * DataSet.cs: Many fixes. Implemented Clone () and Copy () -methods
3990 * DataTable.cs: Implemented Copy () and Clone () methods.
3991 * XmlDataLoader.cs: some fixes.
3992 * XmlSchemaMapper.cs: comments.
3994 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3996 * DataColumnPropertyDescriptor.cs: store columnIndex in the .ctor.
3998 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4000 * DataColumnPropertyDescriptor.cs: fixed typo.
4001 * DataViewManagerListItemTypeDescriptor.cs: added new internal property
4002 to get the DataViewManager and removed TablePD class.
4003 * DataTablePropertyDescriptor.cs: TablePD class is now this one as
4004 suggested by danmorg.
4006 2003-01-06 Ville Palo <vi64pa@koti.soon.fi>
4008 * XmlDataLoader.cs: Moved diffgram stuff to new internal class
4010 * XmlDiffLoader.cs: new class for diffgrams. Added handling of
4011 diffgr:Errors and some fixes and changed XmlReader to XPathNavigator.
4013 2003-01-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4015 * DataView.cs: made dataViewManager internal.
4016 * DataViewManager.cs: use ICustomTypeDescriptor. We don't want the
4017 properties of the object, but the values of the columns present in a
4020 * DataViewManagerListItemTypeDescriptor.cs: implemented GetProperties,
4021 which returns a PropertyDescriptorCollection. Created a new class
4022 derived from PropertyDescriptor that treats Table as an object whose
4023 properties are DataRowView.
4025 2003-01-04 Ville Palo <vi64pa@koti.soon.fi>
4027 * XmlSchemaMapper.cs: Added handling for Constraints, Attributes.
4029 2003-01-04 Ville Palo <vi64pa@koti.soon.fi>
4031 * DataColumn.cs: ExtendedProperties is by default !null-
4033 2003-01-04 Ville Palo <vi64pa@koti.soon.fi>
4035 * DataColumnCollection.cs: Add (DataColumn Column) -method didn't
4036 set column's ordinal.
4038 2003-01-02 Ville Palo <vi64pa@koti.soon.fi>
4041 * XmlDataLoader.cs: XmlReader closing fixes.
4042 * XmlSchemaReader.cs: Added support for ref=
4044 2003-01-01 Ville Palo <vi64pa@koti.soon.fi>
4047 - Added XmlReader and XmlWriter Closing.
4048 - Moved ReadXmlSchema stuff to new internal class XmlSchemaMapper.
4049 * XmlSchemaMapper.cs
4050 - Much better way IMHO to map xmlschema than the old one in
4051 DataSet.cs. Its, more flexible, cleaner, ...
4053 2002-12-29 Ville Palo <vi64pa@koti.soon.fi>
4055 * XmlDataLoader.cs: Reading diffgrams.
4057 2002-12-29 Ville Palo <vi64pa@koti.soon.fi>
4059 * DataRow.cs: Little fix to indexer and DataColumnCang* trigger fixes.
4060 * DataTable.cs: Added ChanginDataColumn () for triggering
4061 DataColumnChanging event
4063 2002-12-28 Ville Palo <vi64pa@koti.soon.fi>
4065 * DataSet.cs: Indentations to WriteXmlSchema () and one little fix
4067 2002-12-28 Ville Palo <vi64pa@koti.soon.fi>
4069 * DataSet.cs: Indentations to WriteXml ()
4071 2002-12-27 Ville Palo <vi64pa@koti.soon.fi>
4074 * XmlDataLoader.cs: Moved ReadXml -stuff from DataSet.cs to new
4075 class XmlDataLoader.cs
4077 2002-12-19 Ville Palo <vi64pa@koti.soon.fi>
4079 * DataSet.cs Implemented ReadXml with XmlReadMode.ReadSchema
4081 2002-12-18 Ville Palo <vi64pa@koti.soon.fi>
4083 * DataSet.cs: Started to implement ReadXml-methods.
4085 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
4087 * DataSet.cs: implemented DefaultViewManager and GetList.
4089 * DataViewManager.cs: a bit of work on IList and ITypedList needed by
4090 DataList in System.Web.
4092 * DataViewManagerListItemTypeDescriptor.cs: custom type descriptor for
4095 2002-12-16 Ville Palo <vi64pa@koti.soon.fi>
4098 * DataTable.cs: Fixed NullException (rollback -event)
4099 * DataSet.cs: WriteXml -method does not anymore write <?xml... row.
4101 2002-12-15 Ville Palo <vi64pa@koti.soon.fi>
4104 * DataRowCollection.cs: Moved event triggering from DataRow to
4107 2002-12-09 Ville Palo <vi64pa@koti.soon.fi>
4109 * DataSet.cs: Little fix to WriteTable () -method
4110 and DoReadXmlSchema () -method.
4112 2002-12-06 Ville Palo <vi64pa@koti.soon.fi>
4114 * DataSet.cs: Clean up to reading xmlschema. This looks much better
4115 now (work better too), but it not working correctly yet.
4117 2002-12-04 Ville Palo <vi64pa@koti.soon.fi>
4120 * DataRowCollection.cs: Added some event handlins stuff.
4121 * DataSet.cs: Some fixes.
4122 * DataTable.cs: Added event handlers.
4124 2002-11-30 Ville Palo <vi64pa@koti.soon.fi>
4126 * DataRowChangeEventArgs.cs: Implemented Action and Row properties
4128 2002-11-30 Ville Palo <vi64pa@koti.soon.fi>
4130 * System.Data/DataRow.cs: Added internal property XmlDataID
4132 2002-11-29 Ville Palo <vi64pa@koti.soon.fi>
4134 * DataSystem.Data.DataTableCollection.cs:
4135 Removed HashTable. There could be situations where DataTable
4136 is added to collection before it hava TableName. So using
4137 HashTable is impossible.
4139 2002-11-19 Carlos Guzman Alvarez <carlosga@telefonica.net>
4141 * DataRow.cs: an object that is equal to null
4142 should be allowed to be set in this indexer too
4145 2002-11-06 Daniel Morgan <danmorg@sc.rr.com>
4147 * DataColumnPropertyDescriptor.cs: added file
4149 * System.Data/DataRowView.cs: started implementation
4151 * DataTable.cs: stubbed more interfaces. Implemented
4152 IListSource.GetList()
4154 * DataView.cs: stubbed more interfaces. Implemented
4155 some properties and methods: GetEnumerator(),
4156 ITypedList.GetItemProperties, Item indexer, CopyTo()
4158 2002-05-18 Nick Drochak <ndrochak@gol.com>
4160 * DataRow.cs: Fix typo.