1 2004-03-31 Juraj Skripsky <juraj@hotfeet.ch>
3 * DataColumn.cs : Setting Caption to null sets it to the empty string
4 (ms.net behaviour, testcase is in DataColumnTest).
6 * DataRow.cs : Evaluate DataColumn.Expression when such a column's value is
9 2004-03-30 Lluis Sanchez Gual <lluis@ximian.com>
11 * DataColumn.cs: In Expression setter, set the expression member even if
12 it is an empty string.
13 * DataSet.cs: Support serialization of byte[] columns.
14 * XmlDataLoader.cs: Support deserialization of Guid columns.
15 Set MappingType.Attribute to columns infered from attributes.
17 2004-03-29 Juraj Skripsky <juraj@hotfeet.ch>
19 * ExpressionElements.cs : remove
20 * DataColumn.cs, DataRelationCollection.cs, DataTable.cs :
21 Integration of new Mono.Data.SqlExpressions classes used in
22 DataTable.{Select, Compute}.
23 Fixes bug #55503 and lots of failures in DataTableTest.cs.
25 2004-03-28 Juraj Skripsky <juraj@hotfeet.ch>
27 * Index.cs: Simple fix in ComparePartialRowNonUnique.
28 This fixes bugs #56129 and #56014.
30 2004-03-25 Lluis Sanchez Gual <lluis@ximian.com>
32 * DataSet.cs: In WriteXml (string filename, XmlWriteMode mode), close the
33 stream after writing the dataset. This fixes bug #52581.
34 Also added several writer.Close into finally blocks, so writers are properly
35 closed in case of an exception.
37 2004-03-12 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
39 * Constraint.cs: DO NOT USE the consts scheme if types can be referenced directly!
40 * DataColumn.cs: DO NOT USE the consts scheme if types can be referenced directly!
41 * ColumnTypeConverter.cs: Added stub
42 * DefaultValueTypeConverter: Added stub
43 * ConstraintConverter.cs: Added stub
45 2004-03-04 Eran Domb <erand@mainsoft.com>
47 * XmlDataLoader.cs : Xml reading reviewed. Added support for additional xml formats as described
48 in MS.NET documentation (missing DataSet element etc).
50 2004-03-04 Eran Domb <erand@mainsoft.com>
53 * Index.cs : Rollback last changes.
55 2004-03-03 Atsushi Enomoto <atsushi@ximian.com>
57 * Index.cs : justa build fix.
59 2004-03-03 Eran Domb <erand@mainsoft.com>
62 * Constraint.cs, ForeignKeyConstraint.cs, UniqueConstraint, ConstraintCollection.cs, DataColumn.cs,
63 DataRow.cs, DataRowCollection.cs, DataSet.cs, DataTable.cs : Changes made for using indexes on tables.
64 This changes made for performance improvement.
66 2004-02-08 Eran Domb <erand@mainsoft.com>
68 * XmlSchemaMapper.cs : Read columns is they were written as SimpleContent or as Attributes.
70 2004-02-08 Eran Domb <erand@mainsoft.com>
72 * DataSet.cs: Fix some bugs in ReadXml().
74 2004-02-04 Lluis Sanchez Gual <lluis@ximian.com>
76 * DataSet.cs: Added missing method that broke the build.
78 2004-02-04 Eran Domb <erand@mainsoft.com>
80 * DataRowCollection.cs (InsertAt): Add a check for null row. Replace check of IndexOf with RowId for
82 * DataSet.cs (GetTableSchema) : Add supprot for simple content columns. Change the condition for a case
83 when all column are attributes (elements count is 0), we still want to add the relations. No relations
84 can be on simple contents.
85 (AddUniqueConstraints) Check that the column of the constraint are not hidden.
86 (AddForeignKeys) Check that the relation has constraints attach to it.
87 * XmlConstants.cs : Added constant.
89 2004-02-04 Eran Domb <erand@mainsoft.com>
91 * DataSet.cs : GetSchemaSerializable() return null and not BuildSchema().
92 DoWriteXmlSchema calls BuildSchema ().
94 2004-02-04 Lluis Sanchez Gual <lluis@ximian.com>
96 * DataRow.cs: Added SetOriginalValue(), which is used to set the original
98 * DataRowCollection.cs: In InsertAt(), perform the correct checks and
100 * DataSet.cs: Fixed method GetChanges(): Parent rows of modified rows must
101 also be added to the dataset.
102 In WriteTable(), do not write unchanged rows when writing the original
103 version of the table.
104 Added WriteIndividualTableContent(), for writing the contents of a single
106 Changed BuildSchema and related methods, so it can generate a schema for
107 any set of tables, not just the tables of the dataset (needed for
108 single datatable serialization).
109 * DataTable.cs: Implemented serialization constructor and GetObjectData method.
110 Also implemented some ReadXmlSchema methods.
111 * XmlDiffLoader.cs: Read and process the xml document directly from XmlReader,
112 instead of loading the full dataset in an XmlDocument. It is faster and
113 saves memory. Also fixed several problems when generating the changes.
114 * XmlSchemaMapper.cs: Support reading schemas for single tables (used by
115 table serialization).
117 2004-02-02 Eran Domb <erand@mainsoft.com>
119 * DataSet.cs : Add indentation to the xml serialization only if we create the XmlWriter.
120 Add the namespace attribute even if namespace is an empty string for inteoperability with MS.NET.
121 * DataTable.cs (NewRow): Create only one DataRowBuilder.
122 Initiate new row with row id -1.
123 * DataRow.cs : Add RowId property.
124 * DataRowBuilder.cs : Add _rowId member.
125 * DataRowCollection.cs (Add) : Use the RowId property of the new row to check if it is already exists in the collection.
127 2004-01-26 Eran Domb <erand@mainsoft.com>
129 * XmlConstants.cs : Added some constants.
130 * DataColumn.cs : Added a method to retrive AutoIncrement value.
131 * XmlDataLoader.cs : Set the value of the foriegn key column, according to the value of the
133 * XmlDiffLoader.cs : Convert the value comming from the xml.
134 * XmlSchemaMapper.cs (Read) : Set the DataSet namespace.
135 (ReadXmlSchemaSequence) : Change the logic that decides if this element is a column or a table.
136 (ReadXmlSchemaElement) : Set the locale of the dataset.
137 (ReadColumn) : Set the column type. Find if the column is AutoIncrement.
138 (GetColumnType) : New method to get the column type from the attribute value.
139 (ReadXmlSchemaUnique) : Improve parsing of XPath. Set the constraint as a PK if needed,
140 and add the constraint to the table.
141 (ReadXmlSchemaKeyref) : Improve parsing of XPath. Create the FK constraint and add it to
143 * DataSet.cs : Improving writing of unique constraints, and foriegn key constraint. Givving them the correct names.
144 Writing more information to the schema for interoperability with ms.net.
145 Improve diffgarm writing mode.
148 2004-01-21 Atsushi Enomoto <atsushi@ximian.com>
150 * TypedDataSetGenerator.cs : Implemented GenerateIdName().
152 2004-01-21 Eran Domb <erand@mainsoft.com>
154 * XmlDataLoader.cs (AddRowToTable) : Give thre new relation correct name.
155 Do not set the child column to be AutoIncrement.
156 Create the new column for the relation as MappingType.Hidden so they will not be serialized
157 when writing the dataset to xml.
159 2004-01-20 Atsushi Enomoto <atsushi@ximian.com>
161 * Added missing TypedDataSetGenerator.cs.
163 2004-01-08 Eran Domb <erand@mainsoft.com>
165 * XmlSchemaMapper.cs : Fix a bug. Check if table already in DataSet before adding it.
166 * DataSet.cs (ReadXml) : Fix bugs. Read correctly the xml file with XmlReadMode of DiffGram,
167 InferSchema, ReadSchema and IgnoreSchema.
168 * XmlDataLoader.cs : All modes use the same logic.
169 * XmlDiffLoader.cs : Adding BuildXmlDocument method to the class.
171 2004-01-06 Eran Domb <erand@mainsoft.com>
173 * DataRelationCollection.cs : Use IndexOf in indexer.
174 * DataSet.cs : Adding support for WriteXml with diffgram. Code style changes.
175 * XmlDataLoader.cs : Set the DataSet.enforceConstraints to false before loading the tables.
176 * XmlDiffLoader.cs : Reading nested tables.
177 * XmlSchemaMapper.cs : Reading the relation.
178 * XmlConstants.cs : Adding some constants.
180 2004-01-05 Jackson Harper <jackson@ximian.com>
182 * DataView.cs: Set readonly property of property descriptor. This
185 2004-01-01 Sanjay Gupta <gsanjay@novell.com>
187 * DataRelationCollection.cs : Fixed incorrect generation of default
189 * DataSet.cs : Added missing functionality in WriteXml().
190 * XmlConstants.cs : Added new constants.
192 2003-12-27 Atsushi Enomoto <atsushi@ximian.com>
194 * DataSet.cs : Fixed incorrect WriteXml() signature.
196 2003-12-18 Jackson Harper <jackson@ximian.com>
198 * DataView.cs: Implement AddNew, Delete, and OnListChanged.
200 2003-12-17 Atsushi Enomoto <atsushi@ximian.com>
202 * DataSet.cs, XmlDataLoader.cs : Table name should be encoded before
203 they take shape of xml. This fixed bug #52240
205 2003-12-16 Tim Coleman <tim@timcoleman.com>
206 * KeyRestrictionBehavior.cs:
207 New stubs added for .NET 1.2
211 2003-12-08 Eran Domb <erand@mainsoft.com>
212 * DataColumn.cs (Expression) : Validate the expression.
214 * DataRelationCollection.cs (IndexOf) : Added new method sensetive to case differences in relation name.
215 (Contains, IndexOf, this[], Add) : Call new IndexOf when needed.
217 * DataRow.cs (this[]) : Fix the condition for throwing RowNotInTableException.
218 (RejectChanges) : Detach row when state was Added.
219 (CollectionChanged) : Fix a bug.
221 * ExpressionElement (ValidateExpression) : Fix a bug.
223 * ForeignKeyConstraint.cs (AssertConstraint) : Added implementation. Check all rows from child table have
224 a parent row in the parent table.
225 (_validateColumns) : Fix bugs.
227 * MergeManager.cs (AdjustSchema) : Fix a bug.
229 * XmlDataLoader.cs (ReadModeInferSchema) : Change implementation. Now we can read nested xml, and we generate the relations
232 2003-11-30 Eran Domb <erand@mainsoft.com>
233 * DataColumnCollection.cs (this[string name]) : Use IndexOf to find the column.
234 (Add) : Find if the new column name is the same as the one found in IndexOf.
235 (IndexOf) : New method.
236 (Contains) : Use new IndexOf.
237 (IndexOf) : Use new IndexOf.
239 * DataRelationCollection.cs (DataRelationCollection.AddCore) : Add The Relation to the collection.
240 (DataSetRelationCollection.AddCore) : First add the UniqueConstraint.
242 * DataRow.cs (this[int columnIndex, DataRowVersion version]) : Change exceptions.
243 (Delete) : Detach row if the RowState was Added.
244 (GetChildRows) : Get the array form the ChildTable.
245 (GetParentRows) : Get the array from the ParenTable.
247 * DataRowCollection.cs (Remove) : Check if row state is Detached to avoid exception.
249 * DataSet.cs (IXmlSerializable.ReadXml) : Do not call MoveToContent and ReadEndElement - the XmlSerializationReader does it.
251 * DataTable.cs (PrimaryKey) : Fix bugs.
252 (Compute) : First call Select. Then create ExpressionAggregate to aggregate the Select result.
254 * DataTableCollection.cs (Add) : Fix a bug.
256 * ExpressionElement.cs (ValidateExpression) : Turning ValidateExpression to static.
257 (Result) : Added new interface to AggregateExpression that get DataRow[] as a param.
258 Some code style changes (tab instead of whit spaces, alignment, etc...).
260 * ForeignKeyConstraint.cs (_validateColumns) : Throw correct exception.
262 * MergeManager.cs (AdjustSchema) : Fix a bug.
266 2003-11-26 Miguel de Icaza <miguel@ximian.com>
268 * DataSet.cs: Add a few more missing methods, code style updated
271 2003-11-26 Tim Coleman <tim@timcoleman.com>
273 * ConflictOptions.cs DataAdapterException.cs DataTableReader.cs
274 * DbMetaData.cs FillOptions.cs IDataReader2.cs IDataRecord2.cs
275 * IDataUpdatableRecord.cs IDbAsyncCommand.cs IDbAsyncConnection.cs
276 * IDbExecutionContext.cs IGetTypedData.cs ISetTypedData.cs
277 * LoadOption.cs OperationAbortedException.cs ResultSetOptions.cs
278 * ResultSetSensitivity.cs StatementCompletedEventArgs.cs
279 * StatementCompletedEventHandler.cs UpdateOptions.cs:
280 New classes added for NET_1_2
281 * DBConcurrencyException.cs DataRelation.cs DataSet.cs DataTable.cs
282 * DataTableCollection.cs DataView.cs ForeignKeyConstraint.cs:
283 Modifications to add new NET_1_2 functions
285 2003-11-25 Tim Coleman <tim@timcoleman.com>
289 2003-11-21 Pedro Martínez Juliá <yoros@wanadoo.es>
291 * DataRow.cs: Detached row can be accesible (new rows from data
292 table are detached). Closes but #51263.
294 2003-11-19 Eran Domb <erand@mainsoft.com>
295 * DataRow.cs : Throw exceptions if Row is Detached.
296 (EndEdit) : Check that we are not in middle of ChangeEvent.
297 (AcceptChanges) : Detach the row.
299 * DataRelation.cs : throw correct exception.
300 *UniqueConstraint.cs : throw correct exception.
303 2003-11-09 Pedro Martínez Juliá <yoros@wanadoo.es>
305 * DataRow.cs: Use RemoveInternal instead of Remove because the last
306 one uses Delete and AcceptChanges.
308 * DataRowCollection.cs: When removing, Delete and AcceptChanges
309 method from the row are called. Added an internal method that will
310 be used by DataRow to "physically" remove the row from the list.
312 2003-11-09 Pedro Martínez Juliá <yoros@wanadoo.es>
314 * DataRowCollection.cs: To follow the specification: Remove and
315 RemoveAt should remove the row. But needed to call DeletingDataRow
316 to prepare the deleting.
318 * DataRow.cs: Don't call DeletingDataRow when it is called by the
319 method Table.Rows.Remove.
321 2003-11-09 Pedro Martínez Juliá <yoros@wanadoo.es>
323 * DataRowCollection.cs: Make the row be deleted by itself. If not,
324 it fails because we need to call OnRowDeleting and OnRowDeleted. It
325 is full implemented inside DataRow.
327 2003-11-05 Eran Domb <erand@mainsoft.com>
328 * DataView.cs (ctor) : Changing default RowStateFilter to CurrentRow.
330 2003-11-04 Eran Domb <erand@mainsoft.com>
331 * DataRow.cs (CheckChildRows) : Improving the implementation - checking child for all FK, and not
333 (GetChildRows) : Adding some checks.
334 (GetParentRows) : Adding some checks. Fix a bug in implementation.
335 (SetParentRow) : Added implementation.
337 * DataRowCollection.cs (Add) : Added more checks on the row added to the collection.
338 * DataTable.cs (Copy) : Set the During Loading flag to save unnecessary assertions.
339 * ForeignKeyConstraint.cs (AssertConstraint) : Fixing bugs in implementation. Checking for DBNull values in the row.
340 * MergeManager.cs : Check that the target table is not null.
342 2003-10-27 Eran Domb <erand@mainsoft.com>
343 * DataColumn.cs (DefaultValue) : Changing null value to DBNull. Checking that the type of the new default value
344 can be converted to the column type.
346 * DataRelationCollection.cs (AddCore) : Give the new FK the name of the relation.
348 * DataRow.cs (EndEdit) : Check if we need to validate the constraints.
349 (GetParentRows, GetChildRows) : Checking that the row has the wanted version, before accessing the row's value.
351 * DataRowCollection.cs (Add) : Fixing a bug.
352 (Clear) : Before clearing the array check that there is no violation of FK constraint.
354 * DataSet.cs (Prefix) : If value is null chage it to empty string.
355 (GetXml) : Removing the Processing Instructions from the xml string as in MS ADO.NET.
357 * ExpressionElement : Adding support for IN expresion.
359 * DataTable (CopyConstraints) : New method that copy the tables constraints to the copy table.
360 (Select) : Adding support for DataViewwRowState.
362 * ForeignKeyConstraint.cs (AssertConstraint) : Adding implementation.
364 * MergeManager.cs (MergeRow) : Fix bugs.
366 2003-10-27 Eran Domb <erand@mainsoft.com>
367 * DataRow.cs (SetColumnValue): Donot check null value when in midle of loading data.
368 check null values when ending loading data.
370 * DataSet.cs (RejectChanges) : Imlementation.
371 (Prefix) : If prefix was changed fire event. Check that the prefix is not null - if null,
372 change it to empty string.
374 * DataTable.cs (BeginLoadData, EndLoadData) : Impemantation.
376 2003-10-22 Eran Domb <erand@mainsoft.com>
377 * MergeManager.cs : Fixing bugs. Adding check for PrimaryKey matching.
379 * ConstraintCollection.cs (RamoveAt): Change implemntation.
381 * DataTableCollection (CanRemove): Removing cast to Constraint.
383 2003-10-22 Eran Domb <erand@mainsoft.com>
384 * DataRelationCollection.cs (AddCore): The unique constraint was added even if the createConstraints flag was false.
385 (Clear): The collection was cleared without removing the relation from the parent and child tables.
387 * DataSet.cs (Copy, Clone): The Relations of the DataSet were not copy.
388 (HasChanges, Reset): Imlementation.
390 * DataTable.cs (HasErrors): There is no flag for errors, instead the table ask her row if they have any errors.
\r
391 This is because the we do not no when to turn off the flag.
392 (Locale): Changing implementation to behave like ADO.NET.
393 (AcceptChanges): Fix bug.
394 (Clear): Check that this table is not referenced from a foreign key constraint.
395 (Copy): Do not try to access a deleted row.
396 (CopyProperties): Copy the PrimaryKey.
397 (GetChanges, ImportRow): Implementation.
398 (LoadDataRow): Adding implementation if the table has PrimaryKey.
399 (ToString): Changing implementation to behave like ADO.NET.
401 * UniqueConstraint.cs (AssertConstraint): support for Multiple DataColumns in the constraint.
403 * DataRow.cs (Ctor): In the constructor we initiate the current array, but we should initiate only the proposed array for new rows.
404 (HasErrors): Implementation.
405 (Delete): Added checking for child rows of the deleted row.
406 (EndEdit): Added checking for child row and firing events.
407 (GetColumnError): Added a check that the method will not return null, as in ADO.NET(an empty string is returned).
408 (GetColumnsInError): Added a check for null values in column error.
409 (HasVersion): Added special treatment for special RowState.
410 (CollectionChanged): More checks to avoid NullReferenceException.
412 * DataRowCollection.cs (Remove): Fix a bug.
\r
415 2003-10-01 Duncan Mak <duncan@ximian.com>
417 More patches from Eran Domb <erand@mainsoft.com>.
419 * MergeManager.cs: New file.
421 * DataRelationCollection.cs (AddCore): Check that a
422 UniqueConstraint is already exists. It loops over the Relations
423 instead of the Constraints.
424 (Add, AddCore): The relation was added twice.
426 * DataSet.cs (Merge, GetChanges, HasChanges): Implemented.
428 2003-09-30 Duncan Mak <duncan@ximian.com>
430 Patches from Eran Domb <erand@mainsoft.com>.
432 * DataRelation.cs (constructor): When the name of the relation is
433 null, it should return an empty, not "Relation".
435 * DataRow.cs (AcceptChanges): Added special case for
437 (CancelEdit): Set editing flag to false.
438 (IsNull): Check that the value is DBNull.
440 * DataRowCollection.cs (Add): There was no check that the table of
441 the collection is owned by a DataSet.
443 * DataSet.cs (OnMergeFailed): Added.
445 * UniqueConstraint.cs (AssertConstraint): There was no check that
446 values in the row are not null, where it is a primary key
447 column. Also check that the row has a proposed version, if not,
448 get the current version when we compare the rows.
450 2003-09-25 Duncan Mak <duncan@ximian.com>
452 Patches from Eran Domb <erand@mainsoft.com>.
454 * DataColumn.cs (Unique): Implemented.
457 * ConstraintCollection.cs:
458 * ForeignKeyConstraint.cs (_ensureUniqueConstraintExists): Fixes
459 an Exception thrown. Details:
460 http://lists.ximian.com/archives/public/mono-devel-list/2003-September/002130.html
462 * DataRowCollection.cs (Add): There is no checking that there is
463 no violation of the unique constrains.
465 * UniqueConstraint.cs (AssertConstraint): There is no checking on
466 all columns in the constraint.
468 * DataTableCollection (Add): Correctly throw an Exception, more
470 http://lists.ximian.com/archives/public/mono-devel-list/2003-September/002117.html
471 (Remove, RemoveAt): Implemented.
473 2003-07-31 Duncan Mak <duncan@ximian.com>
475 * DBConcurrencyException.cs: Added new NET_1_1 no-param constructor.
477 2003-07-25 Ravi Pratap <ravi@ximian.com>
479 * DataRelation.cs (OnPropertyChanging): Calling the 'Invoke'
480 method on a delegate is disallowed - fix this.
482 2003-07-22 Lluis Sanchez Gual <lluis@ximian.com>
484 * DataSet.cs: Implemented IXmlSerializable interface. Added basic support for
485 xml serialization. Modified method of writing schema. Now it creates
486 a XmlSchema object and serializes it using XmlSerializer.
487 * XmlConstants.cs: Added constants for data type names.
488 * XmlDataLoader.cs: Fixed deserialization of data. Now converts data to the
489 type specified in the column.
491 2003-04-20 Alan Tam <Tam@SiuLung.com>
493 * DataRelationCollection.cs: Fix a bug that prevent relations
494 from being added via DataSet.
496 2003-04-12 Ville Palo <vi64pa@kolumbus.fi>
498 * UniqueConstraint.cs: one tiny fix.
500 2003-04-05 Ville Palo <vi64pa@kolumbus.fi>
502 * DataTable.cs: Remove UniqueConstraints when adding new ones
504 2003-04-04 Ville Palo <vi64pa@kolumbus.fi>
506 * DataColumnCollection.cs: Little 'case sensitive' fix
508 2003-04-04 Ville Palo <vi64pa@kolumbus.fi>
510 * DataRow.cs: AutoIncrement handling to Constructor
511 * DataRowCollection.cs: This doesnt need anymore AutoIncrements
513 2003-03-27 Ville Palo <vi64pa@kolumbus.fi>
515 * DataTable.cs: Some fixes to PrimaryKey etc...
516 * UniqueConstraint.cs: Little clean up
518 2003-03-27 Ville Palo <vi64pa@kolumbus.fi>
520 * DataTable.cs: Tiny fix to ToString () -method
522 2003-03-27 Ville Palo <vi64pa@kolumbus.fi>
524 * ConstraintCollection.cs: Little fix.
525 * DataColumn.cs: Added new internal method SetUnique()
526 * UniqueConstraint.cs: some little fixes
528 2003-03-26 Ville Palo <vi64pa@kolumbus.fi>
530 * DataRowCollection.cs: Bugfixes, implementation,...
532 2003-03-26 Ville Palo <vi64pa@kolumbus.fi>
534 * DataColumn.cs: If DataType if set to something else than short, int
535 or long and AutoIncrement is true, AutoIncrement is must set to false.
537 2003-03-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
540 (BeginEdit): fixed array bound problem when a column has been added.
541 (EndEdit): just assign proposed to current as proposed is set to null.
542 This also fixes another array boudn problem.
544 2003-03-21 Alan Tam <Tam@SiuLung.com>
546 * DataRow.cs: Fixed problems in accessers, BeginEdit, CancelEdit,
547 EndEdit and AcceptChanges to act correctly according to DataRowState
549 * DataRowCollection.cs: Call AttachRow and DetachRow when a row is
550 attached and detached from the collection.
552 2003-03-20 Alan Tam <Tam@SiuLung.com>
554 * DataColumn.cs: Store empty string for Expression when null is passed in.
555 Classes generated by XSD.exe passes null by default.
557 2003-03-16 Ville Palo <vi64pa@kolumbus.fi>
559 * DataColumnCollection.cs: Tiny clean up
561 2003-03-16 Ville Palo <vi64pa@kolumbus.fi>
563 * DataColumn.cs: little fixes.
564 * DataColumnCollection.cs: Lots of little fixes and improvments.
566 2003-03-12 Alan Tam <Tam@SiuLung.com>
568 * DataSet.cs: Fixed a bug that the file written does not close correctly.
570 2003-03-08 Alan Tam <Tam@SiuLung.com>
572 * DataRelationCollection.cs: Removed the mis-overridden methods
573 * DataRow.cs: Fixed an attribute
574 * DataSet.cs: Fixed the modifiers
576 2003-03-06 Aleksey Demakov <avd@openlinksw.com>
578 * DataTableCollection.cs: The Contains (string name),
579 IndexOf (string name) methods, and item[string name] indexer
580 now behave more like .NET with respect to case-sensitivity.
581 That is if there is an exactly matching item then this one is used.
582 If there is only one item differing in case then it used.
583 If there are more than one item differing in case then
584 Contains returns false, IndexOf returns -1, and item[]
585 throws an ArgumentException.
587 2003-02-28 Ville Palo <vi64pa@kolumbus.fi>
589 * ExpressionElement.cs: More implementation.
591 2003-02-28 Alan Tam <Tam@SiuLung.com>
592 * DataSet.cs: Changed WriteTable so that it now calls the newly written
593 WriteObjectXml to direct the call to the respective XmlConvert method.
594 This fixes the wrong format written to XML files of bool, float,
595 double, DateTime and TimeSpan types.
597 2003-02-25 Alan Tam <Tam@SiuLung.com>
599 * DataRelation.cs: Added SetDataSet for DataSetRelationCollection to use.
600 * DataRelationCollection.cs: Implemented AddRange and Contains.
601 Implemented AddRange, Clear, List and RemoveCore for DataSetRelationColletion.
602 Implemented AddCore, List and RemoveCore for DataTableRelationCollection.
603 Reimplemented most Add methods to eliminate duplicated checks.
604 Centralized RelationName generation procedure in GetNextDefaultRelationName.
606 2003-02-25 Alan Tam <Tam@SiuLung.com>
608 * DataColumn.cs: Fixed wrong storage representation of Expression
609 (using empty string instead of null) so that ToString() returns nothing.
610 * DataColumnCollection.cs: Reimplemented GetNextDefaultColumnName so that
611 auto column naming now works as expected. Reimplemented some Add methods
612 to eliminate code duplication.
614 2003-02-19 Ville Palo <vi64pa@kolumbus.fi>
616 * DataTable.cs: DataTable.CaseSensitive follows parent
617 DataSet.CaseSensitive property if DataTable.CaseSensitive has never
618 been changed directly from DataTable
620 2003-02-19 Ville Palo <vi64pa@kolumbus.fi>
622 * DataSet.cs: When CaseSensitive property is changed all of the Tables
623 of DataSet have to change too
625 2003-02-19 Daniel Morgan <danmorg@sc.rr.com>
627 * InternalDataCollectionBase.cs: revert change to field
633 * DataSet.cs: commented use of DesignerAttribute
634 because it broke the build. According to MSDN,
635 DesignerAttribute does not have a zero-argument constructor
637 2003-02-18 Ville Palo <vi64pa@kolumbus.fi>
639 * DataColumnCollectin.cs: Little fix for indexer and case sensitivity
641 2003-02-18 Alan Tam <Tam@SiuLung.com>
643 * DataRow.cs: Implemented GetParentRow and GetParentRows.
644 * DataSet.cs: Added stub for HasChanges, InferXmlSchema,
645 OnPropertyChanging, OnRemoveRelation, OnRemoveTable,
646 RaisePropertyChanging.
647 * DataTable.cs: Implemented NewRowArray.
648 * DataTablePropertyDescriptor: Fixed a modifier.
649 * InternalDataCollectionBase.cs: Fixed modifiers. Implemented SyncRoot.
650 * PropertyCollection.cs: Minor fix.
651 * ConstraintCollection.cs DataColumn.cs DataColumnCollection.cs
652 * DataRelation.cs DataRelationCollection.cs DataRow.cs
653 * DataRowCollection.cs DataRowState.cs DataSet.cs DataTable.cs
654 * DataTableCollection.cs DataTablePropertyDescriptor.cs DataView.cs
655 * DataViewManager.cs DataViewRowState.cs DataViewSettingCollection.cs
656 * ForeignKeyConstraint.cs InternalDataCollectionBase.cs
657 * PropertyCollection.cs UniqueConstraint.cs: Added missing attributes
659 2003-02-08 Ville Palo <vi64pa@koti.soon.fi>
661 * ExpressionElement.cs: More implementation
663 2003-02-05 Alan Tam <Tam@SiuLung.com>
665 * DataSet.cs: Added framework for DataSet.Update Implemented missing
666 methods GetSchemaSerializable, GetSerializationData,
667 ReadXmlSerializable, ShouldSerializeRelations and ShouldSerializeTables
669 * DataTable.cs: Implemented missing methods CreateInstance and
670 GetRowType for DataTable
672 2003-02-03 Ville Palo <vi64pa@koti.soon.fi>
674 * DataSet.cs: Implemented private method MapType for
675 mapping datatypes for XmlSchema
677 2003-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
679 * DataView.cs: implemented Dispose.
681 2003-01-30 Ville Palo <vi64pa@koti.soon.fi>
683 * ExpressionElement.cs: Added new file. This file is for parsing
684 and DataData.Select () -methods and DataColumn.Expression -property
685 * DataTable.cs: Implemented Select(string) -method
687 2003-01-28 Ville Palo <vi64pa@koti.soon.fi>
689 * DataSet.cs: One little fix to writing xml
691 2003-01-27 Ville Palo <vi64pa@koti.soon.fi>
693 * XmlSchemaMapper.cs: Some fixes.
694 * DatSet.cs: Some XmlFixes and BeginInit ()/ EndInit () -fix
697 2003-01-24 Ville Palo <vi64pa@koti.soon.fi>
699 * UniqueConstraint.cs: Do not set columns Unique property true
701 * ForeignKeyConstraint.cs: Add UniqueConstraint to parent Table
703 2003-01-18 Ville Palo <vi64pa@koti.soon.fi>
705 * DataTableCollection.cs: Now names new DataTable if it doesn't
708 2003-01-17 Ville Palo <vi64pa@koti.soon.fi>
710 * XmlSchemaMapper.cs: Improvments.
711 * XmlConstaints.cs: Added more constants.
712 * DataSet.cs: Improvments of reading and writing xml
713 * DataColumn.cs: Added default values of properties.
715 2003-01-14 Ville Palo <vi64pa@koti.soon.fi>
717 * XmlSchemaMapper.cs: Some improvments
719 2003-01-13 Ville Palo <vi64pa@koti.soon.fi>
721 * DataRowCollection.cs: Added IndexOutOfRangeException
722 * DataTableCollection.cs: Added OnCollectionChanging and
723 OnCollectionChanged events.
724 * DataSet.cs: Many fixes. Implemented Clone () and Copy () -methods
725 * DataTable.cs: Implemented Copy () and Clone () methods.
726 * XmlDataLoader.cs: some fixes.
727 * XmlSchemaMapper.cs: comments.
729 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
731 * DataColumnPropertyDescriptor.cs: store columnIndex in the .ctor.
733 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
735 * DataColumnPropertyDescriptor.cs: fixed typo.
736 * DataViewManagerListItemTypeDescriptor.cs: added new internal property
737 to get the DataViewManager and removed TablePD class.
738 * DataTablePropertyDescriptor.cs: TablePD class is now this one as
739 suggested by danmorg.
741 2003-01-06 Ville Palo <vi64pa@koti.soon.fi>
743 * XmlDataLoader.cs: Moved diffgram stuff to new internal class
745 * XmlDiffLoader.cs: new class for diffgrams. Added handling of
746 diffgr:Errors and some fixes and changed XmlReader to XPathNavigator.
748 2003-01-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
750 * DataView.cs: made dataViewManager internal.
751 * DataViewManager.cs: use ICustomTypeDescriptor. We don't want the
752 properties of the object, but the values of the columns present in a
755 * DataViewManagerListItemTypeDescriptor.cs: implemented GetProperties,
756 which returns a PropertyDescriptorCollection. Created a new class
757 derived from PropertyDescriptor that treats Table as an object whose
758 properties are DataRowView.
760 2003-01-04 Ville Palo <vi64pa@koti.soon.fi>
762 * XmlSchemaMapper.cs: Added handling for Constraints, Attributes.
764 2003-01-04 Ville Palo <vi64pa@koti.soon.fi>
766 * DataColumn.cs: ExtendedProperties is by default !null-
768 2003-01-04 Ville Palo <vi64pa@koti.soon.fi>
770 * DataColumnCollection.cs: Add (DataColumn Column) -method didn't
771 set column's ordinal.
773 2003-01-02 Ville Palo <vi64pa@koti.soon.fi>
776 * XmlDataLoader.cs: XmlReader closing fixes.
777 * XmlSchemaReader.cs: Added support for ref=
779 2003-01-01 Ville Palo <vi64pa@koti.soon.fi>
782 - Added XmlReader and XmlWriter Closing.
783 - Moved ReadXmlSchema stuff to new internal class XmlSchemaMapper.
785 - Much better way IMHO to map xmlschema than the old one in
786 DataSet.cs. Its, more flexible, cleaner, ...
788 2002-12-29 Ville Palo <vi64pa@koti.soon.fi>
790 * XmlDataLoader.cs: Reading diffgrams.
792 2002-12-29 Ville Palo <vi64pa@koti.soon.fi>
794 * DataRow.cs: Little fix to indexer and DataColumnCang* trigger fixes.
795 * DataTable.cs: Added ChanginDataColumn () for triggering
796 DataColumnChanging event
798 2002-12-28 Ville Palo <vi64pa@koti.soon.fi>
800 * DataSet.cs: Indentations to WriteXmlSchema () and one little fix
802 2002-12-28 Ville Palo <vi64pa@koti.soon.fi>
804 * DataSet.cs: Indentations to WriteXml ()
806 2002-12-27 Ville Palo <vi64pa@koti.soon.fi>
809 * XmlDataLoader.cs: Moved ReadXml -stuff from DataSet.cs to new
810 class XmlDataLoader.cs
812 2002-12-19 Ville Palo <vi64pa@koti.soon.fi>
814 * DataSet.cs Implemented ReadXml with XmlReadMode.ReadSchema
816 2002-12-18 Ville Palo <vi64pa@koti.soon.fi>
818 * DataSet.cs: Started to implement ReadXml-methods.
820 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
822 * DataSet.cs: implemented DefaultViewManager and GetList.
824 * DataViewManager.cs: a bit of work on IList and ITypedList needed by
825 DataList in System.Web.
827 * DataViewManagerListItemTypeDescriptor.cs: custom type descriptor for
830 2002-12-16 Ville Palo <vi64pa@koti.soon.fi>
833 * DataTable.cs: Fixed NullException (rollback -event)
834 * DataSet.cs: WriteXml -method does not anymore write <?xml... row.
836 2002-12-15 Ville Palo <vi64pa@koti.soon.fi>
839 * DataRowCollection.cs: Moved event triggering from DataRow to
842 2002-12-09 Ville Palo <vi64pa@koti.soon.fi>
844 * DataSet.cs: Little fix to WriteTable () -method
845 and DoReadXmlSchema () -method.
847 2002-12-06 Ville Palo <vi64pa@koti.soon.fi>
849 * DataSet.cs: Clean up to reading xmlschema. This looks much better
850 now (work better too), but it not working correctly yet.
852 2002-12-04 Ville Palo <vi64pa@koti.soon.fi>
855 * DataRowCollection.cs: Added some event handlins stuff.
856 * DataSet.cs: Some fixes.
857 * DataTable.cs: Added event handlers.
859 2002-11-30 Ville Palo <vi64pa@koti.soon.fi>
861 * DataRowChangeEventArgs.cs: Implemented Action and Row properties
863 2002-11-30 Ville Palo <vi64pa@koti.soon.fi>
865 * System.Data/DataRow.cs: Added internal property XmlDataID
867 2002-11-29 Ville Palo <vi64pa@koti.soon.fi>
869 * DataSystem.Data.DataTableCollection.cs:
870 Removed HashTable. There could be situations where DataTable
871 is added to collection before it hava TableName. So using
872 HashTable is impossible.
874 2002-11-19 Carlos Guzmán Álvarez <carlosga@telefonica.net>
876 * DataRow.cs: an object that is equal to null
877 should be allowed to be set in this indexer too
880 2002-11-06 Daniel Morgan <danmorg@sc.rr.com>
882 * DataColumnPropertyDescriptor.cs: added file
884 * System.Data/DataRowView.cs: started implementation
886 * DataTable.cs: stubbed more interfaces. Implemented
887 IListSource.GetList()
889 * DataView.cs: stubbed more interfaces. Implemented
890 some properties and methods: GetEnumerator(),
891 ITypedList.GetItemProperties, Item indexer, CopyTo()
893 2002-05-18 Nick Drochak <ndrochak@gol.com>
895 * DataRow.cs: Fix typo.