1 2007-05-07 Adar Wesley <adarw@mainsoft.com>
3 * ConstraintCollection.cs: added CopyTo method with strongly typed Constraint[]
6 * DataTable.cs: added implementation of IXmlSerializable. Added missing
7 method ReadXmlSerializable.
9 2007-04-19 Chris Toshok <toshok@ximian.com>
11 * DataColumnCollection.cs (Add): the Element in our
12 CollectionChangedEventArgs should be the column, not the
13 collection. Also, add an event handler for the column's
14 PropertyChanged event so we can propagate metadata changes.
15 (Remove): Analogous change to the CollectionChangedEventArgs as in
16 Add. Also, unhook the column's PropertyChanged event.
17 (OnCollectionmetaDataChanged): emit our new event.
18 (ColumnPropertyChanged): called when the column's ColumnName
19 property changes. Emit the proper CollectionChangeEvent.
21 * DataView.cs (ColumnCollectionChanged): fix up the comment about
22 CollectionChangeAction.Refresh, and make explicit what generates
24 (RegisterEventHandlers): hook up
25 DataColumnCollectoin.CollectionMetaDataChanged.
26 (RegisterEventHandlers): unhook
27 DataColumnCollectoin.CollectionMetaDataChanged.
29 2007-02-23 Nagappan A <anagappan@novell.com>
31 * DataRow.cs (Item): Checks whether this DataRow exist in the
32 DataRowCollection, then compute the expression. Fixes bug #
35 * DataRowCollection.cs (IndexOf): Modified as internal method for
38 * XmlDataReader.cs (StringToObject): DataTables containing
39 System.Type throw exception on deserializing. Fixes bug # 80596.
41 * XmlDataLoader.cs (StringToObject): DataTables containing
42 System.Type throw exception on deserializing. Fixes bug # 80596.
44 2007-02-20 Konstantin Triger <kostat@mainsoft.com>
46 * XmlSchemaDataImporter.cs: ensure the tables are created in document order.
48 2007-02-19 Konstantin Triger <kostat@mainsoft.com>
50 * XmlDataReader.cs, XmlDataInferenceLoader.cs, XmlDiffLoader.cs:
51 ignore attributes from "http://www.w3.org/XML/1998/namespace".
52 * XmlConstants.cs: add constant for "http://www.w3.org/XML/1998/namespace".
53 * XmlDataInferenceLoader.cs: track the added elements index to fix the
56 2006-12-11 Chris Toshok <toshok@ximian.com>
58 * DataView.cs: GetItemProperties should return an empty collection
59 if we have no data table. Presently we NRE.
61 2006-12-08 Nagappan A <anagappan@novell.com>
63 * DataTable.cs (ReadXml): Removed if condition, as it should not
64 check the exception string.
66 2006-12-07 Chris Toshok <toshok@ximian.com>
68 * DataView.cs: add CollectionChangeEventHandler's on the
69 ChildRelations and ParentRelations collections, and emit
70 ListChanged events with PropertyDescriptor.Added/Deleted/Changed
73 2006-12-07 Nagappan A <anagappan@novell.com>
75 * DataTable.cs (ReadXml): Integrated the implementation of
76 ReadXml, patch provided by deepak_2603@yahoo.com.
78 2006-12-05 Nagappan A <anagappan@novell.com>
80 * DataTable.cs (WriteXmlSchema): Using XmlTextWriter instead of
81 XmlWriter, solved the File Sharing IO Exception.
83 2006-11-28 Hubert FONGARNAND, Frédéric Mestayer <informatique.internet@fiducial.fr>
85 * DataColumnCollection.cs : Improved Column searching when not
86 using exact column name (case sensitivity). Fixes bug # 80075.
88 2006-11-28 Nagappan A <anagappan@novell.com>
90 * XmlSchemaDataImporter.cs: Fixed 2.0 profile compilation
91 warnings. Using AttributeSchemaType instead of AttributeType and
92 ElementSchemaType instead of ElementType.
94 * TypedDataSetGenerator.cs: Modified the profile check from
95 !NET_1_1 to !NET_1_0, as this class is obsolete from 1.1 profile.
97 * DataRelationCollection.cs (Item): Modified the property Item as
98 abstract and implemented it in DataSetRelationCollection and
99 DataTableRelationCollection classes.
101 * DataRowView.cs: Remove bogus MonoTODOs.
103 * ForeignKeyConstraint.cs (ForeignKeyConstraint): Implemented
104 2.0 profile's missing constructor.
106 * XmlDataLoader.cs (StringToObject): Modify XmlConvert.ToDateTime
107 to use XmlDateTimeSerializationMode, as the default ToDataTime
110 * XmlDataReader.cs (StringToObject): Modify XmlConvert.ToDateTime
111 to use XmlDateTimeSerializationMode, as the default ToDataTime
114 * DataView.cs (IsInitialized): Added browsable attribute.
116 * DataViewSettingCollection.cs (CopyTo): Implemented missing 2.0
119 * DataRelation.cs (DataRelation): Added 2.0 profile constructor to
120 take parentTableNameSpace and childTableNameSpace as argument.
121 (FinishInit): Update parentTableNameSpace and childTableNameSpace,
122 when the string is not empty in 2.0 profile.
124 * DataRowCollection.cs: Implemented Count public property.
125 Added !NET_2_0 for List protected property, as it has been removed
127 (IndexOf): Implemented new public method.
128 (CopyTo): Implemented new public override method.
129 (GetEnumerator): Implemented new public override method.
131 * DataTable.cs (Load): Throw ArgumentNullException, when reader
133 (WriteXmlSchema): Throw InvalidOperationException, when table name
134 is empty. When DataSet Namespace is set, append that with '_x003A_'
136 (IsInitialized): Added browsable attribute.
138 * DataSet.cs (Load): Throw ArgumentNullException, when reader
140 (IsInitialized): Added browsable attribute.
141 (WriteObjectXml): Modify XmlConvert.ToDateTime to use
142 XmlDateTimeSerializationMode, as the default ToDataTime method id
145 * XmlSchemaWriter.cs (WriteSchema): Modified UseCurrentCulture to
147 (WriteDataSetElement): Added minOccurs attribute.
148 (WriteConstraints): Check for tables length, if > 1 then add the
149 relations to XmlSchema.
151 2006-11-21 Nagappan A <anagappan@novell.com>
153 * DataView.cs: Added public event Initialized.
154 (IsInitialized): Implemented public function to check whether a
155 dataview is initialized or not.
157 * DataSet.cs: Added ISupportInitializeNotification for .NET 2.0
159 (RemotingFormat): Set the default value attribute as
160 SerializationFormat.Xml.
161 (IsInitialized): Implemented public function to check whether a
162 table is initialized or not.
163 (CreateDataReader): Added params keyword in argument.
164 (Load): Implemented all Load overloaded functions.
165 (GetObjectData): Modified to public for .NET 2.0 implementation.
166 (IsBinarySerialized): Implemented the public API to check whether
167 the given stream is binary serialized or not.
168 * DataTable.cs: Added ISupportInitializeNotification for .NET 2.0
171 2006-11-15 Nagappan A <anagappan@novell.com>
173 * DataTable.cs (RemotingFormat): Set the default value attribute
174 as SerializationFormat.Xml.
175 (OnTableNewRow, NewRowAdded): Implemented new function to raise an
176 event when a new row is added to the table.
177 (DataTableInitialized, OnTableInitialized): Implemented new
178 function to raise an event when a table is initialized.
179 (IsInitialized): Implemented public function to check whether a
180 table is initialized or not.
181 (OnTableClearing): Raise an event before the table is cleared.
182 (GetObjectData): Modified to public for .NET 2.0 implementation.
183 (Load): Implemented missing API to call the registered delegate
184 function on load exception.
185 (WriteXmlSchema): Implemented overloaded function to write the
186 hierarchy with XML Schema.
188 2006-11-15 Konstantin Triger <kostat@mainsoft.com>
190 * DataTable.cs: Fixed LoadDataRow scenarios.
191 * DataRowCollection.cs: Added override for AddInternal taking DataRowAction parameter.
193 2006-11-14 Konstantin Triger <kostat@mainsoft.com>
195 * DataColumn.cs: consider row version wen checking row.IsNull().
197 2006-10-18 Nagappan A <anagappan@novell.com>
199 * ForeignKeyConstraint.cs (_validateColumns): Parent and child
200 columns can't be the same column - Exception, bug # 79689
202 2006-10-13 Nagappan A <anagappan@novell.com>
204 * DataTable.cs (DeserializeConstraints): Fine tuned the
205 serialization and deserialization of constraints.
207 * DataRelationCollection.cs (Contains): Fixes bug
208 #79233. DuplicateNameException when two relations for different
209 DataTables in DataSet are defined
211 2006-10-06 Patrick Earl <mono@patearl.net>
213 * DataTable.cs, XmlTableWriter.cs, XmlSchemaWriter.cs, DataSet.cs:
214 Implemented DataTable.WriteXml
216 2006-09-26 Nagappan A <anagappan@novell.com>
218 * DataTable.cs, DataSet.cs, DataColumn.cs, Constraint.cs,
219 DataRow.cs: Implementation of Binary Serialization /
222 * DataTable.cs (RowsExist): Check rows based on version.
224 * DataRow.cs: Raise exception same as MS.NET. Thanks to
225 Hubert FONGARNAND <informatique.internet@fiducial.fr> for
226 providing this patch.
228 2006-09-07 Vladimir Krasnov <vladimirk@mainsoft.com>
230 * DataSet.cs: added 2.0 stubs to solve typed dataset porting issues
232 2006-08-30 Nagappan A <anagappan@novell.com>
234 * DataRow.cs (EndEdit): DataRow.EndEdit emits RowChanged too
235 often. Fixes bug # 78885.
237 2006-08-14 Konstantin Triger <kostat@mainsoft.com>
239 * DataTableCollection.cs, DataRelationCollection.cs, DataRowCollection.cs,
240 DataColumnCollection.cs: implemented specialized CopyTo() method.
242 2006-07-26 Nagappan A <anagappan@novell.com>
244 * DataTable.cs (GetIndex): Fixes memory explode on
245 DataTable.Select - Bug # 77691.
247 2006-07-25 Nagappan A <anagappan@novell.com>
249 * DataView.cs (OnRowCollectionChanged): On DataTable.Clear,
250 setting rowCache to empty DataRowView. Fixes bug # 78610.
252 * DataTable.cs (AcceptChanges): Raises Reset event. Fixes bug #
255 2006-07-20 Senganal T <tsenganal@novell.com>
258 - Merge : moved the columntypecheck to AdjustSchema,
259 Remove the unncessary calls to Table.ResetIndexes.
260 - AdjustSchema : check for columntypes
261 Thanks to Deepak Kr Valechha for the patch
263 2006-07-17 Senganal T <tsenganal@novell.com>
266 - ToTable : Implemented all the overloads
267 - Equals : Implemented
268 - IBindingListView : Implemented the interface
270 2006-07-15 Senganal T <tsenganal@novell.com>
272 * DataTableCollection.cs :
273 - Contain,IndexOf,Remove,Add,Indexer : support for table
274 namespace. Remove redundant checks in Remove/Add.
276 2006-07-14 Senganal T <tsenganal@novell.com>
279 - SetOrdinal : Implemented
280 - Ordinal : added internal set
281 * DataColumnCollection.cs :
282 - Add : Set the column ordinals
283 - MoveColumn : Changes the position of column in the
286 2006-07-14 Senganal T <tsenganal@novell.com>
289 - Merge - Implement the merge methods
290 - Clone - Ensure column's DateTimeMode property is also copied
292 - DateTimeMode : Implemement
293 - DataTypeMatches : Added. In 2.0 profile, test DateTime
294 property when verifying column types.
296 - ctr : For DateTime columns, check DateTimeMode property
297 * ForeignKeyConstraint.cs :
298 - _validateColumns : For DateTime columns, check DateTimeMode
301 - Merge : Added. Overload to merge two tables
302 - ResolveColumns : Change the method to use a table instead of
304 - Renamed AdjustSchema to AdjustSchemaRelations
306 2006-07-13 Senganal T <tsenganal@novell.com>
309 - WriteTables : Remove some commented out code
310 - WriteTable : Fix the logic to skip the table data when the
311 table has a nested relation.
314 2006-07-12 Senganal T <tsenganal@novell.com>
316 * ConstraintCollection.cs :
317 - Remove (string): If constraint name is not found, throw exception
318 - Remove (Constraint): Set the ConstraintCollection of the removed
320 Thanks to Deepak Kr Velachha for reporting the bug.
322 2006-07-12 Senganal T <tsenganal@novell.com>
325 - LoadColumnChildren : If schema name is missing, skip the
327 Thanks to Deepak Kr Velachha for identifying the bug.
329 2006-07-11 Senganal T <tsenganal@novell.com>
331 * XmlSchemaWriter.cs :
332 - WriteTableType : If Relation.Nested is true, then nest the
333 table schemas. Correct the xml to add the table element within
334 the <Sequence> element.
335 - WriteChildRelations : Correct the Xml element name and
336 attributes. Close the attribute correctly.
338 * XmlSchemaDataImporter.cs :
339 - GenerateRelationship : When creating the relations, if
340 ParentColumn exists but Corr ChildCol is null, create a child
341 Column with the same name and type as the parent column.
342 - Renamed DataSetDefinesPrimaryKey to DataSetDefinesKey
343 - DataSetDefinesKey : if either xsd:key or xsd:keyref is
344 defined for the dataset, do not manually create the relations.
345 - AddParentKeyColumn : if Columnname already exists, use
346 colname_0 instead of throwing an exception.
347 - FillDataColumnRepeatedSimpleElement : Do not set the Unique
348 value as it creates a constraint by default. The unique value
349 is automatically set when pk is set.
350 - CreateChildColumns : Added. Creates a ChildColumn duplicating
351 ParentColumn properties.
353 2006-06-30 Senganal T <tsenganal@novell.com>
356 - SetAdded, SetModified : new methods in 2.0
358 2006-06-30 Senganal T <tsenganal@novell.com>
359 * SerializationFormat.cs, DataSetDateTime.cs, DataTableNewRowEventArgs.cs,
360 DataTableNewRowEventHandler.cs : Added
361 * SyntaxErrorException.cs EvaluateException.cs StrongTypingException.cs
362 IsolationLevel.cs ReadOnlyException.cs DataTableCollection.cs
363 DataRowState.cs MissingPrimaryKeyException.cs DeletedRowInaccessibleException.cs
364 DuplicateNameException.cs PropertyAttributes.cs StatementType.cs
365 VersionNotFoundException.cs FillErrorEventHandler.cs DataRowChangeEventHandler.cs
366 XmlWriteMode.cs InvalidExpressionException.cs StateChangeEventHandler.cs
367 DbType.cs DataColumnChangeEventHandler.cs KeyRestrictionBehavior.cs
368 ConnectionState.cs SchemaType.cs MergeFailedEventHandler.cs SqlDbType.cs
369 DataRowVersion.cs ForeignKeyConstraint.cs DBConcurrencyException.cs
370 OperationAbortedException.cs MissingSchemaAction.cs DataTableClearEventHandler.cs
371 DataRowView.cs DataRowAction.cs ConstraintCollection.cs DataTableReader.cs
372 LoadOption.cs InvalidConstraintException.cs InternalDataCollectionBase.cs
373 ParameterDirection.cs AcceptRejectRule.cs UpdateRowSource.cs XmlReadMode.cs
374 TypedDataSetGenerator.cs RowNotInTableException.cs TypeDataSetGeneratorException.cs
375 InRowChangingEventException.cs MissingMappingAction.cs NoNullAllowedException.cs
376 CommandBehavior.cs PropertyCollection.cs CommandType.cs
377 UpdateStatus.cs ConflictOption.cs DataViewRowState.cs Rule.cs
378 DataColumnCollection.cs :
381 2006-06-27 Senganal T <tsenganal@novell.com>
383 * DataSet.cs, DataTable.cs : implement CreateDataReader methods
384 * InternalDataCollectionBase.cs
385 - ToArray () : helper method
386 * DataTableReader.cs :
387 - GetSchemaTable : set the schema info correctly
388 - GetProvider*, GetChars, GetBytes, GetValues :
389 Implemented the methods
390 - GetName : return the name of corresponding schema.
391 - ValidateSchemaIntact, OnColumnCollectionChanged,
393 Listen and raise expception if schema changes
395 2006-06-21 Chris Toshok <toshok@ximian.com>
397 * DataView.cs: update the index after we successfully add the new
398 row. This keeps the dataview's row view count in sync with the
401 2006-06-20 Chris Toshok <toshok@ximian.com>
403 * DataView.cs: the PropertyDescriptorCollection returned by
404 ITyepdList.GetItemProperties should include the child relations of
405 our table, in order to match MS's behavior.
407 * DataViewManager.cs: ICollection.Count property is always 1.
409 2006-06-15 Senganal T <tsenganal@novell.com>
412 - Select : If Sort String is not provided, sort the result
413 DataRows in Ascending Order of the Columns used in the filter
415 2006-06-15 Senganal T <tsenganal@novell.com>
418 - InternalEnforceConstraints : Check if any null constraints
419 are violated. Throw ConstraintException only after all the errors
422 - EnforceConstraints : Move away the logic to check for
423 NullConstraintViolation.
424 - AssertNotNullConstraint : Checks for Null Constraint
426 - EndLoadData : Do not throw any exceptions here. All the
427 errors have to be found and RowErrors set before throwing the
430 - ImportRecrod : Check the values of the row for any null
432 - SetColumnError : If the error for column is already set,
433 do not add a new error but edit the existing error.
434 - CheckValue : Set the NullConstraintViolation flag if either
435 table is being loaded or if EnforceConstraints is set to
437 * Constraint.cs : Do not throw exception when EnforceConstraints is
438 set to false or table is being loaded.
439 * UniqueConstraint.cs : Correct the error message. Set ColumnErrors
440 along with the RowError.
442 2006-05-31 Gert Driesen <drieseng@users.sourceforge.net>
444 * DataTable.cs: Renamed initInProgress to fInitInProgress. BeginInit
445 and EndInit must only be virtual in 2.0 profile. Set eol-style to CRLF.
447 2006-05-31 Senganal T <tsenganal@novell.com>
449 * XmlDataInferenceLoader.cs :
450 - InferTableElement : Repeated element should result in a single
452 Patch from Deepak Kr Velachha
454 2006-04-21 Senganal T <tsenganal@novell.com>
456 * DataRowCollection.cs :
457 - Find : If search on the table using PrimaryKey fails and if
458 index is not being maintained (during table load), search the
460 - Find (int) : Removed. Deadcode.
462 - Not necessary to delete each row from the Index.
463 Just reset the Indexes after cleaning up the row
465 - Simplify dependency check for child tables
468 - Do not use DataRowCollection.Find to search for
469 existing records as this wud check even newly loaded rows.
471 - Do not add new records to Index. Update Index only
472 if an existing record is modified. New records will be
473 taken care by EndLoadData.
475 2006-04-19 Senganal T <tsenganal@novell.com>
477 * XmlHelper.cs : A helper class for encoding/decoding schema names.
478 Caches the Schema names to minimize encoding/decoding operations and
479 duplicate strings created.
481 - Use XmlHelper for encoding/decoding schema names.
482 - Encode ConstraintNames when writing as xml.
485 * XmlDataInferenceLoader.cs
486 * XmlSchemaDataImporter.cs
487 - Use XmlHelper for encoding/decoding schema names.
488 * DataTableCollections : Minor code refactor.
489 * DataRow.cs : Create XmlElement only if required.
491 2006-04-07 Senganal T <tsenganal@novell.com>
494 - InternalEnforceConstraints() : Reset Indexes of all tables
495 before validating constraints. Fixes #78010
497 2006-03-04 Boris Kirzner <borisk@mainsoft.com>
498 * TypeDataSetGeneratorException.cs: fix .Net Soap serialization compatibility.
500 2006-03-25 Senganal T <tsenganal@novell.com>
503 - RejectChanges : When row is in Deleted state, add the row back to
504 Indexes and Validate the row.
507 2006-03-23 Senganal T <tsenganal@novell.com>
510 - LoadDataRow : Add the row to the indexes, when loading a new row.
512 2006-03-22 Senganal T <tsenganal@novell.com>
515 - PrimaryKey : Set the IsPrimaryKey attribute before Removing from collection.
516 - RemoveUniqueConstraints : Removed. dead code.
519 - If adding/removing constraint fails, retain Unique value
520 - Remove redundant code
521 * UniqueConstraint.cs :
522 - SetIsPrimaryKey : Added. Sets the value of IsPrimaryKey.
523 - RemoveFromConstraintCollectionCleanup : If constraint is on a single column, then
524 set Unique for that column to false.
525 - CanRemoveFromCollection : Do not remove constraint, if its a PrimaryKey
527 2006-03-20 Senganal T <tsenganal@novell.com>
530 - CopyRelations () : When copying the relation, do not add constraints
531 automatically for the relation.
532 - OnMergeFailed () : If merge fails and no handler is set for the MergeFailedEvent,
533 then throw DataException
534 * ConstraintCollection.cs :
535 - Add () : Check if a constraint already exists on the Columns that are being
537 - IndexOf () : Do not check for equivalent constraints, check for the exact instance.
538 * MergeManager.cs ():
540 - Handle the MissingSchemaAction.Error case,
541 - Do not create constraints when mergin the DataRelation
542 - Follow the semantics for schema merge/validation when constraints are already present
543 in the target DataSet.
544 - AdjustPrimaryKeys () :
546 - Verify Order of Columns in the PrimaryKey when merging.
547 - ResolveColumns : Changed the arument to DataSet. Simplifies code elsewhere.
548 - CompareColumnArrays, CompareColumnArrays : Helper funtions.
550 2006-03-09 Senganal T <tsenganal@novell.com>
553 - RejectChanges () : Add the row to index, if it was in deleted state and
554 Update the index if in Modified State.
555 - AcceptChanges () : Do not update the Indexes.
556 - EndEdit () : Update the indexes even if BeginLoadData has been called
557 on the table. Ideally, indexes should not be maintained during DataLoad,
558 but this needs to handled in multiple places correctly. For now, just maintain
559 the index to ensure correct operation.
561 2006-03-05 Senganal T <tsenganal@novell.com>
564 - BeginInit (), EndInit () : Implemented methods
565 - InitInProgress : Added.
567 - EndInit () : Move the adding of columns and constraints
569 - FinishInit () : Added. Adds the Constraints and Columns
571 - InitInProgress : Added.
573 - FinishInit () : Added. Virtual method
574 - InitInProgress : Added. Virtual property
575 * UniqueConstraint.cs
576 * ForeignKeyConstraint.cs
577 - FinishInit () : Added.
578 - InitInProgress : Added.
579 - DataColsNotValidated : Removed.
580 * ConstraintCollection.cs
581 - PostAddRange : Removed event
582 - PostEndEdit () : Renamed to PostAddRange
583 - Add () : Simplified the testing if constraint is initialized
584 - AddRange () : Simplified initializing the constraints
585 * DataTableCollection.cs
586 - PostAddRange () : Added. Adds the tables to the collection
587 * DataColumnColletion.cs
588 - PostEndInit () : Renamed to PostAddRange.Also, add column to
589 the collection only if not null.
591 Added/Implemented methods for design time support. Renamed some methods for consistency
592 in naming across classes for methods serving the same purpose.
594 2006-02-24 Senganal T <tsenganal@novell.com>
596 * UniqueConstraint.cs :
597 - ChildConstraint : Added. Simplifies verifying if constraints are
599 - CanRemoveFromCollection : Fixed the check to verify if constraints is
600 linked to a ForeignKeyConstraint. Fixes #77630
601 * ForeignKeyConstraint.cs :
602 - _validateRemoveParentConstraint : Removed. Not used anymore
603 - ParentConstraint : Added. Simplifies verifying if constraints are
605 2006-02-22 Senganal T <tsenganal@novell.com>
608 - RejectChanges : Do not remove Row from Indexes when state is Deleted.
609 - CheckChildRows : When checking for the ChildRows, use the current value
610 and not the original value.
612 2006-02-18 Atsushi Enomoto <atsushi@ximian.com>
614 * CustomDataClassGenerator.cs : Patch by Marek Habersack. xsd now
615 outputs AutoIncrement, AutoIncrementSeed, AutoIncrementStep and
616 ReadOnly properties. This fixes bug #77576.
618 2006-02-17 Chris Toshok <toshok@ximian.com>
620 * System.Data/DataSet.cs, System.Data/DataView.cs,
621 System.Data/ForeignKeyConstraint.cs,
622 System.Data/DataViewManager.cs, System.Data/DataRow.cs,
623 System.Data/DataSysDescriptionAttribute.cs,
624 System.Data/UniqueConstraint.cs, System.Data/DataTable.cs,
625 System.Data/DataRelation.cs: lots of attribute work, removing
626 DataSysDescription atributes (and marking the class obsolete) for
629 2006-02-17 Chris Toshok <toshok@ximian.com>
631 * DataAdapterException.cs: remove this file.
633 2006-02-17 Chris Toshok <toshok@ximian.com>
635 * DataTableReader.cs: Switch to the (bool) form of Dispose to
636 override, as the no-arg form isn't virtual.
638 * Constraint.cs: #ifdef out more DataSysDescriptions.
640 * ConstraintException.cs: add ..ctor (string, Exception) for 2.0.
642 2006-02-17 Chris Toshok <toshok@ximian.com>
644 * DataColumn.cs: #ifdef all the DataSysDescriptions !NET_2_0.
646 * AdapterMappingException.cs: nuke this file.
648 * IDbAsyncConnection.cs, IDbAsyncCommand.cs, IGetTypedData.cs,
649 ISetTypedData.cs, IDataReader2.cs, IDataSources.cs,
650 IDbExecutionContext.cs, IDataRecord2.cs, IDataUpdatableRecord.cs:
651 remove these 2.0 files.
653 2006-02-17 Chris Toshok <toshok@ximian.com>
655 * ConstraintCollection.cs: in 2.0, class is not serializable and
656 is sealed. make all the "virtuals" #if !NET_2_0 as well.
658 * Constraint.cs: not serializable in 2.0.
660 * DataColumnCollection.cs: in 2.0, class is not serializable and
661 is sealed. make all the "virtuals" #if !NET_2_0 as well.
663 * DataRelationCollection.cs: not serializable in 2.0.
665 * DataRelation.cs: not serializable in 2.0.
667 * DataRowBuilder.cs: class is sealed in 2.0.
669 * DataRowCollection.cs: in 2.0, class is not serialized and is
670 sealed. Also, Add isn't virtual in 2.0 (as the class is sealed).
672 * DataRow.cs: not serializable in 2.0.
674 * DataSet.cs: remove some DataSysDescriptions from the 2.0 build,
675 and s/GetDataReader/CreateDataReader.
677 * DataTableCollection.cs: in 2.0, class is not serializable and is
678 sealed. make all the "virtuals" #if !NET_2_0 as well.
680 * DataTableReader.cs: remove VisibleFieldCount property.
682 * DataViewSettingCollection.cs: not serializable in 2.0.
684 * DataViewSetting.cs: not serializable in 2.0.
686 * ForeignKeyConstraint.cs: serializable in 2.0.
688 * OperationAbortedException.cs: class is sealed and serializable.
690 * PropertyCollection.cs: serializable in 2.0.
692 * StatementCompletedEventArgs.cs: class is sealed.
694 * UniqueConstraint.cs: not serializable in 2.0.
696 2006-02-16 Senganal T <tsenganal@novell.com>
699 WriteDataSetElement : Add an annotation element if exists.
700 WriteDataRelationAnnotation : New. Write a DataRelation as an annotation.
701 WriteConstraints : Write ForeignKeyConstraint even when not associated with
702 a DataRelation and add a "ConstraintOnly=true" attribute for such constraints.
703 * XmlConstants.cs : Add a new constant - ConstraintOnly
704 * XmlSchemaImporter.cs :
705 - ConstraintStructure : Add field ,IsConstraintOnly, to distinguish if a foreignkeyconstraint
706 is related to relation or not.
707 - GenerateRelation : Handle the case when parentkey and childkey contain multiple columnnames.
709 2006-02-11 Senganal T <tsenganal@novell.com>
711 * UniqueConstraint.cs :
712 - PostAddRange : Check PrimaryKey is not already set for the table
714 - PrimaryKey : follow ms.net behavior when BeginInit , EndInit is used.
715 - Add new priamry key only when EndInit is called.
716 - Incase of an error, retain old primarykey
718 - Add Constraints after columns are added.
719 - If both PrimaryKey Property and PrimaryKey Constraint are set,
720 then the Constraint takes precedence.
723 2006-02-03 Senganal T <tsenganal@novell.com>
725 * DataTableCollection.cs :
726 - Remove () : Check for invalid TableName
727 - Add () : Verify the table doesn't belong to another dataset
729 - CompleteLastAdded () : Do not raise ItemAdded Event as it is
730 already raised in AddNew().
732 - Expression : Verify that the Column names in the expression are valid
733 - ResetCollectionInfo : Renamed to ResetColumnInfo
735 - RejectChanges () : Reorganized the code to do the Right thing.
736 - Item : Dont check for detached and deleted rows as these are
738 * DataRowCollection.cs :
739 - Add () : Check for null value
741 - PrimaryKey : Set AllowDBNull=false for all the key columns
742 - ImportRow : Import the row only if it is not in Detached state. if in Deleted
743 state, perform the validation when AcceptChanges/RejectChanges is called.
744 * DataColumnCollection.cs :
745 - Add : Validate the column expression before adding it to the collection.
746 - GetColumnDependency () : New. Get the dependencies on the column
747 - CanRemove : Move checks to GetColumnDependency
748 - Clear () : Simplified code. Remove unncessary checks.Also, dont check Expression col.
749 - IndexOf - Check argument.
750 Overall , appropriate error msg's are thrown if Remove/Clear fails. Removed a few
751 redundant checks performed and moved the common code to GetColumnDependency.
753 2006-01-31 Senganal T <tsenganal@novell.com>
755 * DataSet.cs : Modified CopyRelations ()
756 - Added code to copy ForeignKeyConstraints. Fixes #77411.
758 2006-01-18 Boris Kirzner <borisk@mainsoft.com>
759 * DataColumn.cs: added PropertyCchangedEvent handling.
761 2006-01-17 Senganal T <tsenganal@novell.com>
764 ItemArray : Modified to raise RowInTableException only if
765 the concerned row has been removed from the table.Fixes
768 2006-01-16 Boris Kirzner <borisk@mainsoft.com>
769 * DataTable.cs: Drop dependend indexes on column removal.
771 2006-01-16 Atsushi Enomoto <atsushi@ximian.com>
773 * CustomDataClassGenerator.cs :
774 When a DataRelation connects the same table as parent and child,
775 generate parent row property as BlahRowParent. Fixed bug #77248.
777 2006-01-10 Senganal T <tsenganal@novell.com>
778 * DataRowCollection.cs
779 - Added ListChangedEvent to notify reset of the collection.
781 - Subscribes to the ListChangedEvent of DataRowCollection
784 2006-01-09 Senganal T <tsenganal@novell.com>
787 - Resolving a name clash in IExpression
789 2006-01-06 Senganal T <tsenganal@novell.com>
792 * DataColumnCollection.cs
793 - Reset the Parameters of DataColumn to Default Values when
794 column is removed from the Table's Collection
796 2006-01-03 Senganal T <tsenganal@novell.com>
799 - ParseSortString() : Changed the way the sort string is parsed.
800 Using a regex to parse the string.Fixes bug #77104
802 2005-12-12 Konstantin Triger <kostat@mainsoft.com>
804 * DataRow.cs: Added index Updates.
805 EndEdit() fixed to first update indices and then AssertConstraints
806 based on those indices.
807 Added Validate() and AssertConstraints() functions.
808 * DataRowCollection.cs: Removed ValidateDataRowInternal().
809 * DataTable: Fixed Clear().
811 2005-12-06 Atsushi Enomoto <atsushi@ximian.com>
813 * CustomDataClassGenerator.cs : (InitializeFields) handle AllowDBNull
814 and DefaultValue as well. Patch by Marek Habersack (bug #76709).
816 2005-12-01 Miguel de Icaza <miguel@novell.com>
818 * DataSet.cs: Apply patch from Robert Jordan, to fix #76817
820 2005-11-26 Konstantin Triger <kostat@mainsoft.com>
822 * ConflictOption.cs: TARGET_JVM include.
824 2005-11-11 Senganal T <tsenganal@novell.com>
826 * ConflictOption.cs (new file)
827 - Added ConflictOption Enumeration
830 - GetProviderSpecificFieldType : Corrected the method name
832 2005-11-11 Senganal T <tsenganal@novell.com>
834 * DataSet.cs : Added the SchemaSerializationMode Property for NET_2_0
836 * SchemaSerializationMode.cs : Added SchemaSerializationMode Enumeration
837 for NET_2_0 compatibility.
841 2005-10-20 Atsushi Enomoto <atsushi@ximian.com>
843 * XmlSchemaWriter.cs : escape names in the schema with XmlConvert.
846 2005-10-14 Sureshkumar T <tsureshkumar@novell.com>
848 * DataView.cs: Correct multiple throwing of events. Patch from
850 (RowStateFilter): Fire ListChangedEvent.
851 (ApplyDefaultSort): Fire ListChangedEvent.
852 (CompleteLastAdded): call UpdateIndex to remove the row from rowCache.
853 (IBindingList.Find): Implemented.
855 2005-10-11 Sureshkumar T <tsureshkumar@novell.com>
857 * DataView.cs (IBindingList): Implemented methods for IBindingList interface.
859 2005-09-26 Lluis Sanchez Gual <lluis@novell.com>
861 * DataSet.cs: In IXmlSerializable.GetSchema, return null again for
862 untyped datasets. Fixes bug #76101.
864 2005-09-21 Boris Kirzner <borisk@mainsoft.com>
865 * DataRow.cs: Fixes for index updating.
867 - Reset case-sensitive indexes also if their filter contains columns
869 - Use GetIndex instead of FindIndex, so the indexes created in Select()
871 * RelatedDataView.cs: implement IExpression.Equals() and GetHashCode().
873 2005-09-20 Sureshkumar T <tsureshkumar@novell.com>
875 * DataView.cs (Sort): Apply default Sorting Order if Sort property
876 is reset to null. Sort property handles this. Patch from Marc.
878 * DataTable.cs (ParseSortString): Patch from Marc Haisenko for
879 allowing [ & ] in DataView.Sort string.
881 2005-09-01 Boris Kirzner <borisk@mainsoft.com>
882 * System.Data/DataRowCollection.cs: indexes should be updated even if
883 EnforceConstraints is false. Check for EnforceConstraints in
884 ValidateDataRowInternal.
886 2005-08-08 Gert Driesen <drieseng@users.sourceforge.net>
888 * DataView.cs: Changed accessibility of dataTable, rowState and
889 rowCache field to internal to fix public API. Assigned TypeConverter
891 * ForeignKeyConstraint.cs: IsConstraintViolated is now internal.
892 * Constraint.cs: IsConstraintViolated is now internal.
893 * UniqueConstraint.cs: IsConstraintViolated is now internal.
895 2005-08-05 Atsushi Enomoto <atsushi@ximian.com>
897 * XmlSchemaDataImporter.cs : When "dataset element" has identity
898 constraints, then first reserve constraints room for them and then
899 process elements, skipping pkey creation if there is already
900 reserved one. Fixed bug #75711.
902 2005-08-05 Atsushi Enomoto <atsushi@ximian.com>
904 * XmlDataInferenceLoader.cs : in GetElementMappingType(), don't guess
905 the same (QNamed) element again when it was already evaluated as
906 not simple type. Fixed one part of bug #75711.
908 2005-08-02 Boris Kirzner <borisk@mainsoft.com>
909 * XmlSchemaDataImporter.cs : Data relations should be processed after the
910 keys, so no redundant constraints created while relations processing.
912 2005-07-25 Boris Kirzner <borisk@mainsoft.com>
913 * FillOptions.cs, ConflictOptions.cs, UpdateOptions.cs:
914 added ifdef TARGET_JVM.
916 2005-07-22 Sureshkumar T <tsureshkumar@novell.com>
918 * DataViewSettingCollection.cs, DataTableCollection.cs,
919 DataSet.cs, DataView.cs, DataColumn.cs, ForeignKeyConstraint.cs,
920 DataRelationCollection.cs, UniqueConstraint.cs, DataTable.cs,
921 DataColumnCollection.cs, DataRelation.cs, DataSet.cs:
922 - updated attributes & attribute descriptions to match with
925 * DataView.cs: changed protected members
926 rowstate,rowcache,dataTable to protected internal.
927 * Constraint.cs, ForeignKeyConstraint.cs, UniqueConstraint.cs:
928 changed InConstraintViolated to protected internal.
929 * ConflictOptions.cs, UpdateOptions.cs, FillOptions.cs: enclosed
932 2005-07-21 Sureshkumar T <tsureshkumar@novell.com>
934 * ForeignKeyConstraint.cs:
935 - IsConstraintViolated (): no matter what EnforceConstraints is,
936 this function now honestly validates. It is upto the caller to run
938 - AddToConstraintCollectionSetup (): AssertConstraint according to
941 2005-07-21 Boris Kirzner <borisk@mainsoft.com>
942 * ForeignKeyConstraint.cs - IsConstraintViolated() should check also for Table.EnforceConstraints.
943 * DataTable.cs - EnforceConstraints becomes internal so it can be used by ForeignKeyConstraint.
945 2005-07-19 Sureshkumar T <tsureshkumar@novell.com>
947 * DataTable.cs - CopyConstraints (): copy constraints only if it
950 * DataSet.cs - Copy ():
951 - use activator.CreateInstance to create a typed dataset.
952 - copy tables if target does not exist, otherwise, just add rows.
953 - add relation only if it does not exists.
955 Typed datasets create the constraints & relations through
956 constructors. Fixes bug #75211.
958 2005-07-14 Sureshkumar T <tsureshkumar@novell.com>
960 * DataView.cs: Patch from Marc Haisenko to throw descriptive error
961 message when accessing Item, with invalid index.
963 2005-07-14 Sureshkumar T <tsureshkumar@novell.com>
965 reapplied patch from Marc Haisenko.
966 * DataView.cs: Patch from Marc Haisenko that ensures that rowCache
969 2005-07-13 Sureshkumar T <tsureshkumar@novell.com>
971 * DataRelationCollection.cs: adding a relation with same set of
972 parent columns & child columns, should not be allowed.
974 2005-07-08 Sureshkumar T <tsureshkumar@novell.com>
976 * DataTableReader.cs: GetSchemaTable: DataType column should be
977 passed a type of Type.
979 * DataRow.cs: Load : Fired necessary events.
981 * DataTable.cs: LoadDataRow (object [], LoadOption): Fired
984 2005-06-28 Sureshkumar T <tsureshkumar@novell.com>
986 * DataRow.cs: Delete (): if row is detached, do nothing.
989 2005-06-22 Sureshkumar T <tsureshkumar@novell.com>
991 * DataRow.cs: Added method MergeValuesToRow copy merge two rows
992 according to the merge rules.
994 * MergeManager.cs: (MergeRow): use MergeValuesToRow
995 API. CopyValuesToRow simply makes the target row same as source
996 row. Rather, MergeValuesToRow merges with the target row according
999 2005-06-19 Konstantin Triger <kostat@mainsoft.com>
1001 * DataSet.cs: Fixed ReadXml to work with IXmlSerializable
1003 2005-06-17 Jordi Mas i Hernandez <jordi@ximian.com>
1005 * DataViewManager.cs: fixes exception and creates DataView
1007 2005-06-15 Sureshkumar T <tsureshkumar@novell.com>
1009 * DataRow.cs: CheckChildRows: cascade parent changes to child rows
1010 only if there is a change in columns of the fk constraint.
1012 2005-06-14 Sureshkumar T <tsureshkumar@novell.com>
1014 * DataSet.cs: GetChanges: if row is deleted, get parent rows based
1015 on original version. fixes bug #75227.
1017 2005-06-13 Sureshkumar T <tsureshkumar@novell.com>
1019 * DataRowCollection.cs: Find (keys, version): Added an overload to
1020 find keys matching given DataViewRowState filter. Used in
1021 DataSet.Merge and DataTable.LoadDataRow.
1023 * DataTable.cs: LoadDataRow (values, LoadOption): Use
1024 DataRowCollection.Find (object [], DataViewRowState) overload.
1027 - CopyValuesToRow: Create target "records" out of loop. Records
1028 should be created once, not for each column. Dispose Unused target
1032 - MergeRow: Find rows with matching original records. If not,
1033 select with current values.
1034 - MergeRow: While adding new row, use NewNotInitializedRow.
1036 * ForeignKeyConstraint.cs: IsConstraintViolated: should not check
1037 if EnforceConstraints is false.
1039 2005-06-10 Sureshkumar T <tsureshkumar@novell.com>
1041 * DataRow.cs: CopyValuesToRow: if orginal == current, don't create
1042 a new current record.
1044 * DataSet.cs: GetChanges :Temporarily disable EnforceConstraints.
1046 * MergeManager.cs: Merge: Temporarily disable
1047 EnforceConstraints. Patch from george.barbarosie@gmail.com (George
1050 2005-06-09 Jordi Mas i Hernandez <jordi@ximian.com>
1052 * DataView.cs: fixes GetListName
1054 2005-06-02 Atsushi Enomoto <atsushi@ximian.com>
1056 * XmlSchemaConstants.cs,
1057 XmlSchemaDataImporter.cs,
1058 XmlSchemaWriter.cs : AutoIncrementStep support. Patch partly by
1059 George Barbarosie. Fixed bug #75121.
1060 * XmlSchemaMapper.cs : it is not used anymore, so just removed.
1062 2005-05-31 Boris Kirzner <borisk@mainsoft.com>
1063 * DataRow.cs : SetParentRow on Detached row with no Default version throws an exception.
1065 2005-05-29 Konstantin Triger <kostat@mainsoft.com>
1067 * This patch fixes #74813
1068 * DataView.cs: rework the CreateChildView to receive the index into the indexed row array, rowState became protected to be initialized from RelatedDataView
1069 * DataRowView.cs: movo the logic of creating the child view to the DataView
1070 * RelatedDataView.cs: perform correct init.
1072 2005-05-25 Sureshkumar T <tsureshkumar@novell.com>
1074 * DataTable.cs: Reworked DataTable.LoadDataRow method after
1075 regressions caused by Index redesign.
1076 * DataRow.cs: Load : reworked.
1078 2005-05-25 Konstantin Triger <kostat@mainsoft.com>
1080 * ISafeDataRecord.cs: Added GetDateTimeSafe method, the interface was made derived from IDataRecord
1082 2005-05-22 Konstantin Triger <kostat@mainsoft.com>
1084 * 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
1086 2005-05-20 Sureshkumar T <tsureshkumar@novell.com>
1088 * DataTable.cs: CreateRecord :value should be set to auto
1089 increment value or default value if the given value is null.
1091 2005-05-16 Konstantin Triger <kostat@mainsoft.com>
1093 * DataTable.cs: In DataTable.LoadDataRow with LoadOption - reverting the search order back to Original -> Current (by Suresh request)
1095 2005-05-16 Konstantin Triger <kostat@mainsoft.com>
1097 * DataRow.cs, DataTable.cs: code under net_2_0 changed to use the new interface
1098 * DataTable.cs: Added CompareRecords, which compares records in column order
1101 2005-05-16 Sureshkumar T <tsureshkumar@novell.com>
1104 * DataTable.cs: quick fix to make build 2.0 profile (follow up for
1105 check in 2005-05-16). Merge with previous changes.
1107 2005-05-11 Sureshkumar T <tsureshkumar@novell.com>
1109 fix for "import row does not import deleted records"
1111 * UniqueConstraint.cs: Make a way to access value even from a
1112 deleted record. deleted records are added to the collection by
1116 - Added restriction-less methods GetValue to fetch a
1117 value even if it is in deleted state.
1118 - If a row is detached, don't try to delete it from indexes.
1119 - sanity check for record_index in CopyValuesToRow method
1121 2005-05-05 Sureshkumar T <tsureshkumar@novell.com>
1123 * DataTableReader.cs: Implemented Delete handler and move the
1124 current pointer accordingly.
1126 2005-05-04 Sureshkumar T <tsureshkumar@novell.com>
1128 * DataTableReader.cs: Added event handlers to make reader stable
1129 when the datasource is modified. Thanks to Umadevi for giving the
1130 review comments for this implementation.
1132 * DataTable.cs: Clear (): Raise TableCleared event.
1134 * DataTableClearEventArgs.cs: Args for DataTableClearEventHandler.
1136 * DataTableClearEventHandler.cs: Handler for DataTable.TableClear
1139 * DataRow.cs: AcceptChanges: raise row changing & row changed
1142 * DataRowCollection.cs: Clear : remove rows from indexes
1144 2005-05-02 Atsushi Enomoto <atsushi@ximian.com>
1146 * XmlSchemaDataImporter.cs : XmlSchemaParicle might be XmlSchemaAny.
1147 This fixes bug #74784.
1149 2005-04-29 Sureshkumar T <tsureshkumar@novell.com>
1151 * DataTableReader.cs: removed use of _first. throw if given index
1152 is out of range of columns. Copy DataTable [] to local array so
1153 that not to be disturbed.
1155 2005-04-27 Sureshkumar T <tsureshkumar@novell.com>
1157 * DataTableReader.cs: Implemented most of the TODO.
1159 2005-04-22 Sureshkumar T <tsureshkumar@novell.com>
1161 * LoadOption.cs: Changed the enums. Keeping old values for
1164 * DataTable.cs: Implemented methods Load and its overloads. Also
1165 implemented LoadDataRow.
1167 * DataRowCollection.cs: Added a variation of the Find method to
1168 return a row even if it is of state Deleted. This is required for
1169 DataTable.LoadDataRow method.
1171 * DataRow.cs: Implemented internal helper method Load for loading
1172 values from an object array and given an LoadOption (2.0 feature).
1174 * DataRowAction.cs: Added few more enums for .net 2.0. Sorted
1177 2005-05-16 Konstantin Triger <kostat@mainsoft.com>
1179 * UniqueConstraint.cs : IsNull check is relevant for rows having default row version.
1180 * DataTable.cs : The row should be validated when imported
1181 * DataRowCollection.cs : if the row does not contain Proposed neither Current version, it's irrelevant for validation
1183 2005-04-26 Boris Kirzner <borisk@mainsoft.com>
1185 * UniqueConstraint.cs :
1186 - Add indication whenever the constraint belongs to collection.
1187 - Calculation of IsPrimaryKey simplified.
1188 - If constraint is based on single column, the column becomes unique.
1189 - Use boolean IsConstraintViolated() instead of AssertConstraint().
1190 - Use Index.Duplicates to proper exception message formatting.
1191 - AssertConstraint(DataRow) changed to suite new indexes interface.
1192 - Added CanRemoveFromCollection method.
1193 - Contains() method renamed to IsColumnContained().
1194 * RelatedDataView.cs : added new class.
1196 - Reset indexes after merge.
1197 - Add new tables when row array is merged into dataset.
1198 - Clean proposed record in MergeRow.
1199 - Inherit nesting on creating new relations in target data set.
1200 - Avoid double loop on constraints collection.
1201 * Locale.cs : added new class.
1202 * ISafeDataRecord.cs : added new interface.
1203 * Index.cs : commented out. Index implementation moved to System.Data.Common.
1204 * ForeignKeyConstraint.cs :
1205 - No more use of childColumnsExtended since new indexes allow duplicate records.
1206 - Constraints can not be created on expression columns.
1207 - Removed unnecessary delegation.
1208 - Use boolean IsConstraintViolated() instead of AssertConstraint().
1209 - Use proper exception message formatting.
1210 - Contains() method renamed to IsColumnContained().
1211 * DataViewRowState.cs : use enum members to simplify notation.
1212 * MergeManager.cs : implemented RelationCollectionChanged().
1213 * DataView.cs : new implementation.
1214 * DataTableCollection.cs :
1215 - Added boundary check in indexer.
1216 - More accurate handling in AddRange().
1217 - Raise event in Remove().
1219 - Hold primary key as constraint.
1220 - Added accurate handling of DefaultView.
1221 - Hold DataRowBuilder per table.
1222 - Proper exception messages if enforce Constraints is violated.
1223 - If there is no rows, Compute() returns DBNull.
1224 - Use DataRow properties instead of private members.
1225 - CopyProperties() fixed.
1226 - Raise proper events in EndInit().
1227 - Proper order of violation checks in EndLoadData().
1228 - Create array of rows using NewRowArray().
1229 - ImportRow handles rows according to their versions.
1230 - LoadDataRow make use of records (instead of raw object array).
1231 - Added and implemented LoadDataRow() that gets IDataRecord as a parameter (used in Fill)
1232 - Select() uses indexes filtering and sorting ability (instead of "loop-throw-sort" approach).
1233 - Removed redundant RowSorter and Sortable column classes.
1234 - ParseSortString() fixed to threat bracketed column names.
1235 - Table holds collection of property descriptors.
1237 - Reset table case sensitive indexes on CaseSensitive change.
1238 - EnforceConstraints update logic moved to internal method (used by DataTable).
1239 - InAddChangedRow first add row and than copy values for proper handling of default values.
1241 - Changed private member names to suite name convention.
1242 - CancelEdit() fixed.
1243 - CreateChildView() delegates to DataView.
1245 - Proper exception messages in indexers.
1246 - RowVersion uses DataView.
1247 - GetProperties() delegates to corresponding table if needed.
1248 * DataRowCollection.cs :
1249 - Common Add() logic moved to AddInternal() (used also by DataTable).
1250 - Removed redundant check from Contains().
1251 - Dalegate Find() calls when possible.
1253 - RomoveAt() delegates to Remove().
1254 - Optimized constraints check in row validation.
1255 * DataRelationPropertyDescriptor.cs : added new class.
1256 * DataRelationCollection.cs :
1258 - Fixed order of actions in AddCore().
1259 - RemoveCore() also delegates to base.
1260 - Add relation to dataset also in AddCore().
1261 - Remove relation from dataset also in RemoveCore().
1262 - InTransition hold a data relation so we can properly identify the "in transition" state.
1263 - Added threat of parent and child table s property descriptors in Add().
1264 - Common Add() logic moved to AddCore().
1266 - Remove() threats "in transition" state properly.
1267 - Remove methods delegate to single implementation.
1268 * DataColumnPropertyDescriptior.cs :
1269 - Added new constructor.
1270 - Commented out redundant method.
1271 * DataColumnCollection.cs :
1272 - Boundary check in indexer.
1273 - RegisterName and UnregisterName become internal (used also by DataColumn).
1275 - Fixed CanRemove().
1276 - Rethrow correct exception in Clear();
1277 - Change in collection resets parent table property descriptors.
1278 - Added PostEndEdit() helper method (used by DataTable).
1280 - Private member names changed to suite name convention.
1281 - Created method for CanAutoIncrement() logic.
1282 - Proper handling of column name update.
1283 - Proper exception messages on expression update.
1284 - Proper namespace handling (delegates to table when needed).
1285 - Removed redundant check in Unique update.
1286 - Implemented internal Clone().
1287 - GetParentRalation() and GetChildRelation() become private.
1289 - Added abstract methods (implemented in UniqueConstraint and ForeignKeyConstraint).
1290 - Simplified index update.
1291 * ConstraintCollection.cs :
1292 - Use Locale instead of CaseSensitive in column names comparison.
1294 - Rethrow correct exception type in Add().
1295 - Proper update of table primary key in Add().
1296 - Delegate CanRemove() to constraint.
1297 - Remove table primary key in Clear();
1298 - Delegate "can remove" check to constraint in Remove().
1299 - Removed unnecessary methods and properties.
1301 - RowSate becomes calculated property.
1302 - Use properties instead of private members where possible.
1304 - Fixed order of actions in ItemArray update.
1305 - Fixed DetachRow().
1306 - Added ImportRecord() method.
1307 - Removed redundant SetValuesFromDataRecord().
1308 - Fixed IndexFromVersion().
1309 - Added VersionFromIndex() method. Returns row version the passed record index corresponds to.
1310 - Fixed AcceptChanges().
1311 - Fixed creating proposed version in BeginEdit();
1312 - Added record disposal in Delete().
1313 - Fixed CheckChildRows().
1314 - EndEdit() fixed. Checks for readonly. Uses straight flow instead of "try and fix if fail" approach.
1315 - GetChildRows() and GetPrarentRows() rewrited. Use records and indexes for rows lookup.
1316 - GetColumnError() delegates to another implementation.
1317 - HasVersion() fixed.
1318 - RejectCahnges checks on child rows before passing through.
1319 - SetParentRow() fixed. Create relation collection if needed. Use typed data container value copy.
1320 - CopyErrors() logic moved to separate method (used also by DataTable).
1321 * ExpressionElement.cs : added new class.
1322 * Res.cs : added new class.
1324 2005-04-20 Jordi Mas i Hernandez <jordi@ximian.com>
1326 * DataViewManager.cs: implements TypedList.GetListName used in SWF
1328 2005-04-19 Atsushi Enomoto <atsushi@ximian.com>
1330 * DataRowView.cs : indexer should access to DataRow with proper
1331 DataRowVersion. Fixed bug #74650.
1333 2005-04-18 Sureshkumar T <tsureshkumar@novell.com>
1335 * DataRow.cs: if there are no mapping fields, fill with default
1338 2005-04-17 Atsushi Enomoto <atsushi@ximian.com>
1340 * DataView.cs : Delete() should not try to remove row twice.
1343 2005-04-13 Atsushi Enomoto <atsushi@ximian.com>
1345 * DataTable.cs : Use GetRowType() for the base of the returning array
1346 type of Select(). Fix by Gerhard Rittweger.
1347 * CustomDataClassGenerator.cs : Fixed slightly harmless wrong code.
1349 2005-04-13 Atsushi Enomoto <atsushi@ximian.com>
1351 * CustomDataClassGenerator.cs : custom relation was not added to
1352 Relations property. The second entry of bug #69276 was fixed.
1353 Patch by Daniel Rodriguez.
1355 2005-04-07 Lluis Sanchez Gual <lluis@novell.com>
1357 * DataRowCollection.cs: Fix the signature of the Add method
1360 2005-03-16 Atsushi Enomoto <atsushi@ximian.com>
1362 * DataRow.cs : on importing row, it was copying data from incorrect
1363 DataRow. This fixes bug #73288.
1365 2005-03-07 Jackson Harper <jackson@ximian.com>
1367 * DataViewManagerListItemTypeDescriptor.cs: Implement missing
1368 features. These are needed for System.Windows.Forms databinding.
1370 2005-02-25 Atsushi Enomoto <atsushi@ximian.com>
1372 * DataColumn.cs : setting negative value on MaxLength of SimpleContent
1373 column is still valid.
1375 2005-02-15 Atsushi Enomoto <atsushi@ximian.com>
1377 * XmlSchemaWriter.cs : new file for outputting XmlSchema.
1378 * DataSet.cs : removed rewritten code in XmlSchemaWriter.
1379 * XmlConstants.cs : added UseCurrentCulture constant.
1381 Use new Xml Schema writer.
1382 Use XmlSchemaDataImporter as we use in DataSet.
1384 2005-02-10 Atsushi Enomoto <atsushi@ximian.com>
1386 * DataView.cs, DataRowView.cs : Fixed bug #72421. CreateChildView()
1387 should target only child rows.
1389 2005-02-03 Atsushi Enomoto <atsushi@ximian.com>
1391 * DataViewManager.cs: misuse of ReadStartElement(string).
1392 * DataRowView.cs : removed some MonoTODO.
1394 2005-02-02 Sureshkumar T <tsureshkumar@novell.com>
1395 Ankit Jain <radical@corewars.org>
1397 * DataColumn.cs: throw exception if the column is part of a
1398 relationship, when chaning the data type. Added methods
1399 "GetParentRelation ()" and "GetChildRelation ()" get the relation
1400 which contains the current column
1401 * DataRelation.cs: Added method "Contains (DataColumn)" to check
1402 whether the relation contains the given column.
1404 fixes nunit failure: DataRelationTest.InvalidConstraintException2.
1406 2005-02-02 Sureshkumar T <tsureshkumar@novell.com>
1408 * DataColumnCollection.cs: implemented todo item "check for
1409 constraints" when removing columns from table.
1410 * DataRowCollection.cs: Clear (): don't have to throw child key
1411 constraint exception when the child table does not have any
1412 rows. safe to remove parent rows.
1413 * UniqueConstraint.cs: added method "Contains (DataColumn)" to
1414 check whether a column is part of UniqueConstraint.
1415 * ForeignKeyConstraint.cs: added method "Contains (DataColumn,
1416 lookInParent)" to check whether a column is part of foreignkey.
1418 fixes nunit failure: DataTableTest.ClearTest ()
1420 2005-02-02 Sureshkumar T <tsureshkumar@novell.com>
1422 * ForeignKeyConstraint.cs: validating columns: move checking
1423 "tables are of same dataset" before "checking column types".
1425 fixes nunit failure: ForeignKeyConstraint.CtorExceptions.
1427 2005-02-02 Atsushi Enomoto <atsushi@ximian.com>
1429 * DataViewManager.cs : let's just use StringWriter instead of
1430 XmlTextWriter (to avoid empty tag string mismatch annoyance.)
1431 * DataView.cs : implemented BeginInit() and EndInit(). Don't update
1432 rows during init phase until EndInit() is invoked. During init phase,
1433 just hold properties such as Sort that affects on rows.
1435 2005-02-02 Atsushi Enomoto <atsushi@ximian.com>
1437 * DataTableCollection.cs : (RemoveAt) just use IndexOutOfRangeException.
1439 2005-02-02 Atsushi Enomoto <atsushi@ximian.com>
1441 * DataView.cs : DataRowView.EndEdit() raises ItemMoved event.
1442 set_Table clears Sort and RowFilter.
1444 2005-02-02 Atsushi Enomoto <atsushi@ximian.com>
1447 - Clear() should clear AddNew cache.
1448 - Open() invokes Reset().
1449 - ConstraintCollectionChanged() itself does not invoke OnListChanged().
1450 - Reset() does not Open, Close and Update Index.
1451 - UpdateIndex() can be invoked even if it has no table.
1452 - Reset event is invoked always after actual query to table.
1453 - set_Table should raise PropertyDescriptorChanged event.
1455 2005-02-02 Atsushi Enomoto <atsushi@ximian.com>
1457 * DataView.cs : ColumnCollectionChanged() is the event invoker (i.e.
1458 when overriden, no column change events are fired).
1460 2005-02-02 Atsushi Enomoto <atsushi@ximian.com>
1462 * DataView.cs : CancelEditRowView() and DeleteRowView() was incorrectly
1463 checking target tables. They also should raise events if required.
1465 2005-02-02 Atsushi Enomoto <atsushi@ximian.com>
1467 * DataView.cs : simplify code with UnsortedList.
1469 2005-02-01 Atsushi Enomoto <atsushi@ximian.com>
1471 * DataView.cs : Mostly reimplemented.
1472 - UpdateIndex() is invoked only when it is required (results in
1473 significant performance improvement).
1474 - Use SortedList and wrapper OptionalSortedList which switches
1475 between SortedList (with Sort) and UnsortedList (without Sort).
1476 - DataView itself now contains two collections for rowviews:
1477 Table rows based pool and AddNew() based cache. Consider those
1478 two collections in every members.
1479 - Reset() does not clear rows. Just invokes UpdateIndex().
1480 - Hook RowDeleting, ColumnChanging and ColumnChanged events in table
1481 which is required to handle state changes.
1482 - Reimplemented Find() and FindRows() because of internal changes.
1484 2005-02-01 Atsushi Enomoto <atsushi@ximian.com>
1486 * DataTable.cs : Fixed row comparer. Even if every of the sort target
1487 columns are identical for two rows, they should not be regarded as
1488 the same unless they are Object.ReferenceEquals.
1490 2005-02-01 Atsushi Enomoto <atsushi@ximian.com>
1492 * DataRowCollection.cs : on adding a row, should raise
1493 ChangingDataRow() as well as ChangedDataRow().
1495 2005-01-31 Sureshkumar T <tsureshkumar@novell.com>
1497 * DataRow.cs: SetParentRow (): use relation.ParentColumns &
1498 relation.ChildColumns instead of relation.ChildKeyConstraint.*
1499 because createConstrains flag may be false when creating data
1500 relations. Hack along with Ankit Jain.
1502 2005-01-31 Atsushi Enomoto <atsushi@ximian.com>
1504 * DataView.cs :some interface implementations.
1506 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
1508 * DataView.cs : Add to table only when the row is not in the table.
1510 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
1512 * DataView.cs : implemented FindRows() (btw we should not use
1513 DataTable since there are detached rows by AddNew().)
1515 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
1518 Code cleanup: privatify some members, remove unused methods.
1519 Some event-based invocation methods should not raise NotImplemented.
1521 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
1523 * DataSet.cs : ReadXml() became closer to MS behavior, being hacky.
1525 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
1527 * XmlSchemaDataImporter.cs : empty element is not regarded as a column.
1529 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
1531 * UniqueConstraint.cs : mostly reverted the previous patch + check
1532 IsPrimaryKey before validation.
1534 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
1536 * DataView.cs : Fixed duplicate insertion to Hashtable.
1537 * UniqueConstraint.cs : Unique constrained pair of columns could be
1540 2005-01-27 Atsushi Enomoto <atsushi@ximian.com>
1543 Don't do anything for Sort/ApplyDefaultSort/RowFilter/RowStateFilter
1544 when the same value is being set.
1545 Examined UpdateIndex() and marked FIXME where MS does not invoke it.
1546 Removed unused OnColumnChanged().
1547 Now store rowViewPool and reuse DataRowView objects.
1548 Optimized UpdateIndex() - avoid ArrayList. Avoid Haashtable.Rehash().
1550 2005-01-27 Atsushi Enomoto <atsushi@ximian.com>
1552 * DataViewSettings.cs : no MonoTODO anymore.
1553 * DataViewManager.cs : pass itself to new DataView() (new ctor).
1554 * DataRowView.cs : GetHashCode() returns its Row's hash.
1555 * DataTablePropertyDescriptor.cs : use new ctor().
1556 * DataView.cs : added new ctor()s that accept DataViewManager.
1558 2005-01-27 Atsushi Enomoto <atsushi@ximian.com>
1560 * DataView.cs, DataRowView.cs : AddNew() should not add the row to table
1561 (it is still detached). So handle those rows differntly.
1562 CancelEdit(), EndEdit() and Delete() propagates those events to
1563 DataView (and handle row collection).
1564 Eliminate "throw new Exception()".
1565 Don't catch all the exception thrown in ListChanged event.
1566 * DataTable.cs : made RowSorter as internal and use it in DataView.
1567 no need to pass DataRow[] to .ctor().
1569 2005-01-27 Atsushi Enomoto <atsushi@ximian.com>
1571 * DataTable.cs : don't create DefaultView unless it is required. It
1572 significantly improves performance. (i.e. DataView perf. is sick ;-)
1574 2005-01-27 Atsushi Enomoto <atsushi@ximian.com>
1576 * DataViewSetting.cs,
1577 DataViewSettingCollection.cs,
1578 DataViewManager.cs : implemented basic members.
1580 2005-01-26 Atsushi Enomoto <atsushi@ximian.com>
1582 * Node.cs, DataColumnPropertyDescriptor.cs, DataTable.cs :
1583 Eliminate "throw new Exception".
1585 2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
1587 * DataRow.cs : (set_Item) RowNotInTableExeption check should be done
1588 regardless of index existence.
1590 2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
1592 * DataTable.cs : use new IExpression.EvalBoolean() to avoid extraneous
1595 2005-01-25 Sureshkumar T <tsureshkumar@novell.com>
1597 * DataTable.cs: ImportRow :Do not add to rows collection if the
1598 import row is in detached state.
1600 2005-01-25 Sureshkumar T <tsureshkumar@novell.com>
1602 * DataRow.cs: CopyValuesToRow : set the column value with the
1603 default version of the given row.
1604 * DataTable.cs: ImportRow: Copy values before adding row.
1605 * DataSet.cs: AddChangedRow: Add the row to the table after
1608 Fixes bug #67317. Patch by Ankit Jain.
1610 2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
1612 * DataRowView.cs : Fixed IsEdit to reflect correct status of DataRow.
1613 * DataRow.cs : Expose editing status internally.
1615 2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
1617 * DataView.cs : missing attributes.
1619 2005-01-24 Atsushi Enomoto <atsushi@ximian.com>
1621 * DataRowView.cs : implemented CreateChildView().
1623 2005-01-24 Atsushi Enomoto <atsushi@ximian.com>
1625 * DataTable.cs, DataView.cs :
1626 Optimized DataView to compile only once RowFilter and Sort when
1627 those properties are set. To make it possible, extracted
1628 SortableColumn out of DataTable and added internal DataTable.Select()
1629 that accepts precompiled IExpression and SortableColumns[].
1631 2005-01-24 Atsushi Enomoto <atsushi@ximian.com>
1633 * DataColumn.cs : set_MaxLength is not allowed when it is mapped to
1634 SimpleContent. (However, it is weird but it never fails when we set
1635 ColumnMapping = MappingType.SimpleContent when we fhave MaxLength.)
1637 2005-01-21 Atsushi Enomoto <atsushi@ximian.com>
1639 * DataRow.cs : more Current -> Default fixes. Check if it should throw
1640 VersionNotFoundException. Patch by Ankit Jain.
1642 2005-01-21 Atsushi Enomoto <atsushi@ximian.com>
1644 * DataRow.cs : Default selects the right version for the current
1645 state of the row. Current is not always available. Also change
1646 that for GetParentRow(). Patch by Ankit Jain.
1648 2005-01-21 Atsushi Enomoto <atsushi@ximian.com>
1650 * DataTable.cs : CopyColumn() should copy AutoIncrement after
1651 DefaultValue, or it will raise an error in some cases.
1653 2005-01-20 Atsushi Enomoto <atsushi@ximian.com>
1655 * ConstraintCollection.cs : Add() should throw ArgumentException when
1656 the argument constraint fails validation.
1657 DataTable.cs : set_PrimaryKey should throw ArgumentException when
1658 the argument contains constraints which fail validation.
1660 2005-01-19 Sureshkumar T <tsureshkumar@novell.com>
1662 * DataRelationCollection.cs:
1664 Method Remove : Donot throw exception if DataRelation argument is
1665 null in DataRelationCollection.Remove method.
1667 Method RemoveAt : Exception should be IndexOutOfRangeException if
1668 row index is not in list range.
1670 Fixes nunit failures DataRelationCollection.Remove and
1671 DataRelationCollection.RemoveAt.
1673 2005-01-19 Sureshkumar T <tsureshkumar@novell.com>
1675 * ConstraintCollection.cs: Donot throw exception if constraints
1676 are null in AddRange method. Check for null before using the
1681 2004-01-19 Atsushi Enomoto <atsushi@ximian.com>
1683 * XmlDataInferenceLoader.cs,
1684 XmlDataReader.cs : Check if the XmlReader (node) represents DataSet
1685 or a table, reusing code block in XmlDataInferenceLoader.
1686 This fixes bug #60118.
1688 2004-01-19 Atsushi Enomoto <atsushi@ximian.com>
1690 * XmlDiffLoader.cs : Ankit Jain <radical@imt.ac.in> has a conflicting
1691 patches and some good catches. Some attributes should be skipped,
1692 and loaded value must be typed.
1694 2004-01-19 Atsushi Enomoto <atsushi@ximian.com>
1697 XmlDataInferenceLoader.cs,
1698 XmlDataReader.cs : use common const for http://www.w3.org/2000/xmlns/.
1699 * XmlDiffLoader.cs : It was not handling attributes. Fixed bug #70961.
1701 2005-01-18 Sureshkumar T <tsureshkumar@novell.com>
1703 Fix for bug #66838. This patch is submitted by "Ankit Jain"
1704 <radical@corewars.org> and refactored.
1706 * DataRow.cs: Allows to set a parent row even if the row is in
1709 * DataRelation.cs: method "UpdateConstraints" is added to check
1710 and create missing keys when adding a relation. This is refactored
1711 approach from DataRelationCollection.Add method.
1713 * DataRelationCollection.cs: AddCore methods of all relation types
1714 are synchronized. A Check for existing constraints is
1715 done. Relation is added to the list only if all checks are passed.
1717 2004-01-18 Atsushi Enomoto <atsushi@ximian.com>
1719 * DataColumnCollection.cs : Clear() throws ArgumentException that
1720 wraps thrown innerException.
1721 * XmlSchemaDataImporter.cs : removed FIXMEs.
1723 2004-01-12 Atsushi Enomoto <atsushi@ximian.com>
1725 * DataSet.cs : When serializing DataTable, BuildSchema() is passed
1726 null relation collections.
1727 Quick fix for XmlSerializer deserialization. It does not require
1728 XML Schema included.
1730 2004-01-11 Atsushi Enomoto <atsushi@ximian.com>
1733 CustomDataClassGenerator.cs :
1734 In DataSet class, IXmlSerializable.GetSchema() returns null.
1735 In strongly-typed class, it returns schema.
1737 2004-01-07 Atsushi Enomoto <atsushi@ximian.com>
1739 * XmlDataInferenceLoader.cs : test driver class should be excluded.
1741 2004-12-01 Miguel de Icaza <miguel@ximian.com>
1743 * DataView.cs: Patch from Marc Haisenko that ensures that rowCache
1746 2004-11-10 Atsushi Enomoto <atsushi@ximian.com>
1748 * CustomDataClassGenerator.cs : generated foreign key constraint
1749 construction code was creating empty child columns and thus it
1750 was invalid. This fixes bug #69276 (patch by Martin Voelkle).
1752 2004-11-02 Atsushi Enomoto <atsushi@ximian.com>
1754 * CustomDataClassGenerator.cs : custom DataTable ctor should call
1755 InitializeFields(), and those DataColumns created by that method
1756 should take data type. This should fix bug #68972.
1758 2004-10-15 Atsushi Enomoto <atsushi@ximian.com>
1760 * DataSet.cs : Also clear UnhandledAttributes ArrayList before
1761 generating next attribute column schema. This fixes bug #68432.
1763 2004-10-14 Umadevi S <sumadevi@novell.com>
1764 * DataTable.cs : Corrected the Clone method to use Activator.CreateInstance so that the
1765 correct subclass is returned. This fixes bug #67631
1767 2004-10-14 Umadevi S <sumadevi@novell.com>
1768 * DataSet.cs : Corrected the Clone method to use Activator.CreateInstance so that the
1769 correct subclass is returned. This fixes bug #67627
1771 2004-10-13 Atsushi Enomoto <atsushi@ximian.com>
1773 * DataSet.cs : clear UnhandledAttributes ArrayList before generating
1774 next element column schema. This fixes bug #68256.
1776 2004-10-12 Atsushi Enomoto <atsushi@ximian.com>
1778 * DataSet.cs : now xs:schema contains xmlns="".
1779 This fixes bug #68008.
1781 2004-10-12 Atsushi Enomoto <atsushi@ximian.com>
1783 * DataSet.cs : DBNull attribute column should not be written as
1784 empty attribute. This fixes bug #68007.
1786 2004-10-12 Atsushi Enomoto <atsushi@ximian.com>
1788 * DataSet.cs, XmlConstant.cs, XmlSchemaDataImporter.cs:
1789 DataColumn.ReadOnly was not handled. This fixes bug #68005.
1790 Attribute defaultValue was not handled too.
1792 2004-10-07 Atsushi Enomoto <atsushi@ximian.com>
1795 - When AllowDBNull is false on attribute DataColumn, its schema
1796 should contain use="required". This fixes bug #66792.
1797 - If MaxLength is set on attribute DataColumn, the mapped schema
1798 type should contain maxLength facet. This fixes bug #66793.
1800 2004-10-04 Atsushi Enomoto <atsushi@ximian.com>
1802 * DataSet.cs : For a row, when a relation is not nested, then it is
1803 still output target since it won't be written as a child of its
1804 parent. It fixes bug #66379.
1806 2004-10-03 Atsushi Enomoto <atsushi@ximian.com>
1808 * DataSet.cs : Attribute constraint field XPath must be written as
1809 @blah. This fixes bug #66366.
1811 2004-09-28 Umadevi S <sumadevi@novell.com>
1812 * DataRow.cs - checked for Enforceconstraints, while using indices to search for related rows
1814 2004-09-24 Sureshkumar T <tsureshkumar@novell.com>
1816 * DataSet.cs : Don't check constraints for dataset clear
1817 * DataRowCollection.cs : check for EnforceConstraints flag
1818 before checking foriegn key constraints in Clear method
1819 * DataTable.cs : Redundant checking removed in Clear method as it is
1820 checked in DataRowCollection.Clear method.
1823 2004-09-19 Sureshkumar T <tsureshkumar@novell.com>
1824 * DataRow.cs : while deserialization of dataset, adding a current row precedes the original row.
1825 hence, adding a row cache is necessary if the original row happens to be current.
1828 2004-08-23 Martin Baulig <martin@ximian.com>
1830 * XmlDataInferenceLoader.cs (Driver): Make this class internal,
1833 2004-08-18 Umadevi S <sumadevi@novell.com>
1834 * DataView.cs - Completed most of the event handling.
1835 Thanks to Punit Todi <punit_todi@da-iict.org> for implementing most of it.
1836 Thanks to Boris Kirzner <borisk@mainsoft.com> for commenting and suggesting changes to the implementation.
1837 * DataTable.cs - Changed Access modifiers of class/methods since it was used by DataView.
1839 2004-08-06 Atsushi Enomoto <atsushi@ximian.com>
1841 * DataSet.cs : DataSet's ExtendedProperties were not XmlConverted.
1843 2004-08-05 Atsushi Enomoto <atsushi@ximian.com>
1845 * XmlConstants.cs : Added constants for "msprop" support.
1846 * DataSet.cs : ExtendedProperties should be written in the schema.
1847 This fixes bug #61233.
1849 2004-07-27 Atsushi Enomoto <atsushi@ximian.com>
1851 * DataSet.cs : on serialization to XmlWriter, XmlConvert should be
1852 used. There were also some culture dependency problems to write int.
1854 2004-06-27 Atsushi Enomoto <atsushi@ximian.com>
1856 * XmlDataInferenceLoader.cs : It was not always filling relation
1857 child table information correctly. This fixes bug #60742.
1859 2004-06-23 Umadevi S <sumadevi@novell.com>
1860 * UniqueConstraint.cs :changed a ifdef true to ifdef NET_1_1
1862 2004-06-22 Atsushi Enomoto <atsushi@ximian.com>
1864 * DataSet.cs : Fixed ReadXml(). When ReadMode is ReadSchema and the
1865 schema is inside the document element (as created in XmlWriteMode
1866 .WriteSchema), it should read schema from that non-document element.
1867 This fixes one case reported in bug #60470.
1869 2004-06-20 Atsushi Enomoto <atsushi@ximian.com>
1871 * XmlDataInferenceLoader.cs : Kindly reject xml schema document as a
1872 inference target. For bug #60470. (MS does not support schema
1873 document inference and results in unconsistent dataset structure.)
1875 2004-06-20 Atsushi Enomoto <atsushi@ximian.com>
1877 * DataTableCollection.cs : reset the table's DataSet to null when
1878 removing a table from this collection.
1879 * DataTable.cs : When Namespace is not specified explicitly, its
1880 Namespace property reflects DataSet's Namespace if exist.
1881 This fixes bug #60469.
1883 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
1885 * DBConcurrentcyException.cs: CRLF to LF
1886 * DataViewSetting.cs: CRLF to LF
1888 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
1890 * DataViewSetting.cs: renamed fields to match MS.NET
1892 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
1894 * DBConcurrencyException.cs: fixed serialization compatibility with
1897 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
1899 * ChangeLog : Fix for misspelled words.
1901 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
1903 * DataRowCollection.cs : Removed onColumnRemoved since it is not in use.
1905 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
1908 - Table stores default values for columns in special default values row.
1909 It is allocated once (in NewRow).
1910 - DataTable.Copy rewrited. It works with uninitialized rows for better perfomance.
1911 - OnRemoveColumn has nothing to perform by now.
1913 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
1916 - Changed access of original, current and proposed indexes to internal.
1917 - ColumnErrors reviewed : now column errors stored in ArrayList and allocated on demand only.
1918 - Added new DataRow constructor that creates uninitialized DataRow (used in DataTable.Copy).
1919 - Use DataContainer.CopyValue and default values row for faster set of default values in row.
1920 - SetColumnValue become CheckValue. Now it does not changes the value, but only checks for its correctness.
1921 Care about Null and DBNull values is now in DataContainer.
1922 - Use DataColumn.AutoIncrementValue and GetInt64 for faster set of autoincrement value.
1923 - Use Datacontainer.CopyValue and default values row to speed up CheckChildRows.
1924 - Fix in CopyState : clone column errors.
1925 - Removed CollectionChanged and onColumnRemoved since we are not using both of them anymore.
1927 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
1929 * DataColumnCollection.cs :
1930 - Fix : Add() now delegates to Add(DataColumn).
1931 - autoIncrement list holds DataColumn objects, and not just column names.
1933 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
1936 - AutoIncrementValue fixes. Now AutoIncrement uses DataContainer.GetInt64 to avoid boxing.
1937 - DefaultValue fixes. Default value from now on is also stored in special record in
1938 DataTable, so we're able to set default value for the column faster (typed).
1941 2004-06-15 Atsushi Enomoto <atsushi@ximian.com>
1943 * DataSet.cs : children of non-root rows were not properly written.
1946 2004-06-10 Umadevi S <sumadevi@novell.com>
1947 * DataRelation.cs - Constructor
1948 - The datatypes of the parentcolumn(s) and the childcolumn(s) should match
1950 2004-06-06 Atsushi Enomoto <atsushi@ximian.com>
1952 * XmlSchemaDataImporter.cs : We should fill Namespace for DataTable.
1954 2004-06-04 Gert Driesen <drieseng@users.sourceforge.net>
1956 * Constraint.cs: marked methods internal to fix public API
1957 * ConstraintCollection.cs: to fix public API, use
1958 DataTable.fInitInProgress to check whether initialization
1959 of DataTable is in progress
1960 * DataColumn.cs: added stubs for missing methods
1961 * DataRowBuilder.cs: marked Table property internal to
1963 * DataSet.cs: removed extra empty destructor, marked
1964 OnMergeFailed internal to fix public API
1965 * DataTable.cs: use fInitInProgress field to hold init
1966 status, to match MS.NET
1967 * DataView.cs: added missing attributes on IsOpen
1969 2004-06-03 Atsushi Enomoto <atsushi@ximian.com>
1971 * DataSet.cs : Use NameTable.Get() before calling LookupNamespace()
1972 in XmlNamespaceManager.
1974 2004-06-03 Atsushi Enomoto <atsushi@ximian.com>
1976 * DataSet.cs : complex table content child was not properly added
1977 when it is the only one child in the parent table. Fixed bug #53959.
1979 2004-06-02 Gert Driesen <drieseng@users.sourceforge.net>
1980 * DataTableTypeConverter.cs: added
1981 * DataView.cs: added missing attribute on Table property
1982 * DataViewManager.cs: moved attribute to correct property
1983 * UniqueConstraint.cs: removed extra ReadOnly attribute from
1984 IsPrimaryKey property
1986 2004-06-01 Atsushi Enomoto <atsushi@ximian.com>
1988 * DataRow.cs : ColumnsChanged event is not required in .ctor().
1990 2004-06-01 Atsushi Enomoto <atsushi@ximian.com>
1992 * XmlDataReader.cs : type change is required before setting value
1995 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
1997 * DataSet.cs : Loop-break of the last fix was incorrect.
1999 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
2001 * DataSet.cs : When a row has no parent row but the table has parent
2002 relation(s), that row had been always ignored.
2004 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
2006 * XmlDataInferenceLoader.cs : Fixed GetMappedTable() that incorrectly
2007 rejected same-named tables in different hierarchy. Thanks to Boris.
2009 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
2011 * XmlDiffLoader.cs : Added some Skip() that is required not to go to
2012 infinite loop. Thanks to Boris for this fix.
2014 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
2016 * XmlDataInferenceLoader.cs : XmlSchema elements should not be infered.
2017 Thanks to Boris for this fix.
2019 2004-05-30 Atsushi Enomoto <atsushi@ximian.com>
2021 * DataTable.cs : serialization .ctor() should use XmlReadMode.DiffGram
2022 for ReadXml(). Thanks to Boris.
2024 2004-05-27 Boris Kirzner <borisk@mainsoft.com>
2026 - CheckReadOnlyStatus : use typed (and faster comparing).
2027 - EndEdit : bug fix - do not dispose record if it holds original version.
2028 - SetValuesFromDataRecord : Take care about autoincrement columns.
2031 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
2033 * MergeManager.cs : don't output debug message to Console.
2035 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
2037 * XmlDataInferenceLoader.cs : Namespace are not imported to the table
2038 structure. Thanks to Boris Kirzner for the fix.
2040 2004-05-27 Umadevi S <sumadevi@novell.com>
2041 * DataRelationCollection.cs - fixed nunit test errors
2043 2004-05-27 Umadevi S <sumadevi@novell.com>
2044 * DataTableCollection.cs - fixed nunit test errors
2046 2004-05-21 Atsushi Enomoto <atsushi@ximian.com>
2048 * DataColumnCollection.cs : NullReferenceException was thrown when
2049 the table was not found.
2050 * DataRowCollection.cs :
2051 Find() just returns null for null value under MS.NET 1.1.
2052 RemoveAt() should also avoid to call AcceptChanges() like Remove().
2053 * UniqueConstraint.cs : in AssertConstraint() throw ConstraintException
2054 directly under MS.NET (for nunit test).
2056 2004-05-21 Atsushi Enomoto <atsushi@ximian.com>
2058 * XmlSchemaDataImporter.cs : Setting startindex in LastIndexOf()
2059 caused problem on qualified name to get schema Field name.
2061 2004-05-21 Atsushi Enomoto <atsushi@ximian.com>
2063 * XmlDataReader.cs : Now data reader is namespace aware in all places.
2064 When table's namespace is different, it entered to infinite loop.
2066 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
2067 * MergeManager.cs : AdjustSchema now updates by reference new created table,
2068 so in Merge you do not need to lookup for it (were unable to do this for unnamed tables).
2071 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
2073 * DataColumn.cs : In set_Item[int] - if autoincrement, adjust next autoincrement value.
2074 * DataColumnCollection.cs : fixed parantethes.
2076 - AcceptChanges : do nothing if row state is unchanged.
2077 - GetChildRows, GetParentRows : bug fix (use correct index).
2078 * DataRowCollection.cs : bug fix (compare all row's values).
2079 * DataTable.cs : bug fix (use correct row version).
2081 2004-05-20 Atsushi Enomoto <atsushi@ximian.com>
2083 * XmlSchemaDataImporter.cs : xs:positiveInteger is mapped to ulong.
2084 When content type is Mixed, text column is not required (it is
2085 required only when the complex type has no particle).
2086 "Repeated element" column is also created (considering maxOccurs=0
2087 and complex content extension).
2089 2004-05-20 Atsushi Enomoto <atsushi@ximian.com>
2091 * XmlSchemaDataImporter.cs : XmlSchemaGroupBase was not handled
2094 2004-05-20 Atsushi Enomoto <atsushi@ximian.com>
2096 * XmlSchemaDataImporter.cs : Removed unused code and extra MonoTODO.
2097 Fixed relation inference to consider attribute XPath.
2099 2004-05-19 Atsushi Enomoto <atsushi@ximian.com>
2101 * DataColumn.cs : Fixed set_Item[int]. Convert.ToInt64(DBNull.Value)
2104 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
2106 * DataColumn.cs - removed default member attribute.
2108 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
2111 DataColumnChangeEventArgs.cs,
2112 DataColumnCollection.cs,
2114 DataRowCollection.cs,
2116 Index.cs : Data storage in the row is redesigned. Now data is stored in
2117 typed containers inside DataColumn. Row holds its versions as indexes inside
2118 each of data container, accessed through the row that holds it.
2120 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
2122 * UniqueConstraint.cs - added comment.
2124 2004-05-19 Atsushi Enomoto <atsushi@ximian.com>
2126 * XmlDataInferenceLoader.cs : Don't add already-existing DataTable to
2129 2004-05-17 Atsushi Enomoto <atsushi@ximian.com>
2132 XmlDataInferenceLoader.cs,
2134 XmlSchemaDataImporter.cs : XmlDecode every local name to read and
2135 XmlEncode every local name to write. This should fix bug #58268.
2137 2004-05-17 Atsushi Enomoto <atsushi@ximian.com>
2139 * DataSet.cs : Implemented ignored namespaces in InferXmlSchema().
2140 Supported repeated elements. Removed MonoTODOs.
2141 * XmlDataInferenceLoader.cs : Design change to support ignored
2142 namespace and repeated elements.
2143 * XmlSchemaDataImporter.cs : Added mapping support classes.
2145 2004-05-15 Atsushi Enomoto <atsushi@ximian.com>
2147 * CustomDataClassGenerator.cs :
2148 Added property parent "[foo]Row" and children "Get[foo]Row" support
2149 for custom DataRow classes.
2150 Fixed DataColumn property accessibility (public --> internal).
2152 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
2154 * CustomDataClassGenerator.cs :
2155 - Put classes inside custom DataSet class.
2156 - Added automatic DataRelation creation support.
2157 - Added Constraints creation support. That is done separate from
2158 relations, since they might be independently created.
2159 - Added non-MS public DataRelation fields.
2160 - Removed extraneous "DataRelation type generation" code.
2161 - Fixed custom_dataset.Initialize() not to create "c" field that
2162 was created more than once.
2163 - Implemented AddxxxRow() that takes parameters for every column.
2165 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
2167 * XmlSchemaDataImporter.cs : When primary key is used more than once,
2168 DataRelation borked because of empty parent column name.
2170 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
2172 * XmlSchemaDataImporter.cs : When Creating constraints with related
2173 to DataRelation creation, also set PrimaryKey to the parent table.
2175 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
2177 * XmlSchemaDataImporter.cs :
2178 Design change to add indirect table and relation structures.
2179 Support for "relation" annotation for local element.
2180 Support for repeatable simple element column (maxOccurs > 1).
2181 Fixed handling of Nested property on DataRelation (for globally
2182 annotated relation, Nested is false).
2184 2004-05-13 Atsushi Enomoto <atsushi@ximian.com>
2186 * DataRow.cs : Added DataElement property to avoid storing every row-
2187 element mapping. It stored even for nodes that should be removed.
2189 2004-05-13 Umadevi S <sumadevi@novell.com>
2191 * RelationshipConverter.cs - Stubbed this class
2192 * DataRelation.cs - added TypeConveterAttribute
2194 2004-05-13 Umadevi S <sumadevi@novell.com>
2196 * DataColumnCollection.cs - Added ResDescriptionAttribute
2197 * DataRelation.cs - Added TypeConverterAttribute
2198 * DataRelationCollection.cs - Added DefaultPropertyAttribute
2199 * DataRowView.cs - Added GetHashCode method with a TODO tag
2200 * DataSet.cs - Added DesignerAttribute
2201 * DataView.cs - Added DesignerAttribute
2202 * DataViewManager.cs - Added DesignerAttribute
2203 * DataViewSetting.cs - Added TypeConverterAttribute
2205 2004-05-12 Atsushi Enomoto <atsushi@ximian.com>
2207 * DataRow.cs : Added XmlDataElement initialization code.
2209 2004-05-11 Atsushi Enomoto <atsushi@ximian.com>
2211 * XmlDataInferenceLoader.cs :
2212 It now requires XmlDocument as input. Improved identification of
2213 DataSet element. Removed extra lines.
2214 Moved boresome design notes to bottom of the source and
2215 added standalone runnable driver (not included on build).
2217 Update with related to the change above.
2218 WriteXml() should call Flush() after writing. This fixes bug #58327.
2219 * XmlSchemaDataImporter.cs :
2220 Improved indentification of DataSet element.
2222 2004-05-11 Gert Driesen (drieseng@users.sourceforge.net)
2223 * DataTable: marked initStatus enum internal
2225 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
2226 * DataTable.cs: removed TypeConverterAttribute, marked RowsExist
2228 * DataRowView.cs: removed extra Error property
2229 * DataRow.cs: reduced accessibility of CollectionChanged method
2231 * DataColumnPropertyDescriptor.cs: made class internal
2232 * DataColumn.cs: removed extra TypeConvertorAttribute
2233 * ConstrainCollection.cs: marked PostEndInit method internal
2235 2004-05-07 Atsushi Enomoto <atsushi@ximian.com>
2238 In WriteXmlSchema(), when complex type contains simple type content
2239 attributes must not added to XmlSchemaComplexType directly. It
2240 causes schema compilation error.
2241 DataRelation should not be output when related columns are hidden.
2243 2004-05-07 Atsushi Enomoto <atsushi@ximian.com>
2245 * XmlDataInferenceReader.cs : Added. It does InferXmlSchema() (it is
2246 also expected to do ReadXml(), but I will remove that feature and
2247 support column reordering).
2248 * XmlSchemaDataImporter.cs : Always initialize dataset name.
2249 Always set Nested and primary key for parent table.
2250 * XmlDataReader.cs : Now it is used.
2251 Top level element might not match to dataset name nor any table
2252 name, but still possible to read content tables.
2253 Handle empty element correctly in some places.
2254 Handle Fragment mode (read up XmlReader to the end).
2255 * DataSet.cs : Modified InferXmlSchema() and ReadXml() to use
2256 XmlDataInferenceLoader and XmlDataReader.
2258 2004-05-06 Atsushi Enomoto <atsushi@ximian.com>
2261 Eliminated CRLF injection.
2262 More clear message in Clear().
2263 Updates reflecting XmlSchemaDataImporter change.
2264 Added duplicate check for XmlSerializerNamespaces in BuildSchema().
2265 Don't use xmlns attribute for UnhandledAttributes (its not mandatory
2266 but that depends on different behavior from ms.net).
2267 Set locale also for DataTable.
2268 Add xs:element only when target namespace matches to the
2269 element's namespace. Otherwise, add xs:import for external namespace.
2270 Put xs:sequence for dataset element's particle _only when_ actual
2273 2004-05-06 Atsushi Enomoto <atsushi@ximian.com>
2275 * XmlDataReader.cs : Added. This class will work better when our
2276 schema inference and schema read engine gets improved. (It contains
2277 standalone testable Driver class.)
2279 2004-05-06 Atsushi Enomoto <atsushi@ximian.com>
2281 * ForeignKeyConstraint.cs : Check step change. Existence then column
2282 validity. just for tests.
2283 * XmlSchemaDataImporter.cs : code simplification. reduced extraneous
2286 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
2288 * DataSet.cs : Ignore empty content only when output type is diffgram.
2290 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
2292 * CustomDataClassGenerator.cs : Modified that DataSet contains each
2293 DataTable field so that each table property can access them directly.
2294 (plus, modified standalone code driver code: shouldn't affect)
2296 2004-05-05 Boris Kirzner <borisk@mainsoft.com>
2298 * DataView.cs , DataRowView.cs : Added implementation to basic methods and properties.
2300 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
2302 * XmlSchemaDataImporter.cs :
2303 SimpleContent column support.
2304 Annotated relation support.
2305 Top-level element is counted only when its type is complex.
2306 xs:anyType is no longer treated as complex type.
2307 dataset existence is mandatory now.
2308 Improved DataType and DefaultValue support.
2309 Attribute namespace is properly handled now.
2310 Prohibited attribute is now treated as hidden column.
2311 Reject list or union simple type.
2313 Still incomplete 1) to read relationship in some cases, 2) to
2314 determine whether an element is dataset or table, 3) thus to
2315 exclude extraneous column, 4) to remove extraneous *_Id column.
2317 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
2320 We had better reuse DataSet's ReadXmlSchema() and ReadXml() in
2321 serialization .ctor() (thus schema read/inference should be easier).
2322 DataRowSorter should consider Table's Locale.
2324 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
2326 * DataColumnCollection.cs : We already had AutoIncrementValue(), so
2327 use it instead of duplicating logic.
2329 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
2331 * ConstraintCollection.cs :
2332 Use Table.CaseSensitive and Table.Locale to compare strings.
2333 Duplicate constraint name exception does not occur under .NET 1.1.
2335 2004-05-04 Lluis Sanchez Gual <lluis@ximian.com>
2337 * XmlSchemaDataImporter.cs: Added little type check.
2339 2004-05-04 Lluis Sanchez Gual <lluis@ximian.com>
2341 * DataSet.cs: Implemented support for runtime serialization. Fixed support
2342 for xml serialization.
2343 * XmlDiffLoader.cs: Skip diffgram element when it is empty.
2345 2004-04-30 Umadevi S <sumadevi@novell.com>
2346 * DataColumnCollection.cs : Fixed nunit test errors, removed TODOs
2347 * DataTableCollection.cs : Tested and removed TODO
2348 * TypedDataSetGeneratorException.cs : Fixed a couple of TODOs
2350 2004-04-29 Atsushi Enomoto <atsushi@ximian.com>
2352 * DataRow.cs : My previous patch unintentionally reverted Boris patch.
2354 2004-04-29 Boris Kirzner <borisk@mainsoft.com>
2356 * UniqueConstraint.cs : Constraint columns becaomes unique after adding constraint ifand only if
2357 constraint is defined on single column.
2359 2004-04-29 Atsushi Enomoto <atsushi@ximian.com>
2361 * DataRowCollection.cs : .NET 1.1 throws InvalidConstaintException,
2362 not ArgumentException (maybe changed after 1.1).
2364 2004-04-29 Atsushi Enomoto <atsushi@ximian.com>
2366 * DataRow.cs : When Column was added and it was AutoIncrement column,
2367 it extended the item object array incorrectly.
2368 (Plus tiny comment and incorrect indentation fix.)
2370 2004-04-29 Boris Kirzner <borisk@mainsoft.com>
2372 * MergeManager.cs : added ( incomplete yet ) support for merging DataSet schema.
2374 2004-04-29 Boris Kirzner <borisk@mainsoft.com>
2376 * DataRow.cs : Bug fix in CopyValuesToRow().
2378 2004-04-29 Boris Kirzner <borisk@mainsoft.com>
2380 * UniqueConstraint.cs : There is no reason to mark constraint's columns as unique, because
2381 each of the columns should not be unique, but only all the constraint's columns together.
2383 2004-04-28 Boris Kirzner <borisk@mainsoft.com>
2386 - Added using of list of autoIncrement columns
2387 - SetColumnValue receives also DataColumn to avoid duplicate lookup in DatacolumnCollection
2388 - Fix in CheckNullConstraints
2389 - Fix in this[] and HasVersion() : when evaluating an expression deleted rows values can be accessed.
2390 - Fix in SetColumnValue() , added CanAccess() method to avoid case of accessing internal array values berore it actually allocated.
2391 - Added onColumnRemoved() method to threat column removal accurately.
2393 * DataRowCollection.cs :
2394 - Added using of DataRow._nullConstraintViolation (for perfomance fix in EndLoadData())
2395 - Added method onColumnRemoved() - calls each row's onColumnRemoved() (to ensure column removal is treated accurately)
2398 - Call DataRowCollection.onColumnRemoved() in OnRemoveColumn() (to ensure column removal is treated accurately)
2400 * DataColumnCollection.cs :
2401 - Perfomance fixes :
2402 - collection holds a list of its autoIncrement columns (avoids unnesessary lookup through whole collection)
2403 - collection holds mapping from column names to DataColumn objects (avoids lookup through whole collection).
2404 - automatic creation of column names rewrited (bug fixes + perfomance improvement)
2407 - Uses autoincrement list of a table
2409 2004-04-27 Atsushi Enomoto <atsushi@ximian.com>
2411 * XmlDataLoader.cs : Even when it should ignore schema, it was
2413 * XmlSchemaDataImporter.cs : DataRelation creation support.
2414 Improved "DataSet" element handing. When attributes are on the
2415 element, it is not a "DataSet" element.
2416 Fixed parent key column name.
2417 Unique name creation is not required. Just raise an error.
2418 Fill facet also for attribute types.
2420 2004-04-27 Atsushi Enomoto <atsushi@ximian.com>
2422 * DataRow.cs : Null check for CheckReadOnlyStatus() and
2423 CheckNullConstraints(), with some coding guideline fixes.
2424 Type check should be done by Type instance comparison.
2426 2004-04-27 Atsushi Enomoto <atsushi@ximian.com>
2428 * DataColumnCollection.cs : When add a column to the collection, fill
2429 auto-increment column.
2431 2004-04-26 Boris Kirzner <borisk@mainsoft.com>
2433 * DataColumn.cs : Small perfomance fix (avoid unnesessary string concatenation).
2435 2004-04-26 Atsushi Enomoto <atsushi@ximian.com>
2437 * CustomDataClassGenerator.cs : Added.
2438 * TypedDataSetGenerator.cs : Implemented Generate().
2439 Changed GenerateIdName() to call CustomDataClassGenerator.MakeSafeName
2440 * XmlSchemaDataImporter.cs : Table Locale should be supplied.
2442 2004-04-25 Boris Kirzner <borisk@mainsoft.com>
2444 * DataTable.cs : Small perfomance fix (avoid unnesessary string concatenation).
2446 2004-04-25 Boris Kirzner <borisk@mainsoft.com>
2448 * Constraint.cs : Small perfomance fix (avoid unnesessary string concatenation).
2450 2004-04-23 Umadevi S (sumadevi@novell.com)
2451 * DataRow.cs: Checked BeginEdit,EndEdit,CancelEdit and Delete methods
2452 - Added error handling to the above methods
2454 2004-04-22 Atsushi Enomoto <atsushi@ximian.com>
2456 * DataSet.cs : Data should be read when mode is IgnoreSchema (well,
2457 the support is incomplete yet).
2458 * XmlDataLoader.cs :
2459 Reverted ReadModeSchema() argument change. XmlReadMode would be
2460 useful to handle IgnoreSchema.
2461 Don't overwrite DataSetName when mode is not such kind.
2462 Set Prefix and Namespace as well as DataSetName.
2463 AllowDBNull looks set false by default for element column.
2464 Set unique constraint as primary key when infering the table schema.
2466 2004-04-21 Atsushi Enomoto <atsushi@ximian.com>
2469 Never set null string for Prefix and Namespace.
2470 In InferXmlSchema() when null XmlReader is passed, just do nothing.
2471 In WriteXmlSchema(string), earlier try block.
2472 In BuildSchema(), try to add serialization namespaces for each
2473 namespaces in DataSet/DataTable/DataColumn.
2474 Removed namespace argument from WriteColumnAsElement() and don't
2475 overwrite when namespace is "". This fixes bug #57330.
2476 * DataColumn.cs : For Namespace and Prefix, never set null.
2478 2004-04-21 Boris Kirzner <borisk@mainsoft.com>
2480 * XmlSchemaMapper.cs : Check for not null unique constraint in ReadXmlSchemaKeyref()
2481 before creating and adding foreign key constraint and relation.
2483 2004-04-21 Boris Kirzner <borisk@mainsoft.com>
2485 * MergeManager.cs : In AdjustSchema() source table clone should be added
2486 and not the table itself.
2488 2004-04-21 Boris Kirzner <borisk@mainsoft.com>
2491 - CaseSensitive : Additional fix (removed unnesessary assignment).
2492 - CopyProperties : Do not try to copy ExtendedProperties if the collection is empty.
2494 2004-04-21 Boris Kirzner <borisk@mainsoft.com>
2496 * DataTable.cs : Ensure that DataSet property is not null before using it in Clear().
2498 2004-04-20 Boris Kirzner <borisk@mainsoft.com>
2501 - EndLoadData() : perfomance fix in case of null constraint violation
2502 during data load (also in DataRow.cs).
2503 - CaseSensitive : If DataTable belongs to DataSet it should always use
2504 DataSet.CaseSensitive untill explicitly changed.
2505 - CopyProperties() : do not try to copy ExtendedProperties if the collection is empty.
2508 - Pefromance fix in case of null constraint violation
2509 during data load (also in DataTable.cs).
2510 - CollectionChanged() : use correct column number after new DataColumn was added
2511 (differs in case some DataColumn was previosly removed).
2512 - EndEdit() - throw away proposed values only after CheckChildRows() complete.
2514 2004-04-20 Boris Kirzner <borisk@mainsoft.com>
2516 * DataColumnCollection.cs : Since unique constraint is added now
2517 in DataColumn.SetTable() the additional creation of constraint in
2518 DataColumnCollection.Add() is redundant and causes exception - fixed.
2520 2004-04-19 Atsushi Enomoto <atsushi@ximian.com>
2522 * XmlDataLoader.cs : Added "never add data rows" mode.
2523 Removed unused code. However, it is temporary fixes to unify
2524 ReadXml() and InferXmlSchema().
2525 * DataSet.cs : Implemented InferXmlSchema(), though it is incomplete.
2527 I'll create another XmlDataLoader since there are many problems
2528 such that 1) it is too waste to read the entire xml into an
2529 XmlDocument, 2) it does not handle attributes correctly, and 3) it
2530 must handle "ignored namespaces".
2532 2004-04-19 Atsushi Enomoto <atsushi@ximian.com>
2534 * Added XmlSchemaDataImporter.cs (new schema reader).
2535 * DataSet.cs : Use XmlSchemaDataImporter (right now for DataSet only)
2536 for ReadXmlSchema().
2537 Let schema reading work to ReadXmlSchema().
2538 Don't return ReadSchema when argument read mode was DiffGram.
2540 2004-04-15 Umadevi S (sumadevi@novell.com)
2541 * Updated Clone/Copy methods in DataSet along with Testcase
2542 * ForeignKeyConstraint.cs - special ctor implemented
2543 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).
2544 * Changes in ConstraintCollection.cs for the above
2545 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.
2548 2004-04-15 Atsushi Enomoto <atsushi@ximian.com>
2550 * XmlSchemaMapper.cs : set parent key and foreign key info to
2551 DataRelation when reading refkey constraints.
2552 Supply constraint name for fkey.
2554 2004-04-15 Atsushi Enomoto <atsushi@ximian.com>
2556 * XmlDataLoader.cs : Don't overwrite existing DataSetName. When read
2557 mode is Auto, just ignore the schema if there is already schema info.
2558 * DataSet.cs : Similarly ignore schema info for XmlReadMode = Auto.
2560 2004-04-14 Atsushi Enomoto <atsushi@ximian.com>
2563 - In MS output, XML declaration looks to have standalone decl (yes).
2564 - ReadXml(reader) just calls to ReadXml(reader, XmlReadMode.Auto)
2565 - ReadXml(reader, mode)
2566 1) return originally specified mode, instead of (always) Auto.
2567 2) Check empty reader.
2568 3) Check diffgram schema and content separately.
2569 4) When diffgram exists, remaining (the same-level) contents
2571 5) Similar fact should be applied, but somewhat different.
2572 InferSchema and IgnoreSchema just skips, Fragment reads both
2573 schema and content, others just reads schema.
2574 - Removed unused code.
2575 * XmlDataLoader.cs :
2576 - Read() should skip in some ReadMode.
2577 - Don't compare schema element name as case-insensitive (well,
2578 should schemas be checked here?)
2579 - Avoided BuildDocument() not to create confusing DataSet
2581 - Don't add any tables when reader has single element.
2582 * XmlDiffLoader.cs :
2583 When target table was not found, MS.NET doesn't raise an error.
2584 * XmlSchemaMapper.cs :
2585 When XmlSchema.Read() left xml reader at </xs:schema>, read once.
2587 2004-04-13 Atsushi Enomoto <atsushi@ximian.com>
2590 - InferXmlSchema(): Throw explicit NotImplementedException now.
2591 - Don't put XML declaration everywhere. Write just for filename arg.
2592 - xmlns="" should not be written. Maybe WebService problem is
2593 because default namespace is overwritten. This patch will keep
2594 the WS problem away and actually fixes some unit tests (i.e. use
2595 explicit String.Empty for null namespace in WriteStartElement()).
2596 - MoveToContent() should always be called, not only when
2597 LocalName="xml". It will ignore prolog (DTD, PI, comment etc.).
2598 - Even XmlReadMode is DiffGram, reader might not be "diffgram"
2599 element. As to MSDN, diffgram does not contain schema.
2601 2004-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2603 * DataTable.cs: made _initStatus private so that System.Data is CLS
2606 2004-04-13 Umadevi S <sumadevi@novell.com>
2607 * UniqueConstraint.cs:
2608 * ConstraintCollection.cs:
2610 - Implemented a Constructor for UniqueConstraint.cs
2611 - Used EndInit on DataTable to call a delegate which adds the
2612 constraints passed to the most recent call of AddRange().Used
2613 AddRange() on ConstraintCollection to check whether
2614 DataTable.BeginInit has occurred. If yes, save the argument
2615 constraint collection passed, then return. If no, Check whether the
2616 constraints are of type UniqueConstraint and initialized with the
2617 special constructor If yes Initialized the table property of this
2618 UniqueConstraint object with table assosciated with the current
2619 instance of ConstraintCollection class.
2621 2004-04-07 Marek Safar <marek.safar@seznam.cz>
2623 * Constraint.cs: changed ClsCompliant to CLSCompliant, build fix.
2625 2004-04-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2628 * DataColumnCollection.cs:
2629 * DataRelationCollection.cs:
2630 * DataRowCollection.cs:
2631 * DataTableCollection.cs:
2632 * InternalDataCollectionBase.cs:
2633 * Node.cs: CLS compliance for System.Data. Patch by Gert Driesen.
2636 2004-04-05 Jackson Harper <jackson@ximian.com>
2638 * DataTable.cs: Add rows to the row list if there is no filter.
2640 2004-03-31 Juraj Skripsky <juraj@hotfeet.ch>
2642 * DataColumn.cs : Setting Caption to null sets it to the empty string
2643 (ms.net behaviour, testcase is in DataColumnTest).
2645 * DataRow.cs : Evaluate DataColumn.Expression when such a column's
2648 2004-03-30 Lluis Sanchez Gual <lluis@ximian.com>
2650 * DataColumn.cs: In Expression setter, set the expression member even if
2651 it is an empty string.
2652 * DataSet.cs: Support serialization of byte[] columns.
2653 * XmlDataLoader.cs: Support deserialization of Guid columns.
2654 Set MappingType.Attribute to columns infered from attributes.
2656 2004-03-29 Juraj Skripsky <juraj@hotfeet.ch>
2658 * ExpressionElements.cs : remove
2659 * DataColumn.cs, DataRelationCollection.cs, DataTable.cs :
2660 Integration of new Mono.Data.SqlExpressions classes used in
2661 DataTable.{Select, Compute}.
2662 Fixes bug #55503 and lots of failures in DataTableTest.cs.
2664 2004-03-28 Juraj Skripsky <juraj@hotfeet.ch>
2666 * Index.cs: Simple fix in ComparePartialRowNonUnique.
2667 This fixes bugs #56129 and #56014.
2669 2004-03-25 Lluis Sanchez Gual <lluis@ximian.com>
2671 * DataSet.cs: In WriteXml (string filename, XmlWriteMode mode), close the
2672 stream after writing the dataset. This fixes bug #52581.
2673 Also added several writer.Close into finally blocks, so writers are properly
2674 closed in case of an exception.
2676 2004-03-12 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2678 * Constraint.cs: DO NOT USE the consts scheme if types can be referenced directly!
2679 * DataColumn.cs: DO NOT USE the consts scheme if types can be referenced directly!
2680 * ColumnTypeConverter.cs: Added stub
2681 * DefaultValueTypeConverter: Added stub
2682 * ConstraintConverter.cs: Added stub
2684 2004-03-04 Eran Domb <erand@mainsoft.com>
2686 * XmlDataLoader.cs : Xml reading reviewed. Added support for additional xml formats as described
2687 in MS.NET documentation (missing DataSet element etc).
2689 2004-03-04 Eran Domb <erand@mainsoft.com>
2692 * Index.cs : Rollback last changes.
2694 2004-03-03 Atsushi Enomoto <atsushi@ximian.com>
2696 * Index.cs : justa build fix.
2698 2004-03-03 Eran Domb <erand@mainsoft.com>
2701 * Constraint.cs, ForeignKeyConstraint.cs, UniqueConstraint, ConstraintCollection.cs, DataColumn.cs,
2702 DataRow.cs, DataRowCollection.cs, DataSet.cs, DataTable.cs : Changes made for using indexes on tables.
2703 This changes made for performance improvement.
2705 2004-02-08 Eran Domb <erand@mainsoft.com>
2707 * XmlSchemaMapper.cs : Read columns is they were written as SimpleContent or as Attributes.
2709 2004-02-08 Eran Domb <erand@mainsoft.com>
2711 * DataSet.cs: Fix some bugs in ReadXml().
2713 2004-02-04 Lluis Sanchez Gual <lluis@ximian.com>
2715 * DataSet.cs: Added missing method that broke the build.
2717 2004-02-04 Eran Domb <erand@mainsoft.com>
2719 * DataRowCollection.cs (InsertAt): Add a check for null row. Replace check of IndexOf with RowId for
2721 * DataSet.cs (GetTableSchema) : Add supprot for simple content columns. Change the condition for a case
2722 when all column are attributes (elements count is 0), we still want to add the relations. No relations
2723 can be on simple contents.
2724 (AddUniqueConstraints) Check that the column of the constraint are not hidden.
2725 (AddForeignKeys) Check that the relation has constraints attach to it.
2726 * XmlConstants.cs : Added constant.
2728 2004-02-04 Eran Domb <erand@mainsoft.com>
2730 * DataSet.cs : GetSchemaSerializable() return null and not BuildSchema().
2731 DoWriteXmlSchema calls BuildSchema ().
2733 2004-02-04 Lluis Sanchez Gual <lluis@ximian.com>
2735 * DataRow.cs: Added SetOriginalValue(), which is used to set the original
2737 * DataRowCollection.cs: In InsertAt(), perform the correct checks and
2739 * DataSet.cs: Fixed method GetChanges(): Parent rows of modified rows must
2740 also be added to the dataset.
2741 In WriteTable(), do not write unchanged rows when writing the original
2742 version of the table.
2743 Added WriteIndividualTableContent(), for writing the contents of a single
2745 Changed BuildSchema and related methods, so it can generate a schema for
2746 any set of tables, not just the tables of the dataset (needed for
2747 single datatable serialization).
2748 * DataTable.cs: Implemented serialization constructor and GetObjectData method.
2749 Also implemented some ReadXmlSchema methods.
2750 * XmlDiffLoader.cs: Read and process the xml document directly from XmlReader,
2751 instead of loading the full dataset in an XmlDocument. It is faster and
2752 saves memory. Also fixed several problems when generating the changes.
2753 * XmlSchemaMapper.cs: Support reading schemas for single tables (used by
2754 table serialization).
2756 2004-02-02 Eran Domb <erand@mainsoft.com>
2758 * DataSet.cs : Add indentation to the xml serialization only if we create the XmlWriter.
2759 Add the namespace attribute even if namespace is an empty string for inteoperability with MS.NET.
2760 * DataTable.cs (NewRow): Create only one DataRowBuilder.
2761 Initiate new row with row id -1.
2762 * DataRow.cs : Add RowId property.
2763 * DataRowBuilder.cs : Add _rowId member.
2764 * DataRowCollection.cs (Add) : Use the RowId property of the new row to check if it is already exists in the collection.
2766 2004-01-26 Eran Domb <erand@mainsoft.com>
2768 * XmlConstants.cs : Added some constants.
2769 * DataColumn.cs : Added a method to retrive AutoIncrement value.
2770 * XmlDataLoader.cs : Set the value of the foriegn key column, according to the value of the
2771 parent table column.
2772 * XmlDiffLoader.cs : Convert the value comming from the xml.
2773 * XmlSchemaMapper.cs (Read) : Set the DataSet namespace.
2774 (ReadXmlSchemaSequence) : Change the logic that decides if this element is a column or a table.
2775 (ReadXmlSchemaElement) : Set the locale of the dataset.
2776 (ReadColumn) : Set the column type. Find if the column is AutoIncrement.
2777 (GetColumnType) : New method to get the column type from the attribute value.
2778 (ReadXmlSchemaUnique) : Improve parsing of XPath. Set the constraint as a PK if needed,
2779 and add the constraint to the table.
2780 (ReadXmlSchemaKeyref) : Improve parsing of XPath. Create the FK constraint and add it to
2782 * DataSet.cs : Improving writing of unique constraints, and foriegn key constraint. Givving them the correct names.
2783 Writing more information to the schema for interoperability with ms.net.
2784 Improve diffgarm writing mode.
2787 2004-01-21 Atsushi Enomoto <atsushi@ximian.com>
2789 * TypedDataSetGenerator.cs : Implemented GenerateIdName().
2791 2004-01-21 Eran Domb <erand@mainsoft.com>
2793 * XmlDataLoader.cs (AddRowToTable) : Give thre new relation correct name.
2794 Do not set the child column to be AutoIncrement.
2795 Create the new column for the relation as MappingType.Hidden so they will not be serialized
2796 when writing the dataset to xml.
2798 2004-01-20 Atsushi Enomoto <atsushi@ximian.com>
2800 * Added missing TypedDataSetGenerator.cs.
2802 2004-01-08 Eran Domb <erand@mainsoft.com>
2804 * XmlSchemaMapper.cs : Fix a bug. Check if table already in DataSet before adding it.
2805 * DataSet.cs (ReadXml) : Fix bugs. Read correctly the xml file with XmlReadMode of DiffGram,
2806 InferSchema, ReadSchema and IgnoreSchema.
2807 * XmlDataLoader.cs : All modes use the same logic.
2808 * XmlDiffLoader.cs : Adding BuildXmlDocument method to the class.
2810 2004-01-06 Eran Domb <erand@mainsoft.com>
2812 * DataRelationCollection.cs : Use IndexOf in indexer.
2813 * DataSet.cs : Adding support for WriteXml with diffgram. Code style changes.
2814 * XmlDataLoader.cs : Set the DataSet.enforceConstraints to false before loading the tables.
2815 * XmlDiffLoader.cs : Reading nested tables.
2816 * XmlSchemaMapper.cs : Reading the relation.
2817 * XmlConstants.cs : Adding some constants.
2819 2004-01-05 Jackson Harper <jackson@ximian.com>
2821 * DataView.cs: Set readonly property of property descriptor. This
2824 2004-01-01 Sanjay Gupta <gsanjay@novell.com>
2826 * DataRelationCollection.cs : Fixed incorrect generation of default
2828 * DataSet.cs : Added missing functionality in WriteXml().
2829 * XmlConstants.cs : Added new constants.
2831 2003-12-27 Atsushi Enomoto <atsushi@ximian.com>
2833 * DataSet.cs : Fixed incorrect WriteXml() signature.
2835 2003-12-18 Jackson Harper <jackson@ximian.com>
2837 * DataView.cs: Implement AddNew, Delete, and OnListChanged.
2839 2003-12-17 Atsushi Enomoto <atsushi@ximian.com>
2841 * DataSet.cs, XmlDataLoader.cs : Table name should be encoded before
2842 they take shape of xml. This fixed bug #52240
2844 2003-12-16 Tim Coleman <tim@timcoleman.com>
2845 * KeyRestrictionBehavior.cs:
2846 New stubs added for .NET 1.2
2850 2003-12-08 Eran Domb <erand@mainsoft.com>
2851 * DataColumn.cs (Expression) : Validate the expression.
2853 * DataRelationCollection.cs (IndexOf) : Added new method sensetive to case differences in relation name.
2854 (Contains, IndexOf, this[], Add) : Call new IndexOf when needed.
2856 * DataRow.cs (this[]) : Fix the condition for throwing RowNotInTableException.
2857 (RejectChanges) : Detach row when state was Added.
2858 (CollectionChanged) : Fix a bug.
2860 * ExpressionElement (ValidateExpression) : Fix a bug.
2862 * ForeignKeyConstraint.cs (AssertConstraint) : Added implementation. Check all rows from child table have
2863 a parent row in the parent table.
2864 (_validateColumns) : Fix bugs.
2866 * MergeManager.cs (AdjustSchema) : Fix a bug.
2868 * XmlDataLoader.cs (ReadModeInferSchema) : Change implementation. Now we can read nested xml, and we generate the relations
2871 2003-11-30 Eran Domb <erand@mainsoft.com>
2872 * DataColumnCollection.cs (this[string name]) : Use IndexOf to find the column.
2873 (Add) : Find if the new column name is the same as the one found in IndexOf.
2874 (IndexOf) : New method.
2875 (Contains) : Use new IndexOf.
2876 (IndexOf) : Use new IndexOf.
2878 * DataRelationCollection.cs (DataRelationCollection.AddCore) : Add The Relation to the collection.
2879 (DataSetRelationCollection.AddCore) : First add the UniqueConstraint.
2881 * DataRow.cs (this[int columnIndex, DataRowVersion version]) : Change exceptions.
2882 (Delete) : Detach row if the RowState was Added.
2883 (GetChildRows) : Get the array form the ChildTable.
2884 (GetParentRows) : Get the array from the ParenTable.
2886 * DataRowCollection.cs (Remove) : Check if row state is Detached to avoid exception.
2888 * DataSet.cs (IXmlSerializable.ReadXml) : Do not call MoveToContent and ReadEndElement - the XmlSerializationReader does it.
2890 * DataTable.cs (PrimaryKey) : Fix bugs.
2891 (Compute) : First call Select. Then create ExpressionAggregate to aggregate the Select result.
2893 * DataTableCollection.cs (Add) : Fix a bug.
2895 * ExpressionElement.cs (ValidateExpression) : Turning ValidateExpression to static.
2896 (Result) : Added new interface to AggregateExpression that get DataRow[] as a param.
2897 Some code style changes (tab instead of whit spaces, alignment, etc...).
2899 * ForeignKeyConstraint.cs (_validateColumns) : Throw correct exception.
2901 * MergeManager.cs (AdjustSchema) : Fix a bug.
2905 2003-11-26 Miguel de Icaza <miguel@ximian.com>
2907 * DataSet.cs: Add a few more missing methods, code style updated
2910 2003-11-26 Tim Coleman <tim@timcoleman.com>
2912 * ConflictOptions.cs DataAdapterException.cs DataTableReader.cs
2913 * DbMetaData.cs FillOptions.cs IDataReader2.cs IDataRecord2.cs
2914 * IDataUpdatableRecord.cs IDbAsyncCommand.cs IDbAsyncConnection.cs
2915 * IDbExecutionContext.cs IGetTypedData.cs ISetTypedData.cs
2916 * LoadOption.cs OperationAbortedException.cs ResultSetOptions.cs
2917 * ResultSetSensitivity.cs StatementCompletedEventArgs.cs
2918 * StatementCompletedEventHandler.cs UpdateOptions.cs:
2919 New classes added for NET_2_0
2920 * DBConcurrencyException.cs DataRelation.cs DataSet.cs DataTable.cs
2921 * DataTableCollection.cs DataView.cs ForeignKeyConstraint.cs:
2922 Modifications to add new NET_2_0 functions
2924 2003-11-25 Tim Coleman <tim@timcoleman.com>
2928 2003-11-21 Pedro Martínez Juliá <yoros@wanadoo.es>
2930 * DataRow.cs: Detached row can be accesible (new rows from data
2931 table are detached). Closes but #51263.
2933 2003-11-19 Eran Domb <erand@mainsoft.com>
2934 * DataRow.cs : Throw exceptions if Row is Detached.
2935 (EndEdit) : Check that we are not in middle of ChangeEvent.
2936 (AcceptChanges) : Detach the row.
2938 * DataRelation.cs : throw correct exception.
2939 *UniqueConstraint.cs : throw correct exception.
2942 2003-11-09 Pedro Martínez Juliá <yoros@wanadoo.es>
2944 * DataRow.cs: Use RemoveInternal instead of Remove because the last
2945 one uses Delete and AcceptChanges.
2947 * DataRowCollection.cs: When removing, Delete and AcceptChanges
2948 method from the row are called. Added an internal method that will
2949 be used by DataRow to "physically" remove the row from the list.
2951 2003-11-09 Pedro Martínez Juliá <yoros@wanadoo.es>
2953 * DataRowCollection.cs: To follow the specification: Remove and
2954 RemoveAt should remove the row. But needed to call DeletingDataRow
2955 to prepare the deleting.
2957 * DataRow.cs: Don't call DeletingDataRow when it is called by the
2958 method Table.Rows.Remove.
2960 2003-11-09 Pedro Martínez Juliá <yoros@wanadoo.es>
2962 * DataRowCollection.cs: Make the row be deleted by itself. If not,
2963 it fails because we need to call OnRowDeleting and OnRowDeleted. It
2964 is full implemented inside DataRow.
2966 2003-11-05 Eran Domb <erand@mainsoft.com>
2967 * DataView.cs (ctor) : Changing default RowStateFilter to CurrentRow.
2969 2003-11-04 Eran Domb <erand@mainsoft.com>
2970 * DataRow.cs (CheckChildRows) : Improving the implementation - checking child for all FK, and not
2972 (GetChildRows) : Adding some checks.
2973 (GetParentRows) : Adding some checks. Fix a bug in implementation.
2974 (SetParentRow) : Added implementation.
2976 * DataRowCollection.cs (Add) : Added more checks on the row added to the collection.
2977 * DataTable.cs (Copy) : Set the During Loading flag to save unnecessary assertions.
2978 * ForeignKeyConstraint.cs (AssertConstraint) : Fixing bugs in implementation. Checking for DBNull values in the row.
2979 * MergeManager.cs : Check that the target table is not null.
2981 2003-10-27 Eran Domb <erand@mainsoft.com>
2982 * DataColumn.cs (DefaultValue) : Changing null value to DBNull. Checking that the type of the new default value
2983 can be converted to the column type.
2985 * DataRelationCollection.cs (AddCore) : Give the new FK the name of the relation.
2987 * DataRow.cs (EndEdit) : Check if we need to validate the constraints.
2988 (GetParentRows, GetChildRows) : Checking that the row has the wanted version, before accessing the row's value.
2990 * DataRowCollection.cs (Add) : Fixing a bug.
2991 (Clear) : Before clearing the array check that there is no violation of FK constraint.
2993 * DataSet.cs (Prefix) : If value is null chage it to empty string.
2994 (GetXml) : Removing the Processing Instructions from the xml string as in MS ADO.NET.
2996 * ExpressionElement : Adding support for IN expresion.
2998 * DataTable (CopyConstraints) : New method that copy the tables constraints to the copy table.
2999 (Select) : Adding support for DataViewwRowState.
3001 * ForeignKeyConstraint.cs (AssertConstraint) : Adding implementation.
3003 * MergeManager.cs (MergeRow) : Fix bugs.
3005 2003-10-27 Eran Domb <erand@mainsoft.com>
3006 * DataRow.cs (SetColumnValue): Donot check null value when in midle of loading data.
3007 check null values when ending loading data.
3009 * DataSet.cs (RejectChanges) : Imlementation.
3010 (Prefix) : If prefix was changed fire event. Check that the prefix is not null - if null,
3011 change it to empty string.
3013 * DataTable.cs (BeginLoadData, EndLoadData) : Impemantation.
3015 2003-10-22 Eran Domb <erand@mainsoft.com>
3016 * MergeManager.cs : Fixing bugs. Adding check for PrimaryKey matching.
3018 * ConstraintCollection.cs (RamoveAt): Change implemntation.
3020 * DataTableCollection (CanRemove): Removing cast to Constraint.
3022 2003-10-22 Eran Domb <erand@mainsoft.com>
3023 * DataRelationCollection.cs (AddCore): The unique constraint was added even if the createConstraints flag was false.
3024 (Clear): The collection was cleared without removing the relation from the parent and child tables.
3026 * DataSet.cs (Copy, Clone): The Relations of the DataSet were not copy.
3027 (HasChanges, Reset): Imlementation.
3029 * DataTable.cs (HasErrors): There is no flag for errors, instead the table ask her row if they have any errors.
3030 This is because the we do not no when to turn off the flag.
3031 (Locale): Changing implementation to behave like ADO.NET.
3032 (AcceptChanges): Fix bug.
3033 (Clear): Check that this table is not referenced from a foreign key constraint.
3034 (Copy): Do not try to access a deleted row.
3035 (CopyProperties): Copy the PrimaryKey.
3036 (GetChanges, ImportRow): Implementation.
3037 (LoadDataRow): Adding implementation if the table has PrimaryKey.
3038 (ToString): Changing implementation to behave like ADO.NET.
3040 * UniqueConstraint.cs (AssertConstraint): support for Multiple DataColumns in the constraint.
3042 * DataRow.cs (Ctor): In the constructor we initiate the current array, but we should initiate only the proposed array for new rows.
3043 (HasErrors): Implementation.
3044 (Delete): Added checking for child rows of the deleted row.
3045 (EndEdit): Added checking for child row and firing events.
3046 (GetColumnError): Added a check that the method will not return null, as in ADO.NET(an empty string is returned).
3047 (GetColumnsInError): Added a check for null values in column error.
3048 (HasVersion): Added special treatment for special RowState.
3049 (CollectionChanged): More checks to avoid NullReferenceException.
3051 * DataRowCollection.cs (Remove): Fix a bug.
3054 2003-10-01 Duncan Mak <duncan@ximian.com>
3056 More patches from Eran Domb <erand@mainsoft.com>.
3058 * MergeManager.cs: New file.
3060 * DataRelationCollection.cs (AddCore): Check that a
3061 UniqueConstraint is already exists. It loops over the Relations
3062 instead of the Constraints.
3063 (Add, AddCore): The relation was added twice.
3065 * DataSet.cs (Merge, GetChanges, HasChanges): Implemented.
3067 2003-09-30 Duncan Mak <duncan@ximian.com>
3069 Patches from Eran Domb <erand@mainsoft.com>.
3071 * DataRelation.cs (constructor): When the name of the relation is
3072 null, it should return an empty, not "Relation".
3074 * DataRow.cs (AcceptChanges): Added special case for
3076 (CancelEdit): Set editing flag to false.
3077 (IsNull): Check that the value is DBNull.
3079 * DataRowCollection.cs (Add): There was no check that the table of
3080 the collection is owned by a DataSet.
3082 * DataSet.cs (OnMergeFailed): Added.
3084 * UniqueConstraint.cs (AssertConstraint): There was no check that
3085 values in the row are not null, where it is a primary key
3086 column. Also check that the row has a proposed version, if not,
3087 get the current version when we compare the rows.
3089 2003-09-25 Duncan Mak <duncan@ximian.com>
3091 Patches from Eran Domb <erand@mainsoft.com>.
3093 * DataColumn.cs (Unique): Implemented.
3096 * ConstraintCollection.cs:
3097 * ForeignKeyConstraint.cs (_ensureUniqueConstraintExists): Fixes
3098 an Exception thrown. Details:
3099 http://lists.ximian.com/archives/public/mono-devel-list/2003-September/002130.html
3101 * DataRowCollection.cs (Add): There is no checking that there is
3102 no violation of the unique constrains.
3104 * UniqueConstraint.cs (AssertConstraint): There is no checking on
3105 all columns in the constraint.
3107 * DataTableCollection (Add): Correctly throw an Exception, more
3109 http://lists.ximian.com/archives/public/mono-devel-list/2003-September/002117.html
3110 (Remove, RemoveAt): Implemented.
3112 2003-07-31 Duncan Mak <duncan@ximian.com>
3114 * DBConcurrencyException.cs: Added new NET_1_1 no-param constructor.
3116 2003-07-25 Ravi Pratap <ravi@ximian.com>
3118 * DataRelation.cs (OnPropertyChanging): Calling the 'Invoke'
3119 method on a delegate is disallowed - fix this.
3121 2003-07-22 Lluis Sanchez Gual <lluis@ximian.com>
3123 * DataSet.cs: Implemented IXmlSerializable interface. Added basic support for
3124 xml serialization. Modified method of writing schema. Now it creates
3125 a XmlSchema object and serializes it using XmlSerializer.
3126 * XmlConstants.cs: Added constants for data type names.
3127 * XmlDataLoader.cs: Fixed deserialization of data. Now converts data to the
3128 type specified in the column.
3130 2003-04-20 Alan Tam <Tam@SiuLung.com>
3132 * DataRelationCollection.cs: Fix a bug that prevent relations
3133 from being added via DataSet.
3135 2003-04-12 Ville Palo <vi64pa@kolumbus.fi>
3137 * UniqueConstraint.cs: one tiny fix.
3139 2003-04-05 Ville Palo <vi64pa@kolumbus.fi>
3141 * DataTable.cs: Remove UniqueConstraints when adding new ones
3143 2003-04-04 Ville Palo <vi64pa@kolumbus.fi>
3145 * DataColumnCollection.cs: Little 'case sensitive' fix
3147 2003-04-04 Ville Palo <vi64pa@kolumbus.fi>
3149 * DataRow.cs: AutoIncrement handling to Constructor
3150 * DataRowCollection.cs: This doesnt need anymore AutoIncrements
3152 2003-03-27 Ville Palo <vi64pa@kolumbus.fi>
3154 * DataTable.cs: Some fixes to PrimaryKey etc...
3155 * UniqueConstraint.cs: Little clean up
3157 2003-03-27 Ville Palo <vi64pa@kolumbus.fi>
3159 * DataTable.cs: Tiny fix to ToString () -method
3161 2003-03-27 Ville Palo <vi64pa@kolumbus.fi>
3163 * ConstraintCollection.cs: Little fix.
3164 * DataColumn.cs: Added new internal method SetUnique()
3165 * UniqueConstraint.cs: some little fixes
3167 2003-03-26 Ville Palo <vi64pa@kolumbus.fi>
3169 * DataRowCollection.cs: Bugfixes, implementation,...
3171 2003-03-26 Ville Palo <vi64pa@kolumbus.fi>
3173 * DataColumn.cs: If DataType if set to something else than short, int
3174 or long and AutoIncrement is true, AutoIncrement is must set to false.
3176 2003-03-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3179 (BeginEdit): fixed array bound problem when a column has been added.
3180 (EndEdit): just assign proposed to current as proposed is set to null.
3181 This also fixes another array boudn problem.
3183 2003-03-21 Alan Tam <Tam@SiuLung.com>
3185 * DataRow.cs: Fixed problems in accessers, BeginEdit, CancelEdit,
3186 EndEdit and AcceptChanges to act correctly according to DataRowState
3188 * DataRowCollection.cs: Call AttachRow and DetachRow when a row is
3189 attached and detached from the collection.
3191 2003-03-20 Alan Tam <Tam@SiuLung.com>
3193 * DataColumn.cs: Store empty string for Expression when null is passed in.
3194 Classes generated by XSD.exe passes null by default.
3196 2003-03-16 Ville Palo <vi64pa@kolumbus.fi>
3198 * DataColumnCollection.cs: Tiny clean up
3200 2003-03-16 Ville Palo <vi64pa@kolumbus.fi>
3202 * DataColumn.cs: little fixes.
3203 * DataColumnCollection.cs: Lots of little fixes and improvments.
3205 2003-03-12 Alan Tam <Tam@SiuLung.com>
3207 * DataSet.cs: Fixed a bug that the file written does not close correctly.
3209 2003-03-08 Alan Tam <Tam@SiuLung.com>
3211 * DataRelationCollection.cs: Removed the mis-overridden methods
3212 * DataRow.cs: Fixed an attribute
3213 * DataSet.cs: Fixed the modifiers
3215 2003-03-06 Aleksey Demakov <avd@openlinksw.com>
3217 * DataTableCollection.cs: The Contains (string name),
3218 IndexOf (string name) methods, and item[string name] indexer
3219 now behave more like .NET with respect to case-sensitivity.
3220 That is if there is an exactly matching item then this one is used.
3221 If there is only one item differing in case then it used.
3222 If there are more than one item differing in case then
3223 Contains returns false, IndexOf returns -1, and item[]
3224 throws an ArgumentException.
3226 2003-02-28 Ville Palo <vi64pa@kolumbus.fi>
3228 * ExpressionElement.cs: More implementation.
3230 2003-02-28 Alan Tam <Tam@SiuLung.com>
3231 * DataSet.cs: Changed WriteTable so that it now calls the newly written
3232 WriteObjectXml to direct the call to the respective XmlConvert method.
3233 This fixes the wrong format written to XML files of bool, float,
3234 double, DateTime and TimeSpan types.
3236 2003-02-25 Alan Tam <Tam@SiuLung.com>
3238 * DataRelation.cs: Added SetDataSet for DataSetRelationCollection to use.
3239 * DataRelationCollection.cs: Implemented AddRange and Contains.
3240 Implemented AddRange, Clear, List and RemoveCore for DataSetRelationColletion.
3241 Implemented AddCore, List and RemoveCore for DataTableRelationCollection.
3242 Reimplemented most Add methods to eliminate duplicated checks.
3243 Centralized RelationName generation procedure in GetNextDefaultRelationName.
3245 2003-02-25 Alan Tam <Tam@SiuLung.com>
3247 * DataColumn.cs: Fixed wrong storage representation of Expression
3248 (using empty string instead of null) so that ToString() returns nothing.
3249 * DataColumnCollection.cs: Reimplemented GetNextDefaultColumnName so that
3250 auto column naming now works as expected. Reimplemented some Add methods
3251 to eliminate code duplication.
3253 2003-02-19 Ville Palo <vi64pa@kolumbus.fi>
3255 * DataTable.cs: DataTable.CaseSensitive follows parent
3256 DataSet.CaseSensitive property if DataTable.CaseSensitive has never
3257 been changed directly from DataTable
3259 2003-02-19 Ville Palo <vi64pa@kolumbus.fi>
3261 * DataSet.cs: When CaseSensitive property is changed all of the Tables
3262 of DataSet have to change too
3264 2003-02-19 Daniel Morgan <danmorg@sc.rr.com>
3266 * InternalDataCollectionBase.cs: revert change to field
3269 * DataViewManager.cs
3272 * DataSet.cs: commented use of DesignerAttribute
3273 because it broke the build. According to MSDN,
3274 DesignerAttribute does not have a zero-argument constructor
3276 2003-02-18 Ville Palo <vi64pa@kolumbus.fi>
3278 * DataColumnCollectin.cs: Little fix for indexer and case sensitivity
3280 2003-02-18 Alan Tam <Tam@SiuLung.com>
3282 * DataRow.cs: Implemented GetParentRow and GetParentRows.
3283 * DataSet.cs: Added stub for HasChanges, InferXmlSchema,
3284 OnPropertyChanging, OnRemoveRelation, OnRemoveTable,
3285 RaisePropertyChanging.
3286 * DataTable.cs: Implemented NewRowArray.
3287 * DataTablePropertyDescriptor: Fixed a modifier.
3288 * InternalDataCollectionBase.cs: Fixed modifiers. Implemented SyncRoot.
3289 * PropertyCollection.cs: Minor fix.
3290 * ConstraintCollection.cs DataColumn.cs DataColumnCollection.cs
3291 * DataRelation.cs DataRelationCollection.cs DataRow.cs
3292 * DataRowCollection.cs DataRowState.cs DataSet.cs DataTable.cs
3293 * DataTableCollection.cs DataTablePropertyDescriptor.cs DataView.cs
3294 * DataViewManager.cs DataViewRowState.cs DataViewSettingCollection.cs
3295 * ForeignKeyConstraint.cs InternalDataCollectionBase.cs
3296 * PropertyCollection.cs UniqueConstraint.cs: Added missing attributes
3298 2003-02-08 Ville Palo <vi64pa@koti.soon.fi>
3300 * ExpressionElement.cs: More implementation
3302 2003-02-05 Alan Tam <Tam@SiuLung.com>
3304 * DataSet.cs: Added framework for DataSet.Update Implemented missing
3305 methods GetSchemaSerializable, GetSerializationData,
3306 ReadXmlSerializable, ShouldSerializeRelations and ShouldSerializeTables
3308 * DataTable.cs: Implemented missing methods CreateInstance and
3309 GetRowType for DataTable
3311 2003-02-03 Ville Palo <vi64pa@koti.soon.fi>
3313 * DataSet.cs: Implemented private method MapType for
3314 mapping datatypes for XmlSchema
3316 2003-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3318 * DataView.cs: implemented Dispose.
3320 2003-01-30 Ville Palo <vi64pa@koti.soon.fi>
3322 * ExpressionElement.cs: Added new file. This file is for parsing
3323 and DataData.Select () -methods and DataColumn.Expression -property
3324 * DataTable.cs: Implemented Select(string) -method
3326 2003-01-28 Ville Palo <vi64pa@koti.soon.fi>
3328 * DataSet.cs: One little fix to writing xml
3330 2003-01-27 Ville Palo <vi64pa@koti.soon.fi>
3332 * XmlSchemaMapper.cs: Some fixes.
3333 * DatSet.cs: Some XmlFixes and BeginInit ()/ EndInit () -fix
3336 2003-01-24 Ville Palo <vi64pa@koti.soon.fi>
3338 * UniqueConstraint.cs: Do not set columns Unique property true
3340 * ForeignKeyConstraint.cs: Add UniqueConstraint to parent Table
3342 2003-01-18 Ville Palo <vi64pa@koti.soon.fi>
3344 * DataTableCollection.cs: Now names new DataTable if it doesn't
3345 already have a name.
3347 2003-01-17 Ville Palo <vi64pa@koti.soon.fi>
3349 * XmlSchemaMapper.cs: Improvments.
3350 * XmlConstaints.cs: Added more constants.
3351 * DataSet.cs: Improvments of reading and writing xml
3352 * DataColumn.cs: Added default values of properties.
3354 2003-01-14 Ville Palo <vi64pa@koti.soon.fi>
3356 * XmlSchemaMapper.cs: Some improvments
3358 2003-01-13 Ville Palo <vi64pa@koti.soon.fi>
3360 * DataRowCollection.cs: Added IndexOutOfRangeException
3361 * DataTableCollection.cs: Added OnCollectionChanging and
3362 OnCollectionChanged events.
3363 * DataSet.cs: Many fixes. Implemented Clone () and Copy () -methods
3364 * DataTable.cs: Implemented Copy () and Clone () methods.
3365 * XmlDataLoader.cs: some fixes.
3366 * XmlSchemaMapper.cs: comments.
3368 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3370 * DataColumnPropertyDescriptor.cs: store columnIndex in the .ctor.
3372 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3374 * DataColumnPropertyDescriptor.cs: fixed typo.
3375 * DataViewManagerListItemTypeDescriptor.cs: added new internal property
3376 to get the DataViewManager and removed TablePD class.
3377 * DataTablePropertyDescriptor.cs: TablePD class is now this one as
3378 suggested by danmorg.
3380 2003-01-06 Ville Palo <vi64pa@koti.soon.fi>
3382 * XmlDataLoader.cs: Moved diffgram stuff to new internal class
3384 * XmlDiffLoader.cs: new class for diffgrams. Added handling of
3385 diffgr:Errors and some fixes and changed XmlReader to XPathNavigator.
3387 2003-01-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3389 * DataView.cs: made dataViewManager internal.
3390 * DataViewManager.cs: use ICustomTypeDescriptor. We don't want the
3391 properties of the object, but the values of the columns present in a
3394 * DataViewManagerListItemTypeDescriptor.cs: implemented GetProperties,
3395 which returns a PropertyDescriptorCollection. Created a new class
3396 derived from PropertyDescriptor that treats Table as an object whose
3397 properties are DataRowView.
3399 2003-01-04 Ville Palo <vi64pa@koti.soon.fi>
3401 * XmlSchemaMapper.cs: Added handling for Constraints, Attributes.
3403 2003-01-04 Ville Palo <vi64pa@koti.soon.fi>
3405 * DataColumn.cs: ExtendedProperties is by default !null-
3407 2003-01-04 Ville Palo <vi64pa@koti.soon.fi>
3409 * DataColumnCollection.cs: Add (DataColumn Column) -method didn't
3410 set column's ordinal.
3412 2003-01-02 Ville Palo <vi64pa@koti.soon.fi>
3415 * XmlDataLoader.cs: XmlReader closing fixes.
3416 * XmlSchemaReader.cs: Added support for ref=
3418 2003-01-01 Ville Palo <vi64pa@koti.soon.fi>
3421 - Added XmlReader and XmlWriter Closing.
3422 - Moved ReadXmlSchema stuff to new internal class XmlSchemaMapper.
3423 * XmlSchemaMapper.cs
3424 - Much better way IMHO to map xmlschema than the old one in
3425 DataSet.cs. Its, more flexible, cleaner, ...
3427 2002-12-29 Ville Palo <vi64pa@koti.soon.fi>
3429 * XmlDataLoader.cs: Reading diffgrams.
3431 2002-12-29 Ville Palo <vi64pa@koti.soon.fi>
3433 * DataRow.cs: Little fix to indexer and DataColumnCang* trigger fixes.
3434 * DataTable.cs: Added ChanginDataColumn () for triggering
3435 DataColumnChanging event
3437 2002-12-28 Ville Palo <vi64pa@koti.soon.fi>
3439 * DataSet.cs: Indentations to WriteXmlSchema () and one little fix
3441 2002-12-28 Ville Palo <vi64pa@koti.soon.fi>
3443 * DataSet.cs: Indentations to WriteXml ()
3445 2002-12-27 Ville Palo <vi64pa@koti.soon.fi>
3448 * XmlDataLoader.cs: Moved ReadXml -stuff from DataSet.cs to new
3449 class XmlDataLoader.cs
3451 2002-12-19 Ville Palo <vi64pa@koti.soon.fi>
3453 * DataSet.cs Implemented ReadXml with XmlReadMode.ReadSchema
3455 2002-12-18 Ville Palo <vi64pa@koti.soon.fi>
3457 * DataSet.cs: Started to implement ReadXml-methods.
3459 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3461 * DataSet.cs: implemented DefaultViewManager and GetList.
3463 * DataViewManager.cs: a bit of work on IList and ITypedList needed by
3464 DataList in System.Web.
3466 * DataViewManagerListItemTypeDescriptor.cs: custom type descriptor for
3469 2002-12-16 Ville Palo <vi64pa@koti.soon.fi>
3472 * DataTable.cs: Fixed NullException (rollback -event)
3473 * DataSet.cs: WriteXml -method does not anymore write <?xml... row.
3475 2002-12-15 Ville Palo <vi64pa@koti.soon.fi>
3478 * DataRowCollection.cs: Moved event triggering from DataRow to
3481 2002-12-09 Ville Palo <vi64pa@koti.soon.fi>
3483 * DataSet.cs: Little fix to WriteTable () -method
3484 and DoReadXmlSchema () -method.
3486 2002-12-06 Ville Palo <vi64pa@koti.soon.fi>
3488 * DataSet.cs: Clean up to reading xmlschema. This looks much better
3489 now (work better too), but it not working correctly yet.
3491 2002-12-04 Ville Palo <vi64pa@koti.soon.fi>
3494 * DataRowCollection.cs: Added some event handlins stuff.
3495 * DataSet.cs: Some fixes.
3496 * DataTable.cs: Added event handlers.
3498 2002-11-30 Ville Palo <vi64pa@koti.soon.fi>
3500 * DataRowChangeEventArgs.cs: Implemented Action and Row properties
3502 2002-11-30 Ville Palo <vi64pa@koti.soon.fi>
3504 * System.Data/DataRow.cs: Added internal property XmlDataID
3506 2002-11-29 Ville Palo <vi64pa@koti.soon.fi>
3508 * DataSystem.Data.DataTableCollection.cs:
3509 Removed HashTable. There could be situations where DataTable
3510 is added to collection before it hava TableName. So using
3511 HashTable is impossible.
3513 2002-11-19 Carlos Guzmán Álvarez <carlosga@telefonica.net>
3515 * DataRow.cs: an object that is equal to null
3516 should be allowed to be set in this indexer too
3519 2002-11-06 Daniel Morgan <danmorg@sc.rr.com>
3521 * DataColumnPropertyDescriptor.cs: added file
3523 * System.Data/DataRowView.cs: started implementation
3525 * DataTable.cs: stubbed more interfaces. Implemented
3526 IListSource.GetList()
3528 * DataView.cs: stubbed more interfaces. Implemented
3529 some properties and methods: GetEnumerator(),
3530 ITypedList.GetItemProperties, Item indexer, CopyTo()
3532 2002-05-18 Nick Drochak <ndrochak@gol.com>
3534 * DataRow.cs: Fix typo.