1 2008-02-04 Arina Itkes <arinai@mainsoft.com>
3 * DataTable.cs: Fix for IXmlSerializable.ReadXml.
5 2008-01-28 Arina Itkes <arinai@mainsoft.com>
7 * DataTable.cs: Fix for IXmlSerializable.WriteXml.
9 2007-10-21 Gert Driesen <drieseng@users.sourceforge.net>
11 * DataColumn.cs: Fixed ParamName of ArgumentNullException. Modified
12 exception message for invalid DateTimeMode value to match MS. Code
15 2007-10-19 Nagappan <anagappan@novell.com>
17 * DataRelation.cs: Removed bogus TODO.
19 2007-09-27 Nagappan A <anagappan@novell.com>
21 * DataRelationCollection.cs: Added LAME spec comment as there is no
22 relevant event. Removed MonoTODO too.
24 2007-09-26 Nagappan A <anagappan@novell.com>
26 * DataView.cs (ToTable): Added params keyword.
28 * DataTable.cs: Added XmlSchemaProvider attribute.
30 2007-09-25 Konstantin Triger <kostat@mainsoft.com>
32 * DataSet.cs: correct WriteAttributeString while writing xml with
33 XmlWriteMode.WriteSchema.
35 2007-09-25 Nagappan A <anagappan@novell.com>
37 * DataTable.cs: Code alignment.
39 2007-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
41 * DataColumnCollection.cs: refactoring, fixed columnNameCount comparer
42 to remove culture sensitive ToLower() calls
44 2007-07-22 Nagappan A <anagappan@novell.com>
46 * DataRow.cs: Added internal set property for Table in 2.0
49 * DataColumn.cs: Added internal set property for Table in 2.0
52 2007-07-01 Gert Driesen <drieseng@users.sourceforge.net>
54 * DataRowCollection.cs: Only override Count on 2.0 profile.
55 * RelatedDataView.cs: Fixed line endings.
56 * XmlDataInferenceLoader.cs: Fixed line endings.
58 2007-06-30 Gert Driesen <drieseng@users.sourceforge.net>
60 * DataTableCollection.cs: CopyTo is 2.0 only. Removed extra tabs,
61 and changed spaces to tabs.
63 2007-06-06 Nagappan A <anagappan@novell.com>
65 * DataTable.cs (Select): Removed ununsed variable.
67 2007-05-30 Nagappan A <anagappan@novell.com>
69 * DataColumnCollection.cs (CopyTo): Method specific to 2.0
72 * DataRowCollection.cs (Count): Property is overridden in 2.0
75 * TypedDataSetGenerator.cs: Class is obsolete in 2.0 profile.
77 * DataRelationCollection.cs (CopyTo): Method specific to 2.0
80 2007-05-18 Rolf Bjarne Kvinge <RKvinge@novell.com>
82 * CustomDataClassGenerator.cs: Misc fixes in order to emit correct VB code.
83 CreateDataSetDefaultCtor: we're creating a delegate, not an object, so use a DelegateCreateExpression.
84 CreateDataSetSchemaChanged: we're comparing value types, use the correct equality operator.
85 CreateTableGetEnumerator: explicity state that the method is an implementation of IEnumerable.GetEnumerator.
86 CreateTableEventStarter: we're invoking a delegate, so use a DelegateInvokeExpression.
87 Several changes to not generate members with names that only differ by case.
89 2007-05-18 Chris Toshok <toshok@ximian.com>
91 * DataColumnCollection.cs (Add ()): handle the default name case
93 (Add (string)): same - let Add(DataColumn) handle the default name
95 (Add (DataColumn)): in the 1.1 case, we need to add the column's
96 PropertyChanged handler *before* possibly setting the column name
97 to the default so we emit the right events (Changed/Added). In
98 the 2.0 case, we add the event handler after the name is set, and
99 therefore only emit the Added event.
101 2007-05-07 Adar Wesley <adarw@mainsoft.com>
103 * ConstraintCollection.cs: added CopyTo method with strongly typed Constraint[]
106 * DataTable.cs: added implementation of IXmlSerializable. Added missing
107 method ReadXmlSerializable.
109 2007-04-19 Chris Toshok <toshok@ximian.com>
111 * DataColumnCollection.cs (Add): the Element in our
112 CollectionChangedEventArgs should be the column, not the
113 collection. Also, add an event handler for the column's
114 PropertyChanged event so we can propagate metadata changes.
115 (Remove): Analogous change to the CollectionChangedEventArgs as in
116 Add. Also, unhook the column's PropertyChanged event.
117 (OnCollectionmetaDataChanged): emit our new event.
118 (ColumnPropertyChanged): called when the column's ColumnName
119 property changes. Emit the proper CollectionChangeEvent.
121 * DataView.cs (ColumnCollectionChanged): fix up the comment about
122 CollectionChangeAction.Refresh, and make explicit what generates
124 (RegisterEventHandlers): hook up
125 DataColumnCollectoin.CollectionMetaDataChanged.
126 (RegisterEventHandlers): unhook
127 DataColumnCollectoin.CollectionMetaDataChanged.
129 2007-02-23 Nagappan A <anagappan@novell.com>
131 * DataRow.cs (Item): Checks whether this DataRow exist in the
132 DataRowCollection, then compute the expression. Fixes bug #
135 * DataRowCollection.cs (IndexOf): Modified as internal method for
138 * XmlDataReader.cs (StringToObject): DataTables containing
139 System.Type throw exception on deserializing. Fixes bug # 80596.
141 * XmlDataLoader.cs (StringToObject): DataTables containing
142 System.Type throw exception on deserializing. Fixes bug # 80596.
144 2007-02-20 Konstantin Triger <kostat@mainsoft.com>
146 * XmlSchemaDataImporter.cs: ensure the tables are created in document order.
148 2007-02-19 Konstantin Triger <kostat@mainsoft.com>
150 * XmlDataReader.cs, XmlDataInferenceLoader.cs, XmlDiffLoader.cs:
151 ignore attributes from "http://www.w3.org/XML/1998/namespace".
152 * XmlConstants.cs: add constant for "http://www.w3.org/XML/1998/namespace".
153 * XmlDataInferenceLoader.cs: track the added elements index to fix the
154 added column ordinal.
156 2006-12-11 Chris Toshok <toshok@ximian.com>
158 * DataView.cs: GetItemProperties should return an empty collection
159 if we have no data table. Presently we NRE.
161 2006-12-08 Nagappan A <anagappan@novell.com>
163 * DataTable.cs (ReadXml): Removed if condition, as it should not
164 check the exception string.
166 2006-12-07 Chris Toshok <toshok@ximian.com>
168 * DataView.cs: add CollectionChangeEventHandler's on the
169 ChildRelations and ParentRelations collections, and emit
170 ListChanged events with PropertyDescriptor.Added/Deleted/Changed
173 2006-12-07 Nagappan A <anagappan@novell.com>
175 * DataTable.cs (ReadXml): Integrated the implementation of
176 ReadXml, patch provided by deepak_2603@yahoo.com.
178 2006-12-05 Nagappan A <anagappan@novell.com>
180 * DataTable.cs (WriteXmlSchema): Using XmlTextWriter instead of
181 XmlWriter, solved the File Sharing IO Exception.
183 2006-11-28 Hubert FONGARNAND, Frédéric Mestayer <informatique.internet@fiducial.fr>
185 * DataColumnCollection.cs : Improved Column searching when not
186 using exact column name (case sensitivity). Fixes bug # 80075.
188 2006-11-28 Nagappan A <anagappan@novell.com>
190 * XmlSchemaDataImporter.cs: Fixed 2.0 profile compilation
191 warnings. Using AttributeSchemaType instead of AttributeType and
192 ElementSchemaType instead of ElementType.
194 * TypedDataSetGenerator.cs: Modified the profile check from
195 !NET_1_1 to !NET_1_0, as this class is obsolete from 1.1 profile.
197 * DataRelationCollection.cs (Item): Modified the property Item as
198 abstract and implemented it in DataSetRelationCollection and
199 DataTableRelationCollection classes.
201 * DataRowView.cs: Remove bogus MonoTODOs.
203 * ForeignKeyConstraint.cs (ForeignKeyConstraint): Implemented
204 2.0 profile's missing constructor.
206 * XmlDataLoader.cs (StringToObject): Modify XmlConvert.ToDateTime
207 to use XmlDateTimeSerializationMode, as the default ToDataTime
210 * XmlDataReader.cs (StringToObject): Modify XmlConvert.ToDateTime
211 to use XmlDateTimeSerializationMode, as the default ToDataTime
214 * DataView.cs (IsInitialized): Added browsable attribute.
216 * DataViewSettingCollection.cs (CopyTo): Implemented missing 2.0
219 * DataRelation.cs (DataRelation): Added 2.0 profile constructor to
220 take parentTableNameSpace and childTableNameSpace as argument.
221 (FinishInit): Update parentTableNameSpace and childTableNameSpace,
222 when the string is not empty in 2.0 profile.
224 * DataRowCollection.cs: Implemented Count public property.
225 Added !NET_2_0 for List protected property, as it has been removed
227 (IndexOf): Implemented new public method.
228 (CopyTo): Implemented new public override method.
229 (GetEnumerator): Implemented new public override method.
231 * DataTable.cs (Load): Throw ArgumentNullException, when reader
233 (WriteXmlSchema): Throw InvalidOperationException, when table name
234 is empty. When DataSet Namespace is set, append that with '_x003A_'
236 (IsInitialized): Added browsable attribute.
238 * DataSet.cs (Load): Throw ArgumentNullException, when reader
240 (IsInitialized): Added browsable attribute.
241 (WriteObjectXml): Modify XmlConvert.ToDateTime to use
242 XmlDateTimeSerializationMode, as the default ToDataTime method id
245 * XmlSchemaWriter.cs (WriteSchema): Modified UseCurrentCulture to
247 (WriteDataSetElement): Added minOccurs attribute.
248 (WriteConstraints): Check for tables length, if > 1 then add the
249 relations to XmlSchema.
251 2006-11-21 Nagappan A <anagappan@novell.com>
253 * DataView.cs: Added public event Initialized.
254 (IsInitialized): Implemented public function to check whether a
255 dataview is initialized or not.
257 * DataSet.cs: Added ISupportInitializeNotification for .NET 2.0
259 (RemotingFormat): Set the default value attribute as
260 SerializationFormat.Xml.
261 (IsInitialized): Implemented public function to check whether a
262 table is initialized or not.
263 (CreateDataReader): Added params keyword in argument.
264 (Load): Implemented all Load overloaded functions.
265 (GetObjectData): Modified to public for .NET 2.0 implementation.
266 (IsBinarySerialized): Implemented the public API to check whether
267 the given stream is binary serialized or not.
268 * DataTable.cs: Added ISupportInitializeNotification for .NET 2.0
271 2006-11-15 Nagappan A <anagappan@novell.com>
273 * DataTable.cs (RemotingFormat): Set the default value attribute
274 as SerializationFormat.Xml.
275 (OnTableNewRow, NewRowAdded): Implemented new function to raise an
276 event when a new row is added to the table.
277 (DataTableInitialized, OnTableInitialized): Implemented new
278 function to raise an event when a table is initialized.
279 (IsInitialized): Implemented public function to check whether a
280 table is initialized or not.
281 (OnTableClearing): Raise an event before the table is cleared.
282 (GetObjectData): Modified to public for .NET 2.0 implementation.
283 (Load): Implemented missing API to call the registered delegate
284 function on load exception.
285 (WriteXmlSchema): Implemented overloaded function to write the
286 hierarchy with XML Schema.
288 2006-11-15 Konstantin Triger <kostat@mainsoft.com>
290 * DataTable.cs: Fixed LoadDataRow scenarios.
291 * DataRowCollection.cs: Added override for AddInternal taking DataRowAction parameter.
293 2006-11-14 Konstantin Triger <kostat@mainsoft.com>
295 * DataColumn.cs: consider row version wen checking row.IsNull().
297 2006-10-18 Nagappan A <anagappan@novell.com>
299 * ForeignKeyConstraint.cs (_validateColumns): Parent and child
300 columns can't be the same column - Exception, bug # 79689
302 2006-10-13 Nagappan A <anagappan@novell.com>
304 * DataTable.cs (DeserializeConstraints): Fine tuned the
305 serialization and deserialization of constraints.
307 * DataRelationCollection.cs (Contains): Fixes bug
308 #79233. DuplicateNameException when two relations for different
309 DataTables in DataSet are defined
311 2006-10-06 Patrick Earl <mono@patearl.net>
313 * DataTable.cs, XmlTableWriter.cs, XmlSchemaWriter.cs, DataSet.cs:
314 Implemented DataTable.WriteXml
316 2006-09-26 Nagappan A <anagappan@novell.com>
318 * DataTable.cs, DataSet.cs, DataColumn.cs, Constraint.cs,
319 DataRow.cs: Implementation of Binary Serialization /
322 * DataTable.cs (RowsExist): Check rows based on version.
324 * DataRow.cs: Raise exception same as MS.NET. Thanks to
325 Hubert FONGARNAND <informatique.internet@fiducial.fr> for
326 providing this patch.
328 2006-09-07 Vladimir Krasnov <vladimirk@mainsoft.com>
330 * DataSet.cs: added 2.0 stubs to solve typed dataset porting issues
332 2006-08-30 Nagappan A <anagappan@novell.com>
334 * DataRow.cs (EndEdit): DataRow.EndEdit emits RowChanged too
335 often. Fixes bug # 78885.
337 2006-08-14 Konstantin Triger <kostat@mainsoft.com>
339 * DataTableCollection.cs, DataRelationCollection.cs, DataRowCollection.cs,
340 DataColumnCollection.cs: implemented specialized CopyTo() method.
342 2006-07-26 Nagappan A <anagappan@novell.com>
344 * DataTable.cs (GetIndex): Fixes memory explode on
345 DataTable.Select - Bug # 77691.
347 2006-07-25 Nagappan A <anagappan@novell.com>
349 * DataView.cs (OnRowCollectionChanged): On DataTable.Clear,
350 setting rowCache to empty DataRowView. Fixes bug # 78610.
352 * DataTable.cs (AcceptChanges): Raises Reset event. Fixes bug #
355 2006-07-20 Senganal T <tsenganal@novell.com>
358 - Merge : moved the columntypecheck to AdjustSchema,
359 Remove the unncessary calls to Table.ResetIndexes.
360 - AdjustSchema : check for columntypes
361 Thanks to Deepak Kr Valechha for the patch
363 2006-07-17 Senganal T <tsenganal@novell.com>
366 - ToTable : Implemented all the overloads
367 - Equals : Implemented
368 - IBindingListView : Implemented the interface
370 2006-07-15 Senganal T <tsenganal@novell.com>
372 * DataTableCollection.cs :
373 - Contain,IndexOf,Remove,Add,Indexer : support for table
374 namespace. Remove redundant checks in Remove/Add.
376 2006-07-14 Senganal T <tsenganal@novell.com>
379 - SetOrdinal : Implemented
380 - Ordinal : added internal set
381 * DataColumnCollection.cs :
382 - Add : Set the column ordinals
383 - MoveColumn : Changes the position of column in the
386 2006-07-14 Senganal T <tsenganal@novell.com>
389 - Merge - Implement the merge methods
390 - Clone - Ensure column's DateTimeMode property is also copied
392 - DateTimeMode : Implemement
393 - DataTypeMatches : Added. In 2.0 profile, test DateTime
394 property when verifying column types.
396 - ctr : For DateTime columns, check DateTimeMode property
397 * ForeignKeyConstraint.cs :
398 - _validateColumns : For DateTime columns, check DateTimeMode
401 - Merge : Added. Overload to merge two tables
402 - ResolveColumns : Change the method to use a table instead of
404 - Renamed AdjustSchema to AdjustSchemaRelations
406 2006-07-13 Senganal T <tsenganal@novell.com>
409 - WriteTables : Remove some commented out code
410 - WriteTable : Fix the logic to skip the table data when the
411 table has a nested relation.
414 2006-07-12 Senganal T <tsenganal@novell.com>
416 * ConstraintCollection.cs :
417 - Remove (string): If constraint name is not found, throw exception
418 - Remove (Constraint): Set the ConstraintCollection of the removed
420 Thanks to Deepak Kr Velachha for reporting the bug.
422 2006-07-12 Senganal T <tsenganal@novell.com>
425 - LoadColumnChildren : If schema name is missing, skip the
427 Thanks to Deepak Kr Velachha for identifying the bug.
429 2006-07-11 Senganal T <tsenganal@novell.com>
431 * XmlSchemaWriter.cs :
432 - WriteTableType : If Relation.Nested is true, then nest the
433 table schemas. Correct the xml to add the table element within
434 the <Sequence> element.
435 - WriteChildRelations : Correct the Xml element name and
436 attributes. Close the attribute correctly.
438 * XmlSchemaDataImporter.cs :
439 - GenerateRelationship : When creating the relations, if
440 ParentColumn exists but Corr ChildCol is null, create a child
441 Column with the same name and type as the parent column.
442 - Renamed DataSetDefinesPrimaryKey to DataSetDefinesKey
443 - DataSetDefinesKey : if either xsd:key or xsd:keyref is
444 defined for the dataset, do not manually create the relations.
445 - AddParentKeyColumn : if Columnname already exists, use
446 colname_0 instead of throwing an exception.
447 - FillDataColumnRepeatedSimpleElement : Do not set the Unique
448 value as it creates a constraint by default. The unique value
449 is automatically set when pk is set.
450 - CreateChildColumns : Added. Creates a ChildColumn duplicating
451 ParentColumn properties.
453 2006-06-30 Senganal T <tsenganal@novell.com>
456 - SetAdded, SetModified : new methods in 2.0
458 2006-06-30 Senganal T <tsenganal@novell.com>
459 * SerializationFormat.cs, DataSetDateTime.cs, DataTableNewRowEventArgs.cs,
460 DataTableNewRowEventHandler.cs : Added
461 * SyntaxErrorException.cs EvaluateException.cs StrongTypingException.cs
462 IsolationLevel.cs ReadOnlyException.cs DataTableCollection.cs
463 DataRowState.cs MissingPrimaryKeyException.cs DeletedRowInaccessibleException.cs
464 DuplicateNameException.cs PropertyAttributes.cs StatementType.cs
465 VersionNotFoundException.cs FillErrorEventHandler.cs DataRowChangeEventHandler.cs
466 XmlWriteMode.cs InvalidExpressionException.cs StateChangeEventHandler.cs
467 DbType.cs DataColumnChangeEventHandler.cs KeyRestrictionBehavior.cs
468 ConnectionState.cs SchemaType.cs MergeFailedEventHandler.cs SqlDbType.cs
469 DataRowVersion.cs ForeignKeyConstraint.cs DBConcurrencyException.cs
470 OperationAbortedException.cs MissingSchemaAction.cs DataTableClearEventHandler.cs
471 DataRowView.cs DataRowAction.cs ConstraintCollection.cs DataTableReader.cs
472 LoadOption.cs InvalidConstraintException.cs InternalDataCollectionBase.cs
473 ParameterDirection.cs AcceptRejectRule.cs UpdateRowSource.cs XmlReadMode.cs
474 TypedDataSetGenerator.cs RowNotInTableException.cs TypeDataSetGeneratorException.cs
475 InRowChangingEventException.cs MissingMappingAction.cs NoNullAllowedException.cs
476 CommandBehavior.cs PropertyCollection.cs CommandType.cs
477 UpdateStatus.cs ConflictOption.cs DataViewRowState.cs Rule.cs
478 DataColumnCollection.cs :
481 2006-06-27 Senganal T <tsenganal@novell.com>
483 * DataSet.cs, DataTable.cs : implement CreateDataReader methods
484 * InternalDataCollectionBase.cs
485 - ToArray () : helper method
486 * DataTableReader.cs :
487 - GetSchemaTable : set the schema info correctly
488 - GetProvider*, GetChars, GetBytes, GetValues :
489 Implemented the methods
490 - GetName : return the name of corresponding schema.
491 - ValidateSchemaIntact, OnColumnCollectionChanged,
493 Listen and raise expception if schema changes
495 2006-06-21 Chris Toshok <toshok@ximian.com>
497 * DataView.cs: update the index after we successfully add the new
498 row. This keeps the dataview's row view count in sync with the
501 2006-06-20 Chris Toshok <toshok@ximian.com>
503 * DataView.cs: the PropertyDescriptorCollection returned by
504 ITyepdList.GetItemProperties should include the child relations of
505 our table, in order to match MS's behavior.
507 * DataViewManager.cs: ICollection.Count property is always 1.
509 2006-06-15 Senganal T <tsenganal@novell.com>
512 - Select : If Sort String is not provided, sort the result
513 DataRows in Ascending Order of the Columns used in the filter
515 2006-06-15 Senganal T <tsenganal@novell.com>
518 - InternalEnforceConstraints : Check if any null constraints
519 are violated. Throw ConstraintException only after all the errors
522 - EnforceConstraints : Move away the logic to check for
523 NullConstraintViolation.
524 - AssertNotNullConstraint : Checks for Null Constraint
526 - EndLoadData : Do not throw any exceptions here. All the
527 errors have to be found and RowErrors set before throwing the
530 - ImportRecrod : Check the values of the row for any null
532 - SetColumnError : If the error for column is already set,
533 do not add a new error but edit the existing error.
534 - CheckValue : Set the NullConstraintViolation flag if either
535 table is being loaded or if EnforceConstraints is set to
537 * Constraint.cs : Do not throw exception when EnforceConstraints is
538 set to false or table is being loaded.
539 * UniqueConstraint.cs : Correct the error message. Set ColumnErrors
540 along with the RowError.
542 2006-05-31 Gert Driesen <drieseng@users.sourceforge.net>
544 * DataTable.cs: Renamed initInProgress to fInitInProgress. BeginInit
545 and EndInit must only be virtual in 2.0 profile. Set eol-style to CRLF.
547 2006-05-31 Senganal T <tsenganal@novell.com>
549 * XmlDataInferenceLoader.cs :
550 - InferTableElement : Repeated element should result in a single
552 Patch from Deepak Kr Velachha
554 2006-04-21 Senganal T <tsenganal@novell.com>
556 * DataRowCollection.cs :
557 - Find : If search on the table using PrimaryKey fails and if
558 index is not being maintained (during table load), search the
560 - Find (int) : Removed. Deadcode.
562 - Not necessary to delete each row from the Index.
563 Just reset the Indexes after cleaning up the row
565 - Simplify dependency check for child tables
568 - Do not use DataRowCollection.Find to search for
569 existing records as this wud check even newly loaded rows.
571 - Do not add new records to Index. Update Index only
572 if an existing record is modified. New records will be
573 taken care by EndLoadData.
575 2006-04-19 Senganal T <tsenganal@novell.com>
577 * XmlHelper.cs : A helper class for encoding/decoding schema names.
578 Caches the Schema names to minimize encoding/decoding operations and
579 duplicate strings created.
581 - Use XmlHelper for encoding/decoding schema names.
582 - Encode ConstraintNames when writing as xml.
585 * XmlDataInferenceLoader.cs
586 * XmlSchemaDataImporter.cs
587 - Use XmlHelper for encoding/decoding schema names.
588 * DataTableCollections : Minor code refactor.
589 * DataRow.cs : Create XmlElement only if required.
591 2006-04-07 Senganal T <tsenganal@novell.com>
594 - InternalEnforceConstraints() : Reset Indexes of all tables
595 before validating constraints. Fixes #78010
597 2006-03-04 Boris Kirzner <borisk@mainsoft.com>
598 * TypeDataSetGeneratorException.cs: fix .Net Soap serialization compatibility.
600 2006-03-25 Senganal T <tsenganal@novell.com>
603 - RejectChanges : When row is in Deleted state, add the row back to
604 Indexes and Validate the row.
607 2006-03-23 Senganal T <tsenganal@novell.com>
610 - LoadDataRow : Add the row to the indexes, when loading a new row.
612 2006-03-22 Senganal T <tsenganal@novell.com>
615 - PrimaryKey : Set the IsPrimaryKey attribute before Removing from collection.
616 - RemoveUniqueConstraints : Removed. dead code.
619 - If adding/removing constraint fails, retain Unique value
620 - Remove redundant code
621 * UniqueConstraint.cs :
622 - SetIsPrimaryKey : Added. Sets the value of IsPrimaryKey.
623 - RemoveFromConstraintCollectionCleanup : If constraint is on a single column, then
624 set Unique for that column to false.
625 - CanRemoveFromCollection : Do not remove constraint, if its a PrimaryKey
627 2006-03-20 Senganal T <tsenganal@novell.com>
630 - CopyRelations () : When copying the relation, do not add constraints
631 automatically for the relation.
632 - OnMergeFailed () : If merge fails and no handler is set for the MergeFailedEvent,
633 then throw DataException
634 * ConstraintCollection.cs :
635 - Add () : Check if a constraint already exists on the Columns that are being
637 - IndexOf () : Do not check for equivalent constraints, check for the exact instance.
638 * MergeManager.cs ():
640 - Handle the MissingSchemaAction.Error case,
641 - Do not create constraints when mergin the DataRelation
642 - Follow the semantics for schema merge/validation when constraints are already present
643 in the target DataSet.
644 - AdjustPrimaryKeys () :
646 - Verify Order of Columns in the PrimaryKey when merging.
647 - ResolveColumns : Changed the arument to DataSet. Simplifies code elsewhere.
648 - CompareColumnArrays, CompareColumnArrays : Helper funtions.
650 2006-03-09 Senganal T <tsenganal@novell.com>
653 - RejectChanges () : Add the row to index, if it was in deleted state and
654 Update the index if in Modified State.
655 - AcceptChanges () : Do not update the Indexes.
656 - EndEdit () : Update the indexes even if BeginLoadData has been called
657 on the table. Ideally, indexes should not be maintained during DataLoad,
658 but this needs to handled in multiple places correctly. For now, just maintain
659 the index to ensure correct operation.
661 2006-03-05 Senganal T <tsenganal@novell.com>
664 - BeginInit (), EndInit () : Implemented methods
665 - InitInProgress : Added.
667 - EndInit () : Move the adding of columns and constraints
669 - FinishInit () : Added. Adds the Constraints and Columns
671 - InitInProgress : Added.
673 - FinishInit () : Added. Virtual method
674 - InitInProgress : Added. Virtual property
675 * UniqueConstraint.cs
676 * ForeignKeyConstraint.cs
677 - FinishInit () : Added.
678 - InitInProgress : Added.
679 - DataColsNotValidated : Removed.
680 * ConstraintCollection.cs
681 - PostAddRange : Removed event
682 - PostEndEdit () : Renamed to PostAddRange
683 - Add () : Simplified the testing if constraint is initialized
684 - AddRange () : Simplified initializing the constraints
685 * DataTableCollection.cs
686 - PostAddRange () : Added. Adds the tables to the collection
687 * DataColumnColletion.cs
688 - PostEndInit () : Renamed to PostAddRange.Also, add column to
689 the collection only if not null.
691 Added/Implemented methods for design time support. Renamed some methods for consistency
692 in naming across classes for methods serving the same purpose.
694 2006-02-24 Senganal T <tsenganal@novell.com>
696 * UniqueConstraint.cs :
697 - ChildConstraint : Added. Simplifies verifying if constraints are
699 - CanRemoveFromCollection : Fixed the check to verify if constraints is
700 linked to a ForeignKeyConstraint. Fixes #77630
701 * ForeignKeyConstraint.cs :
702 - _validateRemoveParentConstraint : Removed. Not used anymore
703 - ParentConstraint : Added. Simplifies verifying if constraints are
705 2006-02-22 Senganal T <tsenganal@novell.com>
708 - RejectChanges : Do not remove Row from Indexes when state is Deleted.
709 - CheckChildRows : When checking for the ChildRows, use the current value
710 and not the original value.
712 2006-02-18 Atsushi Enomoto <atsushi@ximian.com>
714 * CustomDataClassGenerator.cs : Patch by Marek Habersack. xsd now
715 outputs AutoIncrement, AutoIncrementSeed, AutoIncrementStep and
716 ReadOnly properties. This fixes bug #77576.
718 2006-02-17 Chris Toshok <toshok@ximian.com>
720 * System.Data/DataSet.cs, System.Data/DataView.cs,
721 System.Data/ForeignKeyConstraint.cs,
722 System.Data/DataViewManager.cs, System.Data/DataRow.cs,
723 System.Data/DataSysDescriptionAttribute.cs,
724 System.Data/UniqueConstraint.cs, System.Data/DataTable.cs,
725 System.Data/DataRelation.cs: lots of attribute work, removing
726 DataSysDescription atributes (and marking the class obsolete) for
729 2006-02-17 Chris Toshok <toshok@ximian.com>
731 * DataAdapterException.cs: remove this file.
733 2006-02-17 Chris Toshok <toshok@ximian.com>
735 * DataTableReader.cs: Switch to the (bool) form of Dispose to
736 override, as the no-arg form isn't virtual.
738 * Constraint.cs: #ifdef out more DataSysDescriptions.
740 * ConstraintException.cs: add ..ctor (string, Exception) for 2.0.
742 2006-02-17 Chris Toshok <toshok@ximian.com>
744 * DataColumn.cs: #ifdef all the DataSysDescriptions !NET_2_0.
746 * AdapterMappingException.cs: nuke this file.
748 * IDbAsyncConnection.cs, IDbAsyncCommand.cs, IGetTypedData.cs,
749 ISetTypedData.cs, IDataReader2.cs, IDataSources.cs,
750 IDbExecutionContext.cs, IDataRecord2.cs, IDataUpdatableRecord.cs:
751 remove these 2.0 files.
753 2006-02-17 Chris Toshok <toshok@ximian.com>
755 * ConstraintCollection.cs: in 2.0, class is not serializable and
756 is sealed. make all the "virtuals" #if !NET_2_0 as well.
758 * Constraint.cs: not serializable in 2.0.
760 * DataColumnCollection.cs: in 2.0, class is not serializable and
761 is sealed. make all the "virtuals" #if !NET_2_0 as well.
763 * DataRelationCollection.cs: not serializable in 2.0.
765 * DataRelation.cs: not serializable in 2.0.
767 * DataRowBuilder.cs: class is sealed in 2.0.
769 * DataRowCollection.cs: in 2.0, class is not serialized and is
770 sealed. Also, Add isn't virtual in 2.0 (as the class is sealed).
772 * DataRow.cs: not serializable in 2.0.
774 * DataSet.cs: remove some DataSysDescriptions from the 2.0 build,
775 and s/GetDataReader/CreateDataReader.
777 * DataTableCollection.cs: in 2.0, class is not serializable and is
778 sealed. make all the "virtuals" #if !NET_2_0 as well.
780 * DataTableReader.cs: remove VisibleFieldCount property.
782 * DataViewSettingCollection.cs: not serializable in 2.0.
784 * DataViewSetting.cs: not serializable in 2.0.
786 * ForeignKeyConstraint.cs: serializable in 2.0.
788 * OperationAbortedException.cs: class is sealed and serializable.
790 * PropertyCollection.cs: serializable in 2.0.
792 * StatementCompletedEventArgs.cs: class is sealed.
794 * UniqueConstraint.cs: not serializable in 2.0.
796 2006-02-16 Senganal T <tsenganal@novell.com>
799 WriteDataSetElement : Add an annotation element if exists.
800 WriteDataRelationAnnotation : New. Write a DataRelation as an annotation.
801 WriteConstraints : Write ForeignKeyConstraint even when not associated with
802 a DataRelation and add a "ConstraintOnly=true" attribute for such constraints.
803 * XmlConstants.cs : Add a new constant - ConstraintOnly
804 * XmlSchemaImporter.cs :
805 - ConstraintStructure : Add field ,IsConstraintOnly, to distinguish if a foreignkeyconstraint
806 is related to relation or not.
807 - GenerateRelation : Handle the case when parentkey and childkey contain multiple columnnames.
809 2006-02-11 Senganal T <tsenganal@novell.com>
811 * UniqueConstraint.cs :
812 - PostAddRange : Check PrimaryKey is not already set for the table
814 - PrimaryKey : follow ms.net behavior when BeginInit , EndInit is used.
815 - Add new priamry key only when EndInit is called.
816 - Incase of an error, retain old primarykey
818 - Add Constraints after columns are added.
819 - If both PrimaryKey Property and PrimaryKey Constraint are set,
820 then the Constraint takes precedence.
823 2006-02-03 Senganal T <tsenganal@novell.com>
825 * DataTableCollection.cs :
826 - Remove () : Check for invalid TableName
827 - Add () : Verify the table doesn't belong to another dataset
829 - CompleteLastAdded () : Do not raise ItemAdded Event as it is
830 already raised in AddNew().
832 - Expression : Verify that the Column names in the expression are valid
833 - ResetCollectionInfo : Renamed to ResetColumnInfo
835 - RejectChanges () : Reorganized the code to do the Right thing.
836 - Item : Dont check for detached and deleted rows as these are
838 * DataRowCollection.cs :
839 - Add () : Check for null value
841 - PrimaryKey : Set AllowDBNull=false for all the key columns
842 - ImportRow : Import the row only if it is not in Detached state. if in Deleted
843 state, perform the validation when AcceptChanges/RejectChanges is called.
844 * DataColumnCollection.cs :
845 - Add : Validate the column expression before adding it to the collection.
846 - GetColumnDependency () : New. Get the dependencies on the column
847 - CanRemove : Move checks to GetColumnDependency
848 - Clear () : Simplified code. Remove unncessary checks.Also, dont check Expression col.
849 - IndexOf - Check argument.
850 Overall , appropriate error msg's are thrown if Remove/Clear fails. Removed a few
851 redundant checks performed and moved the common code to GetColumnDependency.
853 2006-01-31 Senganal T <tsenganal@novell.com>
855 * DataSet.cs : Modified CopyRelations ()
856 - Added code to copy ForeignKeyConstraints. Fixes #77411.
858 2006-01-18 Boris Kirzner <borisk@mainsoft.com>
859 * DataColumn.cs: added PropertyCchangedEvent handling.
861 2006-01-17 Senganal T <tsenganal@novell.com>
864 ItemArray : Modified to raise RowInTableException only if
865 the concerned row has been removed from the table.Fixes
868 2006-01-16 Boris Kirzner <borisk@mainsoft.com>
869 * DataTable.cs: Drop dependend indexes on column removal.
871 2006-01-16 Atsushi Enomoto <atsushi@ximian.com>
873 * CustomDataClassGenerator.cs :
874 When a DataRelation connects the same table as parent and child,
875 generate parent row property as BlahRowParent. Fixed bug #77248.
877 2006-01-10 Senganal T <tsenganal@novell.com>
878 * DataRowCollection.cs
879 - Added ListChangedEvent to notify reset of the collection.
881 - Subscribes to the ListChangedEvent of DataRowCollection
884 2006-01-09 Senganal T <tsenganal@novell.com>
887 - Resolving a name clash in IExpression
889 2006-01-06 Senganal T <tsenganal@novell.com>
892 * DataColumnCollection.cs
893 - Reset the Parameters of DataColumn to Default Values when
894 column is removed from the Table's Collection
896 2006-01-03 Senganal T <tsenganal@novell.com>
899 - ParseSortString() : Changed the way the sort string is parsed.
900 Using a regex to parse the string.Fixes bug #77104
902 2005-12-12 Konstantin Triger <kostat@mainsoft.com>
904 * DataRow.cs: Added index Updates.
905 EndEdit() fixed to first update indices and then AssertConstraints
906 based on those indices.
907 Added Validate() and AssertConstraints() functions.
908 * DataRowCollection.cs: Removed ValidateDataRowInternal().
909 * DataTable: Fixed Clear().
911 2005-12-06 Atsushi Enomoto <atsushi@ximian.com>
913 * CustomDataClassGenerator.cs : (InitializeFields) handle AllowDBNull
914 and DefaultValue as well. Patch by Marek Habersack (bug #76709).
916 2005-12-01 Miguel de Icaza <miguel@novell.com>
918 * DataSet.cs: Apply patch from Robert Jordan, to fix #76817
920 2005-11-26 Konstantin Triger <kostat@mainsoft.com>
922 * ConflictOption.cs: TARGET_JVM include.
924 2005-11-11 Senganal T <tsenganal@novell.com>
926 * ConflictOption.cs (new file)
927 - Added ConflictOption Enumeration
930 - GetProviderSpecificFieldType : Corrected the method name
932 2005-11-11 Senganal T <tsenganal@novell.com>
934 * DataSet.cs : Added the SchemaSerializationMode Property for NET_2_0
936 * SchemaSerializationMode.cs : Added SchemaSerializationMode Enumeration
937 for NET_2_0 compatibility.
941 2005-10-20 Atsushi Enomoto <atsushi@ximian.com>
943 * XmlSchemaWriter.cs : escape names in the schema with XmlConvert.
946 2005-10-14 Sureshkumar T <tsureshkumar@novell.com>
948 * DataView.cs: Correct multiple throwing of events. Patch from
950 (RowStateFilter): Fire ListChangedEvent.
951 (ApplyDefaultSort): Fire ListChangedEvent.
952 (CompleteLastAdded): call UpdateIndex to remove the row from rowCache.
953 (IBindingList.Find): Implemented.
955 2005-10-11 Sureshkumar T <tsureshkumar@novell.com>
957 * DataView.cs (IBindingList): Implemented methods for IBindingList interface.
959 2005-09-26 Lluis Sanchez Gual <lluis@novell.com>
961 * DataSet.cs: In IXmlSerializable.GetSchema, return null again for
962 untyped datasets. Fixes bug #76101.
964 2005-09-21 Boris Kirzner <borisk@mainsoft.com>
965 * DataRow.cs: Fixes for index updating.
967 - Reset case-sensitive indexes also if their filter contains columns
969 - Use GetIndex instead of FindIndex, so the indexes created in Select()
971 * RelatedDataView.cs: implement IExpression.Equals() and GetHashCode().
973 2005-09-20 Sureshkumar T <tsureshkumar@novell.com>
975 * DataView.cs (Sort): Apply default Sorting Order if Sort property
976 is reset to null. Sort property handles this. Patch from Marc.
978 * DataTable.cs (ParseSortString): Patch from Marc Haisenko for
979 allowing [ & ] in DataView.Sort string.
981 2005-09-01 Boris Kirzner <borisk@mainsoft.com>
982 * System.Data/DataRowCollection.cs: indexes should be updated even if
983 EnforceConstraints is false. Check for EnforceConstraints in
984 ValidateDataRowInternal.
986 2005-08-08 Gert Driesen <drieseng@users.sourceforge.net>
988 * DataView.cs: Changed accessibility of dataTable, rowState and
989 rowCache field to internal to fix public API. Assigned TypeConverter
991 * ForeignKeyConstraint.cs: IsConstraintViolated is now internal.
992 * Constraint.cs: IsConstraintViolated is now internal.
993 * UniqueConstraint.cs: IsConstraintViolated is now internal.
995 2005-08-05 Atsushi Enomoto <atsushi@ximian.com>
997 * XmlSchemaDataImporter.cs : When "dataset element" has identity
998 constraints, then first reserve constraints room for them and then
999 process elements, skipping pkey creation if there is already
1000 reserved one. Fixed bug #75711.
1002 2005-08-05 Atsushi Enomoto <atsushi@ximian.com>
1004 * XmlDataInferenceLoader.cs : in GetElementMappingType(), don't guess
1005 the same (QNamed) element again when it was already evaluated as
1006 not simple type. Fixed one part of bug #75711.
1008 2005-08-02 Boris Kirzner <borisk@mainsoft.com>
1009 * XmlSchemaDataImporter.cs : Data relations should be processed after the
1010 keys, so no redundant constraints created while relations processing.
1012 2005-07-25 Boris Kirzner <borisk@mainsoft.com>
1013 * FillOptions.cs, ConflictOptions.cs, UpdateOptions.cs:
1014 added ifdef TARGET_JVM.
1016 2005-07-22 Sureshkumar T <tsureshkumar@novell.com>
1018 * DataViewSettingCollection.cs, DataTableCollection.cs,
1019 DataSet.cs, DataView.cs, DataColumn.cs, ForeignKeyConstraint.cs,
1020 DataRelationCollection.cs, UniqueConstraint.cs, DataTable.cs,
1021 DataColumnCollection.cs, DataRelation.cs, DataSet.cs:
1022 - updated attributes & attribute descriptions to match with
1025 * DataView.cs: changed protected members
1026 rowstate,rowcache,dataTable to protected internal.
1027 * Constraint.cs, ForeignKeyConstraint.cs, UniqueConstraint.cs:
1028 changed InConstraintViolated to protected internal.
1029 * ConflictOptions.cs, UpdateOptions.cs, FillOptions.cs: enclosed
1030 with NET_2_0 define.
1032 2005-07-21 Sureshkumar T <tsureshkumar@novell.com>
1034 * ForeignKeyConstraint.cs:
1035 - IsConstraintViolated (): no matter what EnforceConstraints is,
1036 this function now honestly validates. It is upto the caller to run
1038 - AddToConstraintCollectionSetup (): AssertConstraint according to
1041 2005-07-21 Boris Kirzner <borisk@mainsoft.com>
1042 * ForeignKeyConstraint.cs - IsConstraintViolated() should check also for Table.EnforceConstraints.
1043 * DataTable.cs - EnforceConstraints becomes internal so it can be used by ForeignKeyConstraint.
1045 2005-07-19 Sureshkumar T <tsureshkumar@novell.com>
1047 * DataTable.cs - CopyConstraints (): copy constraints only if it
1050 * DataSet.cs - Copy ():
1051 - use activator.CreateInstance to create a typed dataset.
1052 - copy tables if target does not exist, otherwise, just add rows.
1053 - add relation only if it does not exists.
1055 Typed datasets create the constraints & relations through
1056 constructors. Fixes bug #75211.
1058 2005-07-14 Sureshkumar T <tsureshkumar@novell.com>
1060 * DataView.cs: Patch from Marc Haisenko to throw descriptive error
1061 message when accessing Item, with invalid index.
1063 2005-07-14 Sureshkumar T <tsureshkumar@novell.com>
1065 reapplied patch from Marc Haisenko.
1066 * DataView.cs: Patch from Marc Haisenko that ensures that rowCache
1069 2005-07-13 Sureshkumar T <tsureshkumar@novell.com>
1071 * DataRelationCollection.cs: adding a relation with same set of
1072 parent columns & child columns, should not be allowed.
1074 2005-07-08 Sureshkumar T <tsureshkumar@novell.com>
1076 * DataTableReader.cs: GetSchemaTable: DataType column should be
1077 passed a type of Type.
1079 * DataRow.cs: Load : Fired necessary events.
1081 * DataTable.cs: LoadDataRow (object [], LoadOption): Fired
1084 2005-06-28 Sureshkumar T <tsureshkumar@novell.com>
1086 * DataRow.cs: Delete (): if row is detached, do nothing.
1089 2005-06-22 Sureshkumar T <tsureshkumar@novell.com>
1091 * DataRow.cs: Added method MergeValuesToRow copy merge two rows
1092 according to the merge rules.
1094 * MergeManager.cs: (MergeRow): use MergeValuesToRow
1095 API. CopyValuesToRow simply makes the target row same as source
1096 row. Rather, MergeValuesToRow merges with the target row according
1099 2005-06-19 Konstantin Triger <kostat@mainsoft.com>
1101 * DataSet.cs: Fixed ReadXml to work with IXmlSerializable
1103 2005-06-17 Jordi Mas i Hernandez <jordi@ximian.com>
1105 * DataViewManager.cs: fixes exception and creates DataView
1107 2005-06-15 Sureshkumar T <tsureshkumar@novell.com>
1109 * DataRow.cs: CheckChildRows: cascade parent changes to child rows
1110 only if there is a change in columns of the fk constraint.
1112 2005-06-14 Sureshkumar T <tsureshkumar@novell.com>
1114 * DataSet.cs: GetChanges: if row is deleted, get parent rows based
1115 on original version. fixes bug #75227.
1117 2005-06-13 Sureshkumar T <tsureshkumar@novell.com>
1119 * DataRowCollection.cs: Find (keys, version): Added an overload to
1120 find keys matching given DataViewRowState filter. Used in
1121 DataSet.Merge and DataTable.LoadDataRow.
1123 * DataTable.cs: LoadDataRow (values, LoadOption): Use
1124 DataRowCollection.Find (object [], DataViewRowState) overload.
1127 - CopyValuesToRow: Create target "records" out of loop. Records
1128 should be created once, not for each column. Dispose Unused target
1132 - MergeRow: Find rows with matching original records. If not,
1133 select with current values.
1134 - MergeRow: While adding new row, use NewNotInitializedRow.
1136 * ForeignKeyConstraint.cs: IsConstraintViolated: should not check
1137 if EnforceConstraints is false.
1139 2005-06-10 Sureshkumar T <tsureshkumar@novell.com>
1141 * DataRow.cs: CopyValuesToRow: if orginal == current, don't create
1142 a new current record.
1144 * DataSet.cs: GetChanges :Temporarily disable EnforceConstraints.
1146 * MergeManager.cs: Merge: Temporarily disable
1147 EnforceConstraints. Patch from george.barbarosie@gmail.com (George
1150 2005-06-09 Jordi Mas i Hernandez <jordi@ximian.com>
1152 * DataView.cs: fixes GetListName
1154 2005-06-02 Atsushi Enomoto <atsushi@ximian.com>
1156 * XmlSchemaConstants.cs,
1157 XmlSchemaDataImporter.cs,
1158 XmlSchemaWriter.cs : AutoIncrementStep support. Patch partly by
1159 George Barbarosie. Fixed bug #75121.
1160 * XmlSchemaMapper.cs : it is not used anymore, so just removed.
1162 2005-05-31 Boris Kirzner <borisk@mainsoft.com>
1163 * DataRow.cs : SetParentRow on Detached row with no Default version throws an exception.
1165 2005-05-29 Konstantin Triger <kostat@mainsoft.com>
1167 * This patch fixes #74813
1168 * DataView.cs: rework the CreateChildView to receive the index into the indexed row array, rowState became protected to be initialized from RelatedDataView
1169 * DataRowView.cs: movo the logic of creating the child view to the DataView
1170 * RelatedDataView.cs: perform correct init.
1172 2005-05-25 Sureshkumar T <tsureshkumar@novell.com>
1174 * DataTable.cs: Reworked DataTable.LoadDataRow method after
1175 regressions caused by Index redesign.
1176 * DataRow.cs: Load : reworked.
1178 2005-05-25 Konstantin Triger <kostat@mainsoft.com>
1180 * ISafeDataRecord.cs: Added GetDateTimeSafe method, the interface was made derived from IDataRecord
1182 2005-05-22 Konstantin Triger <kostat@mainsoft.com>
1184 * 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
1186 2005-05-20 Sureshkumar T <tsureshkumar@novell.com>
1188 * DataTable.cs: CreateRecord :value should be set to auto
1189 increment value or default value if the given value is null.
1191 2005-05-16 Konstantin Triger <kostat@mainsoft.com>
1193 * DataTable.cs: In DataTable.LoadDataRow with LoadOption - reverting the search order back to Original -> Current (by Suresh request)
1195 2005-05-16 Konstantin Triger <kostat@mainsoft.com>
1197 * DataRow.cs, DataTable.cs: code under net_2_0 changed to use the new interface
1198 * DataTable.cs: Added CompareRecords, which compares records in column order
1201 2005-05-16 Sureshkumar T <tsureshkumar@novell.com>
1204 * DataTable.cs: quick fix to make build 2.0 profile (follow up for
1205 check in 2005-05-16). Merge with previous changes.
1207 2005-05-11 Sureshkumar T <tsureshkumar@novell.com>
1209 fix for "import row does not import deleted records"
1211 * UniqueConstraint.cs: Make a way to access value even from a
1212 deleted record. deleted records are added to the collection by
1216 - Added restriction-less methods GetValue to fetch a
1217 value even if it is in deleted state.
1218 - If a row is detached, don't try to delete it from indexes.
1219 - sanity check for record_index in CopyValuesToRow method
1221 2005-05-05 Sureshkumar T <tsureshkumar@novell.com>
1223 * DataTableReader.cs: Implemented Delete handler and move the
1224 current pointer accordingly.
1226 2005-05-04 Sureshkumar T <tsureshkumar@novell.com>
1228 * DataTableReader.cs: Added event handlers to make reader stable
1229 when the datasource is modified. Thanks to Umadevi for giving the
1230 review comments for this implementation.
1232 * DataTable.cs: Clear (): Raise TableCleared event.
1234 * DataTableClearEventArgs.cs: Args for DataTableClearEventHandler.
1236 * DataTableClearEventHandler.cs: Handler for DataTable.TableClear
1239 * DataRow.cs: AcceptChanges: raise row changing & row changed
1242 * DataRowCollection.cs: Clear : remove rows from indexes
1244 2005-05-02 Atsushi Enomoto <atsushi@ximian.com>
1246 * XmlSchemaDataImporter.cs : XmlSchemaParicle might be XmlSchemaAny.
1247 This fixes bug #74784.
1249 2005-04-29 Sureshkumar T <tsureshkumar@novell.com>
1251 * DataTableReader.cs: removed use of _first. throw if given index
1252 is out of range of columns. Copy DataTable [] to local array so
1253 that not to be disturbed.
1255 2005-04-27 Sureshkumar T <tsureshkumar@novell.com>
1257 * DataTableReader.cs: Implemented most of the TODO.
1259 2005-04-22 Sureshkumar T <tsureshkumar@novell.com>
1261 * LoadOption.cs: Changed the enums. Keeping old values for
1264 * DataTable.cs: Implemented methods Load and its overloads. Also
1265 implemented LoadDataRow.
1267 * DataRowCollection.cs: Added a variation of the Find method to
1268 return a row even if it is of state Deleted. This is required for
1269 DataTable.LoadDataRow method.
1271 * DataRow.cs: Implemented internal helper method Load for loading
1272 values from an object array and given an LoadOption (2.0 feature).
1274 * DataRowAction.cs: Added few more enums for .net 2.0. Sorted
1277 2005-05-16 Konstantin Triger <kostat@mainsoft.com>
1279 * UniqueConstraint.cs : IsNull check is relevant for rows having default row version.
1280 * DataTable.cs : The row should be validated when imported
1281 * DataRowCollection.cs : if the row does not contain Proposed neither Current version, it's irrelevant for validation
1283 2005-04-26 Boris Kirzner <borisk@mainsoft.com>
1285 * UniqueConstraint.cs :
1286 - Add indication whenever the constraint belongs to collection.
1287 - Calculation of IsPrimaryKey simplified.
1288 - If constraint is based on single column, the column becomes unique.
1289 - Use boolean IsConstraintViolated() instead of AssertConstraint().
1290 - Use Index.Duplicates to proper exception message formatting.
1291 - AssertConstraint(DataRow) changed to suite new indexes interface.
1292 - Added CanRemoveFromCollection method.
1293 - Contains() method renamed to IsColumnContained().
1294 * RelatedDataView.cs : added new class.
1296 - Reset indexes after merge.
1297 - Add new tables when row array is merged into dataset.
1298 - Clean proposed record in MergeRow.
1299 - Inherit nesting on creating new relations in target data set.
1300 - Avoid double loop on constraints collection.
1301 * Locale.cs : added new class.
1302 * ISafeDataRecord.cs : added new interface.
1303 * Index.cs : commented out. Index implementation moved to System.Data.Common.
1304 * ForeignKeyConstraint.cs :
1305 - No more use of childColumnsExtended since new indexes allow duplicate records.
1306 - Constraints can not be created on expression columns.
1307 - Removed unnecessary delegation.
1308 - Use boolean IsConstraintViolated() instead of AssertConstraint().
1309 - Use proper exception message formatting.
1310 - Contains() method renamed to IsColumnContained().
1311 * DataViewRowState.cs : use enum members to simplify notation.
1312 * MergeManager.cs : implemented RelationCollectionChanged().
1313 * DataView.cs : new implementation.
1314 * DataTableCollection.cs :
1315 - Added boundary check in indexer.
1316 - More accurate handling in AddRange().
1317 - Raise event in Remove().
1319 - Hold primary key as constraint.
1320 - Added accurate handling of DefaultView.
1321 - Hold DataRowBuilder per table.
1322 - Proper exception messages if enforce Constraints is violated.
1323 - If there is no rows, Compute() returns DBNull.
1324 - Use DataRow properties instead of private members.
1325 - CopyProperties() fixed.
1326 - Raise proper events in EndInit().
1327 - Proper order of violation checks in EndLoadData().
1328 - Create array of rows using NewRowArray().
1329 - ImportRow handles rows according to their versions.
1330 - LoadDataRow make use of records (instead of raw object array).
1331 - Added and implemented LoadDataRow() that gets IDataRecord as a parameter (used in Fill)
1332 - Select() uses indexes filtering and sorting ability (instead of "loop-throw-sort" approach).
1333 - Removed redundant RowSorter and Sortable column classes.
1334 - ParseSortString() fixed to threat bracketed column names.
1335 - Table holds collection of property descriptors.
1337 - Reset table case sensitive indexes on CaseSensitive change.
1338 - EnforceConstraints update logic moved to internal method (used by DataTable).
1339 - InAddChangedRow first add row and than copy values for proper handling of default values.
1341 - Changed private member names to suite name convention.
1342 - CancelEdit() fixed.
1343 - CreateChildView() delegates to DataView.
1345 - Proper exception messages in indexers.
1346 - RowVersion uses DataView.
1347 - GetProperties() delegates to corresponding table if needed.
1348 * DataRowCollection.cs :
1349 - Common Add() logic moved to AddInternal() (used also by DataTable).
1350 - Removed redundant check from Contains().
1351 - Dalegate Find() calls when possible.
1353 - RomoveAt() delegates to Remove().
1354 - Optimized constraints check in row validation.
1355 * DataRelationPropertyDescriptor.cs : added new class.
1356 * DataRelationCollection.cs :
1358 - Fixed order of actions in AddCore().
1359 - RemoveCore() also delegates to base.
1360 - Add relation to dataset also in AddCore().
1361 - Remove relation from dataset also in RemoveCore().
1362 - InTransition hold a data relation so we can properly identify the "in transition" state.
1363 - Added threat of parent and child table s property descriptors in Add().
1364 - Common Add() logic moved to AddCore().
1366 - Remove() threats "in transition" state properly.
1367 - Remove methods delegate to single implementation.
1368 * DataColumnPropertyDescriptior.cs :
1369 - Added new constructor.
1370 - Commented out redundant method.
1371 * DataColumnCollection.cs :
1372 - Boundary check in indexer.
1373 - RegisterName and UnregisterName become internal (used also by DataColumn).
1375 - Fixed CanRemove().
1376 - Rethrow correct exception in Clear();
1377 - Change in collection resets parent table property descriptors.
1378 - Added PostEndEdit() helper method (used by DataTable).
1380 - Private member names changed to suite name convention.
1381 - Created method for CanAutoIncrement() logic.
1382 - Proper handling of column name update.
1383 - Proper exception messages on expression update.
1384 - Proper namespace handling (delegates to table when needed).
1385 - Removed redundant check in Unique update.
1386 - Implemented internal Clone().
1387 - GetParentRalation() and GetChildRelation() become private.
1389 - Added abstract methods (implemented in UniqueConstraint and ForeignKeyConstraint).
1390 - Simplified index update.
1391 * ConstraintCollection.cs :
1392 - Use Locale instead of CaseSensitive in column names comparison.
1394 - Rethrow correct exception type in Add().
1395 - Proper update of table primary key in Add().
1396 - Delegate CanRemove() to constraint.
1397 - Remove table primary key in Clear();
1398 - Delegate "can remove" check to constraint in Remove().
1399 - Removed unnecessary methods and properties.
1401 - RowSate becomes calculated property.
1402 - Use properties instead of private members where possible.
1404 - Fixed order of actions in ItemArray update.
1405 - Fixed DetachRow().
1406 - Added ImportRecord() method.
1407 - Removed redundant SetValuesFromDataRecord().
1408 - Fixed IndexFromVersion().
1409 - Added VersionFromIndex() method. Returns row version the passed record index corresponds to.
1410 - Fixed AcceptChanges().
1411 - Fixed creating proposed version in BeginEdit();
1412 - Added record disposal in Delete().
1413 - Fixed CheckChildRows().
1414 - EndEdit() fixed. Checks for readonly. Uses straight flow instead of "try and fix if fail" approach.
1415 - GetChildRows() and GetPrarentRows() rewrited. Use records and indexes for rows lookup.
1416 - GetColumnError() delegates to another implementation.
1417 - HasVersion() fixed.
1418 - RejectCahnges checks on child rows before passing through.
1419 - SetParentRow() fixed. Create relation collection if needed. Use typed data container value copy.
1420 - CopyErrors() logic moved to separate method (used also by DataTable).
1421 * ExpressionElement.cs : added new class.
1422 * Res.cs : added new class.
1424 2005-04-20 Jordi Mas i Hernandez <jordi@ximian.com>
1426 * DataViewManager.cs: implements TypedList.GetListName used in SWF
1428 2005-04-19 Atsushi Enomoto <atsushi@ximian.com>
1430 * DataRowView.cs : indexer should access to DataRow with proper
1431 DataRowVersion. Fixed bug #74650.
1433 2005-04-18 Sureshkumar T <tsureshkumar@novell.com>
1435 * DataRow.cs: if there are no mapping fields, fill with default
1438 2005-04-17 Atsushi Enomoto <atsushi@ximian.com>
1440 * DataView.cs : Delete() should not try to remove row twice.
1443 2005-04-13 Atsushi Enomoto <atsushi@ximian.com>
1445 * DataTable.cs : Use GetRowType() for the base of the returning array
1446 type of Select(). Fix by Gerhard Rittweger.
1447 * CustomDataClassGenerator.cs : Fixed slightly harmless wrong code.
1449 2005-04-13 Atsushi Enomoto <atsushi@ximian.com>
1451 * CustomDataClassGenerator.cs : custom relation was not added to
1452 Relations property. The second entry of bug #69276 was fixed.
1453 Patch by Daniel Rodriguez.
1455 2005-04-07 Lluis Sanchez Gual <lluis@novell.com>
1457 * DataRowCollection.cs: Fix the signature of the Add method
1460 2005-03-16 Atsushi Enomoto <atsushi@ximian.com>
1462 * DataRow.cs : on importing row, it was copying data from incorrect
1463 DataRow. This fixes bug #73288.
1465 2005-03-07 Jackson Harper <jackson@ximian.com>
1467 * DataViewManagerListItemTypeDescriptor.cs: Implement missing
1468 features. These are needed for System.Windows.Forms databinding.
1470 2005-02-25 Atsushi Enomoto <atsushi@ximian.com>
1472 * DataColumn.cs : setting negative value on MaxLength of SimpleContent
1473 column is still valid.
1475 2005-02-15 Atsushi Enomoto <atsushi@ximian.com>
1477 * XmlSchemaWriter.cs : new file for outputting XmlSchema.
1478 * DataSet.cs : removed rewritten code in XmlSchemaWriter.
1479 * XmlConstants.cs : added UseCurrentCulture constant.
1481 Use new Xml Schema writer.
1482 Use XmlSchemaDataImporter as we use in DataSet.
1484 2005-02-10 Atsushi Enomoto <atsushi@ximian.com>
1486 * DataView.cs, DataRowView.cs : Fixed bug #72421. CreateChildView()
1487 should target only child rows.
1489 2005-02-03 Atsushi Enomoto <atsushi@ximian.com>
1491 * DataViewManager.cs: misuse of ReadStartElement(string).
1492 * DataRowView.cs : removed some MonoTODO.
1494 2005-02-02 Sureshkumar T <tsureshkumar@novell.com>
1495 Ankit Jain <radical@corewars.org>
1497 * DataColumn.cs: throw exception if the column is part of a
1498 relationship, when chaning the data type. Added methods
1499 "GetParentRelation ()" and "GetChildRelation ()" get the relation
1500 which contains the current column
1501 * DataRelation.cs: Added method "Contains (DataColumn)" to check
1502 whether the relation contains the given column.
1504 fixes nunit failure: DataRelationTest.InvalidConstraintException2.
1506 2005-02-02 Sureshkumar T <tsureshkumar@novell.com>
1508 * DataColumnCollection.cs: implemented todo item "check for
1509 constraints" when removing columns from table.
1510 * DataRowCollection.cs: Clear (): don't have to throw child key
1511 constraint exception when the child table does not have any
1512 rows. safe to remove parent rows.
1513 * UniqueConstraint.cs: added method "Contains (DataColumn)" to
1514 check whether a column is part of UniqueConstraint.
1515 * ForeignKeyConstraint.cs: added method "Contains (DataColumn,
1516 lookInParent)" to check whether a column is part of foreignkey.
1518 fixes nunit failure: DataTableTest.ClearTest ()
1520 2005-02-02 Sureshkumar T <tsureshkumar@novell.com>
1522 * ForeignKeyConstraint.cs: validating columns: move checking
1523 "tables are of same dataset" before "checking column types".
1525 fixes nunit failure: ForeignKeyConstraint.CtorExceptions.
1527 2005-02-02 Atsushi Enomoto <atsushi@ximian.com>
1529 * DataViewManager.cs : let's just use StringWriter instead of
1530 XmlTextWriter (to avoid empty tag string mismatch annoyance.)
1531 * DataView.cs : implemented BeginInit() and EndInit(). Don't update
1532 rows during init phase until EndInit() is invoked. During init phase,
1533 just hold properties such as Sort that affects on rows.
1535 2005-02-02 Atsushi Enomoto <atsushi@ximian.com>
1537 * DataTableCollection.cs : (RemoveAt) just use IndexOutOfRangeException.
1539 2005-02-02 Atsushi Enomoto <atsushi@ximian.com>
1541 * DataView.cs : DataRowView.EndEdit() raises ItemMoved event.
1542 set_Table clears Sort and RowFilter.
1544 2005-02-02 Atsushi Enomoto <atsushi@ximian.com>
1547 - Clear() should clear AddNew cache.
1548 - Open() invokes Reset().
1549 - ConstraintCollectionChanged() itself does not invoke OnListChanged().
1550 - Reset() does not Open, Close and Update Index.
1551 - UpdateIndex() can be invoked even if it has no table.
1552 - Reset event is invoked always after actual query to table.
1553 - set_Table should raise PropertyDescriptorChanged event.
1555 2005-02-02 Atsushi Enomoto <atsushi@ximian.com>
1557 * DataView.cs : ColumnCollectionChanged() is the event invoker (i.e.
1558 when overriden, no column change events are fired).
1560 2005-02-02 Atsushi Enomoto <atsushi@ximian.com>
1562 * DataView.cs : CancelEditRowView() and DeleteRowView() was incorrectly
1563 checking target tables. They also should raise events if required.
1565 2005-02-02 Atsushi Enomoto <atsushi@ximian.com>
1567 * DataView.cs : simplify code with UnsortedList.
1569 2005-02-01 Atsushi Enomoto <atsushi@ximian.com>
1571 * DataView.cs : Mostly reimplemented.
1572 - UpdateIndex() is invoked only when it is required (results in
1573 significant performance improvement).
1574 - Use SortedList and wrapper OptionalSortedList which switches
1575 between SortedList (with Sort) and UnsortedList (without Sort).
1576 - DataView itself now contains two collections for rowviews:
1577 Table rows based pool and AddNew() based cache. Consider those
1578 two collections in every members.
1579 - Reset() does not clear rows. Just invokes UpdateIndex().
1580 - Hook RowDeleting, ColumnChanging and ColumnChanged events in table
1581 which is required to handle state changes.
1582 - Reimplemented Find() and FindRows() because of internal changes.
1584 2005-02-01 Atsushi Enomoto <atsushi@ximian.com>
1586 * DataTable.cs : Fixed row comparer. Even if every of the sort target
1587 columns are identical for two rows, they should not be regarded as
1588 the same unless they are Object.ReferenceEquals.
1590 2005-02-01 Atsushi Enomoto <atsushi@ximian.com>
1592 * DataRowCollection.cs : on adding a row, should raise
1593 ChangingDataRow() as well as ChangedDataRow().
1595 2005-01-31 Sureshkumar T <tsureshkumar@novell.com>
1597 * DataRow.cs: SetParentRow (): use relation.ParentColumns &
1598 relation.ChildColumns instead of relation.ChildKeyConstraint.*
1599 because createConstrains flag may be false when creating data
1600 relations. Hack along with Ankit Jain.
1602 2005-01-31 Atsushi Enomoto <atsushi@ximian.com>
1604 * DataView.cs :some interface implementations.
1606 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
1608 * DataView.cs : Add to table only when the row is not in the table.
1610 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
1612 * DataView.cs : implemented FindRows() (btw we should not use
1613 DataTable since there are detached rows by AddNew().)
1615 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
1618 Code cleanup: privatify some members, remove unused methods.
1619 Some event-based invocation methods should not raise NotImplemented.
1621 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
1623 * DataSet.cs : ReadXml() became closer to MS behavior, being hacky.
1625 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
1627 * XmlSchemaDataImporter.cs : empty element is not regarded as a column.
1629 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
1631 * UniqueConstraint.cs : mostly reverted the previous patch + check
1632 IsPrimaryKey before validation.
1634 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
1636 * DataView.cs : Fixed duplicate insertion to Hashtable.
1637 * UniqueConstraint.cs : Unique constrained pair of columns could be
1640 2005-01-27 Atsushi Enomoto <atsushi@ximian.com>
1643 Don't do anything for Sort/ApplyDefaultSort/RowFilter/RowStateFilter
1644 when the same value is being set.
1645 Examined UpdateIndex() and marked FIXME where MS does not invoke it.
1646 Removed unused OnColumnChanged().
1647 Now store rowViewPool and reuse DataRowView objects.
1648 Optimized UpdateIndex() - avoid ArrayList. Avoid Haashtable.Rehash().
1650 2005-01-27 Atsushi Enomoto <atsushi@ximian.com>
1652 * DataViewSettings.cs : no MonoTODO anymore.
1653 * DataViewManager.cs : pass itself to new DataView() (new ctor).
1654 * DataRowView.cs : GetHashCode() returns its Row's hash.
1655 * DataTablePropertyDescriptor.cs : use new ctor().
1656 * DataView.cs : added new ctor()s that accept DataViewManager.
1658 2005-01-27 Atsushi Enomoto <atsushi@ximian.com>
1660 * DataView.cs, DataRowView.cs : AddNew() should not add the row to table
1661 (it is still detached). So handle those rows differntly.
1662 CancelEdit(), EndEdit() and Delete() propagates those events to
1663 DataView (and handle row collection).
1664 Eliminate "throw new Exception()".
1665 Don't catch all the exception thrown in ListChanged event.
1666 * DataTable.cs : made RowSorter as internal and use it in DataView.
1667 no need to pass DataRow[] to .ctor().
1669 2005-01-27 Atsushi Enomoto <atsushi@ximian.com>
1671 * DataTable.cs : don't create DefaultView unless it is required. It
1672 significantly improves performance. (i.e. DataView perf. is sick ;-)
1674 2005-01-27 Atsushi Enomoto <atsushi@ximian.com>
1676 * DataViewSetting.cs,
1677 DataViewSettingCollection.cs,
1678 DataViewManager.cs : implemented basic members.
1680 2005-01-26 Atsushi Enomoto <atsushi@ximian.com>
1682 * Node.cs, DataColumnPropertyDescriptor.cs, DataTable.cs :
1683 Eliminate "throw new Exception".
1685 2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
1687 * DataRow.cs : (set_Item) RowNotInTableExeption check should be done
1688 regardless of index existence.
1690 2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
1692 * DataTable.cs : use new IExpression.EvalBoolean() to avoid extraneous
1695 2005-01-25 Sureshkumar T <tsureshkumar@novell.com>
1697 * DataTable.cs: ImportRow :Do not add to rows collection if the
1698 import row is in detached state.
1700 2005-01-25 Sureshkumar T <tsureshkumar@novell.com>
1702 * DataRow.cs: CopyValuesToRow : set the column value with the
1703 default version of the given row.
1704 * DataTable.cs: ImportRow: Copy values before adding row.
1705 * DataSet.cs: AddChangedRow: Add the row to the table after
1708 Fixes bug #67317. Patch by Ankit Jain.
1710 2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
1712 * DataRowView.cs : Fixed IsEdit to reflect correct status of DataRow.
1713 * DataRow.cs : Expose editing status internally.
1715 2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
1717 * DataView.cs : missing attributes.
1719 2005-01-24 Atsushi Enomoto <atsushi@ximian.com>
1721 * DataRowView.cs : implemented CreateChildView().
1723 2005-01-24 Atsushi Enomoto <atsushi@ximian.com>
1725 * DataTable.cs, DataView.cs :
1726 Optimized DataView to compile only once RowFilter and Sort when
1727 those properties are set. To make it possible, extracted
1728 SortableColumn out of DataTable and added internal DataTable.Select()
1729 that accepts precompiled IExpression and SortableColumns[].
1731 2005-01-24 Atsushi Enomoto <atsushi@ximian.com>
1733 * DataColumn.cs : set_MaxLength is not allowed when it is mapped to
1734 SimpleContent. (However, it is weird but it never fails when we set
1735 ColumnMapping = MappingType.SimpleContent when we fhave MaxLength.)
1737 2005-01-21 Atsushi Enomoto <atsushi@ximian.com>
1739 * DataRow.cs : more Current -> Default fixes. Check if it should throw
1740 VersionNotFoundException. Patch by Ankit Jain.
1742 2005-01-21 Atsushi Enomoto <atsushi@ximian.com>
1744 * DataRow.cs : Default selects the right version for the current
1745 state of the row. Current is not always available. Also change
1746 that for GetParentRow(). Patch by Ankit Jain.
1748 2005-01-21 Atsushi Enomoto <atsushi@ximian.com>
1750 * DataTable.cs : CopyColumn() should copy AutoIncrement after
1751 DefaultValue, or it will raise an error in some cases.
1753 2005-01-20 Atsushi Enomoto <atsushi@ximian.com>
1755 * ConstraintCollection.cs : Add() should throw ArgumentException when
1756 the argument constraint fails validation.
1757 DataTable.cs : set_PrimaryKey should throw ArgumentException when
1758 the argument contains constraints which fail validation.
1760 2005-01-19 Sureshkumar T <tsureshkumar@novell.com>
1762 * DataRelationCollection.cs:
1764 Method Remove : Donot throw exception if DataRelation argument is
1765 null in DataRelationCollection.Remove method.
1767 Method RemoveAt : Exception should be IndexOutOfRangeException if
1768 row index is not in list range.
1770 Fixes nunit failures DataRelationCollection.Remove and
1771 DataRelationCollection.RemoveAt.
1773 2005-01-19 Sureshkumar T <tsureshkumar@novell.com>
1775 * ConstraintCollection.cs: Donot throw exception if constraints
1776 are null in AddRange method. Check for null before using the
1781 2004-01-19 Atsushi Enomoto <atsushi@ximian.com>
1783 * XmlDataInferenceLoader.cs,
1784 XmlDataReader.cs : Check if the XmlReader (node) represents DataSet
1785 or a table, reusing code block in XmlDataInferenceLoader.
1786 This fixes bug #60118.
1788 2004-01-19 Atsushi Enomoto <atsushi@ximian.com>
1790 * XmlDiffLoader.cs : Ankit Jain <radical@imt.ac.in> has a conflicting
1791 patches and some good catches. Some attributes should be skipped,
1792 and loaded value must be typed.
1794 2004-01-19 Atsushi Enomoto <atsushi@ximian.com>
1797 XmlDataInferenceLoader.cs,
1798 XmlDataReader.cs : use common const for http://www.w3.org/2000/xmlns/.
1799 * XmlDiffLoader.cs : It was not handling attributes. Fixed bug #70961.
1801 2005-01-18 Sureshkumar T <tsureshkumar@novell.com>
1803 Fix for bug #66838. This patch is submitted by "Ankit Jain"
1804 <radical@corewars.org> and refactored.
1806 * DataRow.cs: Allows to set a parent row even if the row is in
1809 * DataRelation.cs: method "UpdateConstraints" is added to check
1810 and create missing keys when adding a relation. This is refactored
1811 approach from DataRelationCollection.Add method.
1813 * DataRelationCollection.cs: AddCore methods of all relation types
1814 are synchronized. A Check for existing constraints is
1815 done. Relation is added to the list only if all checks are passed.
1817 2004-01-18 Atsushi Enomoto <atsushi@ximian.com>
1819 * DataColumnCollection.cs : Clear() throws ArgumentException that
1820 wraps thrown innerException.
1821 * XmlSchemaDataImporter.cs : removed FIXMEs.
1823 2004-01-12 Atsushi Enomoto <atsushi@ximian.com>
1825 * DataSet.cs : When serializing DataTable, BuildSchema() is passed
1826 null relation collections.
1827 Quick fix for XmlSerializer deserialization. It does not require
1828 XML Schema included.
1830 2004-01-11 Atsushi Enomoto <atsushi@ximian.com>
1833 CustomDataClassGenerator.cs :
1834 In DataSet class, IXmlSerializable.GetSchema() returns null.
1835 In strongly-typed class, it returns schema.
1837 2004-01-07 Atsushi Enomoto <atsushi@ximian.com>
1839 * XmlDataInferenceLoader.cs : test driver class should be excluded.
1841 2004-12-01 Miguel de Icaza <miguel@ximian.com>
1843 * DataView.cs: Patch from Marc Haisenko that ensures that rowCache
1846 2004-11-10 Atsushi Enomoto <atsushi@ximian.com>
1848 * CustomDataClassGenerator.cs : generated foreign key constraint
1849 construction code was creating empty child columns and thus it
1850 was invalid. This fixes bug #69276 (patch by Martin Voelkle).
1852 2004-11-02 Atsushi Enomoto <atsushi@ximian.com>
1854 * CustomDataClassGenerator.cs : custom DataTable ctor should call
1855 InitializeFields(), and those DataColumns created by that method
1856 should take data type. This should fix bug #68972.
1858 2004-10-15 Atsushi Enomoto <atsushi@ximian.com>
1860 * DataSet.cs : Also clear UnhandledAttributes ArrayList before
1861 generating next attribute column schema. This fixes bug #68432.
1863 2004-10-14 Umadevi S <sumadevi@novell.com>
1864 * DataTable.cs : Corrected the Clone method to use Activator.CreateInstance so that the
1865 correct subclass is returned. This fixes bug #67631
1867 2004-10-14 Umadevi S <sumadevi@novell.com>
1868 * DataSet.cs : Corrected the Clone method to use Activator.CreateInstance so that the
1869 correct subclass is returned. This fixes bug #67627
1871 2004-10-13 Atsushi Enomoto <atsushi@ximian.com>
1873 * DataSet.cs : clear UnhandledAttributes ArrayList before generating
1874 next element column schema. This fixes bug #68256.
1876 2004-10-12 Atsushi Enomoto <atsushi@ximian.com>
1878 * DataSet.cs : now xs:schema contains xmlns="".
1879 This fixes bug #68008.
1881 2004-10-12 Atsushi Enomoto <atsushi@ximian.com>
1883 * DataSet.cs : DBNull attribute column should not be written as
1884 empty attribute. This fixes bug #68007.
1886 2004-10-12 Atsushi Enomoto <atsushi@ximian.com>
1888 * DataSet.cs, XmlConstant.cs, XmlSchemaDataImporter.cs:
1889 DataColumn.ReadOnly was not handled. This fixes bug #68005.
1890 Attribute defaultValue was not handled too.
1892 2004-10-07 Atsushi Enomoto <atsushi@ximian.com>
1895 - When AllowDBNull is false on attribute DataColumn, its schema
1896 should contain use="required". This fixes bug #66792.
1897 - If MaxLength is set on attribute DataColumn, the mapped schema
1898 type should contain maxLength facet. This fixes bug #66793.
1900 2004-10-04 Atsushi Enomoto <atsushi@ximian.com>
1902 * DataSet.cs : For a row, when a relation is not nested, then it is
1903 still output target since it won't be written as a child of its
1904 parent. It fixes bug #66379.
1906 2004-10-03 Atsushi Enomoto <atsushi@ximian.com>
1908 * DataSet.cs : Attribute constraint field XPath must be written as
1909 @blah. This fixes bug #66366.
1911 2004-09-28 Umadevi S <sumadevi@novell.com>
1912 * DataRow.cs - checked for Enforceconstraints, while using indices to search for related rows
1914 2004-09-24 Sureshkumar T <tsureshkumar@novell.com>
1916 * DataSet.cs : Don't check constraints for dataset clear
1917 * DataRowCollection.cs : check for EnforceConstraints flag
1918 before checking foriegn key constraints in Clear method
1919 * DataTable.cs : Redundant checking removed in Clear method as it is
1920 checked in DataRowCollection.Clear method.
1923 2004-09-19 Sureshkumar T <tsureshkumar@novell.com>
1924 * DataRow.cs : while deserialization of dataset, adding a current row precedes the original row.
1925 hence, adding a row cache is necessary if the original row happens to be current.
1928 2004-08-23 Martin Baulig <martin@ximian.com>
1930 * XmlDataInferenceLoader.cs (Driver): Make this class internal,
1933 2004-08-18 Umadevi S <sumadevi@novell.com>
1934 * DataView.cs - Completed most of the event handling.
1935 Thanks to Punit Todi <punit_todi@da-iict.org> for implementing most of it.
1936 Thanks to Boris Kirzner <borisk@mainsoft.com> for commenting and suggesting changes to the implementation.
1937 * DataTable.cs - Changed Access modifiers of class/methods since it was used by DataView.
1939 2004-08-06 Atsushi Enomoto <atsushi@ximian.com>
1941 * DataSet.cs : DataSet's ExtendedProperties were not XmlConverted.
1943 2004-08-05 Atsushi Enomoto <atsushi@ximian.com>
1945 * XmlConstants.cs : Added constants for "msprop" support.
1946 * DataSet.cs : ExtendedProperties should be written in the schema.
1947 This fixes bug #61233.
1949 2004-07-27 Atsushi Enomoto <atsushi@ximian.com>
1951 * DataSet.cs : on serialization to XmlWriter, XmlConvert should be
1952 used. There were also some culture dependency problems to write int.
1954 2004-06-27 Atsushi Enomoto <atsushi@ximian.com>
1956 * XmlDataInferenceLoader.cs : It was not always filling relation
1957 child table information correctly. This fixes bug #60742.
1959 2004-06-23 Umadevi S <sumadevi@novell.com>
1960 * UniqueConstraint.cs :changed a ifdef true to ifdef NET_1_1
1962 2004-06-22 Atsushi Enomoto <atsushi@ximian.com>
1964 * DataSet.cs : Fixed ReadXml(). When ReadMode is ReadSchema and the
1965 schema is inside the document element (as created in XmlWriteMode
1966 .WriteSchema), it should read schema from that non-document element.
1967 This fixes one case reported in bug #60470.
1969 2004-06-20 Atsushi Enomoto <atsushi@ximian.com>
1971 * XmlDataInferenceLoader.cs : Kindly reject xml schema document as a
1972 inference target. For bug #60470. (MS does not support schema
1973 document inference and results in unconsistent dataset structure.)
1975 2004-06-20 Atsushi Enomoto <atsushi@ximian.com>
1977 * DataTableCollection.cs : reset the table's DataSet to null when
1978 removing a table from this collection.
1979 * DataTable.cs : When Namespace is not specified explicitly, its
1980 Namespace property reflects DataSet's Namespace if exist.
1981 This fixes bug #60469.
1983 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
1985 * DBConcurrentcyException.cs: CRLF to LF
1986 * DataViewSetting.cs: CRLF to LF
1988 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
1990 * DataViewSetting.cs: renamed fields to match MS.NET
1992 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
1994 * DBConcurrencyException.cs: fixed serialization compatibility with
1997 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
1999 * ChangeLog : Fix for misspelled words.
2001 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
2003 * DataRowCollection.cs : Removed onColumnRemoved since it is not in use.
2005 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
2008 - Table stores default values for columns in special default values row.
2009 It is allocated once (in NewRow).
2010 - DataTable.Copy rewrited. It works with uninitialized rows for better perfomance.
2011 - OnRemoveColumn has nothing to perform by now.
2013 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
2016 - Changed access of original, current and proposed indexes to internal.
2017 - ColumnErrors reviewed : now column errors stored in ArrayList and allocated on demand only.
2018 - Added new DataRow constructor that creates uninitialized DataRow (used in DataTable.Copy).
2019 - Use DataContainer.CopyValue and default values row for faster set of default values in row.
2020 - SetColumnValue become CheckValue. Now it does not changes the value, but only checks for its correctness.
2021 Care about Null and DBNull values is now in DataContainer.
2022 - Use DataColumn.AutoIncrementValue and GetInt64 for faster set of autoincrement value.
2023 - Use Datacontainer.CopyValue and default values row to speed up CheckChildRows.
2024 - Fix in CopyState : clone column errors.
2025 - Removed CollectionChanged and onColumnRemoved since we are not using both of them anymore.
2027 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
2029 * DataColumnCollection.cs :
2030 - Fix : Add() now delegates to Add(DataColumn).
2031 - autoIncrement list holds DataColumn objects, and not just column names.
2033 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
2036 - AutoIncrementValue fixes. Now AutoIncrement uses DataContainer.GetInt64 to avoid boxing.
2037 - DefaultValue fixes. Default value from now on is also stored in special record in
2038 DataTable, so we're able to set default value for the column faster (typed).
2041 2004-06-15 Atsushi Enomoto <atsushi@ximian.com>
2043 * DataSet.cs : children of non-root rows were not properly written.
2046 2004-06-10 Umadevi S <sumadevi@novell.com>
2047 * DataRelation.cs - Constructor
2048 - The datatypes of the parentcolumn(s) and the childcolumn(s) should match
2050 2004-06-06 Atsushi Enomoto <atsushi@ximian.com>
2052 * XmlSchemaDataImporter.cs : We should fill Namespace for DataTable.
2054 2004-06-04 Gert Driesen <drieseng@users.sourceforge.net>
2056 * Constraint.cs: marked methods internal to fix public API
2057 * ConstraintCollection.cs: to fix public API, use
2058 DataTable.fInitInProgress to check whether initialization
2059 of DataTable is in progress
2060 * DataColumn.cs: added stubs for missing methods
2061 * DataRowBuilder.cs: marked Table property internal to
2063 * DataSet.cs: removed extra empty destructor, marked
2064 OnMergeFailed internal to fix public API
2065 * DataTable.cs: use fInitInProgress field to hold init
2066 status, to match MS.NET
2067 * DataView.cs: added missing attributes on IsOpen
2069 2004-06-03 Atsushi Enomoto <atsushi@ximian.com>
2071 * DataSet.cs : Use NameTable.Get() before calling LookupNamespace()
2072 in XmlNamespaceManager.
2074 2004-06-03 Atsushi Enomoto <atsushi@ximian.com>
2076 * DataSet.cs : complex table content child was not properly added
2077 when it is the only one child in the parent table. Fixed bug #53959.
2079 2004-06-02 Gert Driesen <drieseng@users.sourceforge.net>
2080 * DataTableTypeConverter.cs: added
2081 * DataView.cs: added missing attribute on Table property
2082 * DataViewManager.cs: moved attribute to correct property
2083 * UniqueConstraint.cs: removed extra ReadOnly attribute from
2084 IsPrimaryKey property
2086 2004-06-01 Atsushi Enomoto <atsushi@ximian.com>
2088 * DataRow.cs : ColumnsChanged event is not required in .ctor().
2090 2004-06-01 Atsushi Enomoto <atsushi@ximian.com>
2092 * XmlDataReader.cs : type change is required before setting value
2095 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
2097 * DataSet.cs : Loop-break of the last fix was incorrect.
2099 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
2101 * DataSet.cs : When a row has no parent row but the table has parent
2102 relation(s), that row had been always ignored.
2104 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
2106 * XmlDataInferenceLoader.cs : Fixed GetMappedTable() that incorrectly
2107 rejected same-named tables in different hierarchy. Thanks to Boris.
2109 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
2111 * XmlDiffLoader.cs : Added some Skip() that is required not to go to
2112 infinite loop. Thanks to Boris for this fix.
2114 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
2116 * XmlDataInferenceLoader.cs : XmlSchema elements should not be infered.
2117 Thanks to Boris for this fix.
2119 2004-05-30 Atsushi Enomoto <atsushi@ximian.com>
2121 * DataTable.cs : serialization .ctor() should use XmlReadMode.DiffGram
2122 for ReadXml(). Thanks to Boris.
2124 2004-05-27 Boris Kirzner <borisk@mainsoft.com>
2126 - CheckReadOnlyStatus : use typed (and faster comparing).
2127 - EndEdit : bug fix - do not dispose record if it holds original version.
2128 - SetValuesFromDataRecord : Take care about autoincrement columns.
2131 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
2133 * MergeManager.cs : don't output debug message to Console.
2135 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
2137 * XmlDataInferenceLoader.cs : Namespace are not imported to the table
2138 structure. Thanks to Boris Kirzner for the fix.
2140 2004-05-27 Umadevi S <sumadevi@novell.com>
2141 * DataRelationCollection.cs - fixed nunit test errors
2143 2004-05-27 Umadevi S <sumadevi@novell.com>
2144 * DataTableCollection.cs - fixed nunit test errors
2146 2004-05-21 Atsushi Enomoto <atsushi@ximian.com>
2148 * DataColumnCollection.cs : NullReferenceException was thrown when
2149 the table was not found.
2150 * DataRowCollection.cs :
2151 Find() just returns null for null value under MS.NET 1.1.
2152 RemoveAt() should also avoid to call AcceptChanges() like Remove().
2153 * UniqueConstraint.cs : in AssertConstraint() throw ConstraintException
2154 directly under MS.NET (for nunit test).
2156 2004-05-21 Atsushi Enomoto <atsushi@ximian.com>
2158 * XmlSchemaDataImporter.cs : Setting startindex in LastIndexOf()
2159 caused problem on qualified name to get schema Field name.
2161 2004-05-21 Atsushi Enomoto <atsushi@ximian.com>
2163 * XmlDataReader.cs : Now data reader is namespace aware in all places.
2164 When table's namespace is different, it entered to infinite loop.
2166 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
2167 * MergeManager.cs : AdjustSchema now updates by reference new created table,
2168 so in Merge you do not need to lookup for it (were unable to do this for unnamed tables).
2171 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
2173 * DataColumn.cs : In set_Item[int] - if autoincrement, adjust next autoincrement value.
2174 * DataColumnCollection.cs : fixed parantethes.
2176 - AcceptChanges : do nothing if row state is unchanged.
2177 - GetChildRows, GetParentRows : bug fix (use correct index).
2178 * DataRowCollection.cs : bug fix (compare all row's values).
2179 * DataTable.cs : bug fix (use correct row version).
2181 2004-05-20 Atsushi Enomoto <atsushi@ximian.com>
2183 * XmlSchemaDataImporter.cs : xs:positiveInteger is mapped to ulong.
2184 When content type is Mixed, text column is not required (it is
2185 required only when the complex type has no particle).
2186 "Repeated element" column is also created (considering maxOccurs=0
2187 and complex content extension).
2189 2004-05-20 Atsushi Enomoto <atsushi@ximian.com>
2191 * XmlSchemaDataImporter.cs : XmlSchemaGroupBase was not handled
2194 2004-05-20 Atsushi Enomoto <atsushi@ximian.com>
2196 * XmlSchemaDataImporter.cs : Removed unused code and extra MonoTODO.
2197 Fixed relation inference to consider attribute XPath.
2199 2004-05-19 Atsushi Enomoto <atsushi@ximian.com>
2201 * DataColumn.cs : Fixed set_Item[int]. Convert.ToInt64(DBNull.Value)
2204 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
2206 * DataColumn.cs - removed default member attribute.
2208 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
2211 DataColumnChangeEventArgs.cs,
2212 DataColumnCollection.cs,
2214 DataRowCollection.cs,
2216 Index.cs : Data storage in the row is redesigned. Now data is stored in
2217 typed containers inside DataColumn. Row holds its versions as indexes inside
2218 each of data container, accessed through the row that holds it.
2220 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
2222 * UniqueConstraint.cs - added comment.
2224 2004-05-19 Atsushi Enomoto <atsushi@ximian.com>
2226 * XmlDataInferenceLoader.cs : Don't add already-existing DataTable to
2229 2004-05-17 Atsushi Enomoto <atsushi@ximian.com>
2232 XmlDataInferenceLoader.cs,
2234 XmlSchemaDataImporter.cs : XmlDecode every local name to read and
2235 XmlEncode every local name to write. This should fix bug #58268.
2237 2004-05-17 Atsushi Enomoto <atsushi@ximian.com>
2239 * DataSet.cs : Implemented ignored namespaces in InferXmlSchema().
2240 Supported repeated elements. Removed MonoTODOs.
2241 * XmlDataInferenceLoader.cs : Design change to support ignored
2242 namespace and repeated elements.
2243 * XmlSchemaDataImporter.cs : Added mapping support classes.
2245 2004-05-15 Atsushi Enomoto <atsushi@ximian.com>
2247 * CustomDataClassGenerator.cs :
2248 Added property parent "[foo]Row" and children "Get[foo]Row" support
2249 for custom DataRow classes.
2250 Fixed DataColumn property accessibility (public --> internal).
2252 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
2254 * CustomDataClassGenerator.cs :
2255 - Put classes inside custom DataSet class.
2256 - Added automatic DataRelation creation support.
2257 - Added Constraints creation support. That is done separate from
2258 relations, since they might be independently created.
2259 - Added non-MS public DataRelation fields.
2260 - Removed extraneous "DataRelation type generation" code.
2261 - Fixed custom_dataset.Initialize() not to create "c" field that
2262 was created more than once.
2263 - Implemented AddxxxRow() that takes parameters for every column.
2265 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
2267 * XmlSchemaDataImporter.cs : When primary key is used more than once,
2268 DataRelation borked because of empty parent column name.
2270 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
2272 * XmlSchemaDataImporter.cs : When Creating constraints with related
2273 to DataRelation creation, also set PrimaryKey to the parent table.
2275 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
2277 * XmlSchemaDataImporter.cs :
2278 Design change to add indirect table and relation structures.
2279 Support for "relation" annotation for local element.
2280 Support for repeatable simple element column (maxOccurs > 1).
2281 Fixed handling of Nested property on DataRelation (for globally
2282 annotated relation, Nested is false).
2284 2004-05-13 Atsushi Enomoto <atsushi@ximian.com>
2286 * DataRow.cs : Added DataElement property to avoid storing every row-
2287 element mapping. It stored even for nodes that should be removed.
2289 2004-05-13 Umadevi S <sumadevi@novell.com>
2291 * RelationshipConverter.cs - Stubbed this class
2292 * DataRelation.cs - added TypeConveterAttribute
2294 2004-05-13 Umadevi S <sumadevi@novell.com>
2296 * DataColumnCollection.cs - Added ResDescriptionAttribute
2297 * DataRelation.cs - Added TypeConverterAttribute
2298 * DataRelationCollection.cs - Added DefaultPropertyAttribute
2299 * DataRowView.cs - Added GetHashCode method with a TODO tag
2300 * DataSet.cs - Added DesignerAttribute
2301 * DataView.cs - Added DesignerAttribute
2302 * DataViewManager.cs - Added DesignerAttribute
2303 * DataViewSetting.cs - Added TypeConverterAttribute
2305 2004-05-12 Atsushi Enomoto <atsushi@ximian.com>
2307 * DataRow.cs : Added XmlDataElement initialization code.
2309 2004-05-11 Atsushi Enomoto <atsushi@ximian.com>
2311 * XmlDataInferenceLoader.cs :
2312 It now requires XmlDocument as input. Improved identification of
2313 DataSet element. Removed extra lines.
2314 Moved boresome design notes to bottom of the source and
2315 added standalone runnable driver (not included on build).
2317 Update with related to the change above.
2318 WriteXml() should call Flush() after writing. This fixes bug #58327.
2319 * XmlSchemaDataImporter.cs :
2320 Improved indentification of DataSet element.
2322 2004-05-11 Gert Driesen (drieseng@users.sourceforge.net)
2323 * DataTable: marked initStatus enum internal
2325 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
2326 * DataTable.cs: removed TypeConverterAttribute, marked RowsExist
2328 * DataRowView.cs: removed extra Error property
2329 * DataRow.cs: reduced accessibility of CollectionChanged method
2331 * DataColumnPropertyDescriptor.cs: made class internal
2332 * DataColumn.cs: removed extra TypeConvertorAttribute
2333 * ConstrainCollection.cs: marked PostEndInit method internal
2335 2004-05-07 Atsushi Enomoto <atsushi@ximian.com>
2338 In WriteXmlSchema(), when complex type contains simple type content
2339 attributes must not added to XmlSchemaComplexType directly. It
2340 causes schema compilation error.
2341 DataRelation should not be output when related columns are hidden.
2343 2004-05-07 Atsushi Enomoto <atsushi@ximian.com>
2345 * XmlDataInferenceReader.cs : Added. It does InferXmlSchema() (it is
2346 also expected to do ReadXml(), but I will remove that feature and
2347 support column reordering).
2348 * XmlSchemaDataImporter.cs : Always initialize dataset name.
2349 Always set Nested and primary key for parent table.
2350 * XmlDataReader.cs : Now it is used.
2351 Top level element might not match to dataset name nor any table
2352 name, but still possible to read content tables.
2353 Handle empty element correctly in some places.
2354 Handle Fragment mode (read up XmlReader to the end).
2355 * DataSet.cs : Modified InferXmlSchema() and ReadXml() to use
2356 XmlDataInferenceLoader and XmlDataReader.
2358 2004-05-06 Atsushi Enomoto <atsushi@ximian.com>
2361 Eliminated CRLF injection.
2362 More clear message in Clear().
2363 Updates reflecting XmlSchemaDataImporter change.
2364 Added duplicate check for XmlSerializerNamespaces in BuildSchema().
2365 Don't use xmlns attribute for UnhandledAttributes (its not mandatory
2366 but that depends on different behavior from ms.net).
2367 Set locale also for DataTable.
2368 Add xs:element only when target namespace matches to the
2369 element's namespace. Otherwise, add xs:import for external namespace.
2370 Put xs:sequence for dataset element's particle _only when_ actual
2373 2004-05-06 Atsushi Enomoto <atsushi@ximian.com>
2375 * XmlDataReader.cs : Added. This class will work better when our
2376 schema inference and schema read engine gets improved. (It contains
2377 standalone testable Driver class.)
2379 2004-05-06 Atsushi Enomoto <atsushi@ximian.com>
2381 * ForeignKeyConstraint.cs : Check step change. Existence then column
2382 validity. just for tests.
2383 * XmlSchemaDataImporter.cs : code simplification. reduced extraneous
2386 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
2388 * DataSet.cs : Ignore empty content only when output type is diffgram.
2390 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
2392 * CustomDataClassGenerator.cs : Modified that DataSet contains each
2393 DataTable field so that each table property can access them directly.
2394 (plus, modified standalone code driver code: shouldn't affect)
2396 2004-05-05 Boris Kirzner <borisk@mainsoft.com>
2398 * DataView.cs , DataRowView.cs : Added implementation to basic methods and properties.
2400 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
2402 * XmlSchemaDataImporter.cs :
2403 SimpleContent column support.
2404 Annotated relation support.
2405 Top-level element is counted only when its type is complex.
2406 xs:anyType is no longer treated as complex type.
2407 dataset existence is mandatory now.
2408 Improved DataType and DefaultValue support.
2409 Attribute namespace is properly handled now.
2410 Prohibited attribute is now treated as hidden column.
2411 Reject list or union simple type.
2413 Still incomplete 1) to read relationship in some cases, 2) to
2414 determine whether an element is dataset or table, 3) thus to
2415 exclude extraneous column, 4) to remove extraneous *_Id column.
2417 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
2420 We had better reuse DataSet's ReadXmlSchema() and ReadXml() in
2421 serialization .ctor() (thus schema read/inference should be easier).
2422 DataRowSorter should consider Table's Locale.
2424 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
2426 * DataColumnCollection.cs : We already had AutoIncrementValue(), so
2427 use it instead of duplicating logic.
2429 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
2431 * ConstraintCollection.cs :
2432 Use Table.CaseSensitive and Table.Locale to compare strings.
2433 Duplicate constraint name exception does not occur under .NET 1.1.
2435 2004-05-04 Lluis Sanchez Gual <lluis@ximian.com>
2437 * XmlSchemaDataImporter.cs: Added little type check.
2439 2004-05-04 Lluis Sanchez Gual <lluis@ximian.com>
2441 * DataSet.cs: Implemented support for runtime serialization. Fixed support
2442 for xml serialization.
2443 * XmlDiffLoader.cs: Skip diffgram element when it is empty.
2445 2004-04-30 Umadevi S <sumadevi@novell.com>
2446 * DataColumnCollection.cs : Fixed nunit test errors, removed TODOs
2447 * DataTableCollection.cs : Tested and removed TODO
2448 * TypedDataSetGeneratorException.cs : Fixed a couple of TODOs
2450 2004-04-29 Atsushi Enomoto <atsushi@ximian.com>
2452 * DataRow.cs : My previous patch unintentionally reverted Boris patch.
2454 2004-04-29 Boris Kirzner <borisk@mainsoft.com>
2456 * UniqueConstraint.cs : Constraint columns becaomes unique after adding constraint ifand only if
2457 constraint is defined on single column.
2459 2004-04-29 Atsushi Enomoto <atsushi@ximian.com>
2461 * DataRowCollection.cs : .NET 1.1 throws InvalidConstaintException,
2462 not ArgumentException (maybe changed after 1.1).
2464 2004-04-29 Atsushi Enomoto <atsushi@ximian.com>
2466 * DataRow.cs : When Column was added and it was AutoIncrement column,
2467 it extended the item object array incorrectly.
2468 (Plus tiny comment and incorrect indentation fix.)
2470 2004-04-29 Boris Kirzner <borisk@mainsoft.com>
2472 * MergeManager.cs : added ( incomplete yet ) support for merging DataSet schema.
2474 2004-04-29 Boris Kirzner <borisk@mainsoft.com>
2476 * DataRow.cs : Bug fix in CopyValuesToRow().
2478 2004-04-29 Boris Kirzner <borisk@mainsoft.com>
2480 * UniqueConstraint.cs : There is no reason to mark constraint's columns as unique, because
2481 each of the columns should not be unique, but only all the constraint's columns together.
2483 2004-04-28 Boris Kirzner <borisk@mainsoft.com>
2486 - Added using of list of autoIncrement columns
2487 - SetColumnValue receives also DataColumn to avoid duplicate lookup in DatacolumnCollection
2488 - Fix in CheckNullConstraints
2489 - Fix in this[] and HasVersion() : when evaluating an expression deleted rows values can be accessed.
2490 - Fix in SetColumnValue() , added CanAccess() method to avoid case of accessing internal array values berore it actually allocated.
2491 - Added onColumnRemoved() method to threat column removal accurately.
2493 * DataRowCollection.cs :
2494 - Added using of DataRow._nullConstraintViolation (for perfomance fix in EndLoadData())
2495 - Added method onColumnRemoved() - calls each row's onColumnRemoved() (to ensure column removal is treated accurately)
2498 - Call DataRowCollection.onColumnRemoved() in OnRemoveColumn() (to ensure column removal is treated accurately)
2500 * DataColumnCollection.cs :
2501 - Perfomance fixes :
2502 - collection holds a list of its autoIncrement columns (avoids unnesessary lookup through whole collection)
2503 - collection holds mapping from column names to DataColumn objects (avoids lookup through whole collection).
2504 - automatic creation of column names rewrited (bug fixes + perfomance improvement)
2507 - Uses autoincrement list of a table
2509 2004-04-27 Atsushi Enomoto <atsushi@ximian.com>
2511 * XmlDataLoader.cs : Even when it should ignore schema, it was
2513 * XmlSchemaDataImporter.cs : DataRelation creation support.
2514 Improved "DataSet" element handing. When attributes are on the
2515 element, it is not a "DataSet" element.
2516 Fixed parent key column name.
2517 Unique name creation is not required. Just raise an error.
2518 Fill facet also for attribute types.
2520 2004-04-27 Atsushi Enomoto <atsushi@ximian.com>
2522 * DataRow.cs : Null check for CheckReadOnlyStatus() and
2523 CheckNullConstraints(), with some coding guideline fixes.
2524 Type check should be done by Type instance comparison.
2526 2004-04-27 Atsushi Enomoto <atsushi@ximian.com>
2528 * DataColumnCollection.cs : When add a column to the collection, fill
2529 auto-increment column.
2531 2004-04-26 Boris Kirzner <borisk@mainsoft.com>
2533 * DataColumn.cs : Small perfomance fix (avoid unnesessary string concatenation).
2535 2004-04-26 Atsushi Enomoto <atsushi@ximian.com>
2537 * CustomDataClassGenerator.cs : Added.
2538 * TypedDataSetGenerator.cs : Implemented Generate().
2539 Changed GenerateIdName() to call CustomDataClassGenerator.MakeSafeName
2540 * XmlSchemaDataImporter.cs : Table Locale should be supplied.
2542 2004-04-25 Boris Kirzner <borisk@mainsoft.com>
2544 * DataTable.cs : Small perfomance fix (avoid unnesessary string concatenation).
2546 2004-04-25 Boris Kirzner <borisk@mainsoft.com>
2548 * Constraint.cs : Small perfomance fix (avoid unnesessary string concatenation).
2550 2004-04-23 Umadevi S (sumadevi@novell.com)
2551 * DataRow.cs: Checked BeginEdit,EndEdit,CancelEdit and Delete methods
2552 - Added error handling to the above methods
2554 2004-04-22 Atsushi Enomoto <atsushi@ximian.com>
2556 * DataSet.cs : Data should be read when mode is IgnoreSchema (well,
2557 the support is incomplete yet).
2558 * XmlDataLoader.cs :
2559 Reverted ReadModeSchema() argument change. XmlReadMode would be
2560 useful to handle IgnoreSchema.
2561 Don't overwrite DataSetName when mode is not such kind.
2562 Set Prefix and Namespace as well as DataSetName.
2563 AllowDBNull looks set false by default for element column.
2564 Set unique constraint as primary key when infering the table schema.
2566 2004-04-21 Atsushi Enomoto <atsushi@ximian.com>
2569 Never set null string for Prefix and Namespace.
2570 In InferXmlSchema() when null XmlReader is passed, just do nothing.
2571 In WriteXmlSchema(string), earlier try block.
2572 In BuildSchema(), try to add serialization namespaces for each
2573 namespaces in DataSet/DataTable/DataColumn.
2574 Removed namespace argument from WriteColumnAsElement() and don't
2575 overwrite when namespace is "". This fixes bug #57330.
2576 * DataColumn.cs : For Namespace and Prefix, never set null.
2578 2004-04-21 Boris Kirzner <borisk@mainsoft.com>
2580 * XmlSchemaMapper.cs : Check for not null unique constraint in ReadXmlSchemaKeyref()
2581 before creating and adding foreign key constraint and relation.
2583 2004-04-21 Boris Kirzner <borisk@mainsoft.com>
2585 * MergeManager.cs : In AdjustSchema() source table clone should be added
2586 and not the table itself.
2588 2004-04-21 Boris Kirzner <borisk@mainsoft.com>
2591 - CaseSensitive : Additional fix (removed unnesessary assignment).
2592 - CopyProperties : Do not try to copy ExtendedProperties if the collection is empty.
2594 2004-04-21 Boris Kirzner <borisk@mainsoft.com>
2596 * DataTable.cs : Ensure that DataSet property is not null before using it in Clear().
2598 2004-04-20 Boris Kirzner <borisk@mainsoft.com>
2601 - EndLoadData() : perfomance fix in case of null constraint violation
2602 during data load (also in DataRow.cs).
2603 - CaseSensitive : If DataTable belongs to DataSet it should always use
2604 DataSet.CaseSensitive untill explicitly changed.
2605 - CopyProperties() : do not try to copy ExtendedProperties if the collection is empty.
2608 - Pefromance fix in case of null constraint violation
2609 during data load (also in DataTable.cs).
2610 - CollectionChanged() : use correct column number after new DataColumn was added
2611 (differs in case some DataColumn was previosly removed).
2612 - EndEdit() - throw away proposed values only after CheckChildRows() complete.
2614 2004-04-20 Boris Kirzner <borisk@mainsoft.com>
2616 * DataColumnCollection.cs : Since unique constraint is added now
2617 in DataColumn.SetTable() the additional creation of constraint in
2618 DataColumnCollection.Add() is redundant and causes exception - fixed.
2620 2004-04-19 Atsushi Enomoto <atsushi@ximian.com>
2622 * XmlDataLoader.cs : Added "never add data rows" mode.
2623 Removed unused code. However, it is temporary fixes to unify
2624 ReadXml() and InferXmlSchema().
2625 * DataSet.cs : Implemented InferXmlSchema(), though it is incomplete.
2627 I'll create another XmlDataLoader since there are many problems
2628 such that 1) it is too waste to read the entire xml into an
2629 XmlDocument, 2) it does not handle attributes correctly, and 3) it
2630 must handle "ignored namespaces".
2632 2004-04-19 Atsushi Enomoto <atsushi@ximian.com>
2634 * Added XmlSchemaDataImporter.cs (new schema reader).
2635 * DataSet.cs : Use XmlSchemaDataImporter (right now for DataSet only)
2636 for ReadXmlSchema().
2637 Let schema reading work to ReadXmlSchema().
2638 Don't return ReadSchema when argument read mode was DiffGram.
2640 2004-04-15 Umadevi S (sumadevi@novell.com)
2641 * Updated Clone/Copy methods in DataSet along with Testcase
2642 * ForeignKeyConstraint.cs - special ctor implemented
2643 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).
2644 * Changes in ConstraintCollection.cs for the above
2645 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.
2648 2004-04-15 Atsushi Enomoto <atsushi@ximian.com>
2650 * XmlSchemaMapper.cs : set parent key and foreign key info to
2651 DataRelation when reading refkey constraints.
2652 Supply constraint name for fkey.
2654 2004-04-15 Atsushi Enomoto <atsushi@ximian.com>
2656 * XmlDataLoader.cs : Don't overwrite existing DataSetName. When read
2657 mode is Auto, just ignore the schema if there is already schema info.
2658 * DataSet.cs : Similarly ignore schema info for XmlReadMode = Auto.
2660 2004-04-14 Atsushi Enomoto <atsushi@ximian.com>
2663 - In MS output, XML declaration looks to have standalone decl (yes).
2664 - ReadXml(reader) just calls to ReadXml(reader, XmlReadMode.Auto)
2665 - ReadXml(reader, mode)
2666 1) return originally specified mode, instead of (always) Auto.
2667 2) Check empty reader.
2668 3) Check diffgram schema and content separately.
2669 4) When diffgram exists, remaining (the same-level) contents
2671 5) Similar fact should be applied, but somewhat different.
2672 InferSchema and IgnoreSchema just skips, Fragment reads both
2673 schema and content, others just reads schema.
2674 - Removed unused code.
2675 * XmlDataLoader.cs :
2676 - Read() should skip in some ReadMode.
2677 - Don't compare schema element name as case-insensitive (well,
2678 should schemas be checked here?)
2679 - Avoided BuildDocument() not to create confusing DataSet
2681 - Don't add any tables when reader has single element.
2682 * XmlDiffLoader.cs :
2683 When target table was not found, MS.NET doesn't raise an error.
2684 * XmlSchemaMapper.cs :
2685 When XmlSchema.Read() left xml reader at </xs:schema>, read once.
2687 2004-04-13 Atsushi Enomoto <atsushi@ximian.com>
2690 - InferXmlSchema(): Throw explicit NotImplementedException now.
2691 - Don't put XML declaration everywhere. Write just for filename arg.
2692 - xmlns="" should not be written. Maybe WebService problem is
2693 because default namespace is overwritten. This patch will keep
2694 the WS problem away and actually fixes some unit tests (i.e. use
2695 explicit String.Empty for null namespace in WriteStartElement()).
2696 - MoveToContent() should always be called, not only when
2697 LocalName="xml". It will ignore prolog (DTD, PI, comment etc.).
2698 - Even XmlReadMode is DiffGram, reader might not be "diffgram"
2699 element. As to MSDN, diffgram does not contain schema.
2701 2004-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2703 * DataTable.cs: made _initStatus private so that System.Data is CLS
2706 2004-04-13 Umadevi S <sumadevi@novell.com>
2707 * UniqueConstraint.cs:
2708 * ConstraintCollection.cs:
2710 - Implemented a Constructor for UniqueConstraint.cs
2711 - Used EndInit on DataTable to call a delegate which adds the
2712 constraints passed to the most recent call of AddRange().Used
2713 AddRange() on ConstraintCollection to check whether
2714 DataTable.BeginInit has occurred. If yes, save the argument
2715 constraint collection passed, then return. If no, Check whether the
2716 constraints are of type UniqueConstraint and initialized with the
2717 special constructor If yes Initialized the table property of this
2718 UniqueConstraint object with table assosciated with the current
2719 instance of ConstraintCollection class.
2721 2004-04-07 Marek Safar <marek.safar@seznam.cz>
2723 * Constraint.cs: changed ClsCompliant to CLSCompliant, build fix.
2725 2004-04-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2728 * DataColumnCollection.cs:
2729 * DataRelationCollection.cs:
2730 * DataRowCollection.cs:
2731 * DataTableCollection.cs:
2732 * InternalDataCollectionBase.cs:
2733 * Node.cs: CLS compliance for System.Data. Patch by Gert Driesen.
2736 2004-04-05 Jackson Harper <jackson@ximian.com>
2738 * DataTable.cs: Add rows to the row list if there is no filter.
2740 2004-03-31 Juraj Skripsky <juraj@hotfeet.ch>
2742 * DataColumn.cs : Setting Caption to null sets it to the empty string
2743 (ms.net behaviour, testcase is in DataColumnTest).
2745 * DataRow.cs : Evaluate DataColumn.Expression when such a column's
2748 2004-03-30 Lluis Sanchez Gual <lluis@ximian.com>
2750 * DataColumn.cs: In Expression setter, set the expression member even if
2751 it is an empty string.
2752 * DataSet.cs: Support serialization of byte[] columns.
2753 * XmlDataLoader.cs: Support deserialization of Guid columns.
2754 Set MappingType.Attribute to columns infered from attributes.
2756 2004-03-29 Juraj Skripsky <juraj@hotfeet.ch>
2758 * ExpressionElements.cs : remove
2759 * DataColumn.cs, DataRelationCollection.cs, DataTable.cs :
2760 Integration of new Mono.Data.SqlExpressions classes used in
2761 DataTable.{Select, Compute}.
2762 Fixes bug #55503 and lots of failures in DataTableTest.cs.
2764 2004-03-28 Juraj Skripsky <juraj@hotfeet.ch>
2766 * Index.cs: Simple fix in ComparePartialRowNonUnique.
2767 This fixes bugs #56129 and #56014.
2769 2004-03-25 Lluis Sanchez Gual <lluis@ximian.com>
2771 * DataSet.cs: In WriteXml (string filename, XmlWriteMode mode), close the
2772 stream after writing the dataset. This fixes bug #52581.
2773 Also added several writer.Close into finally blocks, so writers are properly
2774 closed in case of an exception.
2776 2004-03-12 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2778 * Constraint.cs: DO NOT USE the consts scheme if types can be referenced directly!
2779 * DataColumn.cs: DO NOT USE the consts scheme if types can be referenced directly!
2780 * ColumnTypeConverter.cs: Added stub
2781 * DefaultValueTypeConverter: Added stub
2782 * ConstraintConverter.cs: Added stub
2784 2004-03-04 Eran Domb <erand@mainsoft.com>
2786 * XmlDataLoader.cs : Xml reading reviewed. Added support for additional xml formats as described
2787 in MS.NET documentation (missing DataSet element etc).
2789 2004-03-04 Eran Domb <erand@mainsoft.com>
2792 * Index.cs : Rollback last changes.
2794 2004-03-03 Atsushi Enomoto <atsushi@ximian.com>
2796 * Index.cs : justa build fix.
2798 2004-03-03 Eran Domb <erand@mainsoft.com>
2801 * Constraint.cs, ForeignKeyConstraint.cs, UniqueConstraint, ConstraintCollection.cs, DataColumn.cs,
2802 DataRow.cs, DataRowCollection.cs, DataSet.cs, DataTable.cs : Changes made for using indexes on tables.
2803 This changes made for performance improvement.
2805 2004-02-08 Eran Domb <erand@mainsoft.com>
2807 * XmlSchemaMapper.cs : Read columns is they were written as SimpleContent or as Attributes.
2809 2004-02-08 Eran Domb <erand@mainsoft.com>
2811 * DataSet.cs: Fix some bugs in ReadXml().
2813 2004-02-04 Lluis Sanchez Gual <lluis@ximian.com>
2815 * DataSet.cs: Added missing method that broke the build.
2817 2004-02-04 Eran Domb <erand@mainsoft.com>
2819 * DataRowCollection.cs (InsertAt): Add a check for null row. Replace check of IndexOf with RowId for
2821 * DataSet.cs (GetTableSchema) : Add supprot for simple content columns. Change the condition for a case
2822 when all column are attributes (elements count is 0), we still want to add the relations. No relations
2823 can be on simple contents.
2824 (AddUniqueConstraints) Check that the column of the constraint are not hidden.
2825 (AddForeignKeys) Check that the relation has constraints attach to it.
2826 * XmlConstants.cs : Added constant.
2828 2004-02-04 Eran Domb <erand@mainsoft.com>
2830 * DataSet.cs : GetSchemaSerializable() return null and not BuildSchema().
2831 DoWriteXmlSchema calls BuildSchema ().
2833 2004-02-04 Lluis Sanchez Gual <lluis@ximian.com>
2835 * DataRow.cs: Added SetOriginalValue(), which is used to set the original
2837 * DataRowCollection.cs: In InsertAt(), perform the correct checks and
2839 * DataSet.cs: Fixed method GetChanges(): Parent rows of modified rows must
2840 also be added to the dataset.
2841 In WriteTable(), do not write unchanged rows when writing the original
2842 version of the table.
2843 Added WriteIndividualTableContent(), for writing the contents of a single
2845 Changed BuildSchema and related methods, so it can generate a schema for
2846 any set of tables, not just the tables of the dataset (needed for
2847 single datatable serialization).
2848 * DataTable.cs: Implemented serialization constructor and GetObjectData method.
2849 Also implemented some ReadXmlSchema methods.
2850 * XmlDiffLoader.cs: Read and process the xml document directly from XmlReader,
2851 instead of loading the full dataset in an XmlDocument. It is faster and
2852 saves memory. Also fixed several problems when generating the changes.
2853 * XmlSchemaMapper.cs: Support reading schemas for single tables (used by
2854 table serialization).
2856 2004-02-02 Eran Domb <erand@mainsoft.com>
2858 * DataSet.cs : Add indentation to the xml serialization only if we create the XmlWriter.
2859 Add the namespace attribute even if namespace is an empty string for inteoperability with MS.NET.
2860 * DataTable.cs (NewRow): Create only one DataRowBuilder.
2861 Initiate new row with row id -1.
2862 * DataRow.cs : Add RowId property.
2863 * DataRowBuilder.cs : Add _rowId member.
2864 * DataRowCollection.cs (Add) : Use the RowId property of the new row to check if it is already exists in the collection.
2866 2004-01-26 Eran Domb <erand@mainsoft.com>
2868 * XmlConstants.cs : Added some constants.
2869 * DataColumn.cs : Added a method to retrive AutoIncrement value.
2870 * XmlDataLoader.cs : Set the value of the foriegn key column, according to the value of the
2871 parent table column.
2872 * XmlDiffLoader.cs : Convert the value comming from the xml.
2873 * XmlSchemaMapper.cs (Read) : Set the DataSet namespace.
2874 (ReadXmlSchemaSequence) : Change the logic that decides if this element is a column or a table.
2875 (ReadXmlSchemaElement) : Set the locale of the dataset.
2876 (ReadColumn) : Set the column type. Find if the column is AutoIncrement.
2877 (GetColumnType) : New method to get the column type from the attribute value.
2878 (ReadXmlSchemaUnique) : Improve parsing of XPath. Set the constraint as a PK if needed,
2879 and add the constraint to the table.
2880 (ReadXmlSchemaKeyref) : Improve parsing of XPath. Create the FK constraint and add it to
2882 * DataSet.cs : Improving writing of unique constraints, and foriegn key constraint. Givving them the correct names.
2883 Writing more information to the schema for interoperability with ms.net.
2884 Improve diffgarm writing mode.
2887 2004-01-21 Atsushi Enomoto <atsushi@ximian.com>
2889 * TypedDataSetGenerator.cs : Implemented GenerateIdName().
2891 2004-01-21 Eran Domb <erand@mainsoft.com>
2893 * XmlDataLoader.cs (AddRowToTable) : Give thre new relation correct name.
2894 Do not set the child column to be AutoIncrement.
2895 Create the new column for the relation as MappingType.Hidden so they will not be serialized
2896 when writing the dataset to xml.
2898 2004-01-20 Atsushi Enomoto <atsushi@ximian.com>
2900 * Added missing TypedDataSetGenerator.cs.
2902 2004-01-08 Eran Domb <erand@mainsoft.com>
2904 * XmlSchemaMapper.cs : Fix a bug. Check if table already in DataSet before adding it.
2905 * DataSet.cs (ReadXml) : Fix bugs. Read correctly the xml file with XmlReadMode of DiffGram,
2906 InferSchema, ReadSchema and IgnoreSchema.
2907 * XmlDataLoader.cs : All modes use the same logic.
2908 * XmlDiffLoader.cs : Adding BuildXmlDocument method to the class.
2910 2004-01-06 Eran Domb <erand@mainsoft.com>
2912 * DataRelationCollection.cs : Use IndexOf in indexer.
2913 * DataSet.cs : Adding support for WriteXml with diffgram. Code style changes.
2914 * XmlDataLoader.cs : Set the DataSet.enforceConstraints to false before loading the tables.
2915 * XmlDiffLoader.cs : Reading nested tables.
2916 * XmlSchemaMapper.cs : Reading the relation.
2917 * XmlConstants.cs : Adding some constants.
2919 2004-01-05 Jackson Harper <jackson@ximian.com>
2921 * DataView.cs: Set readonly property of property descriptor. This
2924 2004-01-01 Sanjay Gupta <gsanjay@novell.com>
2926 * DataRelationCollection.cs : Fixed incorrect generation of default
2928 * DataSet.cs : Added missing functionality in WriteXml().
2929 * XmlConstants.cs : Added new constants.
2931 2003-12-27 Atsushi Enomoto <atsushi@ximian.com>
2933 * DataSet.cs : Fixed incorrect WriteXml() signature.
2935 2003-12-18 Jackson Harper <jackson@ximian.com>
2937 * DataView.cs: Implement AddNew, Delete, and OnListChanged.
2939 2003-12-17 Atsushi Enomoto <atsushi@ximian.com>
2941 * DataSet.cs, XmlDataLoader.cs : Table name should be encoded before
2942 they take shape of xml. This fixed bug #52240
2944 2003-12-16 Tim Coleman <tim@timcoleman.com>
2945 * KeyRestrictionBehavior.cs:
2946 New stubs added for .NET 1.2
2950 2003-12-08 Eran Domb <erand@mainsoft.com>
2951 * DataColumn.cs (Expression) : Validate the expression.
2953 * DataRelationCollection.cs (IndexOf) : Added new method sensetive to case differences in relation name.
2954 (Contains, IndexOf, this[], Add) : Call new IndexOf when needed.
2956 * DataRow.cs (this[]) : Fix the condition for throwing RowNotInTableException.
2957 (RejectChanges) : Detach row when state was Added.
2958 (CollectionChanged) : Fix a bug.
2960 * ExpressionElement (ValidateExpression) : Fix a bug.
2962 * ForeignKeyConstraint.cs (AssertConstraint) : Added implementation. Check all rows from child table have
2963 a parent row in the parent table.
2964 (_validateColumns) : Fix bugs.
2966 * MergeManager.cs (AdjustSchema) : Fix a bug.
2968 * XmlDataLoader.cs (ReadModeInferSchema) : Change implementation. Now we can read nested xml, and we generate the relations
2971 2003-11-30 Eran Domb <erand@mainsoft.com>
2972 * DataColumnCollection.cs (this[string name]) : Use IndexOf to find the column.
2973 (Add) : Find if the new column name is the same as the one found in IndexOf.
2974 (IndexOf) : New method.
2975 (Contains) : Use new IndexOf.
2976 (IndexOf) : Use new IndexOf.
2978 * DataRelationCollection.cs (DataRelationCollection.AddCore) : Add The Relation to the collection.
2979 (DataSetRelationCollection.AddCore) : First add the UniqueConstraint.
2981 * DataRow.cs (this[int columnIndex, DataRowVersion version]) : Change exceptions.
2982 (Delete) : Detach row if the RowState was Added.
2983 (GetChildRows) : Get the array form the ChildTable.
2984 (GetParentRows) : Get the array from the ParenTable.
2986 * DataRowCollection.cs (Remove) : Check if row state is Detached to avoid exception.
2988 * DataSet.cs (IXmlSerializable.ReadXml) : Do not call MoveToContent and ReadEndElement - the XmlSerializationReader does it.
2990 * DataTable.cs (PrimaryKey) : Fix bugs.
2991 (Compute) : First call Select. Then create ExpressionAggregate to aggregate the Select result.
2993 * DataTableCollection.cs (Add) : Fix a bug.
2995 * ExpressionElement.cs (ValidateExpression) : Turning ValidateExpression to static.
2996 (Result) : Added new interface to AggregateExpression that get DataRow[] as a param.
2997 Some code style changes (tab instead of whit spaces, alignment, etc...).
2999 * ForeignKeyConstraint.cs (_validateColumns) : Throw correct exception.
3001 * MergeManager.cs (AdjustSchema) : Fix a bug.
3005 2003-11-26 Miguel de Icaza <miguel@ximian.com>
3007 * DataSet.cs: Add a few more missing methods, code style updated
3010 2003-11-26 Tim Coleman <tim@timcoleman.com>
3012 * ConflictOptions.cs DataAdapterException.cs DataTableReader.cs
3013 * DbMetaData.cs FillOptions.cs IDataReader2.cs IDataRecord2.cs
3014 * IDataUpdatableRecord.cs IDbAsyncCommand.cs IDbAsyncConnection.cs
3015 * IDbExecutionContext.cs IGetTypedData.cs ISetTypedData.cs
3016 * LoadOption.cs OperationAbortedException.cs ResultSetOptions.cs
3017 * ResultSetSensitivity.cs StatementCompletedEventArgs.cs
3018 * StatementCompletedEventHandler.cs UpdateOptions.cs:
3019 New classes added for NET_2_0
3020 * DBConcurrencyException.cs DataRelation.cs DataSet.cs DataTable.cs
3021 * DataTableCollection.cs DataView.cs ForeignKeyConstraint.cs:
3022 Modifications to add new NET_2_0 functions
3024 2003-11-25 Tim Coleman <tim@timcoleman.com>
3028 2003-11-21 Pedro Martínez Juliá <yoros@wanadoo.es>
3030 * DataRow.cs: Detached row can be accesible (new rows from data
3031 table are detached). Closes but #51263.
3033 2003-11-19 Eran Domb <erand@mainsoft.com>
3034 * DataRow.cs : Throw exceptions if Row is Detached.
3035 (EndEdit) : Check that we are not in middle of ChangeEvent.
3036 (AcceptChanges) : Detach the row.
3038 * DataRelation.cs : throw correct exception.
3039 *UniqueConstraint.cs : throw correct exception.
3042 2003-11-09 Pedro Martínez Juliá <yoros@wanadoo.es>
3044 * DataRow.cs: Use RemoveInternal instead of Remove because the last
3045 one uses Delete and AcceptChanges.
3047 * DataRowCollection.cs: When removing, Delete and AcceptChanges
3048 method from the row are called. Added an internal method that will
3049 be used by DataRow to "physically" remove the row from the list.
3051 2003-11-09 Pedro Martínez Juliá <yoros@wanadoo.es>
3053 * DataRowCollection.cs: To follow the specification: Remove and
3054 RemoveAt should remove the row. But needed to call DeletingDataRow
3055 to prepare the deleting.
3057 * DataRow.cs: Don't call DeletingDataRow when it is called by the
3058 method Table.Rows.Remove.
3060 2003-11-09 Pedro Martínez Juliá <yoros@wanadoo.es>
3062 * DataRowCollection.cs: Make the row be deleted by itself. If not,
3063 it fails because we need to call OnRowDeleting and OnRowDeleted. It
3064 is full implemented inside DataRow.
3066 2003-11-05 Eran Domb <erand@mainsoft.com>
3067 * DataView.cs (ctor) : Changing default RowStateFilter to CurrentRow.
3069 2003-11-04 Eran Domb <erand@mainsoft.com>
3070 * DataRow.cs (CheckChildRows) : Improving the implementation - checking child for all FK, and not
3072 (GetChildRows) : Adding some checks.
3073 (GetParentRows) : Adding some checks. Fix a bug in implementation.
3074 (SetParentRow) : Added implementation.
3076 * DataRowCollection.cs (Add) : Added more checks on the row added to the collection.
3077 * DataTable.cs (Copy) : Set the During Loading flag to save unnecessary assertions.
3078 * ForeignKeyConstraint.cs (AssertConstraint) : Fixing bugs in implementation. Checking for DBNull values in the row.
3079 * MergeManager.cs : Check that the target table is not null.
3081 2003-10-27 Eran Domb <erand@mainsoft.com>
3082 * DataColumn.cs (DefaultValue) : Changing null value to DBNull. Checking that the type of the new default value
3083 can be converted to the column type.
3085 * DataRelationCollection.cs (AddCore) : Give the new FK the name of the relation.
3087 * DataRow.cs (EndEdit) : Check if we need to validate the constraints.
3088 (GetParentRows, GetChildRows) : Checking that the row has the wanted version, before accessing the row's value.
3090 * DataRowCollection.cs (Add) : Fixing a bug.
3091 (Clear) : Before clearing the array check that there is no violation of FK constraint.
3093 * DataSet.cs (Prefix) : If value is null chage it to empty string.
3094 (GetXml) : Removing the Processing Instructions from the xml string as in MS ADO.NET.
3096 * ExpressionElement : Adding support for IN expresion.
3098 * DataTable (CopyConstraints) : New method that copy the tables constraints to the copy table.
3099 (Select) : Adding support for DataViewwRowState.
3101 * ForeignKeyConstraint.cs (AssertConstraint) : Adding implementation.
3103 * MergeManager.cs (MergeRow) : Fix bugs.
3105 2003-10-27 Eran Domb <erand@mainsoft.com>
3106 * DataRow.cs (SetColumnValue): Donot check null value when in midle of loading data.
3107 check null values when ending loading data.
3109 * DataSet.cs (RejectChanges) : Imlementation.
3110 (Prefix) : If prefix was changed fire event. Check that the prefix is not null - if null,
3111 change it to empty string.
3113 * DataTable.cs (BeginLoadData, EndLoadData) : Impemantation.
3115 2003-10-22 Eran Domb <erand@mainsoft.com>
3116 * MergeManager.cs : Fixing bugs. Adding check for PrimaryKey matching.
3118 * ConstraintCollection.cs (RamoveAt): Change implemntation.
3120 * DataTableCollection (CanRemove): Removing cast to Constraint.
3122 2003-10-22 Eran Domb <erand@mainsoft.com>
3123 * DataRelationCollection.cs (AddCore): The unique constraint was added even if the createConstraints flag was false.
3124 (Clear): The collection was cleared without removing the relation from the parent and child tables.
3126 * DataSet.cs (Copy, Clone): The Relations of the DataSet were not copy.
3127 (HasChanges, Reset): Imlementation.
3129 * DataTable.cs (HasErrors): There is no flag for errors, instead the table ask her row if they have any errors.
3130 This is because the we do not no when to turn off the flag.
3131 (Locale): Changing implementation to behave like ADO.NET.
3132 (AcceptChanges): Fix bug.
3133 (Clear): Check that this table is not referenced from a foreign key constraint.
3134 (Copy): Do not try to access a deleted row.
3135 (CopyProperties): Copy the PrimaryKey.
3136 (GetChanges, ImportRow): Implementation.
3137 (LoadDataRow): Adding implementation if the table has PrimaryKey.
3138 (ToString): Changing implementation to behave like ADO.NET.
3140 * UniqueConstraint.cs (AssertConstraint): support for Multiple DataColumns in the constraint.
3142 * DataRow.cs (Ctor): In the constructor we initiate the current array, but we should initiate only the proposed array for new rows.
3143 (HasErrors): Implementation.
3144 (Delete): Added checking for child rows of the deleted row.
3145 (EndEdit): Added checking for child row and firing events.
3146 (GetColumnError): Added a check that the method will not return null, as in ADO.NET(an empty string is returned).
3147 (GetColumnsInError): Added a check for null values in column error.
3148 (HasVersion): Added special treatment for special RowState.
3149 (CollectionChanged): More checks to avoid NullReferenceException.
3151 * DataRowCollection.cs (Remove): Fix a bug.
3154 2003-10-01 Duncan Mak <duncan@ximian.com>
3156 More patches from Eran Domb <erand@mainsoft.com>.
3158 * MergeManager.cs: New file.
3160 * DataRelationCollection.cs (AddCore): Check that a
3161 UniqueConstraint is already exists. It loops over the Relations
3162 instead of the Constraints.
3163 (Add, AddCore): The relation was added twice.
3165 * DataSet.cs (Merge, GetChanges, HasChanges): Implemented.
3167 2003-09-30 Duncan Mak <duncan@ximian.com>
3169 Patches from Eran Domb <erand@mainsoft.com>.
3171 * DataRelation.cs (constructor): When the name of the relation is
3172 null, it should return an empty, not "Relation".
3174 * DataRow.cs (AcceptChanges): Added special case for
3176 (CancelEdit): Set editing flag to false.
3177 (IsNull): Check that the value is DBNull.
3179 * DataRowCollection.cs (Add): There was no check that the table of
3180 the collection is owned by a DataSet.
3182 * DataSet.cs (OnMergeFailed): Added.
3184 * UniqueConstraint.cs (AssertConstraint): There was no check that
3185 values in the row are not null, where it is a primary key
3186 column. Also check that the row has a proposed version, if not,
3187 get the current version when we compare the rows.
3189 2003-09-25 Duncan Mak <duncan@ximian.com>
3191 Patches from Eran Domb <erand@mainsoft.com>.
3193 * DataColumn.cs (Unique): Implemented.
3196 * ConstraintCollection.cs:
3197 * ForeignKeyConstraint.cs (_ensureUniqueConstraintExists): Fixes
3198 an Exception thrown. Details:
3199 http://lists.ximian.com/archives/public/mono-devel-list/2003-September/002130.html
3201 * DataRowCollection.cs (Add): There is no checking that there is
3202 no violation of the unique constrains.
3204 * UniqueConstraint.cs (AssertConstraint): There is no checking on
3205 all columns in the constraint.
3207 * DataTableCollection (Add): Correctly throw an Exception, more
3209 http://lists.ximian.com/archives/public/mono-devel-list/2003-September/002117.html
3210 (Remove, RemoveAt): Implemented.
3212 2003-07-31 Duncan Mak <duncan@ximian.com>
3214 * DBConcurrencyException.cs: Added new NET_1_1 no-param constructor.
3216 2003-07-25 Ravi Pratap <ravi@ximian.com>
3218 * DataRelation.cs (OnPropertyChanging): Calling the 'Invoke'
3219 method on a delegate is disallowed - fix this.
3221 2003-07-22 Lluis Sanchez Gual <lluis@ximian.com>
3223 * DataSet.cs: Implemented IXmlSerializable interface. Added basic support for
3224 xml serialization. Modified method of writing schema. Now it creates
3225 a XmlSchema object and serializes it using XmlSerializer.
3226 * XmlConstants.cs: Added constants for data type names.
3227 * XmlDataLoader.cs: Fixed deserialization of data. Now converts data to the
3228 type specified in the column.
3230 2003-04-20 Alan Tam <Tam@SiuLung.com>
3232 * DataRelationCollection.cs: Fix a bug that prevent relations
3233 from being added via DataSet.
3235 2003-04-12 Ville Palo <vi64pa@kolumbus.fi>
3237 * UniqueConstraint.cs: one tiny fix.
3239 2003-04-05 Ville Palo <vi64pa@kolumbus.fi>
3241 * DataTable.cs: Remove UniqueConstraints when adding new ones
3243 2003-04-04 Ville Palo <vi64pa@kolumbus.fi>
3245 * DataColumnCollection.cs: Little 'case sensitive' fix
3247 2003-04-04 Ville Palo <vi64pa@kolumbus.fi>
3249 * DataRow.cs: AutoIncrement handling to Constructor
3250 * DataRowCollection.cs: This doesnt need anymore AutoIncrements
3252 2003-03-27 Ville Palo <vi64pa@kolumbus.fi>
3254 * DataTable.cs: Some fixes to PrimaryKey etc...
3255 * UniqueConstraint.cs: Little clean up
3257 2003-03-27 Ville Palo <vi64pa@kolumbus.fi>
3259 * DataTable.cs: Tiny fix to ToString () -method
3261 2003-03-27 Ville Palo <vi64pa@kolumbus.fi>
3263 * ConstraintCollection.cs: Little fix.
3264 * DataColumn.cs: Added new internal method SetUnique()
3265 * UniqueConstraint.cs: some little fixes
3267 2003-03-26 Ville Palo <vi64pa@kolumbus.fi>
3269 * DataRowCollection.cs: Bugfixes, implementation,...
3271 2003-03-26 Ville Palo <vi64pa@kolumbus.fi>
3273 * DataColumn.cs: If DataType if set to something else than short, int
3274 or long and AutoIncrement is true, AutoIncrement is must set to false.
3276 2003-03-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3279 (BeginEdit): fixed array bound problem when a column has been added.
3280 (EndEdit): just assign proposed to current as proposed is set to null.
3281 This also fixes another array boudn problem.
3283 2003-03-21 Alan Tam <Tam@SiuLung.com>
3285 * DataRow.cs: Fixed problems in accessers, BeginEdit, CancelEdit,
3286 EndEdit and AcceptChanges to act correctly according to DataRowState
3288 * DataRowCollection.cs: Call AttachRow and DetachRow when a row is
3289 attached and detached from the collection.
3291 2003-03-20 Alan Tam <Tam@SiuLung.com>
3293 * DataColumn.cs: Store empty string for Expression when null is passed in.
3294 Classes generated by XSD.exe passes null by default.
3296 2003-03-16 Ville Palo <vi64pa@kolumbus.fi>
3298 * DataColumnCollection.cs: Tiny clean up
3300 2003-03-16 Ville Palo <vi64pa@kolumbus.fi>
3302 * DataColumn.cs: little fixes.
3303 * DataColumnCollection.cs: Lots of little fixes and improvments.
3305 2003-03-12 Alan Tam <Tam@SiuLung.com>
3307 * DataSet.cs: Fixed a bug that the file written does not close correctly.
3309 2003-03-08 Alan Tam <Tam@SiuLung.com>
3311 * DataRelationCollection.cs: Removed the mis-overridden methods
3312 * DataRow.cs: Fixed an attribute
3313 * DataSet.cs: Fixed the modifiers
3315 2003-03-06 Aleksey Demakov <avd@openlinksw.com>
3317 * DataTableCollection.cs: The Contains (string name),
3318 IndexOf (string name) methods, and item[string name] indexer
3319 now behave more like .NET with respect to case-sensitivity.
3320 That is if there is an exactly matching item then this one is used.
3321 If there is only one item differing in case then it used.
3322 If there are more than one item differing in case then
3323 Contains returns false, IndexOf returns -1, and item[]
3324 throws an ArgumentException.
3326 2003-02-28 Ville Palo <vi64pa@kolumbus.fi>
3328 * ExpressionElement.cs: More implementation.
3330 2003-02-28 Alan Tam <Tam@SiuLung.com>
3331 * DataSet.cs: Changed WriteTable so that it now calls the newly written
3332 WriteObjectXml to direct the call to the respective XmlConvert method.
3333 This fixes the wrong format written to XML files of bool, float,
3334 double, DateTime and TimeSpan types.
3336 2003-02-25 Alan Tam <Tam@SiuLung.com>
3338 * DataRelation.cs: Added SetDataSet for DataSetRelationCollection to use.
3339 * DataRelationCollection.cs: Implemented AddRange and Contains.
3340 Implemented AddRange, Clear, List and RemoveCore for DataSetRelationColletion.
3341 Implemented AddCore, List and RemoveCore for DataTableRelationCollection.
3342 Reimplemented most Add methods to eliminate duplicated checks.
3343 Centralized RelationName generation procedure in GetNextDefaultRelationName.
3345 2003-02-25 Alan Tam <Tam@SiuLung.com>
3347 * DataColumn.cs: Fixed wrong storage representation of Expression
3348 (using empty string instead of null) so that ToString() returns nothing.
3349 * DataColumnCollection.cs: Reimplemented GetNextDefaultColumnName so that
3350 auto column naming now works as expected. Reimplemented some Add methods
3351 to eliminate code duplication.
3353 2003-02-19 Ville Palo <vi64pa@kolumbus.fi>
3355 * DataTable.cs: DataTable.CaseSensitive follows parent
3356 DataSet.CaseSensitive property if DataTable.CaseSensitive has never
3357 been changed directly from DataTable
3359 2003-02-19 Ville Palo <vi64pa@kolumbus.fi>
3361 * DataSet.cs: When CaseSensitive property is changed all of the Tables
3362 of DataSet have to change too
3364 2003-02-19 Daniel Morgan <danmorg@sc.rr.com>
3366 * InternalDataCollectionBase.cs: revert change to field
3369 * DataViewManager.cs
3372 * DataSet.cs: commented use of DesignerAttribute
3373 because it broke the build. According to MSDN,
3374 DesignerAttribute does not have a zero-argument constructor
3376 2003-02-18 Ville Palo <vi64pa@kolumbus.fi>
3378 * DataColumnCollectin.cs: Little fix for indexer and case sensitivity
3380 2003-02-18 Alan Tam <Tam@SiuLung.com>
3382 * DataRow.cs: Implemented GetParentRow and GetParentRows.
3383 * DataSet.cs: Added stub for HasChanges, InferXmlSchema,
3384 OnPropertyChanging, OnRemoveRelation, OnRemoveTable,
3385 RaisePropertyChanging.
3386 * DataTable.cs: Implemented NewRowArray.
3387 * DataTablePropertyDescriptor: Fixed a modifier.
3388 * InternalDataCollectionBase.cs: Fixed modifiers. Implemented SyncRoot.
3389 * PropertyCollection.cs: Minor fix.
3390 * ConstraintCollection.cs DataColumn.cs DataColumnCollection.cs
3391 * DataRelation.cs DataRelationCollection.cs DataRow.cs
3392 * DataRowCollection.cs DataRowState.cs DataSet.cs DataTable.cs
3393 * DataTableCollection.cs DataTablePropertyDescriptor.cs DataView.cs
3394 * DataViewManager.cs DataViewRowState.cs DataViewSettingCollection.cs
3395 * ForeignKeyConstraint.cs InternalDataCollectionBase.cs
3396 * PropertyCollection.cs UniqueConstraint.cs: Added missing attributes
3398 2003-02-08 Ville Palo <vi64pa@koti.soon.fi>
3400 * ExpressionElement.cs: More implementation
3402 2003-02-05 Alan Tam <Tam@SiuLung.com>
3404 * DataSet.cs: Added framework for DataSet.Update Implemented missing
3405 methods GetSchemaSerializable, GetSerializationData,
3406 ReadXmlSerializable, ShouldSerializeRelations and ShouldSerializeTables
3408 * DataTable.cs: Implemented missing methods CreateInstance and
3409 GetRowType for DataTable
3411 2003-02-03 Ville Palo <vi64pa@koti.soon.fi>
3413 * DataSet.cs: Implemented private method MapType for
3414 mapping datatypes for XmlSchema
3416 2003-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3418 * DataView.cs: implemented Dispose.
3420 2003-01-30 Ville Palo <vi64pa@koti.soon.fi>
3422 * ExpressionElement.cs: Added new file. This file is for parsing
3423 and DataData.Select () -methods and DataColumn.Expression -property
3424 * DataTable.cs: Implemented Select(string) -method
3426 2003-01-28 Ville Palo <vi64pa@koti.soon.fi>
3428 * DataSet.cs: One little fix to writing xml
3430 2003-01-27 Ville Palo <vi64pa@koti.soon.fi>
3432 * XmlSchemaMapper.cs: Some fixes.
3433 * DatSet.cs: Some XmlFixes and BeginInit ()/ EndInit () -fix
3436 2003-01-24 Ville Palo <vi64pa@koti.soon.fi>
3438 * UniqueConstraint.cs: Do not set columns Unique property true
3440 * ForeignKeyConstraint.cs: Add UniqueConstraint to parent Table
3442 2003-01-18 Ville Palo <vi64pa@koti.soon.fi>
3444 * DataTableCollection.cs: Now names new DataTable if it doesn't
3445 already have a name.
3447 2003-01-17 Ville Palo <vi64pa@koti.soon.fi>
3449 * XmlSchemaMapper.cs: Improvments.
3450 * XmlConstaints.cs: Added more constants.
3451 * DataSet.cs: Improvments of reading and writing xml
3452 * DataColumn.cs: Added default values of properties.
3454 2003-01-14 Ville Palo <vi64pa@koti.soon.fi>
3456 * XmlSchemaMapper.cs: Some improvments
3458 2003-01-13 Ville Palo <vi64pa@koti.soon.fi>
3460 * DataRowCollection.cs: Added IndexOutOfRangeException
3461 * DataTableCollection.cs: Added OnCollectionChanging and
3462 OnCollectionChanged events.
3463 * DataSet.cs: Many fixes. Implemented Clone () and Copy () -methods
3464 * DataTable.cs: Implemented Copy () and Clone () methods.
3465 * XmlDataLoader.cs: some fixes.
3466 * XmlSchemaMapper.cs: comments.
3468 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3470 * DataColumnPropertyDescriptor.cs: store columnIndex in the .ctor.
3472 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3474 * DataColumnPropertyDescriptor.cs: fixed typo.
3475 * DataViewManagerListItemTypeDescriptor.cs: added new internal property
3476 to get the DataViewManager and removed TablePD class.
3477 * DataTablePropertyDescriptor.cs: TablePD class is now this one as
3478 suggested by danmorg.
3480 2003-01-06 Ville Palo <vi64pa@koti.soon.fi>
3482 * XmlDataLoader.cs: Moved diffgram stuff to new internal class
3484 * XmlDiffLoader.cs: new class for diffgrams. Added handling of
3485 diffgr:Errors and some fixes and changed XmlReader to XPathNavigator.
3487 2003-01-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3489 * DataView.cs: made dataViewManager internal.
3490 * DataViewManager.cs: use ICustomTypeDescriptor. We don't want the
3491 properties of the object, but the values of the columns present in a
3494 * DataViewManagerListItemTypeDescriptor.cs: implemented GetProperties,
3495 which returns a PropertyDescriptorCollection. Created a new class
3496 derived from PropertyDescriptor that treats Table as an object whose
3497 properties are DataRowView.
3499 2003-01-04 Ville Palo <vi64pa@koti.soon.fi>
3501 * XmlSchemaMapper.cs: Added handling for Constraints, Attributes.
3503 2003-01-04 Ville Palo <vi64pa@koti.soon.fi>
3505 * DataColumn.cs: ExtendedProperties is by default !null-
3507 2003-01-04 Ville Palo <vi64pa@koti.soon.fi>
3509 * DataColumnCollection.cs: Add (DataColumn Column) -method didn't
3510 set column's ordinal.
3512 2003-01-02 Ville Palo <vi64pa@koti.soon.fi>
3515 * XmlDataLoader.cs: XmlReader closing fixes.
3516 * XmlSchemaReader.cs: Added support for ref=
3518 2003-01-01 Ville Palo <vi64pa@koti.soon.fi>
3521 - Added XmlReader and XmlWriter Closing.
3522 - Moved ReadXmlSchema stuff to new internal class XmlSchemaMapper.
3523 * XmlSchemaMapper.cs
3524 - Much better way IMHO to map xmlschema than the old one in
3525 DataSet.cs. Its, more flexible, cleaner, ...
3527 2002-12-29 Ville Palo <vi64pa@koti.soon.fi>
3529 * XmlDataLoader.cs: Reading diffgrams.
3531 2002-12-29 Ville Palo <vi64pa@koti.soon.fi>
3533 * DataRow.cs: Little fix to indexer and DataColumnCang* trigger fixes.
3534 * DataTable.cs: Added ChanginDataColumn () for triggering
3535 DataColumnChanging event
3537 2002-12-28 Ville Palo <vi64pa@koti.soon.fi>
3539 * DataSet.cs: Indentations to WriteXmlSchema () and one little fix
3541 2002-12-28 Ville Palo <vi64pa@koti.soon.fi>
3543 * DataSet.cs: Indentations to WriteXml ()
3545 2002-12-27 Ville Palo <vi64pa@koti.soon.fi>
3548 * XmlDataLoader.cs: Moved ReadXml -stuff from DataSet.cs to new
3549 class XmlDataLoader.cs
3551 2002-12-19 Ville Palo <vi64pa@koti.soon.fi>
3553 * DataSet.cs Implemented ReadXml with XmlReadMode.ReadSchema
3555 2002-12-18 Ville Palo <vi64pa@koti.soon.fi>
3557 * DataSet.cs: Started to implement ReadXml-methods.
3559 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3561 * DataSet.cs: implemented DefaultViewManager and GetList.
3563 * DataViewManager.cs: a bit of work on IList and ITypedList needed by
3564 DataList in System.Web.
3566 * DataViewManagerListItemTypeDescriptor.cs: custom type descriptor for
3569 2002-12-16 Ville Palo <vi64pa@koti.soon.fi>
3572 * DataTable.cs: Fixed NullException (rollback -event)
3573 * DataSet.cs: WriteXml -method does not anymore write <?xml... row.
3575 2002-12-15 Ville Palo <vi64pa@koti.soon.fi>
3578 * DataRowCollection.cs: Moved event triggering from DataRow to
3581 2002-12-09 Ville Palo <vi64pa@koti.soon.fi>
3583 * DataSet.cs: Little fix to WriteTable () -method
3584 and DoReadXmlSchema () -method.
3586 2002-12-06 Ville Palo <vi64pa@koti.soon.fi>
3588 * DataSet.cs: Clean up to reading xmlschema. This looks much better
3589 now (work better too), but it not working correctly yet.
3591 2002-12-04 Ville Palo <vi64pa@koti.soon.fi>
3594 * DataRowCollection.cs: Added some event handlins stuff.
3595 * DataSet.cs: Some fixes.
3596 * DataTable.cs: Added event handlers.
3598 2002-11-30 Ville Palo <vi64pa@koti.soon.fi>
3600 * DataRowChangeEventArgs.cs: Implemented Action and Row properties
3602 2002-11-30 Ville Palo <vi64pa@koti.soon.fi>
3604 * System.Data/DataRow.cs: Added internal property XmlDataID
3606 2002-11-29 Ville Palo <vi64pa@koti.soon.fi>
3608 * DataSystem.Data.DataTableCollection.cs:
3609 Removed HashTable. There could be situations where DataTable
3610 is added to collection before it hava TableName. So using
3611 HashTable is impossible.
3613 2002-11-19 Carlos Guzmán Álvarez <carlosga@telefonica.net>
3615 * DataRow.cs: an object that is equal to null
3616 should be allowed to be set in this indexer too
3619 2002-11-06 Daniel Morgan <danmorg@sc.rr.com>
3621 * DataColumnPropertyDescriptor.cs: added file
3623 * System.Data/DataRowView.cs: started implementation
3625 * DataTable.cs: stubbed more interfaces. Implemented
3626 IListSource.GetList()
3628 * DataView.cs: stubbed more interfaces. Implemented
3629 some properties and methods: GetEnumerator(),
3630 ITypedList.GetItemProperties, Item indexer, CopyTo()
3632 2002-05-18 Nick Drochak <ndrochak@gol.com>
3634 * DataRow.cs: Fix typo.