1 2003-07-25 Ravi Pratap <ravi@ximian.com>
3 * DataRelation.cs (OnPropertyChanging): Calling the 'Invoke'
4 method on a delegate is disallowed - fix this.
6 2003-07-22 Lluis Sanchez Gual <lluis@ximian.com>
8 * DataSet.cs: Implemented IXmlSerializable interface. Added basic support for
9 xml serialization. Modified method of writing schema. Now it creates
10 a XmlSchema object and serializes it using XmlSerializer.
11 * XmlConstants.cs: Added constants for data type names.
12 * XmlDataLoader.cs: Fixed deserialization of data. Now converts data to the
13 type specified in the column.
15 2003-04-20 Alan Tam <Tam@SiuLung.com>
17 * DataRelationCollection.cs: Fix a bug that prevent relations
18 from being added via DataSet.
20 2003-04-12 Ville Palo <vi64pa@kolumbus.fi>
22 * UniqueConstraint.cs: one tiny fix.
24 2003-04-05 Ville Palo <vi64pa@kolumbus.fi>
26 * DataTable.cs: Remove UniqueConstraints when adding new ones
28 2003-04-04 Ville Palo <vi64pa@kolumbus.fi>
30 * DataColumnCollection.cs: Little 'case sensitive' fix
32 2003-04-04 Ville Palo <vi64pa@kolumbus.fi>
34 * DataRow.cs: AutoIncrement handling to Constructor
35 * DataRowCollection.cs: This doesnt need anymore AutoIncrements
37 2003-03-27 Ville Palo <vi64pa@kolumbus.fi>
39 * DataTable.cs: Some fixes to PrimaryKey etc...
40 * UniqueConstraint.cs: Little clean up
42 2003-03-27 Ville Palo <vi64pa@kolumbus.fi>
44 * DataTable.cs: Tiny fix to ToString () -method
46 2003-03-27 Ville Palo <vi64pa@kolumbus.fi>
48 * ConstraintCollection.cs: Little fix.
49 * DataColumn.cs: Added new internal method SetUnique()
50 * UniqueConstraint.cs: some little fixes
52 2003-03-26 Ville Palo <vi64pa@kolumbus.fi>
54 * DataRowCollection.cs: Bugfixes, implementation,...
56 2003-03-26 Ville Palo <vi64pa@kolumbus.fi>
58 * DataColumn.cs: If DataType if set to something else than short, int
59 or long and AutoIncrement is true, AutoIncrement is must set to false.
61 2003-03-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
64 (BeginEdit): fixed array bound problem when a column has been added.
65 (EndEdit): just assign proposed to current as proposed is set to null.
66 This also fixes another array boudn problem.
68 2003-03-21 Alan Tam <Tam@SiuLung.com>
70 * DataRow.cs: Fixed problems in accessers, BeginEdit, CancelEdit,
71 EndEdit and AcceptChanges to act correctly according to DataRowState
73 * DataRowCollection.cs: Call AttachRow and DetachRow when a row is
74 attached and detached from the collection.
76 2003-03-20 Alan Tam <Tam@SiuLung.com>
78 * DataColumn.cs: Store empty string for Expression when null is passed in.
79 Classes generated by XSD.exe passes null by default.
81 2003-03-16 Ville Palo <vi64pa@kolumbus.fi>
83 * DataColumnCollection.cs: Tiny clean up
85 2003-03-16 Ville Palo <vi64pa@kolumbus.fi>
87 * DataColumn.cs: little fixes.
88 * DataColumnCollection.cs: Lots of little fixes and improvments.
90 2003-03-12 Alan Tam <Tam@SiuLung.com>
92 * DataSet.cs: Fixed a bug that the file written does not close correctly.
94 2003-03-08 Alan Tam <Tam@SiuLung.com>
96 * DataRelationCollection.cs: Removed the mis-overridden methods
97 * DataRow.cs: Fixed an attribute
98 * DataSet.cs: Fixed the modifiers
100 2003-03-06 Aleksey Demakov <avd@openlinksw.com>
102 * DataTableCollection.cs: The Contains (string name),
103 IndexOf (string name) methods, and item[string name] indexer
104 now behave more like .NET with respect to case-sensitivity.
105 That is if there is an exactly matching item then this one is used.
106 If there is only one item differing in case then it used.
107 If there are more than one item differing in case then
108 Contains returns false, IndexOf returns -1, and item[]
109 throws an ArgumentException.
111 2003-02-28 Ville Palo <vi64pa@kolumbus.fi>
113 * ExpressionElement.cs: More implementation.
115 2003-02-28 Alan Tam <Tam@SiuLung.com>
116 * DataSet.cs: Changed WriteTable so that it now calls the newly written
117 WriteObjectXml to direct the call to the respective XmlConvert method.
118 This fixes the wrong format written to XML files of bool, float,
119 double, DateTime and TimeSpan types.
121 2003-02-25 Alan Tam <Tam@SiuLung.com>
123 * DataRelation.cs: Added SetDataSet for DataSetRelationCollection to use.
124 * DataRelationCollection.cs: Implemented AddRange and Contains.
125 Implemented AddRange, Clear, List and RemoveCore for DataSetRelationColletion.
126 Implemented AddCore, List and RemoveCore for DataTableRelationCollection.
127 Reimplemented most Add methods to eliminate duplicated checks.
128 Centralized RelationName generation procedure in GetNextDefaultRelationName.
130 2003-02-25 Alan Tam <Tam@SiuLung.com>
132 * DataColumn.cs: Fixed wrong storage representation of Expression
133 (using empty string instead of null) so that ToString() returns nothing.
134 * DataColumnCollection.cs: Reimplemented GetNextDefaultColumnName so that
135 auto column naming now works as expected. Reimplemented some Add methods
136 to eliminate code duplication.
138 2003-02-19 Ville Palo <vi64pa@kolumbus.fi>
140 * DataTable.cs: DataTable.CaseSensitive follows parent
141 DataSet.CaseSensitive property if DataTable.CaseSensitive has never
142 been changed directly from DataTable
144 2003-02-19 Ville Palo <vi64pa@kolumbus.fi>
146 * DataSet.cs: When CaseSensitive property is changed all of the Tables
147 of DataSet have to change too
149 2003-02-19 Daniel Morgan <danmorg@sc.rr.com>
151 * InternalDataCollectionBase.cs: revert change to field
157 * DataSet.cs: commented use of DesignerAttribute
158 because it broke the build. According to MSDN,
159 DesignerAttribute does not have a zero-argument constructor
161 2003-02-18 Ville Palo <vi64pa@kolumbus.fi>
163 * DataColumnCollectin.cs: Little fix for indexer and case sensitivity
165 2003-02-18 Alan Tam <Tam@SiuLung.com>
167 * DataRow.cs: Implemented GetParentRow and GetParentRows.
168 * DataSet.cs: Added stub for HasChanges, InferXmlSchema,
169 OnPropertyChanging, OnRemoveRelation, OnRemoveTable,
170 RaisePropertyChanging.
171 * DataTable.cs: Implemented NewRowArray.
172 * DataTablePropertyDescriptor: Fixed a modifier.
173 * InternalDataCollectionBase.cs: Fixed modifiers. Implemented SyncRoot.
174 * PropertyCollection.cs: Minor fix.
175 * ConstraintCollection.cs DataColumn.cs DataColumnCollection.cs
176 * DataRelation.cs DataRelationCollection.cs DataRow.cs
177 * DataRowCollection.cs DataRowState.cs DataSet.cs DataTable.cs
178 * DataTableCollection.cs DataTablePropertyDescriptor.cs DataView.cs
179 * DataViewManager.cs DataViewRowState.cs DataViewSettingCollection.cs
180 * ForeignKeyConstraint.cs InternalDataCollectionBase.cs
181 * PropertyCollection.cs UniqueConstraint.cs: Added missing attributes
183 2003-02-08 Ville Palo <vi64pa@koti.soon.fi>
185 * ExpressionElement.cs: More implementation
187 2003-02-05 Alan Tam <Tam@SiuLung.com>
189 * DataSet.cs: Added framework for DataSet.Update Implemented missing
190 methods GetSchemaSerializable, GetSerializationData,
191 ReadXmlSerializable, ShouldSerializeRelations and ShouldSerializeTables
193 * DataTable.cs: Implemented missing methods CreateInstance and
194 GetRowType for DataTable
196 2003-02-03 Ville Palo <vi64pa@koti.soon.fi>
198 * DataSet.cs: Implemented private method MapType for
199 mapping datatypes for XmlSchema
201 2003-02-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
203 * DataView.cs: implemented Dispose.
205 2003-01-30 Ville Palo <vi64pa@koti.soon.fi>
207 * ExpressionElement.cs: Added new file. This file is for parsing
208 and DataData.Select () -methods and DataColumn.Expression -property
209 * DataTable.cs: Implemented Select(string) -method
211 2003-01-28 Ville Palo <vi64pa@koti.soon.fi>
213 * DataSet.cs: One little fix to writing xml
215 2003-01-27 Ville Palo <vi64pa@koti.soon.fi>
217 * XmlSchemaMapper.cs: Some fixes.
218 * DatSet.cs: Some XmlFixes and BeginInit ()/ EndInit () -fix
221 2003-01-24 Ville Palo <vi64pa@koti.soon.fi>
223 * UniqueConstraint.cs: Do not set columns Unique property true
225 * ForeignKeyConstraint.cs: Add UniqueConstraint to parent Table
227 2003-01-18 Ville Palo <vi64pa@koti.soon.fi>
229 * DataTableCollection.cs: Now names new DataTable if it doesn't
232 2003-01-17 Ville Palo <vi64pa@koti.soon.fi>
234 * XmlSchemaMapper.cs: Improvments.
235 * XmlConstaints.cs: Added more constants.
236 * DataSet.cs: Improvments of reading and writing xml
237 * DataColumn.cs: Added default values of properties.
239 2003-01-14 Ville Palo <vi64pa@koti.soon.fi>
241 * XmlSchemaMapper.cs: Some improvments
243 2003-01-13 Ville Palo <vi64pa@koti.soon.fi>
245 * DataRowCollection.cs: Added IndexOutOfRangeException
246 * DataTableCollection.cs: Added OnCollectionChanging and
247 OnCollectionChanged events.
248 * DataSet.cs: Many fixes. Implemented Clone () and Copy () -methods
249 * DataTable.cs: Implemented Copy () and Clone () methods.
250 * XmlDataLoader.cs: some fixes.
251 * XmlSchemaMapper.cs: comments.
253 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
255 * DataColumnPropertyDescriptor.cs: store columnIndex in the .ctor.
257 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
259 * DataColumnPropertyDescriptor.cs: fixed typo.
260 * DataViewManagerListItemTypeDescriptor.cs: added new internal property
261 to get the DataViewManager and removed TablePD class.
262 * DataTablePropertyDescriptor.cs: TablePD class is now this one as
263 suggested by danmorg.
265 2003-01-06 Ville Palo <vi64pa@koti.soon.fi>
267 * XmlDataLoader.cs: Moved diffgram stuff to new internal class
269 * XmlDiffLoader.cs: new class for diffgrams. Added handling of
270 diffgr:Errors and some fixes and changed XmlReader to XPathNavigator.
272 2003-01-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
274 * DataView.cs: made dataViewManager internal.
275 * DataViewManager.cs: use ICustomTypeDescriptor. We don't want the
276 properties of the object, but the values of the columns present in a
279 * DataViewManagerListItemTypeDescriptor.cs: implemented GetProperties,
280 which returns a PropertyDescriptorCollection. Created a new class
281 derived from PropertyDescriptor that treats Table as an object whose
282 properties are DataRowView.
284 2003-01-04 Ville Palo <vi64pa@koti.soon.fi>
286 * XmlSchemaMapper.cs: Added handling for Constraints, Attributes.
288 2003-01-04 Ville Palo <vi64pa@koti.soon.fi>
290 * DataColumn.cs: ExtendedProperties is by default !null-
292 2003-01-04 Ville Palo <vi64pa@koti.soon.fi>
294 * DataColumnCollection.cs: Add (DataColumn Column) -method didn't
295 set column's ordinal.
297 2003-01-02 Ville Palo <vi64pa@koti.soon.fi>
300 * XmlDataLoader.cs: XmlReader closing fixes.
301 * XmlSchemaReader.cs: Added support for ref=
303 2003-01-01 Ville Palo <vi64pa@koti.soon.fi>
306 - Added XmlReader and XmlWriter Closing.
307 - Moved ReadXmlSchema stuff to new internal class XmlSchemaMapper.
309 - Much better way IMHO to map xmlschema than the old one in
310 DataSet.cs. Its, more flexible, cleaner, ...
312 2002-12-29 Ville Palo <vi64pa@koti.soon.fi>
314 * XmlDataLoader.cs: Reading diffgrams.
316 2002-12-29 Ville Palo <vi64pa@koti.soon.fi>
318 * DataRow.cs: Little fix to indexer and DataColumnCang* trigger fixes.
319 * DataTable.cs: Added ChanginDataColumn () for triggering
320 DataColumnChanging event
322 2002-12-28 Ville Palo <vi64pa@koti.soon.fi>
324 * DataSet.cs: Indentations to WriteXmlSchema () and one little fix
326 2002-12-28 Ville Palo <vi64pa@koti.soon.fi>
328 * DataSet.cs: Indentations to WriteXml ()
330 2002-12-27 Ville Palo <vi64pa@koti.soon.fi>
333 * XmlDataLoader.cs: Moved ReadXml -stuff from DataSet.cs to new
334 class XmlDataLoader.cs
336 2002-12-19 Ville Palo <vi64pa@koti.soon.fi>
338 * DataSet.cs Implemented ReadXml with XmlReadMode.ReadSchema
340 2002-12-18 Ville Palo <vi64pa@koti.soon.fi>
342 * DataSet.cs: Started to implement ReadXml-methods.
344 2002-12-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
346 * DataSet.cs: implemented DefaultViewManager and GetList.
348 * DataViewManager.cs: a bit of work on IList and ITypedList needed by
349 DataList in System.Web.
351 * DataViewManagerListItemTypeDescriptor.cs: custom type descriptor for
354 2002-12-16 Ville Palo <vi64pa@koti.soon.fi>
357 * DataTable.cs: Fixed NullException (rollback -event)
358 * DataSet.cs: WriteXml -method does not anymore write <?xml... row.
360 2002-12-15 Ville Palo <vi64pa@koti.soon.fi>
363 * DataRowCollection.cs: Moved event triggering from DataRow to
366 2002-12-09 Ville Palo <vi64pa@koti.soon.fi>
368 * DataSet.cs: Little fix to WriteTable () -method
369 and DoReadXmlSchema () -method.
371 2002-12-06 Ville Palo <vi64pa@koti.soon.fi>
373 * DataSet.cs: Clean up to reading xmlschema. This looks much better
374 now (work better too), but it not working correctly yet.
376 2002-12-04 Ville Palo <vi64pa@koti.soon.fi>
379 * DataRowCollection.cs: Added some event handlins stuff.
380 * DataSet.cs: Some fixes.
381 * DataTable.cs: Added event handlers.
383 2002-11-30 Ville Palo <vi64pa@koti.soon.fi>
385 * DataRowChangeEventArgs.cs: Implemented Action and Row properties
387 2002-11-30 Ville Palo <vi64pa@koti.soon.fi>
389 * System.Data/DataRow.cs: Added internal property XmlDataID
391 2002-11-29 Ville Palo <vi64pa@koti.soon.fi>
393 * DataSystem.Data.DataTableCollection.cs:
394 Removed HashTable. There could be situations where DataTable
395 is added to collection before it hava TableName. So using
396 HashTable is impossible.
398 2002-11-19 Carlos Guzmán Álvarez <carlosga@telefonica.net>
400 * DataRow.cs: an object that is equal to null
401 should be allowed to be set in this indexer too
404 2002-11-06 Daniel Morgan <danmorg@sc.rr.com>
406 * DataColumnPropertyDescriptor.cs: added file
408 * System.Data/DataRowView.cs: started implementation
410 * DataTable.cs: stubbed more interfaces. Implemented
411 IListSource.GetList()
413 * DataView.cs: stubbed more interfaces. Implemented
414 some properties and methods: GetEnumerator(),
415 ITypedList.GetItemProperties, Item indexer, CopyTo()
417 2002-05-18 Nick Drochak <ndrochak@gol.com>
419 * DataRow.cs: Fix typo.