1 2004-05-15 Atsushi Enomoto <atsushi@ximian.com>
3 * CustomDataClassGenerator.cs :
4 Added property parent "[foo]Row" and children "Get[foo]Row" support
5 for custom DataRow classes.
6 Fixed DataColumn property accessibility (public --> internal).
8 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
10 * CustomDataClassGenerator.cs :
11 - Put classes inside custom DataSet class.
12 - Added automatic DataRelation creation support.
13 - Added Constraints creation support. That is done separate from
14 relations, since they might be independently created.
15 - Added non-MS public DataRelation fields.
16 - Removed extraneous "DataRelation type generation" code.
17 - Fixed custom_dataset.Initialize() not to create "c" field that
18 was created more than once.
19 - Implemented AddxxxRow() that takes parameters for every column.
21 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
23 * XmlSchemaDataImporter.cs : When primary key is used more than once,
24 DataRelation borked because of empty parent column name.
26 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
28 * XmlSchemaDataImporter.cs : When Creating constraints with related
29 to DataRelation creation, also set PrimaryKey to the parent table.
31 2004-05-14 Atsushi Enomoto <atsushi@ximian.com>
33 * XmlSchemaDataImporter.cs :
34 Design change to add indirect table and relation structures.
35 Support for "relation" annotation for local element.
36 Support for repeatable simple element column (maxOccurs > 1).
37 Fixed handling of Nested property on DataRelation (for globally
38 annotated relation, Nested is false).
40 2004-05-13 Atsushi Enomoto <atsushi@ximian.com>
42 * DataRow.cs : Added DataElement property to avoid storing every row-
43 element mapping. It stored even for nodes that should be removed.
45 2004-05-13 Umadevi S <sumadevi@novell.com>
47 * RelationshipConverter.cs - Stubbed this class
48 * DataRelation.cs - added TypeConveterAttribute
50 2004-05-13 Umadevi S <sumadevi@novell.com>
52 * DataColumnCollection.cs - Added ResDescriptionAttribute
53 * DataRelation.cs - Added TypeConverterAttribute
54 * DataRelationCollection.cs - Added DefaultPropertyAttribute
55 * DataRowView.cs - Added GetHashCode method with a TODO tag
56 * DataSet.cs - Added DesignerAttribute
57 * DataView.cs - Added DesignerAttribute
58 * DataViewManager.cs - Added DesignerAttribute
59 * DataViewSetting.cs - Added TypeConverterAttribute
61 2004-05-12 Atsushi Enomoto <atsushi@ximian.com>
63 * DataRow.cs : Added XmlDataElement initialization code.
65 2004-05-11 Atsushi Enomoto <atsushi@ximian.com>
67 * XmlDataInferenceLoader.cs :
68 It now requires XmlDocument as input. Improved identification of
69 DataSet element. Removed extra lines.
70 Moved boresome design notes to bottom of the source and
71 added standalone runnable driver (not included on build).
73 Update with related to the change above.
74 WriteXml() should call Flush() after writing. This fixes bug #58327.
75 * XmlSchemaDataImporter.cs :
76 Improved indentification of DataSet element.
78 2004-05-11 Gert Driesen (drieseng@users.sourceforge.net)
79 * DataTable: marked initStatus enum internal
81 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
82 * DataTable.cs: removed TypeConverterAttribute, marked RowsExist
84 * DataRowView.cs: removed extra Error property
85 * DataRow.cs: reduced accessibility of CollectionChanged method
87 * DataColumnPropertyDescriptor.cs: made class internal
88 * DataColumn.cs: removed extra TypeConvertorAttribute
89 * ConstrainCollection.cs: marked PostEndInit method internal
91 2004-05-07 Atsushi Enomoto <atsushi@ximian.com>
94 In WriteXmlSchema(), when complex type contains simple type content
95 attributes must not added to XmlSchemaComplexType directly. It
96 causes schema compilation error.
97 DataRelation should not be output when related columns are hidden.
99 2004-05-07 Atsushi Enomoto <atsushi@ximian.com>
101 * XmlDataInferenceReader.cs : Added. It does InferXmlSchema() (it is
102 also expected to do ReadXml(), but I will remove that feature and
103 support column reordering).
104 * XmlSchemaDataImporter.cs : Always initialize dataset name.
105 Always set Nested and primary key for parent table.
106 * XmlDataReader.cs : Now it is used.
107 Top level element might not match to dataset name nor any table
108 name, but still possible to read content tables.
109 Handle empty element correctly in some places.
110 Handle Fragment mode (read up XmlReader to the end).
111 * DataSet.cs : Modified InferXmlSchema() and ReadXml() to use
112 XmlDataInferenceLoader and XmlDataReader.
114 2004-05-06 Atsushi Enomoto <atsushi@ximian.com>
117 Eliminated CRLF injection.
118 More clear message in Clear().
119 Updates reflecting XmlSchemaDataImporter change.
120 Added duplicate check for XmlSerializerNamespaces in BuildSchema().
121 Don't use xmlns attribute for UnhandledAttributes (its not mandatory
122 but that depends on different behavior from ms.net).
123 Set locale also for DataTable.
124 Add xs:element only when target namespace matches to the
125 element's namespace. Otherwise, add xs:import for external namespace.
126 Put xs:sequence for dataset element's particle _only when_ actual
129 2004-05-06 Atsushi Enomoto <atsushi@ximian.com>
131 * XmlDataReader.cs : Added. This class will work better when our
132 schema inference and schema read engine gets improved. (It contains
133 standalone testable Driver class.)
135 2004-05-06 Atsushi Enomoto <atsushi@ximian.com>
137 * ForeignKeyConstraint.cs : Check step change. Existence then column
138 validity. just for tests.
139 * XmlSchemaDataImporter.cs : code simplification. reduced extraneous
142 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
144 * DataSet.cs : Ignore empty content only when output type is diffgram.
146 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
148 * CustomDataClassGenerator.cs : Modified that DataSet contains each
149 DataTable field so that each table property can access them directly.
150 (plus, modified standalone code driver code: shouldn't affect)
152 2004-05-05 Boris Kirzner <borisk@mainsoft.com>
154 * DataView.cs , DataRowView.cs : Added implementation to basic methods and properties.
156 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
158 * XmlSchemaDataImporter.cs :
159 SimpleContent column support.
160 Annotated relation support.
161 Top-level element is counted only when its type is complex.
162 xs:anyType is no longer treated as complex type.
163 dataset existence is mandatory now.
164 Improved DataType and DefaultValue support.
165 Attribute namespace is properly handled now.
166 Prohibited attribute is now treated as hidden column.
167 Reject list or union simple type.
169 Still incomplete 1) to read relationship in some cases, 2) to
170 determine whether an element is dataset or table, 3) thus to
171 exclude extraneous column, 4) to remove extraneous *_Id column.
173 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
176 We had better reuse DataSet's ReadXmlSchema() and ReadXml() in
177 serialization .ctor() (thus schema read/inference should be easier).
178 DataRowSorter should consider Table's Locale.
180 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
182 * DataColumnCollection.cs : We already had AutoIncrementValue(), so
183 use it instead of duplicating logic.
185 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
187 * ConstraintCollection.cs :
188 Use Table.CaseSensitive and Table.Locale to compare strings.
189 Duplicate constraint name exception does not occur under .NET 1.1.
191 2004-05-04 Lluis Sanchez Gual <lluis@ximian.com>
193 * XmlSchemaDataImporter.cs: Added little type check.
195 2004-05-04 Lluis Sanchez Gual <lluis@ximian.com>
197 * DataSet.cs: Implemented support for runtime serialization. Fixed support
198 for xml serialization.
199 * XmlDiffLoader.cs: Skip diffgram element when it is empty.
201 2004-04-30 Umadevi S <sumadevi@novell.com>
202 * DataColumnCollection.cs : Fixed nunit test errors, removed TODOs
203 * DataTableCollection.cs : Tested and removed TODO
204 * TypedDataSetGeneratorException.cs : Fixed a couple of TODOs
206 2004-04-29 Atsushi Enomoto <atsushi@ximian.com>
208 * DataRow.cs : My previous patch unintentionally reverted Boris patch.
210 2004-04-29 Boris Kirzner <borisk@mainsoft.com>
212 * UniqueConstraint.cs : Constraint columns becaomes unique after adding constraint ifand only if
213 constraint is defined on single column.
215 2004-04-29 Atsushi Enomoto <atsushi@ximian.com>
217 * DataRowCollection.cs : .NET 1.1 throws InvalidConstaintException,
218 not ArgumentException (maybe changed after 1.1).
220 2004-04-29 Atsushi Enomoto <atsushi@ximian.com>
222 * DataRow.cs : When Column was added and it was AutoIncrement column,
223 it extended the item object array incorrectly.
224 (Plus tiny comment and incorrect indentation fix.)
226 2004-04-29 Boris Kirzner <borisk@mainsoft.com>
228 * MergeManager.cs : added ( incomplete yet ) support for merging DataSet schema.
230 2004-04-29 Boris Kirzner <borisk@mainsoft.com>
232 * DataRow.cs : Bug fix in CopyValuesToRow().
234 2004-04-29 Boris Kirzner <borisk@mainsoft.com>
236 * UniqueConstraint.cs : There is no reason to mark constraint's columns as unique, because
237 each of the columns should not be unique, but only all the constraint's columns together.
239 2004-04-28 Boris Kirzner <borisk@mainsoft.com>
242 - Added using of list of autoIncrement columns
243 - SetColumnValue receives also DataColumn to avoid duplicate lookup in DatacolumnCollection
244 - Fix in CheckNullConstraints
245 - Fix in this[] and HasVersion() : when evaluating an expression deleted rows values can be accessed.
246 - Fix in SetColumnValue() , added CanAccess() method to avoid case of accessing internal array values berore it actually allocated.
247 - Added onColumnRemoved() method to threat column removal accurately.
249 * DataRowCollection.cs :
250 - Added using of DataRow._nullConstraintViolation (for perfomance fix in EndLoadData())
251 - Added method onColumnRemoved() - calls each row's onColumnRemoved() (to ensure column removal is treated accurately)
254 - Call DataRowCollection.onColumnRemoved() in OnRemoveColumn() (to ensure column removal is treated accurately)
256 * DataColumnCollection.cs :
258 - collection holds a list of its autoIncrement columns (avoids unnesessary lookup through whole collection)
259 - collection holds mapping from column names to DataColumn objects (avoids lookup through whole collection).
260 - automatic creation of column names rewrited (bug fixes + perfomance improvement)
263 - Uses autoincrement list of a table
265 2004-04-27 Atsushi Enomoto <atsushi@ximian.com>
267 * XmlDataLoader.cs : Even when it should ignore schema, it was
269 * XmlSchemaDataImporter.cs : DataRelation creation support.
270 Improved "DataSet" element handing. When attributes are on the
271 element, it is not a "DataSet" element.
272 Fixed parent key column name.
273 Unique name creation is not required. Just raise an error.
274 Fill facet also for attribute types.
276 2004-04-27 Atsushi Enomoto <atsushi@ximian.com>
278 * DataRow.cs : Null check for CheckReadOnlyStatus() and
279 CheckNullConstraints(), with some coding guideline fixes.
280 Type check should be done by Type instance comparison.
282 2004-04-27 Atsushi Enomoto <atsushi@ximian.com>
284 * DataColumnCollection.cs : When add a column to the collection, fill
285 auto-increment column.
287 2004-04-26 Boris Kirzner <borisk@mainsoft.com>
289 * DataColumn.cs : Small perfomance fix (avoid unnesessary string concatenation).
291 2004-04-26 Atsushi Enomoto <atsushi@ximian.com>
293 * CustomDataClassGenerator.cs : Added.
294 * TypedDataSetGenerator.cs : Implemented Generate().
295 Changed GenerateIdName() to call CustomDataClassGenerator.MakeSafeName
296 * XmlSchemaDataImporter.cs : Table Locale should be supplied.
298 2004-04-25 Boris Kirzner <borisk@mainsoft.com>
300 * DataTable.cs : Small perfomance fix (avoid unnesessary string concatenation).
302 2004-04-25 Boris Kirzner <borisk@mainsoft.com>
304 * Constraint.cs : Small perfomance fix (avoid unnesessary string concatenation).
306 2004-04-23 Umadevi S (sumadevi@novell.com)
307 * DataRow.cs: Checked BeginEdit,EndEdit,CancelEdit and Delete methods
308 - Added error handling to the above methods
310 2004-04-22 Atsushi Enomoto <atsushi@ximian.com>
312 * DataSet.cs : Data should be read when mode is IgnoreSchema (well,
313 the support is incomplete yet).
315 Reverted ReadModeSchema() argument change. XmlReadMode would be
316 useful to handle IgnoreSchema.
317 Don't overwrite DataSetName when mode is not such kind.
318 Set Prefix and Namespace as well as DataSetName.
319 AllowDBNull looks set false by default for element column.
320 Set unique constraint as primary key when infering the table schema.
322 2004-04-21 Atsushi Enomoto <atsushi@ximian.com>
325 Never set null string for Prefix and Namespace.
326 In InferXmlSchema() when null XmlReader is passed, just do nothing.
327 In WriteXmlSchema(string), earlier try block.
328 In BuildSchema(), try to add serialization namespaces for each
329 namespaces in DataSet/DataTable/DataColumn.
330 Removed namespace argument from WriteColumnAsElement() and don't
331 overwrite when namespace is "". This fixes bug #57330.
332 * DataColumn.cs : For Namespace and Prefix, never set null.
334 2004-04-21 Boris Kirzner <borisk@mainsoft.com>
336 * XmlSchemaMapper.cs : Check for not null unique constraint in ReadXmlSchemaKeyref()
337 before creating and adding foreign key constraint and relation.
339 2004-04-21 Boris Kirzner <borisk@mainsoft.com>
341 * MergeManager.cs : In AdjustSchema() source table clone should be added
342 and not the table itself.
344 2004-04-21 Boris Kirzner <borisk@mainsoft.com>
347 - CaseSensitive : Additional fix (removed unnesessary assignment).
348 - CopyProperties : Do not try to copy ExtendedProperties if the collection is empty.
350 2004-04-21 Boris Kirzner <borisk@mainsoft.com>
352 * DataTable.cs : Ensure that DataSet property is not null before using it in Clear().
354 2004-04-20 Boris Kirzner <borisk@mainsoft.com>
357 - EndLoadData() : perfomance fix in case of null constraint violation
358 during data load (also in DataRow.cs).
359 - CaseSensitive : If DataTable belongs to DataSet it should always use
360 DataSet.CaseSensitive untill explicitly changed.
361 - CopyProperties() : do not try to copy ExtendedProperties if the collection is empty.
364 - Pefromance fix in case of null constraint violation
365 during data load (also in DataTable.cs).
366 - CollectionChanged() : use correct column number after new DataColumn was added
367 (differs in case some DataColumn was previosly removed).
368 - EndEdit() - throw away proposed values only after CheckChildRows() complete.
370 2004-04-20 Boris Kirzner <borisk@mainsoft.com>
372 * DataColumnCollection.cs : Since unique constraint is added now
373 in DataColumn.SetTable() the additional creation of constraint in
374 DataColumnCollection.Add() is redundant and causes exception - fixed.
376 2004-04-19 Atsushi Enomoto <atsushi@ximian.com>
378 * XmlDataLoader.cs : Added "never add data rows" mode.
379 Removed unused code. However, it is temporary fixes to unify
380 ReadXml() and InferXmlSchema().
381 * DataSet.cs : Implemented InferXmlSchema(), though it is incomplete.
383 I'll create another XmlDataLoader since there are many problems
384 such that 1) it is too waste to read the entire xml into an
385 XmlDocument, 2) it does not handle attributes correctly, and 3) it
386 must handle "ignored namespaces".
388 2004-04-19 Atsushi Enomoto <atsushi@ximian.com>
390 * Added XmlSchemaDataImporter.cs (new schema reader).
391 * DataSet.cs : Use XmlSchemaDataImporter (right now for DataSet only)
393 Let schema reading work to ReadXmlSchema().
394 Don't return ReadSchema when argument read mode was DiffGram.
396 2004-04-15 Umadevi S (sumadevi@novell.com)
397 * Updated Clone/Copy methods in DataSet along with Testcase
398 * ForeignKeyConstraint.cs - special ctor implemented
399 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).
400 * Changes in ConstraintCollection.cs for the above
401 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.
404 2004-04-15 Atsushi Enomoto <atsushi@ximian.com>
406 * XmlSchemaMapper.cs : set parent key and foreign key info to
407 DataRelation when reading refkey constraints.
408 Supply constraint name for fkey.
410 2004-04-15 Atsushi Enomoto <atsushi@ximian.com>
412 * XmlDataLoader.cs : Don't overwrite existing DataSetName. When read
413 mode is Auto, just ignore the schema if there is already schema info.
414 * DataSet.cs : Similarly ignore schema info for XmlReadMode = Auto.
416 2004-04-14 Atsushi Enomoto <atsushi@ximian.com>
419 - In MS output, XML declaration looks to have standalone decl (yes).
420 - ReadXml(reader) just calls to ReadXml(reader, XmlReadMode.Auto)
421 - ReadXml(reader, mode)
422 1) return originally specified mode, instead of (always) Auto.
423 2) Check empty reader.
424 3) Check diffgram schema and content separately.
425 4) When diffgram exists, remaining (the same-level) contents
427 5) Similar fact should be applied, but somewhat different.
428 InferSchema and IgnoreSchema just skips, Fragment reads both
429 schema and content, others just reads schema.
430 - Removed unused code.
432 - Read() should skip in some ReadMode.
433 - Don't compare schema element name as case-insensitive (well,
434 should schemas be checked here?)
435 - Avoided BuildDocument() not to create confusing DataSet
437 - Don't add any tables when reader has single element.
439 When target table was not found, MS.NET doesn't raise an error.
440 * XmlSchemaMapper.cs :
441 When XmlSchema.Read() left xml reader at </xs:schema>, read once.
443 2004-04-13 Atsushi Enomoto <atsushi@ximian.com>
446 - InferXmlSchema(): Throw explicit NotImplementedException now.
447 - Don't put XML declaration everywhere. Write just for filename arg.
448 - xmlns="" should not be written. Maybe WebService problem is
449 because default namespace is overwritten. This patch will keep
450 the WS problem away and actually fixes some unit tests (i.e. use
451 explicit String.Empty for null namespace in WriteStartElement()).
452 - MoveToContent() should always be called, not only when
453 LocalName="xml". It will ignore prolog (DTD, PI, comment etc.).
454 - Even XmlReadMode is DiffGram, reader might not be "diffgram"
455 element. As to MSDN, diffgram does not contain schema.
457 2004-04-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
459 * DataTable.cs: made _initStatus private so that System.Data is CLS
462 2004-04-13 Umadevi S <sumadevi@novell.com>
463 * UniqueConstraint.cs:
464 * ConstraintCollection.cs:
466 - Implemented a Constructor for UniqueConstraint.cs
467 - Used EndInit on DataTable to call a delegate which adds the
468 constraints passed to the most recent call of AddRange().Used
469 AddRange() on ConstraintCollection to check whether
470 DataTable.BeginInit has occurred. If yes, save the argument
471 constraint collection passed, then return. If no, Check whether the
472 constraints are of type UniqueConstraint and initialized with the
473 special constructor If yes Initialized the table property of this
474 UniqueConstraint object with table assosciated with the current
475 instance of ConstraintCollection class.
477 2004-04-07 Marek Safar <marek.safar@seznam.cz>
479 * Constraint.cs: changed ClsCompliant to CLSCompliant, build fix.
481 2004-04-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
484 * DataColumnCollection.cs:
485 * DataRelationCollection.cs:
486 * DataRowCollection.cs:
487 * DataTableCollection.cs:
488 * InternalDataCollectionBase.cs:
489 * Node.cs: CLS compliance for System.Data. Patch by Gert Driesen.
492 2004-04-05 Jackson Harper <jackson@ximian.com>
494 * DataTable.cs: Add rows to the row list if there is no filter.
496 2004-03-31 Juraj Skripsky <juraj@hotfeet.ch>
498 * DataColumn.cs : Setting Caption to null sets it to the empty string
499 (ms.net behaviour, testcase is in DataColumnTest).
501 * DataRow.cs : Evaluate DataColumn.Expression when such a column's
504 2004-03-30 Lluis Sanchez Gual <lluis@ximian.com>
506 * DataColumn.cs: In Expression setter, set the expression member even if
507 it is an empty string.
508 * DataSet.cs: Support serialization of byte[] columns.
509 * XmlDataLoader.cs: Support deserialization of Guid columns.
510 Set MappingType.Attribute to columns infered from attributes.
512 2004-03-29 Juraj Skripsky <juraj@hotfeet.ch>
514 * ExpressionElements.cs : remove
515 * DataColumn.cs, DataRelationCollection.cs, DataTable.cs :
516 Integration of new Mono.Data.SqlExpressions classes used in
517 DataTable.{Select, Compute}.
518 Fixes bug #55503 and lots of failures in DataTableTest.cs.
520 2004-03-28 Juraj Skripsky <juraj@hotfeet.ch>
522 * Index.cs: Simple fix in ComparePartialRowNonUnique.
523 This fixes bugs #56129 and #56014.
525 2004-03-25 Lluis Sanchez Gual <lluis@ximian.com>
527 * DataSet.cs: In WriteXml (string filename, XmlWriteMode mode), close the
528 stream after writing the dataset. This fixes bug #52581.
529 Also added several writer.Close into finally blocks, so writers are properly
530 closed in case of an exception.
532 2004-03-12 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
534 * Constraint.cs: DO NOT USE the consts scheme if types can be referenced directly!
535 * DataColumn.cs: DO NOT USE the consts scheme if types can be referenced directly!
536 * ColumnTypeConverter.cs: Added stub
537 * DefaultValueTypeConverter: Added stub
538 * ConstraintConverter.cs: Added stub
540 2004-03-04 Eran Domb <erand@mainsoft.com>
542 * XmlDataLoader.cs : Xml reading reviewed. Added support for additional xml formats as described
543 in MS.NET documentation (missing DataSet element etc).
545 2004-03-04 Eran Domb <erand@mainsoft.com>
548 * Index.cs : Rollback last changes.
550 2004-03-03 Atsushi Enomoto <atsushi@ximian.com>
552 * Index.cs : justa build fix.
554 2004-03-03 Eran Domb <erand@mainsoft.com>
557 * Constraint.cs, ForeignKeyConstraint.cs, UniqueConstraint, ConstraintCollection.cs, DataColumn.cs,
558 DataRow.cs, DataRowCollection.cs, DataSet.cs, DataTable.cs : Changes made for using indexes on tables.
559 This changes made for performance improvement.
561 2004-02-08 Eran Domb <erand@mainsoft.com>
563 * XmlSchemaMapper.cs : Read columns is they were written as SimpleContent or as Attributes.
565 2004-02-08 Eran Domb <erand@mainsoft.com>
567 * DataSet.cs: Fix some bugs in ReadXml().
569 2004-02-04 Lluis Sanchez Gual <lluis@ximian.com>
571 * DataSet.cs: Added missing method that broke the build.
573 2004-02-04 Eran Domb <erand@mainsoft.com>
575 * DataRowCollection.cs (InsertAt): Add a check for null row. Replace check of IndexOf with RowId for
577 * DataSet.cs (GetTableSchema) : Add supprot for simple content columns. Change the condition for a case
578 when all column are attributes (elements count is 0), we still want to add the relations. No relations
579 can be on simple contents.
580 (AddUniqueConstraints) Check that the column of the constraint are not hidden.
581 (AddForeignKeys) Check that the relation has constraints attach to it.
582 * XmlConstants.cs : Added constant.
584 2004-02-04 Eran Domb <erand@mainsoft.com>
586 * DataSet.cs : GetSchemaSerializable() return null and not BuildSchema().
587 DoWriteXmlSchema calls BuildSchema ().
589 2004-02-04 Lluis Sanchez Gual <lluis@ximian.com>
591 * DataRow.cs: Added SetOriginalValue(), which is used to set the original
593 * DataRowCollection.cs: In InsertAt(), perform the correct checks and
595 * DataSet.cs: Fixed method GetChanges(): Parent rows of modified rows must
596 also be added to the dataset.
597 In WriteTable(), do not write unchanged rows when writing the original
598 version of the table.
599 Added WriteIndividualTableContent(), for writing the contents of a single
601 Changed BuildSchema and related methods, so it can generate a schema for
602 any set of tables, not just the tables of the dataset (needed for
603 single datatable serialization).
604 * DataTable.cs: Implemented serialization constructor and GetObjectData method.
605 Also implemented some ReadXmlSchema methods.
606 * XmlDiffLoader.cs: Read and process the xml document directly from XmlReader,
607 instead of loading the full dataset in an XmlDocument. It is faster and
608 saves memory. Also fixed several problems when generating the changes.
609 * XmlSchemaMapper.cs: Support reading schemas for single tables (used by
610 table serialization).
612 2004-02-02 Eran Domb <erand@mainsoft.com>
614 * DataSet.cs : Add indentation to the xml serialization only if we create the XmlWriter.
615 Add the namespace attribute even if namespace is an empty string for inteoperability with MS.NET.
616 * DataTable.cs (NewRow): Create only one DataRowBuilder.
617 Initiate new row with row id -1.
618 * DataRow.cs : Add RowId property.
619 * DataRowBuilder.cs : Add _rowId member.
620 * DataRowCollection.cs (Add) : Use the RowId property of the new row to check if it is already exists in the collection.
622 2004-01-26 Eran Domb <erand@mainsoft.com>
624 * XmlConstants.cs : Added some constants.
625 * DataColumn.cs : Added a method to retrive AutoIncrement value.
626 * XmlDataLoader.cs : Set the value of the foriegn key column, according to the value of the
628 * XmlDiffLoader.cs : Convert the value comming from the xml.
629 * XmlSchemaMapper.cs (Read) : Set the DataSet namespace.
630 (ReadXmlSchemaSequence) : Change the logic that decides if this element is a column or a table.
631 (ReadXmlSchemaElement) : Set the locale of the dataset.
632 (ReadColumn) : Set the column type. Find if the column is AutoIncrement.
633 (GetColumnType) : New method to get the column type from the attribute value.
634 (ReadXmlSchemaUnique) : Improve parsing of XPath. Set the constraint as a PK if needed,
635 and add the constraint to the table.
636 (ReadXmlSchemaKeyref) : Improve parsing of XPath. Create the FK constraint and add it to
638 * DataSet.cs : Improving writing of unique constraints, and foriegn key constraint. Givving them the correct names.
639 Writing more information to the schema for interoperability with ms.net.
640 Improve diffgarm writing mode.
643 2004-01-21 Atsushi Enomoto <atsushi@ximian.com>
645 * TypedDataSetGenerator.cs : Implemented GenerateIdName().
647 2004-01-21 Eran Domb <erand@mainsoft.com>
649 * XmlDataLoader.cs (AddRowToTable) : Give thre new relation correct name.
650 Do not set the child column to be AutoIncrement.
651 Create the new column for the relation as MappingType.Hidden so they will not be serialized
652 when writing the dataset to xml.
654 2004-01-20 Atsushi Enomoto <atsushi@ximian.com>
656 * Added missing TypedDataSetGenerator.cs.
658 2004-01-08 Eran Domb <erand@mainsoft.com>
660 * XmlSchemaMapper.cs : Fix a bug. Check if table already in DataSet before adding it.
661 * DataSet.cs (ReadXml) : Fix bugs. Read correctly the xml file with XmlReadMode of DiffGram,
662 InferSchema, ReadSchema and IgnoreSchema.
663 * XmlDataLoader.cs : All modes use the same logic.
664 * XmlDiffLoader.cs : Adding BuildXmlDocument method to the class.
666 2004-01-06 Eran Domb <erand@mainsoft.com>
668 * DataRelationCollection.cs : Use IndexOf in indexer.
669 * DataSet.cs : Adding support for WriteXml with diffgram. Code style changes.
670 * XmlDataLoader.cs : Set the DataSet.enforceConstraints to false before loading the tables.
671 * XmlDiffLoader.cs : Reading nested tables.
672 * XmlSchemaMapper.cs : Reading the relation.
673 * XmlConstants.cs : Adding some constants.
675 2004-01-05 Jackson Harper <jackson@ximian.com>
677 * DataView.cs: Set readonly property of property descriptor. This
680 2004-01-01 Sanjay Gupta <gsanjay@novell.com>
682 * DataRelationCollection.cs : Fixed incorrect generation of default
684 * DataSet.cs : Added missing functionality in WriteXml().
685 * XmlConstants.cs : Added new constants.
687 2003-12-27 Atsushi Enomoto <atsushi@ximian.com>
689 * DataSet.cs : Fixed incorrect WriteXml() signature.
691 2003-12-18 Jackson Harper <jackson@ximian.com>
693 * DataView.cs: Implement AddNew, Delete, and OnListChanged.
695 2003-12-17 Atsushi Enomoto <atsushi@ximian.com>
697 * DataSet.cs, XmlDataLoader.cs : Table name should be encoded before
698 they take shape of xml. This fixed bug #52240
700 2003-12-16 Tim Coleman <tim@timcoleman.com>
701 * KeyRestrictionBehavior.cs:
702 New stubs added for .NET 1.2
706 2003-12-08 Eran Domb <erand@mainsoft.com>
707 * DataColumn.cs (Expression) : Validate the expression.
709 * DataRelationCollection.cs (IndexOf) : Added new method sensetive to case differences in relation name.
710 (Contains, IndexOf, this[], Add) : Call new IndexOf when needed.
712 * DataRow.cs (this[]) : Fix the condition for throwing RowNotInTableException.
713 (RejectChanges) : Detach row when state was Added.
714 (CollectionChanged) : Fix a bug.
716 * ExpressionElement (ValidateExpression) : Fix a bug.
718 * ForeignKeyConstraint.cs (AssertConstraint) : Added implementation. Check all rows from child table have
719 a parent row in the parent table.
720 (_validateColumns) : Fix bugs.
722 * MergeManager.cs (AdjustSchema) : Fix a bug.
724 * XmlDataLoader.cs (ReadModeInferSchema) : Change implementation. Now we can read nested xml, and we generate the relations
727 2003-11-30 Eran Domb <erand@mainsoft.com>
728 * DataColumnCollection.cs (this[string name]) : Use IndexOf to find the column.
729 (Add) : Find if the new column name is the same as the one found in IndexOf.
730 (IndexOf) : New method.
731 (Contains) : Use new IndexOf.
732 (IndexOf) : Use new IndexOf.
734 * DataRelationCollection.cs (DataRelationCollection.AddCore) : Add The Relation to the collection.
735 (DataSetRelationCollection.AddCore) : First add the UniqueConstraint.
737 * DataRow.cs (this[int columnIndex, DataRowVersion version]) : Change exceptions.
738 (Delete) : Detach row if the RowState was Added.
739 (GetChildRows) : Get the array form the ChildTable.
740 (GetParentRows) : Get the array from the ParenTable.
742 * DataRowCollection.cs (Remove) : Check if row state is Detached to avoid exception.
744 * DataSet.cs (IXmlSerializable.ReadXml) : Do not call MoveToContent and ReadEndElement - the XmlSerializationReader does it.
746 * DataTable.cs (PrimaryKey) : Fix bugs.
747 (Compute) : First call Select. Then create ExpressionAggregate to aggregate the Select result.
749 * DataTableCollection.cs (Add) : Fix a bug.
751 * ExpressionElement.cs (ValidateExpression) : Turning ValidateExpression to static.
752 (Result) : Added new interface to AggregateExpression that get DataRow[] as a param.
753 Some code style changes (tab instead of whit spaces, alignment, etc...).
755 * ForeignKeyConstraint.cs (_validateColumns) : Throw correct exception.
757 * MergeManager.cs (AdjustSchema) : Fix a bug.
761 2003-11-26 Miguel de Icaza <miguel@ximian.com>
763 * DataSet.cs: Add a few more missing methods, code style updated
766 2003-11-26 Tim Coleman <tim@timcoleman.com>
768 * ConflictOptions.cs DataAdapterException.cs DataTableReader.cs
769 * DbMetaData.cs FillOptions.cs IDataReader2.cs IDataRecord2.cs
770 * IDataUpdatableRecord.cs IDbAsyncCommand.cs IDbAsyncConnection.cs
771 * IDbExecutionContext.cs IGetTypedData.cs ISetTypedData.cs
772 * LoadOption.cs OperationAbortedException.cs ResultSetOptions.cs
773 * ResultSetSensitivity.cs StatementCompletedEventArgs.cs
774 * StatementCompletedEventHandler.cs UpdateOptions.cs:
775 New classes added for NET_2_0
776 * DBConcurrencyException.cs DataRelation.cs DataSet.cs DataTable.cs
777 * DataTableCollection.cs DataView.cs ForeignKeyConstraint.cs:
778 Modifications to add new NET_2_0 functions
780 2003-11-25 Tim Coleman <tim@timcoleman.com>
784 2003-11-21 Pedro Martínez Juliá <yoros@wanadoo.es>
786 * DataRow.cs: Detached row can be accesible (new rows from data
787 table are detached). Closes but #51263.
789 2003-11-19 Eran Domb <erand@mainsoft.com>
790 * DataRow.cs : Throw exceptions if Row is Detached.
791 (EndEdit) : Check that we are not in middle of ChangeEvent.
792 (AcceptChanges) : Detach the row.
794 * DataRelation.cs : throw correct exception.
795 *UniqueConstraint.cs : throw correct exception.
798 2003-11-09 Pedro Martínez Juliá <yoros@wanadoo.es>
800 * DataRow.cs: Use RemoveInternal instead of Remove because the last
801 one uses Delete and AcceptChanges.
803 * DataRowCollection.cs: When removing, Delete and AcceptChanges
804 method from the row are called. Added an internal method that will
805 be used by DataRow to "physically" remove the row from the list.
807 2003-11-09 Pedro Martínez Juliá <yoros@wanadoo.es>
809 * DataRowCollection.cs: To follow the specification: Remove and
810 RemoveAt should remove the row. But needed to call DeletingDataRow
811 to prepare the deleting.
813 * DataRow.cs: Don't call DeletingDataRow when it is called by the
814 method Table.Rows.Remove.
816 2003-11-09 Pedro Martínez Juliá <yoros@wanadoo.es>
818 * DataRowCollection.cs: Make the row be deleted by itself. If not,
819 it fails because we need to call OnRowDeleting and OnRowDeleted. It
820 is full implemented inside DataRow.
822 2003-11-05 Eran Domb <erand@mainsoft.com>
823 * DataView.cs (ctor) : Changing default RowStateFilter to CurrentRow.
825 2003-11-04 Eran Domb <erand@mainsoft.com>
826 * DataRow.cs (CheckChildRows) : Improving the implementation - checking child for all FK, and not
828 (GetChildRows) : Adding some checks.
829 (GetParentRows) : Adding some checks. Fix a bug in implementation.
830 (SetParentRow) : Added implementation.
832 * DataRowCollection.cs (Add) : Added more checks on the row added to the collection.
833 * DataTable.cs (Copy) : Set the During Loading flag to save unnecessary assertions.
834 * ForeignKeyConstraint.cs (AssertConstraint) : Fixing bugs in implementation. Checking for DBNull values in the row.
835 * MergeManager.cs : Check that the target table is not null.
837 2003-10-27 Eran Domb <erand@mainsoft.com>
838 * DataColumn.cs (DefaultValue) : Changing null value to DBNull. Checking that the type of the new default value
839 can be converted to the column type.
841 * DataRelationCollection.cs (AddCore) : Give the new FK the name of the relation.
843 * DataRow.cs (EndEdit) : Check if we need to validate the constraints.
844 (GetParentRows, GetChildRows) : Checking that the row has the wanted version, before accessing the row's value.
846 * DataRowCollection.cs (Add) : Fixing a bug.
847 (Clear) : Before clearing the array check that there is no violation of FK constraint.
849 * DataSet.cs (Prefix) : If value is null chage it to empty string.
850 (GetXml) : Removing the Processing Instructions from the xml string as in MS ADO.NET.
852 * ExpressionElement : Adding support for IN expresion.
854 * DataTable (CopyConstraints) : New method that copy the tables constraints to the copy table.
855 (Select) : Adding support for DataViewwRowState.
857 * ForeignKeyConstraint.cs (AssertConstraint) : Adding implementation.
859 * MergeManager.cs (MergeRow) : Fix bugs.
861 2003-10-27 Eran Domb <erand@mainsoft.com>
862 * DataRow.cs (SetColumnValue): Donot check null value when in midle of loading data.
863 check null values when ending loading data.
865 * DataSet.cs (RejectChanges) : Imlementation.
866 (Prefix) : If prefix was changed fire event. Check that the prefix is not null - if null,
867 change it to empty string.
869 * DataTable.cs (BeginLoadData, EndLoadData) : Impemantation.
871 2003-10-22 Eran Domb <erand@mainsoft.com>
872 * MergeManager.cs : Fixing bugs. Adding check for PrimaryKey matching.
874 * ConstraintCollection.cs (RamoveAt): Change implemntation.
876 * DataTableCollection (CanRemove): Removing cast to Constraint.
878 2003-10-22 Eran Domb <erand@mainsoft.com>
879 * DataRelationCollection.cs (AddCore): The unique constraint was added even if the createConstraints flag was false.
880 (Clear): The collection was cleared without removing the relation from the parent and child tables.
882 * DataSet.cs (Copy, Clone): The Relations of the DataSet were not copy.
883 (HasChanges, Reset): Imlementation.
885 * DataTable.cs (HasErrors): There is no flag for errors, instead the table ask her row if they have any errors.
\r
886 This is because the we do not no when to turn off the flag.
887 (Locale): Changing implementation to behave like ADO.NET.
888 (AcceptChanges): Fix bug.
889 (Clear): Check that this table is not referenced from a foreign key constraint.
890 (Copy): Do not try to access a deleted row.
891 (CopyProperties): Copy the PrimaryKey.
892 (GetChanges, ImportRow): Implementation.
893 (LoadDataRow): Adding implementation if the table has PrimaryKey.
894 (ToString): Changing implementation to behave like ADO.NET.
896 * UniqueConstraint.cs (AssertConstraint): support for Multiple DataColumns in the constraint.
898 * DataRow.cs (Ctor): In the constructor we initiate the current array, but we should initiate only the proposed array for new rows.
899 (HasErrors): Implementation.
900 (Delete): Added checking for child rows of the deleted row.
901 (EndEdit): Added checking for child row and firing events.
902 (GetColumnError): Added a check that the method will not return null, as in ADO.NET(an empty string is returned).
903 (GetColumnsInError): Added a check for null values in column error.
904 (HasVersion): Added special treatment for special RowState.
905 (CollectionChanged): More checks to avoid NullReferenceException.
907 * DataRowCollection.cs (Remove): Fix a bug.
\r
910 2003-10-01 Duncan Mak <duncan@ximian.com>
912 More patches from Eran Domb <erand@mainsoft.com>.
914 * MergeManager.cs: New file.
916 * DataRelationCollection.cs (AddCore): Check that a
917 UniqueConstraint is already exists. It loops over the Relations
918 instead of the Constraints.
919 (Add, AddCore): The relation was added twice.
921 * DataSet.cs (Merge, GetChanges, HasChanges): Implemented.
923 2003-09-30 Duncan Mak <duncan@ximian.com>
925 Patches from Eran Domb <erand@mainsoft.com>.
927 * DataRelation.cs (constructor): When the name of the relation is
928 null, it should return an empty, not "Relation".
930 * DataRow.cs (AcceptChanges): Added special case for
932 (CancelEdit): Set editing flag to false.
933 (IsNull): Check that the value is DBNull.
935 * DataRowCollection.cs (Add): There was no check that the table of
936 the collection is owned by a DataSet.
938 * DataSet.cs (OnMergeFailed): Added.
940 * UniqueConstraint.cs (AssertConstraint): There was no check that
941 values in the row are not null, where it is a primary key
942 column. Also check that the row has a proposed version, if not,
943 get the current version when we compare the rows.
945 2003-09-25 Duncan Mak <duncan@ximian.com>
947 Patches from Eran Domb <erand@mainsoft.com>.
949 * DataColumn.cs (Unique): Implemented.
952 * ConstraintCollection.cs:
953 * ForeignKeyConstraint.cs (_ensureUniqueConstraintExists): Fixes
954 an Exception thrown. Details:
955 http://lists.ximian.com/archives/public/mono-devel-list/2003-September/002130.html
957 * DataRowCollection.cs (Add): There is no checking that there is
958 no violation of the unique constrains.
960 * UniqueConstraint.cs (AssertConstraint): There is no checking on
961 all columns in the constraint.
963 * DataTableCollection (Add): Correctly throw an Exception, more
965 http://lists.ximian.com/archives/public/mono-devel-list/2003-September/002117.html
966 (Remove, RemoveAt): Implemented.
968 2003-07-31 Duncan Mak <duncan@ximian.com>
970 * DBConcurrencyException.cs: Added new NET_1_1 no-param constructor.
972 2003-07-25 Ravi Pratap <ravi@ximian.com>
974 * DataRelation.cs (OnPropertyChanging): Calling the 'Invoke'
975 method on a delegate is disallowed - fix this.
977 2003-07-22 Lluis Sanchez Gual <lluis@ximian.com>
979 * DataSet.cs: Implemented IXmlSerializable interface. Added basic support for
980 xml serialization. Modified method of writing schema. Now it creates
981 a XmlSchema object and serializes it using XmlSerializer.
982 * XmlConstants.cs: Added constants for data type names.
983 * XmlDataLoader.cs: Fixed deserialization of data. Now converts data to the
984 type specified in the column.
986 2003-04-20 Alan Tam <Tam@SiuLung.com>
988 * DataRelationCollection.cs: Fix a bug that prevent relations
989 from being added via DataSet.
991 2003-04-12 Ville Palo <vi64pa@kolumbus.fi>
993 * UniqueConstraint.cs: one tiny fix.
995 2003-04-05 Ville Palo <vi64pa@kolumbus.fi>
997 * DataTable.cs: Remove UniqueConstraints when adding new ones
999 2003-04-04 Ville Palo <vi64pa@kolumbus.fi>
1001 * DataColumnCollection.cs: Little 'case sensitive' fix
1003 2003-04-04 Ville Palo <vi64pa@kolumbus.fi>
1005 * DataRow.cs: AutoIncrement handling to Constructor
1006 * DataRowCollection.cs: This doesnt need anymore AutoIncrements
1008 2003-03-27 Ville Palo <vi64pa@kolumbus.fi>
1010 * DataTable.cs: Some fixes to PrimaryKey etc...
1011 * UniqueConstraint.cs: Little clean up
1013 2003-03-27 Ville Palo <vi64pa@kolumbus.fi>
1015 * DataTable.cs: Tiny fix to ToString () -method
1017 2003-03-27 Ville Palo <vi64pa@kolumbus.fi>
1019 * ConstraintCollection.cs: Little fix.
1020 * DataColumn.cs: Added new internal method SetUnique()
1021 * UniqueConstraint.cs: some little fixes
1023 2003-03-26 Ville Palo <vi64pa@kolumbus.fi>
1025 * DataRowCollection.cs: Bugfixes, implementation,...
1027 2003-03-26 Ville Palo <vi64pa@kolumbus.fi>
1029 * DataColumn.cs: If DataType if set to something else than short, int
1030 or long and AutoIncrement is true, AutoIncrement is must set to false.
1032 2003-03-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1035 (BeginEdit): fixed array bound problem when a column has been added.
1036 (EndEdit): just assign proposed to current as proposed is set to null.
1037 This also fixes another array boudn problem.
1039 2003-03-21 Alan Tam <Tam@SiuLung.com>
1041 * DataRow.cs: Fixed problems in accessers, BeginEdit, CancelEdit,
1042 EndEdit and AcceptChanges to act correctly according to DataRowState
1044 * DataRowCollection.cs: Call AttachRow and DetachRow when a row is
1045 attached and detached from the collection.
1047 2003-03-20 Alan Tam <Tam@SiuLung.com>
1049 * DataColumn.cs: Store empty string for Expression when null is passed in.
1050 Classes generated by XSD.exe passes null by default.
1052 2003-03-16 Ville Palo <vi64pa@kolumbus.fi>
1054 * DataColumnCollection.cs: Tiny clean up
1056 2003-03-16 Ville Palo <vi64pa@kolumbus.fi>
1058 * DataColumn.cs: little fixes.
1059 * DataColumnCollection.cs: Lots of little fixes and improvments.
1061 2003-03-12 Alan Tam <Tam@SiuLung.com>
1063 * DataSet.cs: Fixed a bug that the file written does not close correctly.
1065 2003-03-08 Alan Tam <Tam@SiuLung.com>
1067 * DataRelationCollection.cs: Removed the mis-overridden methods
1068 * DataRow.cs: Fixed an attribute
1069 * DataSet.cs: Fixed the modifiers
1071 2003-03-06 Aleksey Demakov <avd@openlinksw.com>
1073 * DataTableCollection.cs: The Contains (string name),
1074 IndexOf (string name) methods, and item[string name] indexer
1075 now behave more like .NET with respect to case-sensitivity.
1076 That is if there is an exactly matching item then this one is used.
1077 If there is only one item differing in case then it used.
1078 If there are more than one item differing in case then
1079 Contains returns false, IndexOf returns -1, and item[]
1080 throws an ArgumentException.
1082 2003-02-28 Ville Palo <vi64pa@kolumbus.fi>
1084 * ExpressionElement.cs: More implementation.
1086 2003-02-28 Alan Tam <Tam@SiuLung.com>
1087 * DataSet.cs: Changed WriteTable so that it now calls the newly written
1088 WriteObjectXml to direct the call to the respective XmlConvert method.
1089 This fixes the wrong format written to XML files of bool, float,
1090 double, DateTime and TimeSpan types.
1092 2003-02-25 Alan Tam <Tam@SiuLung.com>
1094 * DataRelation.cs: Added SetDataSet for DataSetRelationCollection to use.
1095 * DataRelationCollection.cs: Implemented AddRange and Contains.
1096 Implemented AddRange, Clear, List and RemoveCore for DataSetRelationColletion.
1097 Implemented AddCore, List and RemoveCore for DataTableRelationCollection.
1098 Reimplemented most Add methods to eliminate duplicated checks.
1099 Centralized RelationName generation procedure in GetNextDefaultRelationName.
1101 2003-02-25 Alan Tam <Tam@SiuLung.com>
1103 * DataColumn.cs: Fixed wrong storage representation of Expression
1104 (using empty string instead of null) so that ToString() returns nothing.
1105 * DataColumnCollection.cs: Reimplemented GetNextDefaultColumnName so that
1106 auto column naming now works as expected. Reimplemented some Add methods
1107 to eliminate code duplication.
1109 2003-02-19 Ville Palo <vi64pa@kolumbus.fi>
1111 * DataTable.cs: DataTable.CaseSensitive follows parent
1112 DataSet.CaseSensitive property if DataTable.CaseSensitive has never
1113 been changed directly from DataTable
1115 2003-02-19 Ville Palo <vi64pa@kolumbus.fi>
1117 * DataSet.cs: When CaseSensitive property is changed all of the Tables
1118 of DataSet have to change too
1120 2003-02-19 Daniel Morgan <danmorg@sc.rr.com>
1122 * InternalDataCollectionBase.cs: revert change to field
1125 * DataViewManager.cs
1128 * DataSet.cs: commented use of DesignerAttribute
1129 because it broke the build. According to MSDN,
1130 DesignerAttribute does not have a zero-argument constructor
1132 2003-02-18 Ville Palo <vi64pa@kolumbus.fi>
1134 * DataColumnCollectin.cs: Little fix for indexer and case sensitivity
1136 2003-02-18 Alan Tam <Tam@SiuLung.com>
1138 * DataRow.cs: Implemented GetParentRow and GetParentRows.
1139 * DataSet.cs: Added stub for HasChanges, InferXmlSchema,
1140 OnPropertyChanging, OnRemoveRelation, OnRemoveTable,
1141 RaisePropertyChanging.
1142 * DataTable.cs: Implemented NewRowArray.
1143 * DataTablePropertyDescriptor: Fixed a modifier.
1144 * InternalDataCollectionBase.cs: Fixed modifiers. Implemented SyncRoot.
1145 * PropertyCollection.cs: Minor fix.
1146 * ConstraintCollection.cs DataColumn.cs DataColumnCollection.cs
1147 * DataRelation.cs DataRelationCollection.cs DataRow.cs
1148 * DataRowCollection.cs DataRowState.cs DataSet.cs DataTable.cs
1149 * DataTableCollection.cs DataTablePropertyDescriptor.cs DataView.cs
1150 * DataViewManager.cs DataViewRowState.cs DataViewSettingCollection.cs
1151 * ForeignKeyConstraint.cs InternalDataCollectionBase.cs
1152 * PropertyCollection.cs UniqueConstraint.cs: Added missing attributes
1154 2003-02-08 Ville Palo <vi64pa@koti.soon.fi>
1156 * ExpressionElement.cs: More implementation
1158 2003-02-05 Alan Tam <Tam@SiuLung.com>
1160 * DataSet.cs: Added framework for DataSet.Update Implemented missing
1161 methods GetSchemaSerializable, GetSerializationData,
1162 ReadXmlSerializable, ShouldSerializeRelations and ShouldSerializeTables
1164 * DataTable.cs: Implemented missing methods CreateInstance and
1165 GetRowType for DataTable
1167 2003-02-03 Ville Palo <vi64pa@koti.soon.fi>
1169 * DataSet.cs: Implemented private method MapType for
1170 mapping datatypes for XmlSchema
1172 2003-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1174 * DataView.cs: implemented Dispose.
1176 2003-01-30 Ville Palo <vi64pa@koti.soon.fi>
1178 * ExpressionElement.cs: Added new file. This file is for parsing
1179 and DataData.Select () -methods and DataColumn.Expression -property
1180 * DataTable.cs: Implemented Select(string) -method
1182 2003-01-28 Ville Palo <vi64pa@koti.soon.fi>
1184 * DataSet.cs: One little fix to writing xml
1186 2003-01-27 Ville Palo <vi64pa@koti.soon.fi>
1188 * XmlSchemaMapper.cs: Some fixes.
1189 * DatSet.cs: Some XmlFixes and BeginInit ()/ EndInit () -fix
1192 2003-01-24 Ville Palo <vi64pa@koti.soon.fi>
1194 * UniqueConstraint.cs: Do not set columns Unique property true
1196 * ForeignKeyConstraint.cs: Add UniqueConstraint to parent Table
1198 2003-01-18 Ville Palo <vi64pa@koti.soon.fi>
1200 * DataTableCollection.cs: Now names new DataTable if it doesn't
1201 already have a name.
1203 2003-01-17 Ville Palo <vi64pa@koti.soon.fi>
1205 * XmlSchemaMapper.cs: Improvments.
1206 * XmlConstaints.cs: Added more constants.
1207 * DataSet.cs: Improvments of reading and writing xml
1208 * DataColumn.cs: Added default values of properties.
1210 2003-01-14 Ville Palo <vi64pa@koti.soon.fi>
1212 * XmlSchemaMapper.cs: Some improvments
1214 2003-01-13 Ville Palo <vi64pa@koti.soon.fi>
1216 * DataRowCollection.cs: Added IndexOutOfRangeException
1217 * DataTableCollection.cs: Added OnCollectionChanging and
1218 OnCollectionChanged events.
1219 * DataSet.cs: Many fixes. Implemented Clone () and Copy () -methods
1220 * DataTable.cs: Implemented Copy () and Clone () methods.
1221 * XmlDataLoader.cs: some fixes.
1222 * XmlSchemaMapper.cs: comments.
1224 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1226 * DataColumnPropertyDescriptor.cs: store columnIndex in the .ctor.
1228 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1230 * DataColumnPropertyDescriptor.cs: fixed typo.
1231 * DataViewManagerListItemTypeDescriptor.cs: added new internal property
1232 to get the DataViewManager and removed TablePD class.
1233 * DataTablePropertyDescriptor.cs: TablePD class is now this one as
1234 suggested by danmorg.
1236 2003-01-06 Ville Palo <vi64pa@koti.soon.fi>
1238 * XmlDataLoader.cs: Moved diffgram stuff to new internal class
1240 * XmlDiffLoader.cs: new class for diffgrams. Added handling of
1241 diffgr:Errors and some fixes and changed XmlReader to XPathNavigator.
1243 2003-01-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1245 * DataView.cs: made dataViewManager internal.
1246 * DataViewManager.cs: use ICustomTypeDescriptor. We don't want the
1247 properties of the object, but the values of the columns present in a
1250 * DataViewManagerListItemTypeDescriptor.cs: implemented GetProperties,
1251 which returns a PropertyDescriptorCollection. Created a new class
1252 derived from PropertyDescriptor that treats Table as an object whose
1253 properties are DataRowView.
1255 2003-01-04 Ville Palo <vi64pa@koti.soon.fi>
1257 * XmlSchemaMapper.cs: Added handling for Constraints, Attributes.
1259 2003-01-04 Ville Palo <vi64pa@koti.soon.fi>
1261 * DataColumn.cs: ExtendedProperties is by default !null-
1263 2003-01-04 Ville Palo <vi64pa@koti.soon.fi>
1265 * DataColumnCollection.cs: Add (DataColumn Column) -method didn't
1266 set column's ordinal.
1268 2003-01-02 Ville Palo <vi64pa@koti.soon.fi>
1271 * XmlDataLoader.cs: XmlReader closing fixes.
1272 * XmlSchemaReader.cs: Added support for ref=
1274 2003-01-01 Ville Palo <vi64pa@koti.soon.fi>
1277 - Added XmlReader and XmlWriter Closing.
1278 - Moved ReadXmlSchema stuff to new internal class XmlSchemaMapper.
1279 * XmlSchemaMapper.cs
1280 - Much better way IMHO to map xmlschema than the old one in
1281 DataSet.cs. Its, more flexible, cleaner, ...
1283 2002-12-29 Ville Palo <vi64pa@koti.soon.fi>
1285 * XmlDataLoader.cs: Reading diffgrams.
1287 2002-12-29 Ville Palo <vi64pa@koti.soon.fi>
1289 * DataRow.cs: Little fix to indexer and DataColumnCang* trigger fixes.
1290 * DataTable.cs: Added ChanginDataColumn () for triggering
1291 DataColumnChanging event
1293 2002-12-28 Ville Palo <vi64pa@koti.soon.fi>
1295 * DataSet.cs: Indentations to WriteXmlSchema () and one little fix
1297 2002-12-28 Ville Palo <vi64pa@koti.soon.fi>
1299 * DataSet.cs: Indentations to WriteXml ()
1301 2002-12-27 Ville Palo <vi64pa@koti.soon.fi>
1304 * XmlDataLoader.cs: Moved ReadXml -stuff from DataSet.cs to new
1305 class XmlDataLoader.cs
1307 2002-12-19 Ville Palo <vi64pa@koti.soon.fi>
1309 * DataSet.cs Implemented ReadXml with XmlReadMode.ReadSchema
1311 2002-12-18 Ville Palo <vi64pa@koti.soon.fi>
1313 * DataSet.cs: Started to implement ReadXml-methods.
1315 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1317 * DataSet.cs: implemented DefaultViewManager and GetList.
1319 * DataViewManager.cs: a bit of work on IList and ITypedList needed by
1320 DataList in System.Web.
1322 * DataViewManagerListItemTypeDescriptor.cs: custom type descriptor for
1325 2002-12-16 Ville Palo <vi64pa@koti.soon.fi>
1328 * DataTable.cs: Fixed NullException (rollback -event)
1329 * DataSet.cs: WriteXml -method does not anymore write <?xml... row.
1331 2002-12-15 Ville Palo <vi64pa@koti.soon.fi>
1334 * DataRowCollection.cs: Moved event triggering from DataRow to
1337 2002-12-09 Ville Palo <vi64pa@koti.soon.fi>
1339 * DataSet.cs: Little fix to WriteTable () -method
1340 and DoReadXmlSchema () -method.
1342 2002-12-06 Ville Palo <vi64pa@koti.soon.fi>
1344 * DataSet.cs: Clean up to reading xmlschema. This looks much better
1345 now (work better too), but it not working correctly yet.
1347 2002-12-04 Ville Palo <vi64pa@koti.soon.fi>
1350 * DataRowCollection.cs: Added some event handlins stuff.
1351 * DataSet.cs: Some fixes.
1352 * DataTable.cs: Added event handlers.
1354 2002-11-30 Ville Palo <vi64pa@koti.soon.fi>
1356 * DataRowChangeEventArgs.cs: Implemented Action and Row properties
1358 2002-11-30 Ville Palo <vi64pa@koti.soon.fi>
1360 * System.Data/DataRow.cs: Added internal property XmlDataID
1362 2002-11-29 Ville Palo <vi64pa@koti.soon.fi>
1364 * DataSystem.Data.DataTableCollection.cs:
1365 Removed HashTable. There could be situations where DataTable
1366 is added to collection before it hava TableName. So using
1367 HashTable is impossible.
1369 2002-11-19 Carlos Guzmán Álvarez <carlosga@telefonica.net>
1371 * DataRow.cs: an object that is equal to null
1372 should be allowed to be set in this indexer too
1375 2002-11-06 Daniel Morgan <danmorg@sc.rr.com>
1377 * DataColumnPropertyDescriptor.cs: added file
1379 * System.Data/DataRowView.cs: started implementation
1381 * DataTable.cs: stubbed more interfaces. Implemented
1382 IListSource.GetList()
1384 * DataView.cs: stubbed more interfaces. Implemented
1385 some properties and methods: GetEnumerator(),
1386 ITypedList.GetItemProperties, Item indexer, CopyTo()
1388 2002-05-18 Nick Drochak <ndrochak@gol.com>
1390 * DataRow.cs: Fix typo.