1 2007-09-27 Nagappan A <anagappan@novell.com>
3 * DataRelationCollection.cs: Added LAME spec comment as there is no
4 relevant event. Removed MonoTODO too.
6 2007-09-26 Nagappan A <anagappan@novell.com>
8 * DataView.cs (ToTable): Added params keyword.
10 * DataTable.cs: Added XmlSchemaProvider attribute.
12 2007-09-25 Konstantin Triger <kostat@mainsoft.com>
14 * DataSet.cs: correct WriteAttributeString while writing xml with
15 XmlWriteMode.WriteSchema.
17 2007-09-25 Nagappan A <anagappan@novell.com>
19 * DataTable.cs: Code alignment.
21 2007-08-14 Vladimir Krasnov <vladimirk@mainsoft.com>
23 * DataColumnCollection.cs: refactoring, fixed columnNameCount comparer
24 to remove culture sensitive ToLower() calls
26 2007-07-22 Nagappan A <anagappan@novell.com>
28 * DataRow.cs: Added internal set property for Table in 2.0
31 * DataColumn.cs: Added internal set property for Table in 2.0
34 2007-07-01 Gert Driesen <drieseng@users.sourceforge.net>
36 * DataRowCollection.cs: Only override Count on 2.0 profile.
37 * RelatedDataView.cs: Fixed line endings.
38 * XmlDataInferenceLoader.cs: Fixed line endings.
40 2007-06-30 Gert Driesen <drieseng@users.sourceforge.net>
42 * DataTableCollection.cs: CopyTo is 2.0 only. Removed extra tabs,
43 and changed spaces to tabs.
45 2007-06-06 Nagappan A <anagappan@novell.com>
47 * DataTable.cs (Select): Removed ununsed variable.
49 2007-05-30 Nagappan A <anagappan@novell.com>
51 * DataColumnCollection.cs (CopyTo): Method specific to 2.0
54 * DataRowCollection.cs (Count): Property is overridden in 2.0
57 * TypedDataSetGenerator.cs: Class is obsolete in 2.0 profile.
59 * DataRelationCollection.cs (CopyTo): Method specific to 2.0
62 2007-05-18 Rolf Bjarne Kvinge <RKvinge@novell.com>
64 * CustomDataClassGenerator.cs: Misc fixes in order to emit correct VB code.
65 CreateDataSetDefaultCtor: we're creating a delegate, not an object, so use a DelegateCreateExpression.
66 CreateDataSetSchemaChanged: we're comparing value types, use the correct equality operator.
67 CreateTableGetEnumerator: explicity state that the method is an implementation of IEnumerable.GetEnumerator.
68 CreateTableEventStarter: we're invoking a delegate, so use a DelegateInvokeExpression.
69 Several changes to not generate members with names that only differ by case.
71 2007-05-18 Chris Toshok <toshok@ximian.com>
73 * DataColumnCollection.cs (Add ()): handle the default name case
75 (Add (string)): same - let Add(DataColumn) handle the default name
77 (Add (DataColumn)): in the 1.1 case, we need to add the column's
78 PropertyChanged handler *before* possibly setting the column name
79 to the default so we emit the right events (Changed/Added). In
80 the 2.0 case, we add the event handler after the name is set, and
81 therefore only emit the Added event.
83 2007-05-07 Adar Wesley <adarw@mainsoft.com>
85 * ConstraintCollection.cs: added CopyTo method with strongly typed Constraint[]
88 * DataTable.cs: added implementation of IXmlSerializable. Added missing
89 method ReadXmlSerializable.
91 2007-04-19 Chris Toshok <toshok@ximian.com>
93 * DataColumnCollection.cs (Add): the Element in our
94 CollectionChangedEventArgs should be the column, not the
95 collection. Also, add an event handler for the column's
96 PropertyChanged event so we can propagate metadata changes.
97 (Remove): Analogous change to the CollectionChangedEventArgs as in
98 Add. Also, unhook the column's PropertyChanged event.
99 (OnCollectionmetaDataChanged): emit our new event.
100 (ColumnPropertyChanged): called when the column's ColumnName
101 property changes. Emit the proper CollectionChangeEvent.
103 * DataView.cs (ColumnCollectionChanged): fix up the comment about
104 CollectionChangeAction.Refresh, and make explicit what generates
106 (RegisterEventHandlers): hook up
107 DataColumnCollectoin.CollectionMetaDataChanged.
108 (RegisterEventHandlers): unhook
109 DataColumnCollectoin.CollectionMetaDataChanged.
111 2007-02-23 Nagappan A <anagappan@novell.com>
113 * DataRow.cs (Item): Checks whether this DataRow exist in the
114 DataRowCollection, then compute the expression. Fixes bug #
117 * DataRowCollection.cs (IndexOf): Modified as internal method for
120 * XmlDataReader.cs (StringToObject): DataTables containing
121 System.Type throw exception on deserializing. Fixes bug # 80596.
123 * XmlDataLoader.cs (StringToObject): DataTables containing
124 System.Type throw exception on deserializing. Fixes bug # 80596.
126 2007-02-20 Konstantin Triger <kostat@mainsoft.com>
128 * XmlSchemaDataImporter.cs: ensure the tables are created in document order.
130 2007-02-19 Konstantin Triger <kostat@mainsoft.com>
132 * XmlDataReader.cs, XmlDataInferenceLoader.cs, XmlDiffLoader.cs:
133 ignore attributes from "http://www.w3.org/XML/1998/namespace".
134 * XmlConstants.cs: add constant for "http://www.w3.org/XML/1998/namespace".
135 * XmlDataInferenceLoader.cs: track the added elements index to fix the
136 added column ordinal.
138 2006-12-11 Chris Toshok <toshok@ximian.com>
140 * DataView.cs: GetItemProperties should return an empty collection
141 if we have no data table. Presently we NRE.
143 2006-12-08 Nagappan A <anagappan@novell.com>
145 * DataTable.cs (ReadXml): Removed if condition, as it should not
146 check the exception string.
148 2006-12-07 Chris Toshok <toshok@ximian.com>
150 * DataView.cs: add CollectionChangeEventHandler's on the
151 ChildRelations and ParentRelations collections, and emit
152 ListChanged events with PropertyDescriptor.Added/Deleted/Changed
155 2006-12-07 Nagappan A <anagappan@novell.com>
157 * DataTable.cs (ReadXml): Integrated the implementation of
158 ReadXml, patch provided by deepak_2603@yahoo.com.
160 2006-12-05 Nagappan A <anagappan@novell.com>
162 * DataTable.cs (WriteXmlSchema): Using XmlTextWriter instead of
163 XmlWriter, solved the File Sharing IO Exception.
165 2006-11-28 Hubert FONGARNAND, Frédéric Mestayer <informatique.internet@fiducial.fr>
167 * DataColumnCollection.cs : Improved Column searching when not
168 using exact column name (case sensitivity). Fixes bug # 80075.
170 2006-11-28 Nagappan A <anagappan@novell.com>
172 * XmlSchemaDataImporter.cs: Fixed 2.0 profile compilation
173 warnings. Using AttributeSchemaType instead of AttributeType and
174 ElementSchemaType instead of ElementType.
176 * TypedDataSetGenerator.cs: Modified the profile check from
177 !NET_1_1 to !NET_1_0, as this class is obsolete from 1.1 profile.
179 * DataRelationCollection.cs (Item): Modified the property Item as
180 abstract and implemented it in DataSetRelationCollection and
181 DataTableRelationCollection classes.
183 * DataRowView.cs: Remove bogus MonoTODOs.
185 * ForeignKeyConstraint.cs (ForeignKeyConstraint): Implemented
186 2.0 profile's missing constructor.
188 * XmlDataLoader.cs (StringToObject): Modify XmlConvert.ToDateTime
189 to use XmlDateTimeSerializationMode, as the default ToDataTime
192 * XmlDataReader.cs (StringToObject): Modify XmlConvert.ToDateTime
193 to use XmlDateTimeSerializationMode, as the default ToDataTime
196 * DataView.cs (IsInitialized): Added browsable attribute.
198 * DataViewSettingCollection.cs (CopyTo): Implemented missing 2.0
201 * DataRelation.cs (DataRelation): Added 2.0 profile constructor to
202 take parentTableNameSpace and childTableNameSpace as argument.
203 (FinishInit): Update parentTableNameSpace and childTableNameSpace,
204 when the string is not empty in 2.0 profile.
206 * DataRowCollection.cs: Implemented Count public property.
207 Added !NET_2_0 for List protected property, as it has been removed
209 (IndexOf): Implemented new public method.
210 (CopyTo): Implemented new public override method.
211 (GetEnumerator): Implemented new public override method.
213 * DataTable.cs (Load): Throw ArgumentNullException, when reader
215 (WriteXmlSchema): Throw InvalidOperationException, when table name
216 is empty. When DataSet Namespace is set, append that with '_x003A_'
218 (IsInitialized): Added browsable attribute.
220 * DataSet.cs (Load): Throw ArgumentNullException, when reader
222 (IsInitialized): Added browsable attribute.
223 (WriteObjectXml): Modify XmlConvert.ToDateTime to use
224 XmlDateTimeSerializationMode, as the default ToDataTime method id
227 * XmlSchemaWriter.cs (WriteSchema): Modified UseCurrentCulture to
229 (WriteDataSetElement): Added minOccurs attribute.
230 (WriteConstraints): Check for tables length, if > 1 then add the
231 relations to XmlSchema.
233 2006-11-21 Nagappan A <anagappan@novell.com>
235 * DataView.cs: Added public event Initialized.
236 (IsInitialized): Implemented public function to check whether a
237 dataview is initialized or not.
239 * DataSet.cs: Added ISupportInitializeNotification for .NET 2.0
241 (RemotingFormat): Set the default value attribute as
242 SerializationFormat.Xml.
243 (IsInitialized): Implemented public function to check whether a
244 table is initialized or not.
245 (CreateDataReader): Added params keyword in argument.
246 (Load): Implemented all Load overloaded functions.
247 (GetObjectData): Modified to public for .NET 2.0 implementation.
248 (IsBinarySerialized): Implemented the public API to check whether
249 the given stream is binary serialized or not.
250 * DataTable.cs: Added ISupportInitializeNotification for .NET 2.0
253 2006-11-15 Nagappan A <anagappan@novell.com>
255 * DataTable.cs (RemotingFormat): Set the default value attribute
256 as SerializationFormat.Xml.
257 (OnTableNewRow, NewRowAdded): Implemented new function to raise an
258 event when a new row is added to the table.
259 (DataTableInitialized, OnTableInitialized): Implemented new
260 function to raise an event when a table is initialized.
261 (IsInitialized): Implemented public function to check whether a
262 table is initialized or not.
263 (OnTableClearing): Raise an event before the table is cleared.
264 (GetObjectData): Modified to public for .NET 2.0 implementation.
265 (Load): Implemented missing API to call the registered delegate
266 function on load exception.
267 (WriteXmlSchema): Implemented overloaded function to write the
268 hierarchy with XML Schema.
270 2006-11-15 Konstantin Triger <kostat@mainsoft.com>
272 * DataTable.cs: Fixed LoadDataRow scenarios.
273 * DataRowCollection.cs: Added override for AddInternal taking DataRowAction parameter.
275 2006-11-14 Konstantin Triger <kostat@mainsoft.com>
277 * DataColumn.cs: consider row version wen checking row.IsNull().
279 2006-10-18 Nagappan A <anagappan@novell.com>
281 * ForeignKeyConstraint.cs (_validateColumns): Parent and child
282 columns can't be the same column - Exception, bug # 79689
284 2006-10-13 Nagappan A <anagappan@novell.com>
286 * DataTable.cs (DeserializeConstraints): Fine tuned the
287 serialization and deserialization of constraints.
289 * DataRelationCollection.cs (Contains): Fixes bug
290 #79233. DuplicateNameException when two relations for different
291 DataTables in DataSet are defined
293 2006-10-06 Patrick Earl <mono@patearl.net>
295 * DataTable.cs, XmlTableWriter.cs, XmlSchemaWriter.cs, DataSet.cs:
296 Implemented DataTable.WriteXml
298 2006-09-26 Nagappan A <anagappan@novell.com>
300 * DataTable.cs, DataSet.cs, DataColumn.cs, Constraint.cs,
301 DataRow.cs: Implementation of Binary Serialization /
304 * DataTable.cs (RowsExist): Check rows based on version.
306 * DataRow.cs: Raise exception same as MS.NET. Thanks to
307 Hubert FONGARNAND <informatique.internet@fiducial.fr> for
308 providing this patch.
310 2006-09-07 Vladimir Krasnov <vladimirk@mainsoft.com>
312 * DataSet.cs: added 2.0 stubs to solve typed dataset porting issues
314 2006-08-30 Nagappan A <anagappan@novell.com>
316 * DataRow.cs (EndEdit): DataRow.EndEdit emits RowChanged too
317 often. Fixes bug # 78885.
319 2006-08-14 Konstantin Triger <kostat@mainsoft.com>
321 * DataTableCollection.cs, DataRelationCollection.cs, DataRowCollection.cs,
322 DataColumnCollection.cs: implemented specialized CopyTo() method.
324 2006-07-26 Nagappan A <anagappan@novell.com>
326 * DataTable.cs (GetIndex): Fixes memory explode on
327 DataTable.Select - Bug # 77691.
329 2006-07-25 Nagappan A <anagappan@novell.com>
331 * DataView.cs (OnRowCollectionChanged): On DataTable.Clear,
332 setting rowCache to empty DataRowView. Fixes bug # 78610.
334 * DataTable.cs (AcceptChanges): Raises Reset event. Fixes bug #
337 2006-07-20 Senganal T <tsenganal@novell.com>
340 - Merge : moved the columntypecheck to AdjustSchema,
341 Remove the unncessary calls to Table.ResetIndexes.
342 - AdjustSchema : check for columntypes
343 Thanks to Deepak Kr Valechha for the patch
345 2006-07-17 Senganal T <tsenganal@novell.com>
348 - ToTable : Implemented all the overloads
349 - Equals : Implemented
350 - IBindingListView : Implemented the interface
352 2006-07-15 Senganal T <tsenganal@novell.com>
354 * DataTableCollection.cs :
355 - Contain,IndexOf,Remove,Add,Indexer : support for table
356 namespace. Remove redundant checks in Remove/Add.
358 2006-07-14 Senganal T <tsenganal@novell.com>
361 - SetOrdinal : Implemented
362 - Ordinal : added internal set
363 * DataColumnCollection.cs :
364 - Add : Set the column ordinals
365 - MoveColumn : Changes the position of column in the
368 2006-07-14 Senganal T <tsenganal@novell.com>
371 - Merge - Implement the merge methods
372 - Clone - Ensure column's DateTimeMode property is also copied
374 - DateTimeMode : Implemement
375 - DataTypeMatches : Added. In 2.0 profile, test DateTime
376 property when verifying column types.
378 - ctr : For DateTime columns, check DateTimeMode property
379 * ForeignKeyConstraint.cs :
380 - _validateColumns : For DateTime columns, check DateTimeMode
383 - Merge : Added. Overload to merge two tables
384 - ResolveColumns : Change the method to use a table instead of
386 - Renamed AdjustSchema to AdjustSchemaRelations
388 2006-07-13 Senganal T <tsenganal@novell.com>
391 - WriteTables : Remove some commented out code
392 - WriteTable : Fix the logic to skip the table data when the
393 table has a nested relation.
396 2006-07-12 Senganal T <tsenganal@novell.com>
398 * ConstraintCollection.cs :
399 - Remove (string): If constraint name is not found, throw exception
400 - Remove (Constraint): Set the ConstraintCollection of the removed
402 Thanks to Deepak Kr Velachha for reporting the bug.
404 2006-07-12 Senganal T <tsenganal@novell.com>
407 - LoadColumnChildren : If schema name is missing, skip the
409 Thanks to Deepak Kr Velachha for identifying the bug.
411 2006-07-11 Senganal T <tsenganal@novell.com>
413 * XmlSchemaWriter.cs :
414 - WriteTableType : If Relation.Nested is true, then nest the
415 table schemas. Correct the xml to add the table element within
416 the <Sequence> element.
417 - WriteChildRelations : Correct the Xml element name and
418 attributes. Close the attribute correctly.
420 * XmlSchemaDataImporter.cs :
421 - GenerateRelationship : When creating the relations, if
422 ParentColumn exists but Corr ChildCol is null, create a child
423 Column with the same name and type as the parent column.
424 - Renamed DataSetDefinesPrimaryKey to DataSetDefinesKey
425 - DataSetDefinesKey : if either xsd:key or xsd:keyref is
426 defined for the dataset, do not manually create the relations.
427 - AddParentKeyColumn : if Columnname already exists, use
428 colname_0 instead of throwing an exception.
429 - FillDataColumnRepeatedSimpleElement : Do not set the Unique
430 value as it creates a constraint by default. The unique value
431 is automatically set when pk is set.
432 - CreateChildColumns : Added. Creates a ChildColumn duplicating
433 ParentColumn properties.
435 2006-06-30 Senganal T <tsenganal@novell.com>
438 - SetAdded, SetModified : new methods in 2.0
440 2006-06-30 Senganal T <tsenganal@novell.com>
441 * SerializationFormat.cs, DataSetDateTime.cs, DataTableNewRowEventArgs.cs,
442 DataTableNewRowEventHandler.cs : Added
443 * SyntaxErrorException.cs EvaluateException.cs StrongTypingException.cs
444 IsolationLevel.cs ReadOnlyException.cs DataTableCollection.cs
445 DataRowState.cs MissingPrimaryKeyException.cs DeletedRowInaccessibleException.cs
446 DuplicateNameException.cs PropertyAttributes.cs StatementType.cs
447 VersionNotFoundException.cs FillErrorEventHandler.cs DataRowChangeEventHandler.cs
448 XmlWriteMode.cs InvalidExpressionException.cs StateChangeEventHandler.cs
449 DbType.cs DataColumnChangeEventHandler.cs KeyRestrictionBehavior.cs
450 ConnectionState.cs SchemaType.cs MergeFailedEventHandler.cs SqlDbType.cs
451 DataRowVersion.cs ForeignKeyConstraint.cs DBConcurrencyException.cs
452 OperationAbortedException.cs MissingSchemaAction.cs DataTableClearEventHandler.cs
453 DataRowView.cs DataRowAction.cs ConstraintCollection.cs DataTableReader.cs
454 LoadOption.cs InvalidConstraintException.cs InternalDataCollectionBase.cs
455 ParameterDirection.cs AcceptRejectRule.cs UpdateRowSource.cs XmlReadMode.cs
456 TypedDataSetGenerator.cs RowNotInTableException.cs TypeDataSetGeneratorException.cs
457 InRowChangingEventException.cs MissingMappingAction.cs NoNullAllowedException.cs
458 CommandBehavior.cs PropertyCollection.cs CommandType.cs
459 UpdateStatus.cs ConflictOption.cs DataViewRowState.cs Rule.cs
460 DataColumnCollection.cs :
463 2006-06-27 Senganal T <tsenganal@novell.com>
465 * DataSet.cs, DataTable.cs : implement CreateDataReader methods
466 * InternalDataCollectionBase.cs
467 - ToArray () : helper method
468 * DataTableReader.cs :
469 - GetSchemaTable : set the schema info correctly
470 - GetProvider*, GetChars, GetBytes, GetValues :
471 Implemented the methods
472 - GetName : return the name of corresponding schema.
473 - ValidateSchemaIntact, OnColumnCollectionChanged,
475 Listen and raise expception if schema changes
477 2006-06-21 Chris Toshok <toshok@ximian.com>
479 * DataView.cs: update the index after we successfully add the new
480 row. This keeps the dataview's row view count in sync with the
483 2006-06-20 Chris Toshok <toshok@ximian.com>
485 * DataView.cs: the PropertyDescriptorCollection returned by
486 ITyepdList.GetItemProperties should include the child relations of
487 our table, in order to match MS's behavior.
489 * DataViewManager.cs: ICollection.Count property is always 1.
491 2006-06-15 Senganal T <tsenganal@novell.com>
494 - Select : If Sort String is not provided, sort the result
495 DataRows in Ascending Order of the Columns used in the filter
497 2006-06-15 Senganal T <tsenganal@novell.com>
500 - InternalEnforceConstraints : Check if any null constraints
501 are violated. Throw ConstraintException only after all the errors
504 - EnforceConstraints : Move away the logic to check for
505 NullConstraintViolation.
506 - AssertNotNullConstraint : Checks for Null Constraint
508 - EndLoadData : Do not throw any exceptions here. All the
509 errors have to be found and RowErrors set before throwing the
512 - ImportRecrod : Check the values of the row for any null
514 - SetColumnError : If the error for column is already set,
515 do not add a new error but edit the existing error.
516 - CheckValue : Set the NullConstraintViolation flag if either
517 table is being loaded or if EnforceConstraints is set to
519 * Constraint.cs : Do not throw exception when EnforceConstraints is
520 set to false or table is being loaded.
521 * UniqueConstraint.cs : Correct the error message. Set ColumnErrors
522 along with the RowError.
524 2006-05-31 Gert Driesen <drieseng@users.sourceforge.net>
526 * DataTable.cs: Renamed initInProgress to fInitInProgress. BeginInit
527 and EndInit must only be virtual in 2.0 profile. Set eol-style to CRLF.
529 2006-05-31 Senganal T <tsenganal@novell.com>
531 * XmlDataInferenceLoader.cs :
532 - InferTableElement : Repeated element should result in a single
534 Patch from Deepak Kr Velachha
536 2006-04-21 Senganal T <tsenganal@novell.com>
538 * DataRowCollection.cs :
539 - Find : If search on the table using PrimaryKey fails and if
540 index is not being maintained (during table load), search the
542 - Find (int) : Removed. Deadcode.
544 - Not necessary to delete each row from the Index.
545 Just reset the Indexes after cleaning up the row
547 - Simplify dependency check for child tables
550 - Do not use DataRowCollection.Find to search for
551 existing records as this wud check even newly loaded rows.
553 - Do not add new records to Index. Update Index only
554 if an existing record is modified. New records will be
555 taken care by EndLoadData.
557 2006-04-19 Senganal T <tsenganal@novell.com>
559 * XmlHelper.cs : A helper class for encoding/decoding schema names.
560 Caches the Schema names to minimize encoding/decoding operations and
561 duplicate strings created.
563 - Use XmlHelper for encoding/decoding schema names.
564 - Encode ConstraintNames when writing as xml.
567 * XmlDataInferenceLoader.cs
568 * XmlSchemaDataImporter.cs
569 - Use XmlHelper for encoding/decoding schema names.
570 * DataTableCollections : Minor code refactor.
571 * DataRow.cs : Create XmlElement only if required.
573 2006-04-07 Senganal T <tsenganal@novell.com>
576 - InternalEnforceConstraints() : Reset Indexes of all tables
577 before validating constraints. Fixes #78010
579 2006-03-04 Boris Kirzner <borisk@mainsoft.com>
580 * TypeDataSetGeneratorException.cs: fix .Net Soap serialization compatibility.
582 2006-03-25 Senganal T <tsenganal@novell.com>
585 - RejectChanges : When row is in Deleted state, add the row back to
586 Indexes and Validate the row.
589 2006-03-23 Senganal T <tsenganal@novell.com>
592 - LoadDataRow : Add the row to the indexes, when loading a new row.
594 2006-03-22 Senganal T <tsenganal@novell.com>
597 - PrimaryKey : Set the IsPrimaryKey attribute before Removing from collection.
598 - RemoveUniqueConstraints : Removed. dead code.
601 - If adding/removing constraint fails, retain Unique value
602 - Remove redundant code
603 * UniqueConstraint.cs :
604 - SetIsPrimaryKey : Added. Sets the value of IsPrimaryKey.
605 - RemoveFromConstraintCollectionCleanup : If constraint is on a single column, then
606 set Unique for that column to false.
607 - CanRemoveFromCollection : Do not remove constraint, if its a PrimaryKey
609 2006-03-20 Senganal T <tsenganal@novell.com>
612 - CopyRelations () : When copying the relation, do not add constraints
613 automatically for the relation.
614 - OnMergeFailed () : If merge fails and no handler is set for the MergeFailedEvent,
615 then throw DataException
616 * ConstraintCollection.cs :
617 - Add () : Check if a constraint already exists on the Columns that are being
619 - IndexOf () : Do not check for equivalent constraints, check for the exact instance.
620 * MergeManager.cs ():
622 - Handle the MissingSchemaAction.Error case,
623 - Do not create constraints when mergin the DataRelation
624 - Follow the semantics for schema merge/validation when constraints are already present
625 in the target DataSet.
626 - AdjustPrimaryKeys () :
628 - Verify Order of Columns in the PrimaryKey when merging.
629 - ResolveColumns : Changed the arument to DataSet. Simplifies code elsewhere.
630 - CompareColumnArrays, CompareColumnArrays : Helper funtions.
632 2006-03-09 Senganal T <tsenganal@novell.com>
635 - RejectChanges () : Add the row to index, if it was in deleted state and
636 Update the index if in Modified State.
637 - AcceptChanges () : Do not update the Indexes.
638 - EndEdit () : Update the indexes even if BeginLoadData has been called
639 on the table. Ideally, indexes should not be maintained during DataLoad,
640 but this needs to handled in multiple places correctly. For now, just maintain
641 the index to ensure correct operation.
643 2006-03-05 Senganal T <tsenganal@novell.com>
646 - BeginInit (), EndInit () : Implemented methods
647 - InitInProgress : Added.
649 - EndInit () : Move the adding of columns and constraints
651 - FinishInit () : Added. Adds the Constraints and Columns
653 - InitInProgress : Added.
655 - FinishInit () : Added. Virtual method
656 - InitInProgress : Added. Virtual property
657 * UniqueConstraint.cs
658 * ForeignKeyConstraint.cs
659 - FinishInit () : Added.
660 - InitInProgress : Added.
661 - DataColsNotValidated : Removed.
662 * ConstraintCollection.cs
663 - PostAddRange : Removed event
664 - PostEndEdit () : Renamed to PostAddRange
665 - Add () : Simplified the testing if constraint is initialized
666 - AddRange () : Simplified initializing the constraints
667 * DataTableCollection.cs
668 - PostAddRange () : Added. Adds the tables to the collection
669 * DataColumnColletion.cs
670 - PostEndInit () : Renamed to PostAddRange.Also, add column to
671 the collection only if not null.
673 Added/Implemented methods for design time support. Renamed some methods for consistency
674 in naming across classes for methods serving the same purpose.
676 2006-02-24 Senganal T <tsenganal@novell.com>
678 * UniqueConstraint.cs :
679 - ChildConstraint : Added. Simplifies verifying if constraints are
681 - CanRemoveFromCollection : Fixed the check to verify if constraints is
682 linked to a ForeignKeyConstraint. Fixes #77630
683 * ForeignKeyConstraint.cs :
684 - _validateRemoveParentConstraint : Removed. Not used anymore
685 - ParentConstraint : Added. Simplifies verifying if constraints are
687 2006-02-22 Senganal T <tsenganal@novell.com>
690 - RejectChanges : Do not remove Row from Indexes when state is Deleted.
691 - CheckChildRows : When checking for the ChildRows, use the current value
692 and not the original value.
694 2006-02-18 Atsushi Enomoto <atsushi@ximian.com>
696 * CustomDataClassGenerator.cs : Patch by Marek Habersack. xsd now
697 outputs AutoIncrement, AutoIncrementSeed, AutoIncrementStep and
698 ReadOnly properties. This fixes bug #77576.
700 2006-02-17 Chris Toshok <toshok@ximian.com>
702 * System.Data/DataSet.cs, System.Data/DataView.cs,
703 System.Data/ForeignKeyConstraint.cs,
704 System.Data/DataViewManager.cs, System.Data/DataRow.cs,
705 System.Data/DataSysDescriptionAttribute.cs,
706 System.Data/UniqueConstraint.cs, System.Data/DataTable.cs,
707 System.Data/DataRelation.cs: lots of attribute work, removing
708 DataSysDescription atributes (and marking the class obsolete) for
711 2006-02-17 Chris Toshok <toshok@ximian.com>
713 * DataAdapterException.cs: remove this file.
715 2006-02-17 Chris Toshok <toshok@ximian.com>
717 * DataTableReader.cs: Switch to the (bool) form of Dispose to
718 override, as the no-arg form isn't virtual.
720 * Constraint.cs: #ifdef out more DataSysDescriptions.
722 * ConstraintException.cs: add ..ctor (string, Exception) for 2.0.
724 2006-02-17 Chris Toshok <toshok@ximian.com>
726 * DataColumn.cs: #ifdef all the DataSysDescriptions !NET_2_0.
728 * AdapterMappingException.cs: nuke this file.
730 * IDbAsyncConnection.cs, IDbAsyncCommand.cs, IGetTypedData.cs,
731 ISetTypedData.cs, IDataReader2.cs, IDataSources.cs,
732 IDbExecutionContext.cs, IDataRecord2.cs, IDataUpdatableRecord.cs:
733 remove these 2.0 files.
735 2006-02-17 Chris Toshok <toshok@ximian.com>
737 * ConstraintCollection.cs: in 2.0, class is not serializable and
738 is sealed. make all the "virtuals" #if !NET_2_0 as well.
740 * Constraint.cs: not serializable in 2.0.
742 * DataColumnCollection.cs: in 2.0, class is not serializable and
743 is sealed. make all the "virtuals" #if !NET_2_0 as well.
745 * DataRelationCollection.cs: not serializable in 2.0.
747 * DataRelation.cs: not serializable in 2.0.
749 * DataRowBuilder.cs: class is sealed in 2.0.
751 * DataRowCollection.cs: in 2.0, class is not serialized and is
752 sealed. Also, Add isn't virtual in 2.0 (as the class is sealed).
754 * DataRow.cs: not serializable in 2.0.
756 * DataSet.cs: remove some DataSysDescriptions from the 2.0 build,
757 and s/GetDataReader/CreateDataReader.
759 * DataTableCollection.cs: in 2.0, class is not serializable and is
760 sealed. make all the "virtuals" #if !NET_2_0 as well.
762 * DataTableReader.cs: remove VisibleFieldCount property.
764 * DataViewSettingCollection.cs: not serializable in 2.0.
766 * DataViewSetting.cs: not serializable in 2.0.
768 * ForeignKeyConstraint.cs: serializable in 2.0.
770 * OperationAbortedException.cs: class is sealed and serializable.
772 * PropertyCollection.cs: serializable in 2.0.
774 * StatementCompletedEventArgs.cs: class is sealed.
776 * UniqueConstraint.cs: not serializable in 2.0.
778 2006-02-16 Senganal T <tsenganal@novell.com>
781 WriteDataSetElement : Add an annotation element if exists.
782 WriteDataRelationAnnotation : New. Write a DataRelation as an annotation.
783 WriteConstraints : Write ForeignKeyConstraint even when not associated with
784 a DataRelation and add a "ConstraintOnly=true" attribute for such constraints.
785 * XmlConstants.cs : Add a new constant - ConstraintOnly
786 * XmlSchemaImporter.cs :
787 - ConstraintStructure : Add field ,IsConstraintOnly, to distinguish if a foreignkeyconstraint
788 is related to relation or not.
789 - GenerateRelation : Handle the case when parentkey and childkey contain multiple columnnames.
791 2006-02-11 Senganal T <tsenganal@novell.com>
793 * UniqueConstraint.cs :
794 - PostAddRange : Check PrimaryKey is not already set for the table
796 - PrimaryKey : follow ms.net behavior when BeginInit , EndInit is used.
797 - Add new priamry key only when EndInit is called.
798 - Incase of an error, retain old primarykey
800 - Add Constraints after columns are added.
801 - If both PrimaryKey Property and PrimaryKey Constraint are set,
802 then the Constraint takes precedence.
805 2006-02-03 Senganal T <tsenganal@novell.com>
807 * DataTableCollection.cs :
808 - Remove () : Check for invalid TableName
809 - Add () : Verify the table doesn't belong to another dataset
811 - CompleteLastAdded () : Do not raise ItemAdded Event as it is
812 already raised in AddNew().
814 - Expression : Verify that the Column names in the expression are valid
815 - ResetCollectionInfo : Renamed to ResetColumnInfo
817 - RejectChanges () : Reorganized the code to do the Right thing.
818 - Item : Dont check for detached and deleted rows as these are
820 * DataRowCollection.cs :
821 - Add () : Check for null value
823 - PrimaryKey : Set AllowDBNull=false for all the key columns
824 - ImportRow : Import the row only if it is not in Detached state. if in Deleted
825 state, perform the validation when AcceptChanges/RejectChanges is called.
826 * DataColumnCollection.cs :
827 - Add : Validate the column expression before adding it to the collection.
828 - GetColumnDependency () : New. Get the dependencies on the column
829 - CanRemove : Move checks to GetColumnDependency
830 - Clear () : Simplified code. Remove unncessary checks.Also, dont check Expression col.
831 - IndexOf - Check argument.
832 Overall , appropriate error msg's are thrown if Remove/Clear fails. Removed a few
833 redundant checks performed and moved the common code to GetColumnDependency.
835 2006-01-31 Senganal T <tsenganal@novell.com>
837 * DataSet.cs : Modified CopyRelations ()
838 - Added code to copy ForeignKeyConstraints. Fixes #77411.
840 2006-01-18 Boris Kirzner <borisk@mainsoft.com>
841 * DataColumn.cs: added PropertyCchangedEvent handling.
843 2006-01-17 Senganal T <tsenganal@novell.com>
846 ItemArray : Modified to raise RowInTableException only if
847 the concerned row has been removed from the table.Fixes
850 2006-01-16 Boris Kirzner <borisk@mainsoft.com>
851 * DataTable.cs: Drop dependend indexes on column removal.
853 2006-01-16 Atsushi Enomoto <atsushi@ximian.com>
855 * CustomDataClassGenerator.cs :
856 When a DataRelation connects the same table as parent and child,
857 generate parent row property as BlahRowParent. Fixed bug #77248.
859 2006-01-10 Senganal T <tsenganal@novell.com>
860 * DataRowCollection.cs
861 - Added ListChangedEvent to notify reset of the collection.
863 - Subscribes to the ListChangedEvent of DataRowCollection
866 2006-01-09 Senganal T <tsenganal@novell.com>
869 - Resolving a name clash in IExpression
871 2006-01-06 Senganal T <tsenganal@novell.com>
874 * DataColumnCollection.cs
875 - Reset the Parameters of DataColumn to Default Values when
876 column is removed from the Table's Collection
878 2006-01-03 Senganal T <tsenganal@novell.com>
881 - ParseSortString() : Changed the way the sort string is parsed.
882 Using a regex to parse the string.Fixes bug #77104
884 2005-12-12 Konstantin Triger <kostat@mainsoft.com>
886 * DataRow.cs: Added index Updates.
887 EndEdit() fixed to first update indices and then AssertConstraints
888 based on those indices.
889 Added Validate() and AssertConstraints() functions.
890 * DataRowCollection.cs: Removed ValidateDataRowInternal().
891 * DataTable: Fixed Clear().
893 2005-12-06 Atsushi Enomoto <atsushi@ximian.com>
895 * CustomDataClassGenerator.cs : (InitializeFields) handle AllowDBNull
896 and DefaultValue as well. Patch by Marek Habersack (bug #76709).
898 2005-12-01 Miguel de Icaza <miguel@novell.com>
900 * DataSet.cs: Apply patch from Robert Jordan, to fix #76817
902 2005-11-26 Konstantin Triger <kostat@mainsoft.com>
904 * ConflictOption.cs: TARGET_JVM include.
906 2005-11-11 Senganal T <tsenganal@novell.com>
908 * ConflictOption.cs (new file)
909 - Added ConflictOption Enumeration
912 - GetProviderSpecificFieldType : Corrected the method name
914 2005-11-11 Senganal T <tsenganal@novell.com>
916 * DataSet.cs : Added the SchemaSerializationMode Property for NET_2_0
918 * SchemaSerializationMode.cs : Added SchemaSerializationMode Enumeration
919 for NET_2_0 compatibility.
923 2005-10-20 Atsushi Enomoto <atsushi@ximian.com>
925 * XmlSchemaWriter.cs : escape names in the schema with XmlConvert.
928 2005-10-14 Sureshkumar T <tsureshkumar@novell.com>
930 * DataView.cs: Correct multiple throwing of events. Patch from
932 (RowStateFilter): Fire ListChangedEvent.
933 (ApplyDefaultSort): Fire ListChangedEvent.
934 (CompleteLastAdded): call UpdateIndex to remove the row from rowCache.
935 (IBindingList.Find): Implemented.
937 2005-10-11 Sureshkumar T <tsureshkumar@novell.com>
939 * DataView.cs (IBindingList): Implemented methods for IBindingList interface.
941 2005-09-26 Lluis Sanchez Gual <lluis@novell.com>
943 * DataSet.cs: In IXmlSerializable.GetSchema, return null again for
944 untyped datasets. Fixes bug #76101.
946 2005-09-21 Boris Kirzner <borisk@mainsoft.com>
947 * DataRow.cs: Fixes for index updating.
949 - Reset case-sensitive indexes also if their filter contains columns
951 - Use GetIndex instead of FindIndex, so the indexes created in Select()
953 * RelatedDataView.cs: implement IExpression.Equals() and GetHashCode().
955 2005-09-20 Sureshkumar T <tsureshkumar@novell.com>
957 * DataView.cs (Sort): Apply default Sorting Order if Sort property
958 is reset to null. Sort property handles this. Patch from Marc.
960 * DataTable.cs (ParseSortString): Patch from Marc Haisenko for
961 allowing [ & ] in DataView.Sort string.
963 2005-09-01 Boris Kirzner <borisk@mainsoft.com>
964 * System.Data/DataRowCollection.cs: indexes should be updated even if
965 EnforceConstraints is false. Check for EnforceConstraints in
966 ValidateDataRowInternal.
968 2005-08-08 Gert Driesen <drieseng@users.sourceforge.net>
970 * DataView.cs: Changed accessibility of dataTable, rowState and
971 rowCache field to internal to fix public API. Assigned TypeConverter
973 * ForeignKeyConstraint.cs: IsConstraintViolated is now internal.
974 * Constraint.cs: IsConstraintViolated is now internal.
975 * UniqueConstraint.cs: IsConstraintViolated is now internal.
977 2005-08-05 Atsushi Enomoto <atsushi@ximian.com>
979 * XmlSchemaDataImporter.cs : When "dataset element" has identity
980 constraints, then first reserve constraints room for them and then
981 process elements, skipping pkey creation if there is already
982 reserved one. Fixed bug #75711.
984 2005-08-05 Atsushi Enomoto <atsushi@ximian.com>
986 * XmlDataInferenceLoader.cs : in GetElementMappingType(), don't guess
987 the same (QNamed) element again when it was already evaluated as
988 not simple type. Fixed one part of bug #75711.
990 2005-08-02 Boris Kirzner <borisk@mainsoft.com>
991 * XmlSchemaDataImporter.cs : Data relations should be processed after the
992 keys, so no redundant constraints created while relations processing.
994 2005-07-25 Boris Kirzner <borisk@mainsoft.com>
995 * FillOptions.cs, ConflictOptions.cs, UpdateOptions.cs:
996 added ifdef TARGET_JVM.
998 2005-07-22 Sureshkumar T <tsureshkumar@novell.com>
1000 * DataViewSettingCollection.cs, DataTableCollection.cs,
1001 DataSet.cs, DataView.cs, DataColumn.cs, ForeignKeyConstraint.cs,
1002 DataRelationCollection.cs, UniqueConstraint.cs, DataTable.cs,
1003 DataColumnCollection.cs, DataRelation.cs, DataSet.cs:
1004 - updated attributes & attribute descriptions to match with
1007 * DataView.cs: changed protected members
1008 rowstate,rowcache,dataTable to protected internal.
1009 * Constraint.cs, ForeignKeyConstraint.cs, UniqueConstraint.cs:
1010 changed InConstraintViolated to protected internal.
1011 * ConflictOptions.cs, UpdateOptions.cs, FillOptions.cs: enclosed
1012 with NET_2_0 define.
1014 2005-07-21 Sureshkumar T <tsureshkumar@novell.com>
1016 * ForeignKeyConstraint.cs:
1017 - IsConstraintViolated (): no matter what EnforceConstraints is,
1018 this function now honestly validates. It is upto the caller to run
1020 - AddToConstraintCollectionSetup (): AssertConstraint according to
1023 2005-07-21 Boris Kirzner <borisk@mainsoft.com>
1024 * ForeignKeyConstraint.cs - IsConstraintViolated() should check also for Table.EnforceConstraints.
1025 * DataTable.cs - EnforceConstraints becomes internal so it can be used by ForeignKeyConstraint.
1027 2005-07-19 Sureshkumar T <tsureshkumar@novell.com>
1029 * DataTable.cs - CopyConstraints (): copy constraints only if it
1032 * DataSet.cs - Copy ():
1033 - use activator.CreateInstance to create a typed dataset.
1034 - copy tables if target does not exist, otherwise, just add rows.
1035 - add relation only if it does not exists.
1037 Typed datasets create the constraints & relations through
1038 constructors. Fixes bug #75211.
1040 2005-07-14 Sureshkumar T <tsureshkumar@novell.com>
1042 * DataView.cs: Patch from Marc Haisenko to throw descriptive error
1043 message when accessing Item, with invalid index.
1045 2005-07-14 Sureshkumar T <tsureshkumar@novell.com>
1047 reapplied patch from Marc Haisenko.
1048 * DataView.cs: Patch from Marc Haisenko that ensures that rowCache
1051 2005-07-13 Sureshkumar T <tsureshkumar@novell.com>
1053 * DataRelationCollection.cs: adding a relation with same set of
1054 parent columns & child columns, should not be allowed.
1056 2005-07-08 Sureshkumar T <tsureshkumar@novell.com>
1058 * DataTableReader.cs: GetSchemaTable: DataType column should be
1059 passed a type of Type.
1061 * DataRow.cs: Load : Fired necessary events.
1063 * DataTable.cs: LoadDataRow (object [], LoadOption): Fired
1066 2005-06-28 Sureshkumar T <tsureshkumar@novell.com>
1068 * DataRow.cs: Delete (): if row is detached, do nothing.
1071 2005-06-22 Sureshkumar T <tsureshkumar@novell.com>
1073 * DataRow.cs: Added method MergeValuesToRow copy merge two rows
1074 according to the merge rules.
1076 * MergeManager.cs: (MergeRow): use MergeValuesToRow
1077 API. CopyValuesToRow simply makes the target row same as source
1078 row. Rather, MergeValuesToRow merges with the target row according
1081 2005-06-19 Konstantin Triger <kostat@mainsoft.com>
1083 * DataSet.cs: Fixed ReadXml to work with IXmlSerializable
1085 2005-06-17 Jordi Mas i Hernandez <jordi@ximian.com>
1087 * DataViewManager.cs: fixes exception and creates DataView
1089 2005-06-15 Sureshkumar T <tsureshkumar@novell.com>
1091 * DataRow.cs: CheckChildRows: cascade parent changes to child rows
1092 only if there is a change in columns of the fk constraint.
1094 2005-06-14 Sureshkumar T <tsureshkumar@novell.com>
1096 * DataSet.cs: GetChanges: if row is deleted, get parent rows based
1097 on original version. fixes bug #75227.
1099 2005-06-13 Sureshkumar T <tsureshkumar@novell.com>
1101 * DataRowCollection.cs: Find (keys, version): Added an overload to
1102 find keys matching given DataViewRowState filter. Used in
1103 DataSet.Merge and DataTable.LoadDataRow.
1105 * DataTable.cs: LoadDataRow (values, LoadOption): Use
1106 DataRowCollection.Find (object [], DataViewRowState) overload.
1109 - CopyValuesToRow: Create target "records" out of loop. Records
1110 should be created once, not for each column. Dispose Unused target
1114 - MergeRow: Find rows with matching original records. If not,
1115 select with current values.
1116 - MergeRow: While adding new row, use NewNotInitializedRow.
1118 * ForeignKeyConstraint.cs: IsConstraintViolated: should not check
1119 if EnforceConstraints is false.
1121 2005-06-10 Sureshkumar T <tsureshkumar@novell.com>
1123 * DataRow.cs: CopyValuesToRow: if orginal == current, don't create
1124 a new current record.
1126 * DataSet.cs: GetChanges :Temporarily disable EnforceConstraints.
1128 * MergeManager.cs: Merge: Temporarily disable
1129 EnforceConstraints. Patch from george.barbarosie@gmail.com (George
1132 2005-06-09 Jordi Mas i Hernandez <jordi@ximian.com>
1134 * DataView.cs: fixes GetListName
1136 2005-06-02 Atsushi Enomoto <atsushi@ximian.com>
1138 * XmlSchemaConstants.cs,
1139 XmlSchemaDataImporter.cs,
1140 XmlSchemaWriter.cs : AutoIncrementStep support. Patch partly by
1141 George Barbarosie. Fixed bug #75121.
1142 * XmlSchemaMapper.cs : it is not used anymore, so just removed.
1144 2005-05-31 Boris Kirzner <borisk@mainsoft.com>
1145 * DataRow.cs : SetParentRow on Detached row with no Default version throws an exception.
1147 2005-05-29 Konstantin Triger <kostat@mainsoft.com>
1149 * This patch fixes #74813
1150 * DataView.cs: rework the CreateChildView to receive the index into the indexed row array, rowState became protected to be initialized from RelatedDataView
1151 * DataRowView.cs: movo the logic of creating the child view to the DataView
1152 * RelatedDataView.cs: perform correct init.
1154 2005-05-25 Sureshkumar T <tsureshkumar@novell.com>
1156 * DataTable.cs: Reworked DataTable.LoadDataRow method after
1157 regressions caused by Index redesign.
1158 * DataRow.cs: Load : reworked.
1160 2005-05-25 Konstantin Triger <kostat@mainsoft.com>
1162 * ISafeDataRecord.cs: Added GetDateTimeSafe method, the interface was made derived from IDataRecord
1164 2005-05-22 Konstantin Triger <kostat@mainsoft.com>
1166 * 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
1168 2005-05-20 Sureshkumar T <tsureshkumar@novell.com>
1170 * DataTable.cs: CreateRecord :value should be set to auto
1171 increment value or default value if the given value is null.
1173 2005-05-16 Konstantin Triger <kostat@mainsoft.com>
1175 * DataTable.cs: In DataTable.LoadDataRow with LoadOption - reverting the search order back to Original -> Current (by Suresh request)
1177 2005-05-16 Konstantin Triger <kostat@mainsoft.com>
1179 * DataRow.cs, DataTable.cs: code under net_2_0 changed to use the new interface
1180 * DataTable.cs: Added CompareRecords, which compares records in column order
1183 2005-05-16 Sureshkumar T <tsureshkumar@novell.com>
1186 * DataTable.cs: quick fix to make build 2.0 profile (follow up for
1187 check in 2005-05-16). Merge with previous changes.
1189 2005-05-11 Sureshkumar T <tsureshkumar@novell.com>
1191 fix for "import row does not import deleted records"
1193 * UniqueConstraint.cs: Make a way to access value even from a
1194 deleted record. deleted records are added to the collection by
1198 - Added restriction-less methods GetValue to fetch a
1199 value even if it is in deleted state.
1200 - If a row is detached, don't try to delete it from indexes.
1201 - sanity check for record_index in CopyValuesToRow method
1203 2005-05-05 Sureshkumar T <tsureshkumar@novell.com>
1205 * DataTableReader.cs: Implemented Delete handler and move the
1206 current pointer accordingly.
1208 2005-05-04 Sureshkumar T <tsureshkumar@novell.com>
1210 * DataTableReader.cs: Added event handlers to make reader stable
1211 when the datasource is modified. Thanks to Umadevi for giving the
1212 review comments for this implementation.
1214 * DataTable.cs: Clear (): Raise TableCleared event.
1216 * DataTableClearEventArgs.cs: Args for DataTableClearEventHandler.
1218 * DataTableClearEventHandler.cs: Handler for DataTable.TableClear
1221 * DataRow.cs: AcceptChanges: raise row changing & row changed
1224 * DataRowCollection.cs: Clear : remove rows from indexes
1226 2005-05-02 Atsushi Enomoto <atsushi@ximian.com>
1228 * XmlSchemaDataImporter.cs : XmlSchemaParicle might be XmlSchemaAny.
1229 This fixes bug #74784.
1231 2005-04-29 Sureshkumar T <tsureshkumar@novell.com>
1233 * DataTableReader.cs: removed use of _first. throw if given index
1234 is out of range of columns. Copy DataTable [] to local array so
1235 that not to be disturbed.
1237 2005-04-27 Sureshkumar T <tsureshkumar@novell.com>
1239 * DataTableReader.cs: Implemented most of the TODO.
1241 2005-04-22 Sureshkumar T <tsureshkumar@novell.com>
1243 * LoadOption.cs: Changed the enums. Keeping old values for
1246 * DataTable.cs: Implemented methods Load and its overloads. Also
1247 implemented LoadDataRow.
1249 * DataRowCollection.cs: Added a variation of the Find method to
1250 return a row even if it is of state Deleted. This is required for
1251 DataTable.LoadDataRow method.
1253 * DataRow.cs: Implemented internal helper method Load for loading
1254 values from an object array and given an LoadOption (2.0 feature).
1256 * DataRowAction.cs: Added few more enums for .net 2.0. Sorted
1259 2005-05-16 Konstantin Triger <kostat@mainsoft.com>
1261 * UniqueConstraint.cs : IsNull check is relevant for rows having default row version.
1262 * DataTable.cs : The row should be validated when imported
1263 * DataRowCollection.cs : if the row does not contain Proposed neither Current version, it's irrelevant for validation
1265 2005-04-26 Boris Kirzner <borisk@mainsoft.com>
1267 * UniqueConstraint.cs :
1268 - Add indication whenever the constraint belongs to collection.
1269 - Calculation of IsPrimaryKey simplified.
1270 - If constraint is based on single column, the column becomes unique.
1271 - Use boolean IsConstraintViolated() instead of AssertConstraint().
1272 - Use Index.Duplicates to proper exception message formatting.
1273 - AssertConstraint(DataRow) changed to suite new indexes interface.
1274 - Added CanRemoveFromCollection method.
1275 - Contains() method renamed to IsColumnContained().
1276 * RelatedDataView.cs : added new class.
1278 - Reset indexes after merge.
1279 - Add new tables when row array is merged into dataset.
1280 - Clean proposed record in MergeRow.
1281 - Inherit nesting on creating new relations in target data set.
1282 - Avoid double loop on constraints collection.
1283 * Locale.cs : added new class.
1284 * ISafeDataRecord.cs : added new interface.
1285 * Index.cs : commented out. Index implementation moved to System.Data.Common.
1286 * ForeignKeyConstraint.cs :
1287 - No more use of childColumnsExtended since new indexes allow duplicate records.
1288 - Constraints can not be created on expression columns.
1289 - Removed unnecessary delegation.
1290 - Use boolean IsConstraintViolated() instead of AssertConstraint().
1291 - Use proper exception message formatting.
1292 - Contains() method renamed to IsColumnContained().
1293 * DataViewRowState.cs : use enum members to simplify notation.
1294 * MergeManager.cs : implemented RelationCollectionChanged().
1295 * DataView.cs : new implementation.
1296 * DataTableCollection.cs :
1297 - Added boundary check in indexer.
1298 - More accurate handling in AddRange().
1299 - Raise event in Remove().
1301 - Hold primary key as constraint.
1302 - Added accurate handling of DefaultView.
1303 - Hold DataRowBuilder per table.
1304 - Proper exception messages if enforce Constraints is violated.
1305 - If there is no rows, Compute() returns DBNull.
1306 - Use DataRow properties instead of private members.
1307 - CopyProperties() fixed.
1308 - Raise proper events in EndInit().
1309 - Proper order of violation checks in EndLoadData().
1310 - Create array of rows using NewRowArray().
1311 - ImportRow handles rows according to their versions.
1312 - LoadDataRow make use of records (instead of raw object array).
1313 - Added and implemented LoadDataRow() that gets IDataRecord as a parameter (used in Fill)
1314 - Select() uses indexes filtering and sorting ability (instead of "loop-throw-sort" approach).
1315 - Removed redundant RowSorter and Sortable column classes.
1316 - ParseSortString() fixed to threat bracketed column names.
1317 - Table holds collection of property descriptors.
1319 - Reset table case sensitive indexes on CaseSensitive change.
1320 - EnforceConstraints update logic moved to internal method (used by DataTable).
1321 - InAddChangedRow first add row and than copy values for proper handling of default values.
1323 - Changed private member names to suite name convention.
1324 - CancelEdit() fixed.
1325 - CreateChildView() delegates to DataView.
1327 - Proper exception messages in indexers.
1328 - RowVersion uses DataView.
1329 - GetProperties() delegates to corresponding table if needed.
1330 * DataRowCollection.cs :
1331 - Common Add() logic moved to AddInternal() (used also by DataTable).
1332 - Removed redundant check from Contains().
1333 - Dalegate Find() calls when possible.
1335 - RomoveAt() delegates to Remove().
1336 - Optimized constraints check in row validation.
1337 * DataRelationPropertyDescriptor.cs : added new class.
1338 * DataRelationCollection.cs :
1340 - Fixed order of actions in AddCore().
1341 - RemoveCore() also delegates to base.
1342 - Add relation to dataset also in AddCore().
1343 - Remove relation from dataset also in RemoveCore().
1344 - InTransition hold a data relation so we can properly identify the "in transition" state.
1345 - Added threat of parent and child table s property descriptors in Add().
1346 - Common Add() logic moved to AddCore().
1348 - Remove() threats "in transition" state properly.
1349 - Remove methods delegate to single implementation.
1350 * DataColumnPropertyDescriptior.cs :
1351 - Added new constructor.
1352 - Commented out redundant method.
1353 * DataColumnCollection.cs :
1354 - Boundary check in indexer.
1355 - RegisterName and UnregisterName become internal (used also by DataColumn).
1357 - Fixed CanRemove().
1358 - Rethrow correct exception in Clear();
1359 - Change in collection resets parent table property descriptors.
1360 - Added PostEndEdit() helper method (used by DataTable).
1362 - Private member names changed to suite name convention.
1363 - Created method for CanAutoIncrement() logic.
1364 - Proper handling of column name update.
1365 - Proper exception messages on expression update.
1366 - Proper namespace handling (delegates to table when needed).
1367 - Removed redundant check in Unique update.
1368 - Implemented internal Clone().
1369 - GetParentRalation() and GetChildRelation() become private.
1371 - Added abstract methods (implemented in UniqueConstraint and ForeignKeyConstraint).
1372 - Simplified index update.
1373 * ConstraintCollection.cs :
1374 - Use Locale instead of CaseSensitive in column names comparison.
1376 - Rethrow correct exception type in Add().
1377 - Proper update of table primary key in Add().
1378 - Delegate CanRemove() to constraint.
1379 - Remove table primary key in Clear();
1380 - Delegate "can remove" check to constraint in Remove().
1381 - Removed unnecessary methods and properties.
1383 - RowSate becomes calculated property.
1384 - Use properties instead of private members where possible.
1386 - Fixed order of actions in ItemArray update.
1387 - Fixed DetachRow().
1388 - Added ImportRecord() method.
1389 - Removed redundant SetValuesFromDataRecord().
1390 - Fixed IndexFromVersion().
1391 - Added VersionFromIndex() method. Returns row version the passed record index corresponds to.
1392 - Fixed AcceptChanges().
1393 - Fixed creating proposed version in BeginEdit();
1394 - Added record disposal in Delete().
1395 - Fixed CheckChildRows().
1396 - EndEdit() fixed. Checks for readonly. Uses straight flow instead of "try and fix if fail" approach.
1397 - GetChildRows() and GetPrarentRows() rewrited. Use records and indexes for rows lookup.
1398 - GetColumnError() delegates to another implementation.
1399 - HasVersion() fixed.
1400 - RejectCahnges checks on child rows before passing through.
1401 - SetParentRow() fixed. Create relation collection if needed. Use typed data container value copy.
1402 - CopyErrors() logic moved to separate method (used also by DataTable).
1403 * ExpressionElement.cs : added new class.
1404 * Res.cs : added new class.
1406 2005-04-20 Jordi Mas i Hernandez <jordi@ximian.com>
1408 * DataViewManager.cs: implements TypedList.GetListName used in SWF
1410 2005-04-19 Atsushi Enomoto <atsushi@ximian.com>
1412 * DataRowView.cs : indexer should access to DataRow with proper
1413 DataRowVersion. Fixed bug #74650.
1415 2005-04-18 Sureshkumar T <tsureshkumar@novell.com>
1417 * DataRow.cs: if there are no mapping fields, fill with default
1420 2005-04-17 Atsushi Enomoto <atsushi@ximian.com>
1422 * DataView.cs : Delete() should not try to remove row twice.
1425 2005-04-13 Atsushi Enomoto <atsushi@ximian.com>
1427 * DataTable.cs : Use GetRowType() for the base of the returning array
1428 type of Select(). Fix by Gerhard Rittweger.
1429 * CustomDataClassGenerator.cs : Fixed slightly harmless wrong code.
1431 2005-04-13 Atsushi Enomoto <atsushi@ximian.com>
1433 * CustomDataClassGenerator.cs : custom relation was not added to
1434 Relations property. The second entry of bug #69276 was fixed.
1435 Patch by Daniel Rodriguez.
1437 2005-04-07 Lluis Sanchez Gual <lluis@novell.com>
1439 * DataRowCollection.cs: Fix the signature of the Add method
1442 2005-03-16 Atsushi Enomoto <atsushi@ximian.com>
1444 * DataRow.cs : on importing row, it was copying data from incorrect
1445 DataRow. This fixes bug #73288.
1447 2005-03-07 Jackson Harper <jackson@ximian.com>
1449 * DataViewManagerListItemTypeDescriptor.cs: Implement missing
1450 features. These are needed for System.Windows.Forms databinding.
1452 2005-02-25 Atsushi Enomoto <atsushi@ximian.com>
1454 * DataColumn.cs : setting negative value on MaxLength of SimpleContent
1455 column is still valid.
1457 2005-02-15 Atsushi Enomoto <atsushi@ximian.com>
1459 * XmlSchemaWriter.cs : new file for outputting XmlSchema.
1460 * DataSet.cs : removed rewritten code in XmlSchemaWriter.
1461 * XmlConstants.cs : added UseCurrentCulture constant.
1463 Use new Xml Schema writer.
1464 Use XmlSchemaDataImporter as we use in DataSet.
1466 2005-02-10 Atsushi Enomoto <atsushi@ximian.com>
1468 * DataView.cs, DataRowView.cs : Fixed bug #72421. CreateChildView()
1469 should target only child rows.
1471 2005-02-03 Atsushi Enomoto <atsushi@ximian.com>
1473 * DataViewManager.cs: misuse of ReadStartElement(string).
1474 * DataRowView.cs : removed some MonoTODO.
1476 2005-02-02 Sureshkumar T <tsureshkumar@novell.com>
1477 Ankit Jain <radical@corewars.org>
1479 * DataColumn.cs: throw exception if the column is part of a
1480 relationship, when chaning the data type. Added methods
1481 "GetParentRelation ()" and "GetChildRelation ()" get the relation
1482 which contains the current column
1483 * DataRelation.cs: Added method "Contains (DataColumn)" to check
1484 whether the relation contains the given column.
1486 fixes nunit failure: DataRelationTest.InvalidConstraintException2.
1488 2005-02-02 Sureshkumar T <tsureshkumar@novell.com>
1490 * DataColumnCollection.cs: implemented todo item "check for
1491 constraints" when removing columns from table.
1492 * DataRowCollection.cs: Clear (): don't have to throw child key
1493 constraint exception when the child table does not have any
1494 rows. safe to remove parent rows.
1495 * UniqueConstraint.cs: added method "Contains (DataColumn)" to
1496 check whether a column is part of UniqueConstraint.
1497 * ForeignKeyConstraint.cs: added method "Contains (DataColumn,
1498 lookInParent)" to check whether a column is part of foreignkey.
1500 fixes nunit failure: DataTableTest.ClearTest ()
1502 2005-02-02 Sureshkumar T <tsureshkumar@novell.com>
1504 * ForeignKeyConstraint.cs: validating columns: move checking
1505 "tables are of same dataset" before "checking column types".
1507 fixes nunit failure: ForeignKeyConstraint.CtorExceptions.
1509 2005-02-02 Atsushi Enomoto <atsushi@ximian.com>
1511 * DataViewManager.cs : let's just use StringWriter instead of
1512 XmlTextWriter (to avoid empty tag string mismatch annoyance.)
1513 * DataView.cs : implemented BeginInit() and EndInit(). Don't update
1514 rows during init phase until EndInit() is invoked. During init phase,
1515 just hold properties such as Sort that affects on rows.
1517 2005-02-02 Atsushi Enomoto <atsushi@ximian.com>
1519 * DataTableCollection.cs : (RemoveAt) just use IndexOutOfRangeException.
1521 2005-02-02 Atsushi Enomoto <atsushi@ximian.com>
1523 * DataView.cs : DataRowView.EndEdit() raises ItemMoved event.
1524 set_Table clears Sort and RowFilter.
1526 2005-02-02 Atsushi Enomoto <atsushi@ximian.com>
1529 - Clear() should clear AddNew cache.
1530 - Open() invokes Reset().
1531 - ConstraintCollectionChanged() itself does not invoke OnListChanged().
1532 - Reset() does not Open, Close and Update Index.
1533 - UpdateIndex() can be invoked even if it has no table.
1534 - Reset event is invoked always after actual query to table.
1535 - set_Table should raise PropertyDescriptorChanged event.
1537 2005-02-02 Atsushi Enomoto <atsushi@ximian.com>
1539 * DataView.cs : ColumnCollectionChanged() is the event invoker (i.e.
1540 when overriden, no column change events are fired).
1542 2005-02-02 Atsushi Enomoto <atsushi@ximian.com>
1544 * DataView.cs : CancelEditRowView() and DeleteRowView() was incorrectly
1545 checking target tables. They also should raise events if required.
1547 2005-02-02 Atsushi Enomoto <atsushi@ximian.com>
1549 * DataView.cs : simplify code with UnsortedList.
1551 2005-02-01 Atsushi Enomoto <atsushi@ximian.com>
1553 * DataView.cs : Mostly reimplemented.
1554 - UpdateIndex() is invoked only when it is required (results in
1555 significant performance improvement).
1556 - Use SortedList and wrapper OptionalSortedList which switches
1557 between SortedList (with Sort) and UnsortedList (without Sort).
1558 - DataView itself now contains two collections for rowviews:
1559 Table rows based pool and AddNew() based cache. Consider those
1560 two collections in every members.
1561 - Reset() does not clear rows. Just invokes UpdateIndex().
1562 - Hook RowDeleting, ColumnChanging and ColumnChanged events in table
1563 which is required to handle state changes.
1564 - Reimplemented Find() and FindRows() because of internal changes.
1566 2005-02-01 Atsushi Enomoto <atsushi@ximian.com>
1568 * DataTable.cs : Fixed row comparer. Even if every of the sort target
1569 columns are identical for two rows, they should not be regarded as
1570 the same unless they are Object.ReferenceEquals.
1572 2005-02-01 Atsushi Enomoto <atsushi@ximian.com>
1574 * DataRowCollection.cs : on adding a row, should raise
1575 ChangingDataRow() as well as ChangedDataRow().
1577 2005-01-31 Sureshkumar T <tsureshkumar@novell.com>
1579 * DataRow.cs: SetParentRow (): use relation.ParentColumns &
1580 relation.ChildColumns instead of relation.ChildKeyConstraint.*
1581 because createConstrains flag may be false when creating data
1582 relations. Hack along with Ankit Jain.
1584 2005-01-31 Atsushi Enomoto <atsushi@ximian.com>
1586 * DataView.cs :some interface implementations.
1588 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
1590 * DataView.cs : Add to table only when the row is not in the table.
1592 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
1594 * DataView.cs : implemented FindRows() (btw we should not use
1595 DataTable since there are detached rows by AddNew().)
1597 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
1600 Code cleanup: privatify some members, remove unused methods.
1601 Some event-based invocation methods should not raise NotImplemented.
1603 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
1605 * DataSet.cs : ReadXml() became closer to MS behavior, being hacky.
1607 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
1609 * XmlSchemaDataImporter.cs : empty element is not regarded as a column.
1611 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
1613 * UniqueConstraint.cs : mostly reverted the previous patch + check
1614 IsPrimaryKey before validation.
1616 2005-01-28 Atsushi Enomoto <atsushi@ximian.com>
1618 * DataView.cs : Fixed duplicate insertion to Hashtable.
1619 * UniqueConstraint.cs : Unique constrained pair of columns could be
1622 2005-01-27 Atsushi Enomoto <atsushi@ximian.com>
1625 Don't do anything for Sort/ApplyDefaultSort/RowFilter/RowStateFilter
1626 when the same value is being set.
1627 Examined UpdateIndex() and marked FIXME where MS does not invoke it.
1628 Removed unused OnColumnChanged().
1629 Now store rowViewPool and reuse DataRowView objects.
1630 Optimized UpdateIndex() - avoid ArrayList. Avoid Haashtable.Rehash().
1632 2005-01-27 Atsushi Enomoto <atsushi@ximian.com>
1634 * DataViewSettings.cs : no MonoTODO anymore.
1635 * DataViewManager.cs : pass itself to new DataView() (new ctor).
1636 * DataRowView.cs : GetHashCode() returns its Row's hash.
1637 * DataTablePropertyDescriptor.cs : use new ctor().
1638 * DataView.cs : added new ctor()s that accept DataViewManager.
1640 2005-01-27 Atsushi Enomoto <atsushi@ximian.com>
1642 * DataView.cs, DataRowView.cs : AddNew() should not add the row to table
1643 (it is still detached). So handle those rows differntly.
1644 CancelEdit(), EndEdit() and Delete() propagates those events to
1645 DataView (and handle row collection).
1646 Eliminate "throw new Exception()".
1647 Don't catch all the exception thrown in ListChanged event.
1648 * DataTable.cs : made RowSorter as internal and use it in DataView.
1649 no need to pass DataRow[] to .ctor().
1651 2005-01-27 Atsushi Enomoto <atsushi@ximian.com>
1653 * DataTable.cs : don't create DefaultView unless it is required. It
1654 significantly improves performance. (i.e. DataView perf. is sick ;-)
1656 2005-01-27 Atsushi Enomoto <atsushi@ximian.com>
1658 * DataViewSetting.cs,
1659 DataViewSettingCollection.cs,
1660 DataViewManager.cs : implemented basic members.
1662 2005-01-26 Atsushi Enomoto <atsushi@ximian.com>
1664 * Node.cs, DataColumnPropertyDescriptor.cs, DataTable.cs :
1665 Eliminate "throw new Exception".
1667 2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
1669 * DataRow.cs : (set_Item) RowNotInTableExeption check should be done
1670 regardless of index existence.
1672 2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
1674 * DataTable.cs : use new IExpression.EvalBoolean() to avoid extraneous
1677 2005-01-25 Sureshkumar T <tsureshkumar@novell.com>
1679 * DataTable.cs: ImportRow :Do not add to rows collection if the
1680 import row is in detached state.
1682 2005-01-25 Sureshkumar T <tsureshkumar@novell.com>
1684 * DataRow.cs: CopyValuesToRow : set the column value with the
1685 default version of the given row.
1686 * DataTable.cs: ImportRow: Copy values before adding row.
1687 * DataSet.cs: AddChangedRow: Add the row to the table after
1690 Fixes bug #67317. Patch by Ankit Jain.
1692 2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
1694 * DataRowView.cs : Fixed IsEdit to reflect correct status of DataRow.
1695 * DataRow.cs : Expose editing status internally.
1697 2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
1699 * DataView.cs : missing attributes.
1701 2005-01-24 Atsushi Enomoto <atsushi@ximian.com>
1703 * DataRowView.cs : implemented CreateChildView().
1705 2005-01-24 Atsushi Enomoto <atsushi@ximian.com>
1707 * DataTable.cs, DataView.cs :
1708 Optimized DataView to compile only once RowFilter and Sort when
1709 those properties are set. To make it possible, extracted
1710 SortableColumn out of DataTable and added internal DataTable.Select()
1711 that accepts precompiled IExpression and SortableColumns[].
1713 2005-01-24 Atsushi Enomoto <atsushi@ximian.com>
1715 * DataColumn.cs : set_MaxLength is not allowed when it is mapped to
1716 SimpleContent. (However, it is weird but it never fails when we set
1717 ColumnMapping = MappingType.SimpleContent when we fhave MaxLength.)
1719 2005-01-21 Atsushi Enomoto <atsushi@ximian.com>
1721 * DataRow.cs : more Current -> Default fixes. Check if it should throw
1722 VersionNotFoundException. Patch by Ankit Jain.
1724 2005-01-21 Atsushi Enomoto <atsushi@ximian.com>
1726 * DataRow.cs : Default selects the right version for the current
1727 state of the row. Current is not always available. Also change
1728 that for GetParentRow(). Patch by Ankit Jain.
1730 2005-01-21 Atsushi Enomoto <atsushi@ximian.com>
1732 * DataTable.cs : CopyColumn() should copy AutoIncrement after
1733 DefaultValue, or it will raise an error in some cases.
1735 2005-01-20 Atsushi Enomoto <atsushi@ximian.com>
1737 * ConstraintCollection.cs : Add() should throw ArgumentException when
1738 the argument constraint fails validation.
1739 DataTable.cs : set_PrimaryKey should throw ArgumentException when
1740 the argument contains constraints which fail validation.
1742 2005-01-19 Sureshkumar T <tsureshkumar@novell.com>
1744 * DataRelationCollection.cs:
1746 Method Remove : Donot throw exception if DataRelation argument is
1747 null in DataRelationCollection.Remove method.
1749 Method RemoveAt : Exception should be IndexOutOfRangeException if
1750 row index is not in list range.
1752 Fixes nunit failures DataRelationCollection.Remove and
1753 DataRelationCollection.RemoveAt.
1755 2005-01-19 Sureshkumar T <tsureshkumar@novell.com>
1757 * ConstraintCollection.cs: Donot throw exception if constraints
1758 are null in AddRange method. Check for null before using the
1763 2004-01-19 Atsushi Enomoto <atsushi@ximian.com>
1765 * XmlDataInferenceLoader.cs,
1766 XmlDataReader.cs : Check if the XmlReader (node) represents DataSet
1767 or a table, reusing code block in XmlDataInferenceLoader.
1768 This fixes bug #60118.
1770 2004-01-19 Atsushi Enomoto <atsushi@ximian.com>
1772 * XmlDiffLoader.cs : Ankit Jain <radical@imt.ac.in> has a conflicting
1773 patches and some good catches. Some attributes should be skipped,
1774 and loaded value must be typed.
1776 2004-01-19 Atsushi Enomoto <atsushi@ximian.com>
1779 XmlDataInferenceLoader.cs,
1780 XmlDataReader.cs : use common const for http://www.w3.org/2000/xmlns/.
1781 * XmlDiffLoader.cs : It was not handling attributes. Fixed bug #70961.
1783 2005-01-18 Sureshkumar T <tsureshkumar@novell.com>
1785 Fix for bug #66838. This patch is submitted by "Ankit Jain"
1786 <radical@corewars.org> and refactored.
1788 * DataRow.cs: Allows to set a parent row even if the row is in
1791 * DataRelation.cs: method "UpdateConstraints" is added to check
1792 and create missing keys when adding a relation. This is refactored
1793 approach from DataRelationCollection.Add method.
1795 * DataRelationCollection.cs: AddCore methods of all relation types
1796 are synchronized. A Check for existing constraints is
1797 done. Relation is added to the list only if all checks are passed.
1799 2004-01-18 Atsushi Enomoto <atsushi@ximian.com>
1801 * DataColumnCollection.cs : Clear() throws ArgumentException that
1802 wraps thrown innerException.
1803 * XmlSchemaDataImporter.cs : removed FIXMEs.
1805 2004-01-12 Atsushi Enomoto <atsushi@ximian.com>
1807 * DataSet.cs : When serializing DataTable, BuildSchema() is passed
1808 null relation collections.
1809 Quick fix for XmlSerializer deserialization. It does not require
1810 XML Schema included.
1812 2004-01-11 Atsushi Enomoto <atsushi@ximian.com>
1815 CustomDataClassGenerator.cs :
1816 In DataSet class, IXmlSerializable.GetSchema() returns null.
1817 In strongly-typed class, it returns schema.
1819 2004-01-07 Atsushi Enomoto <atsushi@ximian.com>
1821 * XmlDataInferenceLoader.cs : test driver class should be excluded.
1823 2004-12-01 Miguel de Icaza <miguel@ximian.com>
1825 * DataView.cs: Patch from Marc Haisenko that ensures that rowCache
1828 2004-11-10 Atsushi Enomoto <atsushi@ximian.com>
1830 * CustomDataClassGenerator.cs : generated foreign key constraint
1831 construction code was creating empty child columns and thus it
1832 was invalid. This fixes bug #69276 (patch by Martin Voelkle).
1834 2004-11-02 Atsushi Enomoto <atsushi@ximian.com>
1836 * CustomDataClassGenerator.cs : custom DataTable ctor should call
1837 InitializeFields(), and those DataColumns created by that method
1838 should take data type. This should fix bug #68972.
1840 2004-10-15 Atsushi Enomoto <atsushi@ximian.com>
1842 * DataSet.cs : Also clear UnhandledAttributes ArrayList before
1843 generating next attribute column schema. This fixes bug #68432.
1845 2004-10-14 Umadevi S <sumadevi@novell.com>
1846 * DataTable.cs : Corrected the Clone method to use Activator.CreateInstance so that the
1847 correct subclass is returned. This fixes bug #67631
1849 2004-10-14 Umadevi S <sumadevi@novell.com>
1850 * DataSet.cs : Corrected the Clone method to use Activator.CreateInstance so that the
1851 correct subclass is returned. This fixes bug #67627
1853 2004-10-13 Atsushi Enomoto <atsushi@ximian.com>
1855 * DataSet.cs : clear UnhandledAttributes ArrayList before generating
1856 next element column schema. This fixes bug #68256.
1858 2004-10-12 Atsushi Enomoto <atsushi@ximian.com>
1860 * DataSet.cs : now xs:schema contains xmlns="".
1861 This fixes bug #68008.
1863 2004-10-12 Atsushi Enomoto <atsushi@ximian.com>
1865 * DataSet.cs : DBNull attribute column should not be written as
1866 empty attribute. This fixes bug #68007.
1868 2004-10-12 Atsushi Enomoto <atsushi@ximian.com>
1870 * DataSet.cs, XmlConstant.cs, XmlSchemaDataImporter.cs:
1871 DataColumn.ReadOnly was not handled. This fixes bug #68005.
1872 Attribute defaultValue was not handled too.
1874 2004-10-07 Atsushi Enomoto <atsushi@ximian.com>
1877 - When AllowDBNull is false on attribute DataColumn, its schema
1878 should contain use="required". This fixes bug #66792.
1879 - If MaxLength is set on attribute DataColumn, the mapped schema
1880 type should contain maxLength facet. This fixes bug #66793.
1882 2004-10-04 Atsushi Enomoto <atsushi@ximian.com>
1884 * DataSet.cs : For a row, when a relation is not nested, then it is
1885 still output target since it won't be written as a child of its
1886 parent. It fixes bug #66379.
1888 2004-10-03 Atsushi Enomoto <atsushi@ximian.com>
1890 * DataSet.cs : Attribute constraint field XPath must be written as
1891 @blah. This fixes bug #66366.
1893 2004-09-28 Umadevi S <sumadevi@novell.com>
1894 * DataRow.cs - checked for Enforceconstraints, while using indices to search for related rows
1896 2004-09-24 Sureshkumar T <tsureshkumar@novell.com>
1898 * DataSet.cs : Don't check constraints for dataset clear
1899 * DataRowCollection.cs : check for EnforceConstraints flag
1900 before checking foriegn key constraints in Clear method
1901 * DataTable.cs : Redundant checking removed in Clear method as it is
1902 checked in DataRowCollection.Clear method.
1905 2004-09-19 Sureshkumar T <tsureshkumar@novell.com>
1906 * DataRow.cs : while deserialization of dataset, adding a current row precedes the original row.
1907 hence, adding a row cache is necessary if the original row happens to be current.
1910 2004-08-23 Martin Baulig <martin@ximian.com>
1912 * XmlDataInferenceLoader.cs (Driver): Make this class internal,
1915 2004-08-18 Umadevi S <sumadevi@novell.com>
1916 * DataView.cs - Completed most of the event handling.
1917 Thanks to Punit Todi <punit_todi@da-iict.org> for implementing most of it.
1918 Thanks to Boris Kirzner <borisk@mainsoft.com> for commenting and suggesting changes to the implementation.
1919 * DataTable.cs - Changed Access modifiers of class/methods since it was used by DataView.
1921 2004-08-06 Atsushi Enomoto <atsushi@ximian.com>
1923 * DataSet.cs : DataSet's ExtendedProperties were not XmlConverted.
1925 2004-08-05 Atsushi Enomoto <atsushi@ximian.com>
1927 * XmlConstants.cs : Added constants for "msprop" support.
1928 * DataSet.cs : ExtendedProperties should be written in the schema.
1929 This fixes bug #61233.
1931 2004-07-27 Atsushi Enomoto <atsushi@ximian.com>
1933 * DataSet.cs : on serialization to XmlWriter, XmlConvert should be
1934 used. There were also some culture dependency problems to write int.
1936 2004-06-27 Atsushi Enomoto <atsushi@ximian.com>
1938 * XmlDataInferenceLoader.cs : It was not always filling relation
1939 child table information correctly. This fixes bug #60742.
1941 2004-06-23 Umadevi S <sumadevi@novell.com>
1942 * UniqueConstraint.cs :changed a ifdef true to ifdef NET_1_1
1944 2004-06-22 Atsushi Enomoto <atsushi@ximian.com>
1946 * DataSet.cs : Fixed ReadXml(). When ReadMode is ReadSchema and the
1947 schema is inside the document element (as created in XmlWriteMode
1948 .WriteSchema), it should read schema from that non-document element.
1949 This fixes one case reported in bug #60470.
1951 2004-06-20 Atsushi Enomoto <atsushi@ximian.com>
1953 * XmlDataInferenceLoader.cs : Kindly reject xml schema document as a
1954 inference target. For bug #60470. (MS does not support schema
1955 document inference and results in unconsistent dataset structure.)
1957 2004-06-20 Atsushi Enomoto <atsushi@ximian.com>
1959 * DataTableCollection.cs : reset the table's DataSet to null when
1960 removing a table from this collection.
1961 * DataTable.cs : When Namespace is not specified explicitly, its
1962 Namespace property reflects DataSet's Namespace if exist.
1963 This fixes bug #60469.
1965 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
1967 * DBConcurrentcyException.cs: CRLF to LF
1968 * DataViewSetting.cs: CRLF to LF
1970 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
1972 * DataViewSetting.cs: renamed fields to match MS.NET
1974 2004-06-18 Gert Driesen <drieseng@users.sourceforge.net>
1976 * DBConcurrencyException.cs: fixed serialization compatibility with
1979 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
1981 * ChangeLog : Fix for misspelled words.
1983 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
1985 * DataRowCollection.cs : Removed onColumnRemoved since it is not in use.
1987 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
1990 - Table stores default values for columns in special default values row.
1991 It is allocated once (in NewRow).
1992 - DataTable.Copy rewrited. It works with uninitialized rows for better perfomance.
1993 - OnRemoveColumn has nothing to perform by now.
1995 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
1998 - Changed access of original, current and proposed indexes to internal.
1999 - ColumnErrors reviewed : now column errors stored in ArrayList and allocated on demand only.
2000 - Added new DataRow constructor that creates uninitialized DataRow (used in DataTable.Copy).
2001 - Use DataContainer.CopyValue and default values row for faster set of default values in row.
2002 - SetColumnValue become CheckValue. Now it does not changes the value, but only checks for its correctness.
2003 Care about Null and DBNull values is now in DataContainer.
2004 - Use DataColumn.AutoIncrementValue and GetInt64 for faster set of autoincrement value.
2005 - Use Datacontainer.CopyValue and default values row to speed up CheckChildRows.
2006 - Fix in CopyState : clone column errors.
2007 - Removed CollectionChanged and onColumnRemoved since we are not using both of them anymore.
2009 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
2011 * DataColumnCollection.cs :
2012 - Fix : Add() now delegates to Add(DataColumn).
2013 - autoIncrement list holds DataColumn objects, and not just column names.
2015 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
2018 - AutoIncrementValue fixes. Now AutoIncrement uses DataContainer.GetInt64 to avoid boxing.
2019 - DefaultValue fixes. Default value from now on is also stored in special record in
2020 DataTable, so we're able to set default value for the column faster (typed).
2023 2004-06-15 Atsushi Enomoto <atsushi@ximian.com>
2025 * DataSet.cs : children of non-root rows were not properly written.
2028 2004-06-10 Umadevi S <sumadevi@novell.com>
2029 * DataRelation.cs - Constructor
2030 - The datatypes of the parentcolumn(s) and the childcolumn(s) should match
2032 2004-06-06 Atsushi Enomoto <atsushi@ximian.com>
2034 * XmlSchemaDataImporter.cs : We should fill Namespace for DataTable.
2036 2004-06-04 Gert Driesen <drieseng@users.sourceforge.net>
2038 * Constraint.cs: marked methods internal to fix public API
2039 * ConstraintCollection.cs: to fix public API, use
2040 DataTable.fInitInProgress to check whether initialization
2041 of DataTable is in progress
2042 * DataColumn.cs: added stubs for missing methods
2043 * DataRowBuilder.cs: marked Table property internal to
2045 * DataSet.cs: removed extra empty destructor, marked
2046 OnMergeFailed internal to fix public API
2047 * DataTable.cs: use fInitInProgress field to hold init
2048 status, to match MS.NET
2049 * DataView.cs: added missing attributes on IsOpen
2051 2004-06-03 Atsushi Enomoto <atsushi@ximian.com>
2053 * DataSet.cs : Use NameTable.Get() before calling LookupNamespace()
2054 in XmlNamespaceManager.
2056 2004-06-03 Atsushi Enomoto <atsushi@ximian.com>
2058 * DataSet.cs : complex table content child was not properly added
2059 when it is the only one child in the parent table. Fixed bug #53959.
2061 2004-06-02 Gert Driesen <drieseng@users.sourceforge.net>
2062 * DataTableTypeConverter.cs: added
2063 * DataView.cs: added missing attribute on Table property
2064 * DataViewManager.cs: moved attribute to correct property
2065 * UniqueConstraint.cs: removed extra ReadOnly attribute from
2066 IsPrimaryKey property
2068 2004-06-01 Atsushi Enomoto <atsushi@ximian.com>
2070 * DataRow.cs : ColumnsChanged event is not required in .ctor().
2072 2004-06-01 Atsushi Enomoto <atsushi@ximian.com>
2074 * XmlDataReader.cs : type change is required before setting value
2077 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
2079 * DataSet.cs : Loop-break of the last fix was incorrect.
2081 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
2083 * DataSet.cs : When a row has no parent row but the table has parent
2084 relation(s), that row had been always ignored.
2086 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
2088 * XmlDataInferenceLoader.cs : Fixed GetMappedTable() that incorrectly
2089 rejected same-named tables in different hierarchy. Thanks to Boris.
2091 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
2093 * XmlDiffLoader.cs : Added some Skip() that is required not to go to
2094 infinite loop. Thanks to Boris for this fix.
2096 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
2098 * XmlDataInferenceLoader.cs : XmlSchema elements should not be infered.
2099 Thanks to Boris for this fix.
2101 2004-05-30 Atsushi Enomoto <atsushi@ximian.com>
2103 * DataTable.cs : serialization .ctor() should use XmlReadMode.DiffGram
2104 for ReadXml(). Thanks to Boris.
2106 2004-05-27 Boris Kirzner <borisk@mainsoft.com>
2108 - CheckReadOnlyStatus : use typed (and faster comparing).
2109 - EndEdit : bug fix - do not dispose record if it holds original version.
2110 - SetValuesFromDataRecord : Take care about autoincrement columns.
2113 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
2115 * MergeManager.cs : don't output debug message to Console.
2117 2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
2119 * XmlDataInferenceLoader.cs : Namespace are not imported to the table
2120 structure. Thanks to Boris Kirzner for the fix.
2122 2004-05-27 Umadevi S <sumadevi@novell.com>
2123 * DataRelationCollection.cs - fixed nunit test errors
2125 2004-05-27 Umadevi S <sumadevi@novell.com>
2126 * DataTableCollection.cs - fixed nunit test errors
2128 2004-05-21 Atsushi Enomoto <atsushi@ximian.com>
2130 * DataColumnCollection.cs : NullReferenceException was thrown when
2131 the table was not found.
2132 * DataRowCollection.cs :
2133 Find() just returns null for null value under MS.NET 1.1.
2134 RemoveAt() should also avoid to call AcceptChanges() like Remove().
2135 * UniqueConstraint.cs : in AssertConstraint() throw ConstraintException
2136 directly under MS.NET (for nunit test).
2138 2004-05-21 Atsushi Enomoto <atsushi@ximian.com>
2140 * XmlSchemaDataImporter.cs : Setting startindex in LastIndexOf()
2141 caused problem on qualified name to get schema Field name.
2143 2004-05-21 Atsushi Enomoto <atsushi@ximian.com>
2145 * XmlDataReader.cs : Now data reader is namespace aware in all places.
2146 When table's namespace is different, it entered to infinite loop.
2148 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
2149 * MergeManager.cs : AdjustSchema now updates by reference new created table,
2150 so in Merge you do not need to lookup for it (were unable to do this for unnamed tables).
2153 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
2155 * DataColumn.cs : In set_Item[int] - if autoincrement, adjust next autoincrement value.
2156 * DataColumnCollection.cs : fixed parantethes.
2158 - AcceptChanges : do nothing if row state is unchanged.
2159 - GetChildRows, GetParentRows : bug fix (use correct index).
2160 * DataRowCollection.cs : bug fix (compare all row's values).
2161 * DataTable.cs : bug fix (use correct row version).
2163 2004-05-20 Atsushi Enomoto <atsushi@ximian.com>
2165 * XmlSchemaDataImporter.cs : xs:positiveInteger is mapped to ulong.
2166 When content type is Mixed, text column is not required (it is
2167 required only when the complex type has no particle).
2168 "Repeated element" column is also created (considering maxOccurs=0
2169 and complex content extension).
2171 2004-05-20 Atsushi Enomoto <atsushi@ximian.com>
2173 * XmlSchemaDataImporter.cs : XmlSchemaGroupBase was not handled
2176 2004-05-20 Atsushi Enomoto <atsushi@ximian.com>
2178 * XmlSchemaDataImporter.cs : Removed unused code and extra MonoTODO.
2179 Fixed relation inference to consider attribute XPath.
2181 2004-05-19 Atsushi Enomoto <atsushi@ximian.com>
2183 * DataColumn.cs : Fixed set_Item[int]. Convert.ToInt64(DBNull.Value)
2186 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
2188 * DataColumn.cs - removed default member attribute.
2190 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
2193 DataColumnChangeEventArgs.cs,
2194 DataColumnCollection.cs,
2196 DataRowCollection.cs,
2198 Index.cs : Data storage in the row is redesigned. Now data is stored in
2199 typed containers inside DataColumn. Row holds its versions as indexes inside
2200 each of data container, accessed through the row that holds it.
2202 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
2204 * UniqueConstraint.cs - added comment.
2206 2004-05-19 Atsushi Enomoto <atsushi@ximian.com>
2208 * XmlDataInferenceLoader.cs : Don't add already-existing DataTable to
2211 2004-05-17 Atsushi Enomoto <atsushi@ximian.com>
2214 XmlDataInferenceLoader.cs,
2216 XmlSchemaDataImporter.cs : XmlDecode every local name to read and
2217 XmlEncode every local name to write. This should fix bug #58268.
2219 2004-05-17 Atsushi Enomoto <atsushi@ximian.com>
2221 * DataSet.cs : Implemented ignored namespaces in InferXmlSchema().
2222 Supported repeated elements. Removed MonoTODOs.
2223 * XmlDataInferenceLoader.cs : Design change to support ignored
2224 namespace and repeated elements.
2225 * XmlSchemaDataImporter.cs : Added mapping support classes.
2227 2004-05-15 Atsushi Enomoto <atsushi@ximian.com>
2229 * CustomDataClassGenerator.cs :
2230 Added property parent "[foo]Row" and children "Get[foo]Row" support
2231 for custom DataRow classes.
2232 Fixed DataColumn property accessibility (public --> internal).
2234 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
2236 * CustomDataClassGenerator.cs :
2237 - Put classes inside custom DataSet class.
2238 - Added automatic DataRelation creation support.
2239 - Added Constraints creation support. That is done separate from
2240 relations, since they might be independently created.
2241 - Added non-MS public DataRelation fields.
2242 - Removed extraneous "DataRelation type generation" code.
2243 - Fixed custom_dataset.Initialize() not to create "c" field that
2244 was created more than once.
2245 - Implemented AddxxxRow() that takes parameters for every column.
2247 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
2249 * XmlSchemaDataImporter.cs : When primary key is used more than once,
2250 DataRelation borked because of empty parent column name.
2252 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
2254 * XmlSchemaDataImporter.cs : When Creating constraints with related
2255 to DataRelation creation, also set PrimaryKey to the parent table.
2257 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
2259 * XmlSchemaDataImporter.cs :
2260 Design change to add indirect table and relation structures.
2261 Support for "relation" annotation for local element.
2262 Support for repeatable simple element column (maxOccurs > 1).
2263 Fixed handling of Nested property on DataRelation (for globally
2264 annotated relation, Nested is false).
2266 2004-05-13 Atsushi Enomoto <atsushi@ximian.com>
2268 * DataRow.cs : Added DataElement property to avoid storing every row-
2269 element mapping. It stored even for nodes that should be removed.
2271 2004-05-13 Umadevi S <sumadevi@novell.com>
2273 * RelationshipConverter.cs - Stubbed this class
2274 * DataRelation.cs - added TypeConveterAttribute
2276 2004-05-13 Umadevi S <sumadevi@novell.com>
2278 * DataColumnCollection.cs - Added ResDescriptionAttribute
2279 * DataRelation.cs - Added TypeConverterAttribute
2280 * DataRelationCollection.cs - Added DefaultPropertyAttribute
2281 * DataRowView.cs - Added GetHashCode method with a TODO tag
2282 * DataSet.cs - Added DesignerAttribute
2283 * DataView.cs - Added DesignerAttribute
2284 * DataViewManager.cs - Added DesignerAttribute
2285 * DataViewSetting.cs - Added TypeConverterAttribute
2287 2004-05-12 Atsushi Enomoto <atsushi@ximian.com>
2289 * DataRow.cs : Added XmlDataElement initialization code.
2291 2004-05-11 Atsushi Enomoto <atsushi@ximian.com>
2293 * XmlDataInferenceLoader.cs :
2294 It now requires XmlDocument as input. Improved identification of
2295 DataSet element. Removed extra lines.
2296 Moved boresome design notes to bottom of the source and
2297 added standalone runnable driver (not included on build).
2299 Update with related to the change above.
2300 WriteXml() should call Flush() after writing. This fixes bug #58327.
2301 * XmlSchemaDataImporter.cs :
2302 Improved indentification of DataSet element.
2304 2004-05-11 Gert Driesen (drieseng@users.sourceforge.net)
2305 * DataTable: marked initStatus enum internal
2307 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
2308 * DataTable.cs: removed TypeConverterAttribute, marked RowsExist
2310 * DataRowView.cs: removed extra Error property
2311 * DataRow.cs: reduced accessibility of CollectionChanged method
2313 * DataColumnPropertyDescriptor.cs: made class internal
2314 * DataColumn.cs: removed extra TypeConvertorAttribute
2315 * ConstrainCollection.cs: marked PostEndInit method internal
2317 2004-05-07 Atsushi Enomoto <atsushi@ximian.com>
2320 In WriteXmlSchema(), when complex type contains simple type content
2321 attributes must not added to XmlSchemaComplexType directly. It
2322 causes schema compilation error.
2323 DataRelation should not be output when related columns are hidden.
2325 2004-05-07 Atsushi Enomoto <atsushi@ximian.com>
2327 * XmlDataInferenceReader.cs : Added. It does InferXmlSchema() (it is
2328 also expected to do ReadXml(), but I will remove that feature and
2329 support column reordering).
2330 * XmlSchemaDataImporter.cs : Always initialize dataset name.
2331 Always set Nested and primary key for parent table.
2332 * XmlDataReader.cs : Now it is used.
2333 Top level element might not match to dataset name nor any table
2334 name, but still possible to read content tables.
2335 Handle empty element correctly in some places.
2336 Handle Fragment mode (read up XmlReader to the end).
2337 * DataSet.cs : Modified InferXmlSchema() and ReadXml() to use
2338 XmlDataInferenceLoader and XmlDataReader.
2340 2004-05-06 Atsushi Enomoto <atsushi@ximian.com>
2343 Eliminated CRLF injection.
2344 More clear message in Clear().
2345 Updates reflecting XmlSchemaDataImporter change.
2346 Added duplicate check for XmlSerializerNamespaces in BuildSchema().
2347 Don't use xmlns attribute for UnhandledAttributes (its not mandatory
2348 but that depends on different behavior from ms.net).
2349 Set locale also for DataTable.
2350 Add xs:element only when target namespace matches to the
2351 element's namespace. Otherwise, add xs:import for external namespace.
2352 Put xs:sequence for dataset element's particle _only when_ actual
2355 2004-05-06 Atsushi Enomoto <atsushi@ximian.com>
2357 * XmlDataReader.cs : Added. This class will work better when our
2358 schema inference and schema read engine gets improved. (It contains
2359 standalone testable Driver class.)
2361 2004-05-06 Atsushi Enomoto <atsushi@ximian.com>
2363 * ForeignKeyConstraint.cs : Check step change. Existence then column
2364 validity. just for tests.
2365 * XmlSchemaDataImporter.cs : code simplification. reduced extraneous
2368 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
2370 * DataSet.cs : Ignore empty content only when output type is diffgram.
2372 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
2374 * CustomDataClassGenerator.cs : Modified that DataSet contains each
2375 DataTable field so that each table property can access them directly.
2376 (plus, modified standalone code driver code: shouldn't affect)
2378 2004-05-05 Boris Kirzner <borisk@mainsoft.com>
2380 * DataView.cs , DataRowView.cs : Added implementation to basic methods and properties.
2382 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
2384 * XmlSchemaDataImporter.cs :
2385 SimpleContent column support.
2386 Annotated relation support.
2387 Top-level element is counted only when its type is complex.
2388 xs:anyType is no longer treated as complex type.
2389 dataset existence is mandatory now.
2390 Improved DataType and DefaultValue support.
2391 Attribute namespace is properly handled now.
2392 Prohibited attribute is now treated as hidden column.
2393 Reject list or union simple type.
2395 Still incomplete 1) to read relationship in some cases, 2) to
2396 determine whether an element is dataset or table, 3) thus to
2397 exclude extraneous column, 4) to remove extraneous *_Id column.
2399 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
2402 We had better reuse DataSet's ReadXmlSchema() and ReadXml() in
2403 serialization .ctor() (thus schema read/inference should be easier).
2404 DataRowSorter should consider Table's Locale.
2406 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
2408 * DataColumnCollection.cs : We already had AutoIncrementValue(), so
2409 use it instead of duplicating logic.
2411 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
2413 * ConstraintCollection.cs :
2414 Use Table.CaseSensitive and Table.Locale to compare strings.
2415 Duplicate constraint name exception does not occur under .NET 1.1.
2417 2004-05-04 Lluis Sanchez Gual <lluis@ximian.com>
2419 * XmlSchemaDataImporter.cs: Added little type check.
2421 2004-05-04 Lluis Sanchez Gual <lluis@ximian.com>
2423 * DataSet.cs: Implemented support for runtime serialization. Fixed support
2424 for xml serialization.
2425 * XmlDiffLoader.cs: Skip diffgram element when it is empty.
2427 2004-04-30 Umadevi S <sumadevi@novell.com>
2428 * DataColumnCollection.cs : Fixed nunit test errors, removed TODOs
2429 * DataTableCollection.cs : Tested and removed TODO
2430 * TypedDataSetGeneratorException.cs : Fixed a couple of TODOs
2432 2004-04-29 Atsushi Enomoto <atsushi@ximian.com>
2434 * DataRow.cs : My previous patch unintentionally reverted Boris patch.
2436 2004-04-29 Boris Kirzner <borisk@mainsoft.com>
2438 * UniqueConstraint.cs : Constraint columns becaomes unique after adding constraint ifand only if
2439 constraint is defined on single column.
2441 2004-04-29 Atsushi Enomoto <atsushi@ximian.com>
2443 * DataRowCollection.cs : .NET 1.1 throws InvalidConstaintException,
2444 not ArgumentException (maybe changed after 1.1).
2446 2004-04-29 Atsushi Enomoto <atsushi@ximian.com>
2448 * DataRow.cs : When Column was added and it was AutoIncrement column,
2449 it extended the item object array incorrectly.
2450 (Plus tiny comment and incorrect indentation fix.)
2452 2004-04-29 Boris Kirzner <borisk@mainsoft.com>
2454 * MergeManager.cs : added ( incomplete yet ) support for merging DataSet schema.
2456 2004-04-29 Boris Kirzner <borisk@mainsoft.com>
2458 * DataRow.cs : Bug fix in CopyValuesToRow().
2460 2004-04-29 Boris Kirzner <borisk@mainsoft.com>
2462 * UniqueConstraint.cs : There is no reason to mark constraint's columns as unique, because
2463 each of the columns should not be unique, but only all the constraint's columns together.
2465 2004-04-28 Boris Kirzner <borisk@mainsoft.com>
2468 - Added using of list of autoIncrement columns
2469 - SetColumnValue receives also DataColumn to avoid duplicate lookup in DatacolumnCollection
2470 - Fix in CheckNullConstraints
2471 - Fix in this[] and HasVersion() : when evaluating an expression deleted rows values can be accessed.
2472 - Fix in SetColumnValue() , added CanAccess() method to avoid case of accessing internal array values berore it actually allocated.
2473 - Added onColumnRemoved() method to threat column removal accurately.
2475 * DataRowCollection.cs :
2476 - Added using of DataRow._nullConstraintViolation (for perfomance fix in EndLoadData())
2477 - Added method onColumnRemoved() - calls each row's onColumnRemoved() (to ensure column removal is treated accurately)
2480 - Call DataRowCollection.onColumnRemoved() in OnRemoveColumn() (to ensure column removal is treated accurately)
2482 * DataColumnCollection.cs :
2483 - Perfomance fixes :
2484 - collection holds a list of its autoIncrement columns (avoids unnesessary lookup through whole collection)
2485 - collection holds mapping from column names to DataColumn objects (avoids lookup through whole collection).
2486 - automatic creation of column names rewrited (bug fixes + perfomance improvement)
2489 - Uses autoincrement list of a table
2491 2004-04-27 Atsushi Enomoto <atsushi@ximian.com>
2493 * XmlDataLoader.cs : Even when it should ignore schema, it was
2495 * XmlSchemaDataImporter.cs : DataRelation creation support.
2496 Improved "DataSet" element handing. When attributes are on the
2497 element, it is not a "DataSet" element.
2498 Fixed parent key column name.
2499 Unique name creation is not required. Just raise an error.
2500 Fill facet also for attribute types.
2502 2004-04-27 Atsushi Enomoto <atsushi@ximian.com>
2504 * DataRow.cs : Null check for CheckReadOnlyStatus() and
2505 CheckNullConstraints(), with some coding guideline fixes.
2506 Type check should be done by Type instance comparison.
2508 2004-04-27 Atsushi Enomoto <atsushi@ximian.com>
2510 * DataColumnCollection.cs : When add a column to the collection, fill
2511 auto-increment column.
2513 2004-04-26 Boris Kirzner <borisk@mainsoft.com>
2515 * DataColumn.cs : Small perfomance fix (avoid unnesessary string concatenation).
2517 2004-04-26 Atsushi Enomoto <atsushi@ximian.com>
2519 * CustomDataClassGenerator.cs : Added.
2520 * TypedDataSetGenerator.cs : Implemented Generate().
2521 Changed GenerateIdName() to call CustomDataClassGenerator.MakeSafeName
2522 * XmlSchemaDataImporter.cs : Table Locale should be supplied.
2524 2004-04-25 Boris Kirzner <borisk@mainsoft.com>
2526 * DataTable.cs : Small perfomance fix (avoid unnesessary string concatenation).
2528 2004-04-25 Boris Kirzner <borisk@mainsoft.com>
2530 * Constraint.cs : Small perfomance fix (avoid unnesessary string concatenation).
2532 2004-04-23 Umadevi S (sumadevi@novell.com)
2533 * DataRow.cs: Checked BeginEdit,EndEdit,CancelEdit and Delete methods
2534 - Added error handling to the above methods
2536 2004-04-22 Atsushi Enomoto <atsushi@ximian.com>
2538 * DataSet.cs : Data should be read when mode is IgnoreSchema (well,
2539 the support is incomplete yet).
2540 * XmlDataLoader.cs :
2541 Reverted ReadModeSchema() argument change. XmlReadMode would be
2542 useful to handle IgnoreSchema.
2543 Don't overwrite DataSetName when mode is not such kind.
2544 Set Prefix and Namespace as well as DataSetName.
2545 AllowDBNull looks set false by default for element column.
2546 Set unique constraint as primary key when infering the table schema.
2548 2004-04-21 Atsushi Enomoto <atsushi@ximian.com>
2551 Never set null string for Prefix and Namespace.
2552 In InferXmlSchema() when null XmlReader is passed, just do nothing.
2553 In WriteXmlSchema(string), earlier try block.
2554 In BuildSchema(), try to add serialization namespaces for each
2555 namespaces in DataSet/DataTable/DataColumn.
2556 Removed namespace argument from WriteColumnAsElement() and don't
2557 overwrite when namespace is "". This fixes bug #57330.
2558 * DataColumn.cs : For Namespace and Prefix, never set null.
2560 2004-04-21 Boris Kirzner <borisk@mainsoft.com>
2562 * XmlSchemaMapper.cs : Check for not null unique constraint in ReadXmlSchemaKeyref()
2563 before creating and adding foreign key constraint and relation.
2565 2004-04-21 Boris Kirzner <borisk@mainsoft.com>
2567 * MergeManager.cs : In AdjustSchema() source table clone should be added
2568 and not the table itself.
2570 2004-04-21 Boris Kirzner <borisk@mainsoft.com>
2573 - CaseSensitive : Additional fix (removed unnesessary assignment).
2574 - CopyProperties : Do not try to copy ExtendedProperties if the collection is empty.
2576 2004-04-21 Boris Kirzner <borisk@mainsoft.com>
2578 * DataTable.cs : Ensure that DataSet property is not null before using it in Clear().
2580 2004-04-20 Boris Kirzner <borisk@mainsoft.com>
2583 - EndLoadData() : perfomance fix in case of null constraint violation
2584 during data load (also in DataRow.cs).
2585 - CaseSensitive : If DataTable belongs to DataSet it should always use
2586 DataSet.CaseSensitive untill explicitly changed.
2587 - CopyProperties() : do not try to copy ExtendedProperties if the collection is empty.
2590 - Pefromance fix in case of null constraint violation
2591 during data load (also in DataTable.cs).
2592 - CollectionChanged() : use correct column number after new DataColumn was added
2593 (differs in case some DataColumn was previosly removed).
2594 - EndEdit() - throw away proposed values only after CheckChildRows() complete.
2596 2004-04-20 Boris Kirzner <borisk@mainsoft.com>
2598 * DataColumnCollection.cs : Since unique constraint is added now
2599 in DataColumn.SetTable() the additional creation of constraint in
2600 DataColumnCollection.Add() is redundant and causes exception - fixed.
2602 2004-04-19 Atsushi Enomoto <atsushi@ximian.com>
2604 * XmlDataLoader.cs : Added "never add data rows" mode.
2605 Removed unused code. However, it is temporary fixes to unify
2606 ReadXml() and InferXmlSchema().
2607 * DataSet.cs : Implemented InferXmlSchema(), though it is incomplete.
2609 I'll create another XmlDataLoader since there are many problems
2610 such that 1) it is too waste to read the entire xml into an
2611 XmlDocument, 2) it does not handle attributes correctly, and 3) it
2612 must handle "ignored namespaces".
2614 2004-04-19 Atsushi Enomoto <atsushi@ximian.com>
2616 * Added XmlSchemaDataImporter.cs (new schema reader).
2617 * DataSet.cs : Use XmlSchemaDataImporter (right now for DataSet only)
2618 for ReadXmlSchema().
2619 Let schema reading work to ReadXmlSchema().
2620 Don't return ReadSchema when argument read mode was DiffGram.
2622 2004-04-15 Umadevi S (sumadevi@novell.com)
2623 * Updated Clone/Copy methods in DataSet along with Testcase
2624 * ForeignKeyConstraint.cs - special ctor implemented
2625 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).
2626 * Changes in ConstraintCollection.cs for the above
2627 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.
2630 2004-04-15 Atsushi Enomoto <atsushi@ximian.com>
2632 * XmlSchemaMapper.cs : set parent key and foreign key info to
2633 DataRelation when reading refkey constraints.
2634 Supply constraint name for fkey.
2636 2004-04-15 Atsushi Enomoto <atsushi@ximian.com>
2638 * XmlDataLoader.cs : Don't overwrite existing DataSetName. When read
2639 mode is Auto, just ignore the schema if there is already schema info.
2640 * DataSet.cs : Similarly ignore schema info for XmlReadMode = Auto.
2642 2004-04-14 Atsushi Enomoto <atsushi@ximian.com>
2645 - In MS output, XML declaration looks to have standalone decl (yes).
2646 - ReadXml(reader) just calls to ReadXml(reader, XmlReadMode.Auto)
2647 - ReadXml(reader, mode)
2648 1) return originally specified mode, instead of (always) Auto.
2649 2) Check empty reader.
2650 3) Check diffgram schema and content separately.
2651 4) When diffgram exists, remaining (the same-level) contents
2653 5) Similar fact should be applied, but somewhat different.
2654 InferSchema and IgnoreSchema just skips, Fragment reads both
2655 schema and content, others just reads schema.
2656 - Removed unused code.
2657 * XmlDataLoader.cs :
2658 - Read() should skip in some ReadMode.
2659 - Don't compare schema element name as case-insensitive (well,
2660 should schemas be checked here?)
2661 - Avoided BuildDocument() not to create confusing DataSet
2663 - Don't add any tables when reader has single element.
2664 * XmlDiffLoader.cs :
2665 When target table was not found, MS.NET doesn't raise an error.
2666 * XmlSchemaMapper.cs :
2667 When XmlSchema.Read() left xml reader at </xs:schema>, read once.
2669 2004-04-13 Atsushi Enomoto <atsushi@ximian.com>
2672 - InferXmlSchema(): Throw explicit NotImplementedException now.
2673 - Don't put XML declaration everywhere. Write just for filename arg.
2674 - xmlns="" should not be written. Maybe WebService problem is
2675 because default namespace is overwritten. This patch will keep
2676 the WS problem away and actually fixes some unit tests (i.e. use
2677 explicit String.Empty for null namespace in WriteStartElement()).
2678 - MoveToContent() should always be called, not only when
2679 LocalName="xml". It will ignore prolog (DTD, PI, comment etc.).
2680 - Even XmlReadMode is DiffGram, reader might not be "diffgram"
2681 element. As to MSDN, diffgram does not contain schema.
2683 2004-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2685 * DataTable.cs: made _initStatus private so that System.Data is CLS
2688 2004-04-13 Umadevi S <sumadevi@novell.com>
2689 * UniqueConstraint.cs:
2690 * ConstraintCollection.cs:
2692 - Implemented a Constructor for UniqueConstraint.cs
2693 - Used EndInit on DataTable to call a delegate which adds the
2694 constraints passed to the most recent call of AddRange().Used
2695 AddRange() on ConstraintCollection to check whether
2696 DataTable.BeginInit has occurred. If yes, save the argument
2697 constraint collection passed, then return. If no, Check whether the
2698 constraints are of type UniqueConstraint and initialized with the
2699 special constructor If yes Initialized the table property of this
2700 UniqueConstraint object with table assosciated with the current
2701 instance of ConstraintCollection class.
2703 2004-04-07 Marek Safar <marek.safar@seznam.cz>
2705 * Constraint.cs: changed ClsCompliant to CLSCompliant, build fix.
2707 2004-04-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
2710 * DataColumnCollection.cs:
2711 * DataRelationCollection.cs:
2712 * DataRowCollection.cs:
2713 * DataTableCollection.cs:
2714 * InternalDataCollectionBase.cs:
2715 * Node.cs: CLS compliance for System.Data. Patch by Gert Driesen.
2718 2004-04-05 Jackson Harper <jackson@ximian.com>
2720 * DataTable.cs: Add rows to the row list if there is no filter.
2722 2004-03-31 Juraj Skripsky <juraj@hotfeet.ch>
2724 * DataColumn.cs : Setting Caption to null sets it to the empty string
2725 (ms.net behaviour, testcase is in DataColumnTest).
2727 * DataRow.cs : Evaluate DataColumn.Expression when such a column's
2730 2004-03-30 Lluis Sanchez Gual <lluis@ximian.com>
2732 * DataColumn.cs: In Expression setter, set the expression member even if
2733 it is an empty string.
2734 * DataSet.cs: Support serialization of byte[] columns.
2735 * XmlDataLoader.cs: Support deserialization of Guid columns.
2736 Set MappingType.Attribute to columns infered from attributes.
2738 2004-03-29 Juraj Skripsky <juraj@hotfeet.ch>
2740 * ExpressionElements.cs : remove
2741 * DataColumn.cs, DataRelationCollection.cs, DataTable.cs :
2742 Integration of new Mono.Data.SqlExpressions classes used in
2743 DataTable.{Select, Compute}.
2744 Fixes bug #55503 and lots of failures in DataTableTest.cs.
2746 2004-03-28 Juraj Skripsky <juraj@hotfeet.ch>
2748 * Index.cs: Simple fix in ComparePartialRowNonUnique.
2749 This fixes bugs #56129 and #56014.
2751 2004-03-25 Lluis Sanchez Gual <lluis@ximian.com>
2753 * DataSet.cs: In WriteXml (string filename, XmlWriteMode mode), close the
2754 stream after writing the dataset. This fixes bug #52581.
2755 Also added several writer.Close into finally blocks, so writers are properly
2756 closed in case of an exception.
2758 2004-03-12 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
2760 * Constraint.cs: DO NOT USE the consts scheme if types can be referenced directly!
2761 * DataColumn.cs: DO NOT USE the consts scheme if types can be referenced directly!
2762 * ColumnTypeConverter.cs: Added stub
2763 * DefaultValueTypeConverter: Added stub
2764 * ConstraintConverter.cs: Added stub
2766 2004-03-04 Eran Domb <erand@mainsoft.com>
2768 * XmlDataLoader.cs : Xml reading reviewed. Added support for additional xml formats as described
2769 in MS.NET documentation (missing DataSet element etc).
2771 2004-03-04 Eran Domb <erand@mainsoft.com>
2774 * Index.cs : Rollback last changes.
2776 2004-03-03 Atsushi Enomoto <atsushi@ximian.com>
2778 * Index.cs : justa build fix.
2780 2004-03-03 Eran Domb <erand@mainsoft.com>
2783 * Constraint.cs, ForeignKeyConstraint.cs, UniqueConstraint, ConstraintCollection.cs, DataColumn.cs,
2784 DataRow.cs, DataRowCollection.cs, DataSet.cs, DataTable.cs : Changes made for using indexes on tables.
2785 This changes made for performance improvement.
2787 2004-02-08 Eran Domb <erand@mainsoft.com>
2789 * XmlSchemaMapper.cs : Read columns is they were written as SimpleContent or as Attributes.
2791 2004-02-08 Eran Domb <erand@mainsoft.com>
2793 * DataSet.cs: Fix some bugs in ReadXml().
2795 2004-02-04 Lluis Sanchez Gual <lluis@ximian.com>
2797 * DataSet.cs: Added missing method that broke the build.
2799 2004-02-04 Eran Domb <erand@mainsoft.com>
2801 * DataRowCollection.cs (InsertAt): Add a check for null row. Replace check of IndexOf with RowId for
2803 * DataSet.cs (GetTableSchema) : Add supprot for simple content columns. Change the condition for a case
2804 when all column are attributes (elements count is 0), we still want to add the relations. No relations
2805 can be on simple contents.
2806 (AddUniqueConstraints) Check that the column of the constraint are not hidden.
2807 (AddForeignKeys) Check that the relation has constraints attach to it.
2808 * XmlConstants.cs : Added constant.
2810 2004-02-04 Eran Domb <erand@mainsoft.com>
2812 * DataSet.cs : GetSchemaSerializable() return null and not BuildSchema().
2813 DoWriteXmlSchema calls BuildSchema ().
2815 2004-02-04 Lluis Sanchez Gual <lluis@ximian.com>
2817 * DataRow.cs: Added SetOriginalValue(), which is used to set the original
2819 * DataRowCollection.cs: In InsertAt(), perform the correct checks and
2821 * DataSet.cs: Fixed method GetChanges(): Parent rows of modified rows must
2822 also be added to the dataset.
2823 In WriteTable(), do not write unchanged rows when writing the original
2824 version of the table.
2825 Added WriteIndividualTableContent(), for writing the contents of a single
2827 Changed BuildSchema and related methods, so it can generate a schema for
2828 any set of tables, not just the tables of the dataset (needed for
2829 single datatable serialization).
2830 * DataTable.cs: Implemented serialization constructor and GetObjectData method.
2831 Also implemented some ReadXmlSchema methods.
2832 * XmlDiffLoader.cs: Read and process the xml document directly from XmlReader,
2833 instead of loading the full dataset in an XmlDocument. It is faster and
2834 saves memory. Also fixed several problems when generating the changes.
2835 * XmlSchemaMapper.cs: Support reading schemas for single tables (used by
2836 table serialization).
2838 2004-02-02 Eran Domb <erand@mainsoft.com>
2840 * DataSet.cs : Add indentation to the xml serialization only if we create the XmlWriter.
2841 Add the namespace attribute even if namespace is an empty string for inteoperability with MS.NET.
2842 * DataTable.cs (NewRow): Create only one DataRowBuilder.
2843 Initiate new row with row id -1.
2844 * DataRow.cs : Add RowId property.
2845 * DataRowBuilder.cs : Add _rowId member.
2846 * DataRowCollection.cs (Add) : Use the RowId property of the new row to check if it is already exists in the collection.
2848 2004-01-26 Eran Domb <erand@mainsoft.com>
2850 * XmlConstants.cs : Added some constants.
2851 * DataColumn.cs : Added a method to retrive AutoIncrement value.
2852 * XmlDataLoader.cs : Set the value of the foriegn key column, according to the value of the
2853 parent table column.
2854 * XmlDiffLoader.cs : Convert the value comming from the xml.
2855 * XmlSchemaMapper.cs (Read) : Set the DataSet namespace.
2856 (ReadXmlSchemaSequence) : Change the logic that decides if this element is a column or a table.
2857 (ReadXmlSchemaElement) : Set the locale of the dataset.
2858 (ReadColumn) : Set the column type. Find if the column is AutoIncrement.
2859 (GetColumnType) : New method to get the column type from the attribute value.
2860 (ReadXmlSchemaUnique) : Improve parsing of XPath. Set the constraint as a PK if needed,
2861 and add the constraint to the table.
2862 (ReadXmlSchemaKeyref) : Improve parsing of XPath. Create the FK constraint and add it to
2864 * DataSet.cs : Improving writing of unique constraints, and foriegn key constraint. Givving them the correct names.
2865 Writing more information to the schema for interoperability with ms.net.
2866 Improve diffgarm writing mode.
2869 2004-01-21 Atsushi Enomoto <atsushi@ximian.com>
2871 * TypedDataSetGenerator.cs : Implemented GenerateIdName().
2873 2004-01-21 Eran Domb <erand@mainsoft.com>
2875 * XmlDataLoader.cs (AddRowToTable) : Give thre new relation correct name.
2876 Do not set the child column to be AutoIncrement.
2877 Create the new column for the relation as MappingType.Hidden so they will not be serialized
2878 when writing the dataset to xml.
2880 2004-01-20 Atsushi Enomoto <atsushi@ximian.com>
2882 * Added missing TypedDataSetGenerator.cs.
2884 2004-01-08 Eran Domb <erand@mainsoft.com>
2886 * XmlSchemaMapper.cs : Fix a bug. Check if table already in DataSet before adding it.
2887 * DataSet.cs (ReadXml) : Fix bugs. Read correctly the xml file with XmlReadMode of DiffGram,
2888 InferSchema, ReadSchema and IgnoreSchema.
2889 * XmlDataLoader.cs : All modes use the same logic.
2890 * XmlDiffLoader.cs : Adding BuildXmlDocument method to the class.
2892 2004-01-06 Eran Domb <erand@mainsoft.com>
2894 * DataRelationCollection.cs : Use IndexOf in indexer.
2895 * DataSet.cs : Adding support for WriteXml with diffgram. Code style changes.
2896 * XmlDataLoader.cs : Set the DataSet.enforceConstraints to false before loading the tables.
2897 * XmlDiffLoader.cs : Reading nested tables.
2898 * XmlSchemaMapper.cs : Reading the relation.
2899 * XmlConstants.cs : Adding some constants.
2901 2004-01-05 Jackson Harper <jackson@ximian.com>
2903 * DataView.cs: Set readonly property of property descriptor. This
2906 2004-01-01 Sanjay Gupta <gsanjay@novell.com>
2908 * DataRelationCollection.cs : Fixed incorrect generation of default
2910 * DataSet.cs : Added missing functionality in WriteXml().
2911 * XmlConstants.cs : Added new constants.
2913 2003-12-27 Atsushi Enomoto <atsushi@ximian.com>
2915 * DataSet.cs : Fixed incorrect WriteXml() signature.
2917 2003-12-18 Jackson Harper <jackson@ximian.com>
2919 * DataView.cs: Implement AddNew, Delete, and OnListChanged.
2921 2003-12-17 Atsushi Enomoto <atsushi@ximian.com>
2923 * DataSet.cs, XmlDataLoader.cs : Table name should be encoded before
2924 they take shape of xml. This fixed bug #52240
2926 2003-12-16 Tim Coleman <tim@timcoleman.com>
2927 * KeyRestrictionBehavior.cs:
2928 New stubs added for .NET 1.2
2932 2003-12-08 Eran Domb <erand@mainsoft.com>
2933 * DataColumn.cs (Expression) : Validate the expression.
2935 * DataRelationCollection.cs (IndexOf) : Added new method sensetive to case differences in relation name.
2936 (Contains, IndexOf, this[], Add) : Call new IndexOf when needed.
2938 * DataRow.cs (this[]) : Fix the condition for throwing RowNotInTableException.
2939 (RejectChanges) : Detach row when state was Added.
2940 (CollectionChanged) : Fix a bug.
2942 * ExpressionElement (ValidateExpression) : Fix a bug.
2944 * ForeignKeyConstraint.cs (AssertConstraint) : Added implementation. Check all rows from child table have
2945 a parent row in the parent table.
2946 (_validateColumns) : Fix bugs.
2948 * MergeManager.cs (AdjustSchema) : Fix a bug.
2950 * XmlDataLoader.cs (ReadModeInferSchema) : Change implementation. Now we can read nested xml, and we generate the relations
2953 2003-11-30 Eran Domb <erand@mainsoft.com>
2954 * DataColumnCollection.cs (this[string name]) : Use IndexOf to find the column.
2955 (Add) : Find if the new column name is the same as the one found in IndexOf.
2956 (IndexOf) : New method.
2957 (Contains) : Use new IndexOf.
2958 (IndexOf) : Use new IndexOf.
2960 * DataRelationCollection.cs (DataRelationCollection.AddCore) : Add The Relation to the collection.
2961 (DataSetRelationCollection.AddCore) : First add the UniqueConstraint.
2963 * DataRow.cs (this[int columnIndex, DataRowVersion version]) : Change exceptions.
2964 (Delete) : Detach row if the RowState was Added.
2965 (GetChildRows) : Get the array form the ChildTable.
2966 (GetParentRows) : Get the array from the ParenTable.
2968 * DataRowCollection.cs (Remove) : Check if row state is Detached to avoid exception.
2970 * DataSet.cs (IXmlSerializable.ReadXml) : Do not call MoveToContent and ReadEndElement - the XmlSerializationReader does it.
2972 * DataTable.cs (PrimaryKey) : Fix bugs.
2973 (Compute) : First call Select. Then create ExpressionAggregate to aggregate the Select result.
2975 * DataTableCollection.cs (Add) : Fix a bug.
2977 * ExpressionElement.cs (ValidateExpression) : Turning ValidateExpression to static.
2978 (Result) : Added new interface to AggregateExpression that get DataRow[] as a param.
2979 Some code style changes (tab instead of whit spaces, alignment, etc...).
2981 * ForeignKeyConstraint.cs (_validateColumns) : Throw correct exception.
2983 * MergeManager.cs (AdjustSchema) : Fix a bug.
2987 2003-11-26 Miguel de Icaza <miguel@ximian.com>
2989 * DataSet.cs: Add a few more missing methods, code style updated
2992 2003-11-26 Tim Coleman <tim@timcoleman.com>
2994 * ConflictOptions.cs DataAdapterException.cs DataTableReader.cs
2995 * DbMetaData.cs FillOptions.cs IDataReader2.cs IDataRecord2.cs
2996 * IDataUpdatableRecord.cs IDbAsyncCommand.cs IDbAsyncConnection.cs
2997 * IDbExecutionContext.cs IGetTypedData.cs ISetTypedData.cs
2998 * LoadOption.cs OperationAbortedException.cs ResultSetOptions.cs
2999 * ResultSetSensitivity.cs StatementCompletedEventArgs.cs
3000 * StatementCompletedEventHandler.cs UpdateOptions.cs:
3001 New classes added for NET_2_0
3002 * DBConcurrencyException.cs DataRelation.cs DataSet.cs DataTable.cs
3003 * DataTableCollection.cs DataView.cs ForeignKeyConstraint.cs:
3004 Modifications to add new NET_2_0 functions
3006 2003-11-25 Tim Coleman <tim@timcoleman.com>
3010 2003-11-21 Pedro Martínez Juliá <yoros@wanadoo.es>
3012 * DataRow.cs: Detached row can be accesible (new rows from data
3013 table are detached). Closes but #51263.
3015 2003-11-19 Eran Domb <erand@mainsoft.com>
3016 * DataRow.cs : Throw exceptions if Row is Detached.
3017 (EndEdit) : Check that we are not in middle of ChangeEvent.
3018 (AcceptChanges) : Detach the row.
3020 * DataRelation.cs : throw correct exception.
3021 *UniqueConstraint.cs : throw correct exception.
3024 2003-11-09 Pedro Martínez Juliá <yoros@wanadoo.es>
3026 * DataRow.cs: Use RemoveInternal instead of Remove because the last
3027 one uses Delete and AcceptChanges.
3029 * DataRowCollection.cs: When removing, Delete and AcceptChanges
3030 method from the row are called. Added an internal method that will
3031 be used by DataRow to "physically" remove the row from the list.
3033 2003-11-09 Pedro Martínez Juliá <yoros@wanadoo.es>
3035 * DataRowCollection.cs: To follow the specification: Remove and
3036 RemoveAt should remove the row. But needed to call DeletingDataRow
3037 to prepare the deleting.
3039 * DataRow.cs: Don't call DeletingDataRow when it is called by the
3040 method Table.Rows.Remove.
3042 2003-11-09 Pedro Martínez Juliá <yoros@wanadoo.es>
3044 * DataRowCollection.cs: Make the row be deleted by itself. If not,
3045 it fails because we need to call OnRowDeleting and OnRowDeleted. It
3046 is full implemented inside DataRow.
3048 2003-11-05 Eran Domb <erand@mainsoft.com>
3049 * DataView.cs (ctor) : Changing default RowStateFilter to CurrentRow.
3051 2003-11-04 Eran Domb <erand@mainsoft.com>
3052 * DataRow.cs (CheckChildRows) : Improving the implementation - checking child for all FK, and not
3054 (GetChildRows) : Adding some checks.
3055 (GetParentRows) : Adding some checks. Fix a bug in implementation.
3056 (SetParentRow) : Added implementation.
3058 * DataRowCollection.cs (Add) : Added more checks on the row added to the collection.
3059 * DataTable.cs (Copy) : Set the During Loading flag to save unnecessary assertions.
3060 * ForeignKeyConstraint.cs (AssertConstraint) : Fixing bugs in implementation. Checking for DBNull values in the row.
3061 * MergeManager.cs : Check that the target table is not null.
3063 2003-10-27 Eran Domb <erand@mainsoft.com>
3064 * DataColumn.cs (DefaultValue) : Changing null value to DBNull. Checking that the type of the new default value
3065 can be converted to the column type.
3067 * DataRelationCollection.cs (AddCore) : Give the new FK the name of the relation.
3069 * DataRow.cs (EndEdit) : Check if we need to validate the constraints.
3070 (GetParentRows, GetChildRows) : Checking that the row has the wanted version, before accessing the row's value.
3072 * DataRowCollection.cs (Add) : Fixing a bug.
3073 (Clear) : Before clearing the array check that there is no violation of FK constraint.
3075 * DataSet.cs (Prefix) : If value is null chage it to empty string.
3076 (GetXml) : Removing the Processing Instructions from the xml string as in MS ADO.NET.
3078 * ExpressionElement : Adding support for IN expresion.
3080 * DataTable (CopyConstraints) : New method that copy the tables constraints to the copy table.
3081 (Select) : Adding support for DataViewwRowState.
3083 * ForeignKeyConstraint.cs (AssertConstraint) : Adding implementation.
3085 * MergeManager.cs (MergeRow) : Fix bugs.
3087 2003-10-27 Eran Domb <erand@mainsoft.com>
3088 * DataRow.cs (SetColumnValue): Donot check null value when in midle of loading data.
3089 check null values when ending loading data.
3091 * DataSet.cs (RejectChanges) : Imlementation.
3092 (Prefix) : If prefix was changed fire event. Check that the prefix is not null - if null,
3093 change it to empty string.
3095 * DataTable.cs (BeginLoadData, EndLoadData) : Impemantation.
3097 2003-10-22 Eran Domb <erand@mainsoft.com>
3098 * MergeManager.cs : Fixing bugs. Adding check for PrimaryKey matching.
3100 * ConstraintCollection.cs (RamoveAt): Change implemntation.
3102 * DataTableCollection (CanRemove): Removing cast to Constraint.
3104 2003-10-22 Eran Domb <erand@mainsoft.com>
3105 * DataRelationCollection.cs (AddCore): The unique constraint was added even if the createConstraints flag was false.
3106 (Clear): The collection was cleared without removing the relation from the parent and child tables.
3108 * DataSet.cs (Copy, Clone): The Relations of the DataSet were not copy.
3109 (HasChanges, Reset): Imlementation.
3111 * DataTable.cs (HasErrors): There is no flag for errors, instead the table ask her row if they have any errors.
3112 This is because the we do not no when to turn off the flag.
3113 (Locale): Changing implementation to behave like ADO.NET.
3114 (AcceptChanges): Fix bug.
3115 (Clear): Check that this table is not referenced from a foreign key constraint.
3116 (Copy): Do not try to access a deleted row.
3117 (CopyProperties): Copy the PrimaryKey.
3118 (GetChanges, ImportRow): Implementation.
3119 (LoadDataRow): Adding implementation if the table has PrimaryKey.
3120 (ToString): Changing implementation to behave like ADO.NET.
3122 * UniqueConstraint.cs (AssertConstraint): support for Multiple DataColumns in the constraint.
3124 * DataRow.cs (Ctor): In the constructor we initiate the current array, but we should initiate only the proposed array for new rows.
3125 (HasErrors): Implementation.
3126 (Delete): Added checking for child rows of the deleted row.
3127 (EndEdit): Added checking for child row and firing events.
3128 (GetColumnError): Added a check that the method will not return null, as in ADO.NET(an empty string is returned).
3129 (GetColumnsInError): Added a check for null values in column error.
3130 (HasVersion): Added special treatment for special RowState.
3131 (CollectionChanged): More checks to avoid NullReferenceException.
3133 * DataRowCollection.cs (Remove): Fix a bug.
3136 2003-10-01 Duncan Mak <duncan@ximian.com>
3138 More patches from Eran Domb <erand@mainsoft.com>.
3140 * MergeManager.cs: New file.
3142 * DataRelationCollection.cs (AddCore): Check that a
3143 UniqueConstraint is already exists. It loops over the Relations
3144 instead of the Constraints.
3145 (Add, AddCore): The relation was added twice.
3147 * DataSet.cs (Merge, GetChanges, HasChanges): Implemented.
3149 2003-09-30 Duncan Mak <duncan@ximian.com>
3151 Patches from Eran Domb <erand@mainsoft.com>.
3153 * DataRelation.cs (constructor): When the name of the relation is
3154 null, it should return an empty, not "Relation".
3156 * DataRow.cs (AcceptChanges): Added special case for
3158 (CancelEdit): Set editing flag to false.
3159 (IsNull): Check that the value is DBNull.
3161 * DataRowCollection.cs (Add): There was no check that the table of
3162 the collection is owned by a DataSet.
3164 * DataSet.cs (OnMergeFailed): Added.
3166 * UniqueConstraint.cs (AssertConstraint): There was no check that
3167 values in the row are not null, where it is a primary key
3168 column. Also check that the row has a proposed version, if not,
3169 get the current version when we compare the rows.
3171 2003-09-25 Duncan Mak <duncan@ximian.com>
3173 Patches from Eran Domb <erand@mainsoft.com>.
3175 * DataColumn.cs (Unique): Implemented.
3178 * ConstraintCollection.cs:
3179 * ForeignKeyConstraint.cs (_ensureUniqueConstraintExists): Fixes
3180 an Exception thrown. Details:
3181 http://lists.ximian.com/archives/public/mono-devel-list/2003-September/002130.html
3183 * DataRowCollection.cs (Add): There is no checking that there is
3184 no violation of the unique constrains.
3186 * UniqueConstraint.cs (AssertConstraint): There is no checking on
3187 all columns in the constraint.
3189 * DataTableCollection (Add): Correctly throw an Exception, more
3191 http://lists.ximian.com/archives/public/mono-devel-list/2003-September/002117.html
3192 (Remove, RemoveAt): Implemented.
3194 2003-07-31 Duncan Mak <duncan@ximian.com>
3196 * DBConcurrencyException.cs: Added new NET_1_1 no-param constructor.
3198 2003-07-25 Ravi Pratap <ravi@ximian.com>
3200 * DataRelation.cs (OnPropertyChanging): Calling the 'Invoke'
3201 method on a delegate is disallowed - fix this.
3203 2003-07-22 Lluis Sanchez Gual <lluis@ximian.com>
3205 * DataSet.cs: Implemented IXmlSerializable interface. Added basic support for
3206 xml serialization. Modified method of writing schema. Now it creates
3207 a XmlSchema object and serializes it using XmlSerializer.
3208 * XmlConstants.cs: Added constants for data type names.
3209 * XmlDataLoader.cs: Fixed deserialization of data. Now converts data to the
3210 type specified in the column.
3212 2003-04-20 Alan Tam <Tam@SiuLung.com>
3214 * DataRelationCollection.cs: Fix a bug that prevent relations
3215 from being added via DataSet.
3217 2003-04-12 Ville Palo <vi64pa@kolumbus.fi>
3219 * UniqueConstraint.cs: one tiny fix.
3221 2003-04-05 Ville Palo <vi64pa@kolumbus.fi>
3223 * DataTable.cs: Remove UniqueConstraints when adding new ones
3225 2003-04-04 Ville Palo <vi64pa@kolumbus.fi>
3227 * DataColumnCollection.cs: Little 'case sensitive' fix
3229 2003-04-04 Ville Palo <vi64pa@kolumbus.fi>
3231 * DataRow.cs: AutoIncrement handling to Constructor
3232 * DataRowCollection.cs: This doesnt need anymore AutoIncrements
3234 2003-03-27 Ville Palo <vi64pa@kolumbus.fi>
3236 * DataTable.cs: Some fixes to PrimaryKey etc...
3237 * UniqueConstraint.cs: Little clean up
3239 2003-03-27 Ville Palo <vi64pa@kolumbus.fi>
3241 * DataTable.cs: Tiny fix to ToString () -method
3243 2003-03-27 Ville Palo <vi64pa@kolumbus.fi>
3245 * ConstraintCollection.cs: Little fix.
3246 * DataColumn.cs: Added new internal method SetUnique()
3247 * UniqueConstraint.cs: some little fixes
3249 2003-03-26 Ville Palo <vi64pa@kolumbus.fi>
3251 * DataRowCollection.cs: Bugfixes, implementation,...
3253 2003-03-26 Ville Palo <vi64pa@kolumbus.fi>
3255 * DataColumn.cs: If DataType if set to something else than short, int
3256 or long and AutoIncrement is true, AutoIncrement is must set to false.
3258 2003-03-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3261 (BeginEdit): fixed array bound problem when a column has been added.
3262 (EndEdit): just assign proposed to current as proposed is set to null.
3263 This also fixes another array boudn problem.
3265 2003-03-21 Alan Tam <Tam@SiuLung.com>
3267 * DataRow.cs: Fixed problems in accessers, BeginEdit, CancelEdit,
3268 EndEdit and AcceptChanges to act correctly according to DataRowState
3270 * DataRowCollection.cs: Call AttachRow and DetachRow when a row is
3271 attached and detached from the collection.
3273 2003-03-20 Alan Tam <Tam@SiuLung.com>
3275 * DataColumn.cs: Store empty string for Expression when null is passed in.
3276 Classes generated by XSD.exe passes null by default.
3278 2003-03-16 Ville Palo <vi64pa@kolumbus.fi>
3280 * DataColumnCollection.cs: Tiny clean up
3282 2003-03-16 Ville Palo <vi64pa@kolumbus.fi>
3284 * DataColumn.cs: little fixes.
3285 * DataColumnCollection.cs: Lots of little fixes and improvments.
3287 2003-03-12 Alan Tam <Tam@SiuLung.com>
3289 * DataSet.cs: Fixed a bug that the file written does not close correctly.
3291 2003-03-08 Alan Tam <Tam@SiuLung.com>
3293 * DataRelationCollection.cs: Removed the mis-overridden methods
3294 * DataRow.cs: Fixed an attribute
3295 * DataSet.cs: Fixed the modifiers
3297 2003-03-06 Aleksey Demakov <avd@openlinksw.com>
3299 * DataTableCollection.cs: The Contains (string name),
3300 IndexOf (string name) methods, and item[string name] indexer
3301 now behave more like .NET with respect to case-sensitivity.
3302 That is if there is an exactly matching item then this one is used.
3303 If there is only one item differing in case then it used.
3304 If there are more than one item differing in case then
3305 Contains returns false, IndexOf returns -1, and item[]
3306 throws an ArgumentException.
3308 2003-02-28 Ville Palo <vi64pa@kolumbus.fi>
3310 * ExpressionElement.cs: More implementation.
3312 2003-02-28 Alan Tam <Tam@SiuLung.com>
3313 * DataSet.cs: Changed WriteTable so that it now calls the newly written
3314 WriteObjectXml to direct the call to the respective XmlConvert method.
3315 This fixes the wrong format written to XML files of bool, float,
3316 double, DateTime and TimeSpan types.
3318 2003-02-25 Alan Tam <Tam@SiuLung.com>
3320 * DataRelation.cs: Added SetDataSet for DataSetRelationCollection to use.
3321 * DataRelationCollection.cs: Implemented AddRange and Contains.
3322 Implemented AddRange, Clear, List and RemoveCore for DataSetRelationColletion.
3323 Implemented AddCore, List and RemoveCore for DataTableRelationCollection.
3324 Reimplemented most Add methods to eliminate duplicated checks.
3325 Centralized RelationName generation procedure in GetNextDefaultRelationName.
3327 2003-02-25 Alan Tam <Tam@SiuLung.com>
3329 * DataColumn.cs: Fixed wrong storage representation of Expression
3330 (using empty string instead of null) so that ToString() returns nothing.
3331 * DataColumnCollection.cs: Reimplemented GetNextDefaultColumnName so that
3332 auto column naming now works as expected. Reimplemented some Add methods
3333 to eliminate code duplication.
3335 2003-02-19 Ville Palo <vi64pa@kolumbus.fi>
3337 * DataTable.cs: DataTable.CaseSensitive follows parent
3338 DataSet.CaseSensitive property if DataTable.CaseSensitive has never
3339 been changed directly from DataTable
3341 2003-02-19 Ville Palo <vi64pa@kolumbus.fi>
3343 * DataSet.cs: When CaseSensitive property is changed all of the Tables
3344 of DataSet have to change too
3346 2003-02-19 Daniel Morgan <danmorg@sc.rr.com>
3348 * InternalDataCollectionBase.cs: revert change to field
3351 * DataViewManager.cs
3354 * DataSet.cs: commented use of DesignerAttribute
3355 because it broke the build. According to MSDN,
3356 DesignerAttribute does not have a zero-argument constructor
3358 2003-02-18 Ville Palo <vi64pa@kolumbus.fi>
3360 * DataColumnCollectin.cs: Little fix for indexer and case sensitivity
3362 2003-02-18 Alan Tam <Tam@SiuLung.com>
3364 * DataRow.cs: Implemented GetParentRow and GetParentRows.
3365 * DataSet.cs: Added stub for HasChanges, InferXmlSchema,
3366 OnPropertyChanging, OnRemoveRelation, OnRemoveTable,
3367 RaisePropertyChanging.
3368 * DataTable.cs: Implemented NewRowArray.
3369 * DataTablePropertyDescriptor: Fixed a modifier.
3370 * InternalDataCollectionBase.cs: Fixed modifiers. Implemented SyncRoot.
3371 * PropertyCollection.cs: Minor fix.
3372 * ConstraintCollection.cs DataColumn.cs DataColumnCollection.cs
3373 * DataRelation.cs DataRelationCollection.cs DataRow.cs
3374 * DataRowCollection.cs DataRowState.cs DataSet.cs DataTable.cs
3375 * DataTableCollection.cs DataTablePropertyDescriptor.cs DataView.cs
3376 * DataViewManager.cs DataViewRowState.cs DataViewSettingCollection.cs
3377 * ForeignKeyConstraint.cs InternalDataCollectionBase.cs
3378 * PropertyCollection.cs UniqueConstraint.cs: Added missing attributes
3380 2003-02-08 Ville Palo <vi64pa@koti.soon.fi>
3382 * ExpressionElement.cs: More implementation
3384 2003-02-05 Alan Tam <Tam@SiuLung.com>
3386 * DataSet.cs: Added framework for DataSet.Update Implemented missing
3387 methods GetSchemaSerializable, GetSerializationData,
3388 ReadXmlSerializable, ShouldSerializeRelations and ShouldSerializeTables
3390 * DataTable.cs: Implemented missing methods CreateInstance and
3391 GetRowType for DataTable
3393 2003-02-03 Ville Palo <vi64pa@koti.soon.fi>
3395 * DataSet.cs: Implemented private method MapType for
3396 mapping datatypes for XmlSchema
3398 2003-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3400 * DataView.cs: implemented Dispose.
3402 2003-01-30 Ville Palo <vi64pa@koti.soon.fi>
3404 * ExpressionElement.cs: Added new file. This file is for parsing
3405 and DataData.Select () -methods and DataColumn.Expression -property
3406 * DataTable.cs: Implemented Select(string) -method
3408 2003-01-28 Ville Palo <vi64pa@koti.soon.fi>
3410 * DataSet.cs: One little fix to writing xml
3412 2003-01-27 Ville Palo <vi64pa@koti.soon.fi>
3414 * XmlSchemaMapper.cs: Some fixes.
3415 * DatSet.cs: Some XmlFixes and BeginInit ()/ EndInit () -fix
3418 2003-01-24 Ville Palo <vi64pa@koti.soon.fi>
3420 * UniqueConstraint.cs: Do not set columns Unique property true
3422 * ForeignKeyConstraint.cs: Add UniqueConstraint to parent Table
3424 2003-01-18 Ville Palo <vi64pa@koti.soon.fi>
3426 * DataTableCollection.cs: Now names new DataTable if it doesn't
3427 already have a name.
3429 2003-01-17 Ville Palo <vi64pa@koti.soon.fi>
3431 * XmlSchemaMapper.cs: Improvments.
3432 * XmlConstaints.cs: Added more constants.
3433 * DataSet.cs: Improvments of reading and writing xml
3434 * DataColumn.cs: Added default values of properties.
3436 2003-01-14 Ville Palo <vi64pa@koti.soon.fi>
3438 * XmlSchemaMapper.cs: Some improvments
3440 2003-01-13 Ville Palo <vi64pa@koti.soon.fi>
3442 * DataRowCollection.cs: Added IndexOutOfRangeException
3443 * DataTableCollection.cs: Added OnCollectionChanging and
3444 OnCollectionChanged events.
3445 * DataSet.cs: Many fixes. Implemented Clone () and Copy () -methods
3446 * DataTable.cs: Implemented Copy () and Clone () methods.
3447 * XmlDataLoader.cs: some fixes.
3448 * XmlSchemaMapper.cs: comments.
3450 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3452 * DataColumnPropertyDescriptor.cs: store columnIndex in the .ctor.
3454 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3456 * DataColumnPropertyDescriptor.cs: fixed typo.
3457 * DataViewManagerListItemTypeDescriptor.cs: added new internal property
3458 to get the DataViewManager and removed TablePD class.
3459 * DataTablePropertyDescriptor.cs: TablePD class is now this one as
3460 suggested by danmorg.
3462 2003-01-06 Ville Palo <vi64pa@koti.soon.fi>
3464 * XmlDataLoader.cs: Moved diffgram stuff to new internal class
3466 * XmlDiffLoader.cs: new class for diffgrams. Added handling of
3467 diffgr:Errors and some fixes and changed XmlReader to XPathNavigator.
3469 2003-01-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3471 * DataView.cs: made dataViewManager internal.
3472 * DataViewManager.cs: use ICustomTypeDescriptor. We don't want the
3473 properties of the object, but the values of the columns present in a
3476 * DataViewManagerListItemTypeDescriptor.cs: implemented GetProperties,
3477 which returns a PropertyDescriptorCollection. Created a new class
3478 derived from PropertyDescriptor that treats Table as an object whose
3479 properties are DataRowView.
3481 2003-01-04 Ville Palo <vi64pa@koti.soon.fi>
3483 * XmlSchemaMapper.cs: Added handling for Constraints, Attributes.
3485 2003-01-04 Ville Palo <vi64pa@koti.soon.fi>
3487 * DataColumn.cs: ExtendedProperties is by default !null-
3489 2003-01-04 Ville Palo <vi64pa@koti.soon.fi>
3491 * DataColumnCollection.cs: Add (DataColumn Column) -method didn't
3492 set column's ordinal.
3494 2003-01-02 Ville Palo <vi64pa@koti.soon.fi>
3497 * XmlDataLoader.cs: XmlReader closing fixes.
3498 * XmlSchemaReader.cs: Added support for ref=
3500 2003-01-01 Ville Palo <vi64pa@koti.soon.fi>
3503 - Added XmlReader and XmlWriter Closing.
3504 - Moved ReadXmlSchema stuff to new internal class XmlSchemaMapper.
3505 * XmlSchemaMapper.cs
3506 - Much better way IMHO to map xmlschema than the old one in
3507 DataSet.cs. Its, more flexible, cleaner, ...
3509 2002-12-29 Ville Palo <vi64pa@koti.soon.fi>
3511 * XmlDataLoader.cs: Reading diffgrams.
3513 2002-12-29 Ville Palo <vi64pa@koti.soon.fi>
3515 * DataRow.cs: Little fix to indexer and DataColumnCang* trigger fixes.
3516 * DataTable.cs: Added ChanginDataColumn () for triggering
3517 DataColumnChanging event
3519 2002-12-28 Ville Palo <vi64pa@koti.soon.fi>
3521 * DataSet.cs: Indentations to WriteXmlSchema () and one little fix
3523 2002-12-28 Ville Palo <vi64pa@koti.soon.fi>
3525 * DataSet.cs: Indentations to WriteXml ()
3527 2002-12-27 Ville Palo <vi64pa@koti.soon.fi>
3530 * XmlDataLoader.cs: Moved ReadXml -stuff from DataSet.cs to new
3531 class XmlDataLoader.cs
3533 2002-12-19 Ville Palo <vi64pa@koti.soon.fi>
3535 * DataSet.cs Implemented ReadXml with XmlReadMode.ReadSchema
3537 2002-12-18 Ville Palo <vi64pa@koti.soon.fi>
3539 * DataSet.cs: Started to implement ReadXml-methods.
3541 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
3543 * DataSet.cs: implemented DefaultViewManager and GetList.
3545 * DataViewManager.cs: a bit of work on IList and ITypedList needed by
3546 DataList in System.Web.
3548 * DataViewManagerListItemTypeDescriptor.cs: custom type descriptor for
3551 2002-12-16 Ville Palo <vi64pa@koti.soon.fi>
3554 * DataTable.cs: Fixed NullException (rollback -event)
3555 * DataSet.cs: WriteXml -method does not anymore write <?xml... row.
3557 2002-12-15 Ville Palo <vi64pa@koti.soon.fi>
3560 * DataRowCollection.cs: Moved event triggering from DataRow to
3563 2002-12-09 Ville Palo <vi64pa@koti.soon.fi>
3565 * DataSet.cs: Little fix to WriteTable () -method
3566 and DoReadXmlSchema () -method.
3568 2002-12-06 Ville Palo <vi64pa@koti.soon.fi>
3570 * DataSet.cs: Clean up to reading xmlschema. This looks much better
3571 now (work better too), but it not working correctly yet.
3573 2002-12-04 Ville Palo <vi64pa@koti.soon.fi>
3576 * DataRowCollection.cs: Added some event handlins stuff.
3577 * DataSet.cs: Some fixes.
3578 * DataTable.cs: Added event handlers.
3580 2002-11-30 Ville Palo <vi64pa@koti.soon.fi>
3582 * DataRowChangeEventArgs.cs: Implemented Action and Row properties
3584 2002-11-30 Ville Palo <vi64pa@koti.soon.fi>
3586 * System.Data/DataRow.cs: Added internal property XmlDataID
3588 2002-11-29 Ville Palo <vi64pa@koti.soon.fi>
3590 * DataSystem.Data.DataTableCollection.cs:
3591 Removed HashTable. There could be situations where DataTable
3592 is added to collection before it hava TableName. So using
3593 HashTable is impossible.
3595 2002-11-19 Carlos Guzmán Álvarez <carlosga@telefonica.net>
3597 * DataRow.cs: an object that is equal to null
3598 should be allowed to be set in this indexer too
3601 2002-11-06 Daniel Morgan <danmorg@sc.rr.com>
3603 * DataColumnPropertyDescriptor.cs: added file
3605 * System.Data/DataRowView.cs: started implementation
3607 * DataTable.cs: stubbed more interfaces. Implemented
3608 IListSource.GetList()
3610 * DataView.cs: stubbed more interfaces. Implemented
3611 some properties and methods: GetEnumerator(),
3612 ITypedList.GetItemProperties, Item indexer, CopyTo()
3614 2002-05-18 Nick Drochak <ndrochak@gol.com>
3616 * DataRow.cs: Fix typo.