1 2004-06-02 Umadevi S <sumadevi@novell.com>
2 * added System.Data/DataTableTypeConverter to system.data.dll.sources
4 2004-05-27 Umadevi S <sumadevi@novell.com>
5 * added files DataTableMappingCollectionTest and DataColumnMappingCollectionTest to system.data_test.dll.sources
7 2004-05-26 Umadevi S <sumadevi@novell.com>
8 * Added files DataTableCollectionTest and DataRelationCollectionTest to the system.data_test.dll.sources
10 2004-05-20 Umadevi S <sumadevi@novell.com>
11 * Fixed bug 58406- implemented the hasrow method, test program used
12 to test with the bug report
14 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
15 * System.Data.dll.sources : Added DataContainer.cs
17 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
18 * System.Data.dll.sources : Added RecordCache.cs
20 2004-05-14 Umadevi S <sumadevi@novell.com>
21 * System.Data.dll.sources : Added SQLDebugging.cs
23 2004-05-14 Umadevi S <sumadevi@novell.com>
24 * System.Data.dll.sources : Added OdbcParameterConverter.cs
26 2004-05-14 Umadevi S <sumadevi@novell.com>
27 * System.Data.dll.sources : Added OdbcCategoryAttribute.cs OdbcDescriptionAttribute.cs
29 2004-05-14 Umadevi S <sumadevi@novell.com>
30 * System.Data.dll.sources : Added OdbcCommandBuilder.cs
32 2004-05-14 Umadevi S <sumadevi@novell.com>
33 * System.Data.dll.sources : Added OdbcInfoMessageEventArgs.cs, OdbcInfoMessageEventHandler.cs
35 2004-05-14 Umadevi S <sumadevi@novell.com>
36 * System.Data.dll.sources : Added OdbcPermission.cs,OdbcPermissionAttribute.cs
38 2004-05-13 Umadevi S <sumadevi@novell.com>
40 * System.Data.dll.sources : added OleDbParameterConverter.cs
43 2004-05013 Umadevi S <sumadevi@novell.com>
45 * System.Data.dll.sources : added RelationshipConverter.cs
47 2004-05-07 Atsushi Enomoto <atsushi@ximian.com>
49 * System.Data.dll.sources : added XmlDataInferenceLoader.cs and
52 2004-04-26 Jackson Harper <jackson@ximian.com>
54 * Makefile: output to profile directory.
56 2004-04-26 Atsushi Enomoto <atsushi@ximian.com>
58 * System.Data.dll.sources : added CustomDataClassGenerator.cs.
60 2004-04-19 Atsushi Enomoto <atsushi@ximian.com>
62 * System.Data_test.dll.sources : added DataSetInferXmlSchemaTest.cs.
64 2004-04-19 Atsushi Enomoto <atsushi@ximian.com>
66 * System.Data.dll.sources : Added XmlSchemaDataImporter.cs
68 2004-04-15 Atsushi Enomoto <atsushi@ximian.com>
70 * System.Data_test.dll.sources :
71 added DataSetReadXmlSchemaTest.cs and DataSetAssertion.cs.
73 2004-04-14 Atsushi Enomoto <atsushi@ximian.com>
75 * System.Data_test.dll.sources : added DataSetReadXmlTest.cs.
77 2004-04-13 Atsushi Enomoto <atsushi@ximian.com>
79 * System.Data_test.dll.sources : added XmlDataDocumentTest2.cs.
81 2004-04-05 Lluis Sanchez Gual <lluis@ximian.com>
83 * System.Data.dll.sources: removed SqlConnectionPool.cs.
85 2004-03-29 Juraj Skripsky <juraj@hotfeet.ch>
87 * System.Data.dll.sources : added classes in Mono.Data.SqlExpressions
88 * Makefile : add jay-target for Mono.Data.SqlExpressions/Parser.cs
90 2004-03-12 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
92 * System.Data.dll.sources : added classes
94 2004-03-04 Eran Domb <erand@mainsoft.com>
96 * System.Data.dll.sources : added Node.cs, ComparerFactory.cs.
98 2004-03-03 Atsushi Enomoto <atsushi@ximian.com>
100 * System.Data.dll.sources : added Index.cs.
102 2004-01-21 Atsushi Enomoto <atsushi@ximian.com>
104 * System.Data_test.dll.sources : Added TypedDataSetGeneratorTest.cs.
106 2004-01-20 Atsushi Enomoto <atsushi@ximian.com>
108 * System.Data.dll.sources: Added missing TypedDataSetGenerator.cs.
110 2003-12-28 Tim Coleman <tim@timcoleman.com>
111 * System.Data.dll.sources:
112 Add new .NET 1.2 sources.
114 2003-12-21 Tim Coleman <tim@timcoleman.com>
115 * System.Data.dll.sources:
116 Add new .NET 1.2 sources.
118 2003-12-19 Tim Coleman <tim@timcoleman.com>
119 * System.Data.dll.sources:
120 Add new .NET 1.2 sources.
122 2003-12-16 Tim Coleman <tim@timcoleman.com>
123 * System.Data.dll.sources:
124 Add new .NET 1.2 sources.
126 2003-11-26 Tim Coleman <tim@timcoleman.com>
127 * System.Data.dll.sources:
128 Add many new System.Data classes for NET_2_0 build.
130 2003-11-25 Tim Coleman <tim@timcoleman.com>
131 * System.Data.dll.sources:
132 Add System.Data/IDataSources.cs to build
134 2003-07-18 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
136 * System.Data.dll.sources: Assembly/Locale.cs added, Assembly/AssemblyInfo.cs added
138 2003-07-18 Peter Williams <peter@newton.cx>
140 * Makefile (EXTRA_DISTFILES): NUnit.Prefs is not
143 2003-07-16 Peter Williams <peter@newton.cx>
145 * Makefile: Flip around for the new default build
148 2003-06-16 Tim Coleman <tim@timcoleman.com>
149 * System.Data.Common/DbDataAdapter.cs:
150 Add the DataTable to the result set even if it contains
151 no rows. Based on report by Krieg Andreas.
153 2003-03-17 Daniel Morgan <danmorg@sc.rr.com>
155 * System.Data.build: on windows build, ignore
156 warnings CS0219: "The variable xxx is assigned but its value is
157 never used" and CS0168: "The variable xxx
158 is declared but never used"
160 * System.Data/DataRow.cs: flush
162 * System.Data/DataSet.cs: start implementation on Clear(),
163 and WriteXml() should write the start element <?xml ... ?> at the top
166 * System.Data/DataTable.cs: TODO/FIXME notes. Start implementation
167 of Compute() - still not working
169 2003-03-16 Daniel Morgan <danmorg@sc.rr.com>
171 * System.Data/DataRowView.cs: in the constructor pass
172 DataRow in instead of int index of the DataRow
175 * System.Data/DataTable.cs: implement sorting
176 for method Select(filterExpression,sort)
178 * System.Data/DataView.cs: more implementation -
179 Now, If Sort, RowFilter, or RowStateFilter is set, an
180 enumerated DataRowViews will be a view with those
181 properties applied. Still need to implement event handling
184 2003-03-13 Tim Coleman <tim@timcoleman.com>
185 * System.Data.SqlClient/SqlCommandBuilder.cs:
186 Change "where" variable name to "whereClause" at the
187 request of Rhys Weatherley <rweather@zip.com.au>
189 2003-03-10 Daniel Morgan <danmorg@sc.rr.com>
191 * System.Data.SqlClient/SqlDataReader.cs: when
192 the data reader is closed, this SqlDataReader referenced
193 in SqlConnection needs to be null
195 * System.Data.Common/DbDataAdapter.cs: for SelectCommands executed that
196 have no result set, such as, DDL like CREATE TABLE or DML like INSERT,
197 the data reader needs to be immediately closed, and 0 returned
198 as the number of rows added or refreshed
200 2003-02-18 Daniel Morgan <danmorg@sc.rr.com>
202 * DataTableRelationCollection.cs: removed file
203 because its internally in file DataRelationCollection.cs
205 2003-02-18 Alan Tam <Tam@SiuLung.com>
207 * DataRelation.cs: Added storage required to hold the relations.
\r
208 Checking of constraints are not implemented yet.
\r
209 * DataRelationCollection.cs: Implemented DataSetRelationCollection
\r
210 and DataTableRelationCollection, both as inner class of the abstract class
\r
211 DataRelationCollection (like Microsoft although not documented in ECMA).
\r
212 * DataRow.cs: Implemented GetChildRows in a extremely slow way.
\r
213 Need to implement caching like Microsoft later.
\r
214 * DataSet.cs: Uncomment DataRelation related members. Uncomment
\r
215 code for Nested XML. Implemented WriteTable(XmlWriter, DataRow[],
\r
216 XmlWriteMode) for use of Nested XML. Fixed a wrong modifier in
\r
217 GetSerializationData.
\r
218 * DataTable.cs: Uncomment DataRelation related members.
\r
220 2003-02-11 Tim Coleman <tim@timcoleman.com>
221 * System.Data.SqlClient/SqlConnection.cs:
222 Close the data reader properly, and be sure
223 to close the data reader when the connection
226 2003-02-10 Nick Drochak <ndrochak@gol.com>
228 * System.Data.build: Keep the standalone tests out of the dll.
230 2003-02-09 Rodrigo Moya <rodrigo@ximian.com>
232 * System.Data.OleDb/OleDbConnection.cs:
233 * System.Data.OleDb/libgda.cs: upgraded to libgda 0.10.
235 2003-01-30 Ville Palo <vi64pa@koti.soon.fi>
237 * list: Added new file ExpressionElement.cs
239 2003-01-26 Daniel Morgan <danmorg@sc.rr.com>
241 * System.Data/DataColumn.cs: fix to not check for DataType being set
243 * System.Data/DataRow.cs: misc fixes
245 * Test/SqlTest.cs: accept connection parameters from
246 command line instead of being hard coded
248 * Test/System.Data_test.build: exclude building SqlTest.cs
250 * Test/System.Data/DataRowTest.cs
251 * Test/System.Data/DataColumnTest.cs: added new tests and numbered
252 all the tests so they can be easily identified
254 * Test/System.Data/DataRelationTest.cs: commented code that calls
255 DataSet's BeginEdit() and EndEdit() which causes a compile error
257 2003-01-24 Daniel Morgan <danmorg@sc.rr.com>
259 * System.Data/DataColumn.cs: fixes to be like .NET -
260 when setting AllowDBNull to false, determine if there is
261 any data that has DBNull.Value, implement AutoIncrement, do not
262 allow changing the DataType of the column if data has already been
263 set, check if the DataType is supported,
265 * System.Data/DataColumnCollection.cs: handle default ColumnName
268 * System.Data/DataRow.cs: fixes to be like .NET - a
269 data column gets initialized to all DBNull.Values not null,
270 implement AutoIncrement, when setting ItemArray if the item array being
271 set has less items than the number of columns in the table set those last
272 columns to DBNull.Value, after setting ItemArray values do an EndEdit(),
273 both a null and DBNull.Value get set to a DBNull.Value, only use DefaultValue
274 and AutoIncrement if the value is set to null while DBNull.Value only gets set
277 2003-01-17 Daniel Morgan <danmorg@sc.rr.com>
279 * System.Data.SqlClient.SqlConnection.cs: add connection
280 parameter UID which is the same thing as User ID
282 2003-01-13 Ville Palo <vi64pa@koti.soon.fi>
284 * System.Xml/XmlDataDocument.cs: lots of bugfixes and more implemented
287 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
289 * list: added System.Data/DataTablePropertyDescriptor.cs
291 2002-12-27 Ville Palo <vi64pa@koti.soon.fi>
293 * list: Added System.Data/XmlDataLoader.cs
295 2002-12-16 Ville Palo <vi64pa@koti.soon.fi>
297 * System.Xml/XmlDataDocument.cs: Now rollback works. It means all
298 types of transactions works, i guess ;)
300 2002-12-14 Ville Palo <vi64pa@koti.soon.fi>
302 * System.Xml/XmlDataDocument.cs: Adding row via XmlDataDocument to
303 DataSet's datatable is now possible.
305 2002-12-11 Ville Palo <vi64pa@koti.soon.fi>
307 * System.Xml/XmlDataDocument.cs: Implemented GetRowFromElement() and
308 GetElementFromRowElement () -methods. Somefixed and little clean up.
310 2002-12-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
312 * System.Data.SqlClient/SqlCommand.cs:
313 (CloseReader): don't get the output parameters here.
314 (GetOutputParameters): don't skip the stream. The parameters will be
317 * System.Data.SqlClient/SqlConnection.cs: don't try to execute
318 'sp_reset_connection'.
320 * System.Data.SqlClient/SqlDataReader.cs: get the output parameters
321 after the end of the results.
323 2002-12-04 Ville Palo <vi64pa@koti.soon.fi>
325 * System.Xml/XmlDataDocument.cs: Now this works in both ways,
326 DataSet <--> XmlDataDocument.cs at some level at least.
328 2002-12-02 Ville Palo <vi64pa@koti.soon.fi>
330 * System.Xml/XmlDataDocument.cs : some fixes and some imlemented
333 2002-12-01 Tim Coleman <tim@timcoleman.com>
334 * System.Data.SqlClient/SqlDataReader.cs:
335 Change to reflect TdsSchemaInfo -> TdsDataColumnCollection
338 2002-12-01 Ville Palo <vi64pa@koti.soon.fi>
340 * list: Added XmlDataDocument.cs
341 * System.Xml/XmlDataDocument.cs: more implementation.
343 2002-11-30 Daniel Morgan <danmorg@sc.rr.com>
345 * System.Data.Odbc/OdbcDataReader.cs: implemented GetValues() method
346 needed by OdbcDataAdapter
348 * System.Data.Odbc/OdbcDataAdapter.cs
\r
349 * System.Data.Odbc/OdbcRowUpdatedEventArgs.cs
\r
350 * System.Data.Odbc/OdbcRowUpdatedEventHandler.cs
\r
351 * System.Data.Odbc/OdbcRowUpdatingEventArgs.cs
\r
352 * System.Data.Odbc/OdbcRowUpdatingEventHandler.cs: added files for an
355 * list: added new files to linux build
356 in namespace System.Data.Odbc for the ODBC Data Adapter
358 * System.Xml/XmlDataDocument.cs: commented method
359 protected internal override XPathNavigator CreateNavigator(XmlNode node)
360 because it would not compile on .NET Framework. Added
361 a FIXME comment there
363 2002-11-29 Ville Palo <vi64pa@koti.soon.fi>
365 * System.Xml/XmlDataDocument.cs: Started to implement.
367 2002-11-26 Tim Coleman <tim@timcoleman.com>
368 * System.Data.SqlClient/SqlCommand.cs:
369 * System.Data.SqlClient/SqlConnection.cs:
370 * System.Data.SqlClient/SqlDataReader.cs:
371 * System.Data.SqlClient/SqlParameter.cs:
372 * System.Data.SqlClient/SqlParameterCollection.cs:
373 * System.Data.SqlClient/SqlTransaction.cs:
374 Many changes around restructuring of parameter
375 information so that the Sybase provider supports
378 2002-11-25 Ville Palo <vi64pa@koti.soon.fi>
380 * System.Data/DataSet.cs : Started to implement ReadXmlSchema -method
382 2002-11-21 Tim Coleman <tim@timcoleman.com>
384 * System.Data.SqlClient/SqlCommand.cs:
385 * System.Data.SqlClient/SqlConnection.cs:
386 * System.Data.SqlClient/SqlConnectionPool.cs:
387 * System.Data.SqlClient/SqlDataReader.cs:
388 * System.Data.SqlClient/SqlException.cs:
389 * System.Data.SqlClient/SqlInfoMessageEventArgs.cs:
390 * System.Data.SqlClient/SqlParameter.cs:
391 * System.Data.SqlClient/SqlTransaction.cs:
392 * System.Data.SqlClient/SqlXmlTextReader.cs:
393 * System.Data.SqlTypes/SqlDecimal.cs:
394 Modify to accept new Mono.Data.Tds.Protocol
395 namespace in Mono.Data.Tds assembly, replacing
396 Mono.Data.TdsClient.Internal
398 2002-11-20 Ville Palo <vi64pa@koti.soon.fi>
400 * System.Data.SqlTypes/SqlDecimal.cs: Ported some divide-stuff from
401 decimal.c file. Does not work correctly yet.
403 2002-11-18 Tim Coleman <tim@timcoleman.com>
404 * System.Data.SqlClient/SqlConnection.cs:
405 BeginTransaction bug.
406 * System.Data.SqlClient/SqlParameter.cs:
407 Add some comments to describe what is going on.
408 * System.Data.SqlClient/SqlCommand.cs:
410 * System.Data.SqlClient/SqlDataReader.cs:
411 Add support to get SQL Types
413 2002-11-16 Daniel Morgan <danmorg@sc.rr.com>
415 * System.Data/DataView.cs: fix bug
416 with DataViewEnumerator causing InvalidOperationException
419 2002-11-15 Tim Coleman <tim@timcoleman.com>
420 * System.Data.Common/DbDataPermission.cs:
421 * System.Data.SqlClient/SqlClientPermission.cs:
422 Make these agree on the class status page.
423 * System.Data.SqlClient/SqlCommand.cs:
424 - Fix up handling of GUID and [Var]Binary, and Image types
425 * System.Data.SqlClient/SqlParameter.cs:
426 - Provide support for conversion between Type,
427 DbType, SqlDbType, and the SQL server type names.
428 - Fix up handling of GUID and [Var]Binary types
429 * System.Data.SqlClient/SqlParameterCollection.cs:
430 Correct all of the Add methods.
432 - Add more types to test: unique identifier, binary,
433 image, smalldatetime, money, smallmoney, timestamp
435 2002-11-14 Daniel Morgan <danmorg@sc.rr.com>
437 * System.Data/DataColumnPropertyDescriptor.cs
438 * System.Data/DataRowView.cs
439 * System.Data/DataView.cs
440 * System.Data.Common/DbDataRecord.cs: a little bit more
441 implementation for data binding purposes
443 * Test/PostgresTest.cs
444 * Test/TestSqlDataAdapter.cs
445 * Test/TestSqlException.cs
446 * TestSqlParameters.cs: fixed test for PostgreSQL's new home
447 at Mono.Data.PostgreSqlClient
449 2002-11-14 Tim Coleman <tim@timcoleman.com>
450 * System.Data.SqlClient/SqlCommand.cs:
451 Slight reformatting of Bit values and sql statements
452 * System.Data.SqlClient/SqlDataReader.cs:
453 Implement RecordsAffected
455 * System.Data.SqlClient/SqlParameter.cs:
456 Propertly support Char/NChar
457 * System.Data.SqlClient/SqlXmlTextReader.cs:
458 Add Close () to the Dispose () method
460 2002-11-13 Tim Coleman <tim@timcoleman.com>
462 New class added for testing SqlClient
463 * System.Data.SqlClient/SqlCommand.cs:
464 Add handling for SqlDbType.Bit
465 * System.Data.SqlClient/SqlConnection.cs:
466 Implement Dispose () methods.
467 Change ConnectionString setter
468 * System.Data.SqlClient/SqlDataReader.cs:
469 Implement Dispose () methods.
470 Set RecordsAffected to -1 by default. Need to
471 set this correctly in the future.
472 * System.Data.SqlClient/SqlCommandBuilder.cs:
473 * System.Data.SqlClient/SqlDataAdapter.cs:
474 * System.Data.SqlClient/SqlTransaction.cs:
475 * System.Data.SqlClient/SqlXmlTextReader.cs:
476 Implement Dispose () methods.
478 2002-11-12 Tim Coleman <tim@timcoleman.com>
480 Remove Mono.Data.TdsClient.Internal/TdsContext.cs
481 * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs:
482 * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs:
483 Complete these classes
484 * System.Data.Common/DbDataAdapter.cs:
485 Experimental support for FillSchema ()
487 2002-11-11 Tim Coleman <tim@timcoleman.com>
488 * System.Data/ResDescriptionAttribute.cs:
490 New internal class added
491 * System.Data/Constraint.cs:
492 * System.Data/ConstraintCollection.cs:
493 * System.Data/DBConcurrencyException.cs:
494 * System.Data/DataColumn.cs:
495 * System.Data/DataColumnCollection.cs:
496 * System.Data/DataRelation.cs:
497 * System.Data/DataRelationCollection.cs:
498 * System.Data/DataRow.cs:
499 * System.Data/DataRowBuilder.cs:
500 * System.Data/DataRowBuilder.cs:
501 * System.Data/DataRowCollection.cs:
502 * System.Data/DataSet.cs:
503 * System.Data/DataTable.cs:
504 * System.Data/DataTableCollection.cs:
505 * System.Data/DataView.cs:
506 * System.Data/DataViewManager.cs:
507 * System.Data/DataViewSetting.cs:
508 * System.Data/DataViewSettingCollection.cs:
509 * System.Data/ForeignKeyConstraint.cs:
510 * System.Data/ForeignKeyConstraint.cs:
511 * System.Data/InternalDataCollectionBase.cs:
512 * System.Data/MergeFailedEventArgs.cs:
513 * System.Data/StrongTypingException.cs:
514 * System.Data/TypeDataSetGeneratorException.cs:
515 * System.Data/UniqueConstraint.cs:
516 * System.Data.Common/DataAdapter.cs:
517 * System.Data.Common/DataColumnMapping.cs:
518 * System.Data.Common/DataColumnMappingCollection.cs:
519 * System.Data.Common/DataTableMapping.cs:
520 * System.Data.Common/DataTableMappingCollection.cs:
521 * System.Data.Common/DbDataAdapter.cs:
522 * System.Data.Common/DbDataPermission.cs:
523 * System.Data.Common/DbDataPermissionAttribute.cs:
524 * System.Data.Common/DbEnumerator.cs:
525 * System.Data.SqlClient/SqlCommand.cs:
526 * System.Data.SqlClient/SqlCommandBuilder.cs:
527 * System.Data.SqlClient/SqlConnection.cs:
528 * System.Data.SqlClient/SqlDataAdapter.cs:
529 * System.Data.SqlClient/SqlParameter.cs:
530 Add missing attributes, methods, properties based on information
531 from System.Data class status page on go-mono.com.
534 2002-11-10 Ville Palo <vi64pa@koti.soon.fi>
536 * System.Data.SqlTypes/SqlString.cs: Now all methods are implemented
538 2002-11-09 Tim Coleman <tim@timcoleman.com>
540 * System.Data/DataCategoryAttribute.cs:
541 Add new attribute based on corcompare
543 2002-11-09 Rodrigo Moya <rodrigo@ximian.com>
545 * System.Data.OleDb/OleDbDataAdapter.cs: cleaned up implementation,
546 based on the PgSql/SqlClient data adapter classes.
548 2002-11-09 Tim Coleman <tim@timcoleman.com>
550 Add new internal tds classes
551 * System.Data.Common/DbDataAdapter.cs:
552 * System.Data.SqlClient/SqlDataAdapter.cs:
553 Change event calling system
554 * System.Data.SqlClient/SqlClientPermission.cs:
555 * System.Data.SqlClient/SqlClientPermissionAttribute.cs:
556 * System.Data.SqlClient/SqlDataReader.cs:
558 * System.Data.SqlClient/SqlCommand.cs:
559 Some changes to make consistent with .NET based on Sql server traces
560 Implement command timeout
561 * System.Data.SqlClient/SqlCommandBuilder.cs:
562 Make sure that we only build a command if key info found
563 * System.Data.SqlClient/SqlConnection.cs:
564 Change event calling system
565 Some changes to make consistent with .NET based on Sql server traces
566 Implement connection timeout
567 * System.Data.SqlClient/SqlConnectionPool.cs:
568 Implement connection timeout
569 * System.Data.SqlClient/SqlError.cs:
570 Implement ToString ()
571 * System.Data.SqlClient/SqlException.cs:
572 Mucho implementation and cleanup
573 * System.Data.SqlClient/SqlParameter.cs:
575 * System.Data.SqlClient/SqlParameterCollection.cs:
577 * System.Data.SqlClient/SqlTransaction.cs:
578 Move some of the transaction creation to SqlConnection to be consistent
581 2002-11-08 Tim Coleman <tim@timcoleman.com>
582 * System.Data/DataRow.cs:
583 * System.Data/DataTable.cs:
584 Some fix-ups related to the DbDataAdapter to make it work.
585 * System.Data.Common/DbDataAdapter.cs:
586 Fix the Fill () and Update () methods. These now work
587 fairly well. Need mucho testing.
588 * System.Data.SqlClient/SqlCommandBuilder.cs:
589 Support table mappings and parameter source versions now.
590 * System.Data.SqlClient/SqlConnection.cs:
591 * System.Data.SqlClient/SqlTransaction.cs:
592 Add set accessor for transaction so that SqlTransaction.Commit ()
593 will remove itself from the connection.
594 * System.Data.SqlClient/SqlDataAdapter.cs:
595 Update/Insert/Delete command should be null by default.
596 * System.Data.SqlClient/SqlException.cs:
597 Remove a TODO attribute
598 * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs:
599 Properly handle the SqlCommand object
601 2002-11-08 Ville Palo <vi64pa@koti.soon.fi>
603 * System.Data.SqlTypes/SqlDateTime.cs: Now the all methods are
606 2002-11-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
608 * System.Data.SqlTypes/SqlDecimal.cs: fixed build. Someone should check
609 my comments and do something more appropiate.
611 2002-11-07 Ville Palo <vi64pa@koti.soon.fi>
613 * System.Data.SqlTypes/SqlBinary.cs:
614 * System.Data.SqlTypes/SqlBoolean.cs:
615 * System.Data.SqlTypes/SqlByte.cs:
616 * System.Data.SqlTypes/SqlDateTime.cs:
617 * System.Data.SqlTypes/SqlDecimal.cs:
618 * System.Data.SqlTypes/SqlDouble.cs:
619 * System.Data.SqlTypes/SqlDecimal.cs:
620 * System.Data.SqlTypes/SqlGuid.cs:
621 * System.Data.SqlTypes/SqlInt16.cs:
622 * System.Data.SqlTypes/SqlInt32.cs:
623 * System.Data.SqlTypes/SqlInt64.cs:
624 * System.Data.SqlTypes/SqlMoney.cs:
625 * System.Data.SqlTypes/SqlSingle.cs:
626 * System.Data.SqlTypes/SqlString.cs: Implemented more methods and
627 fixed some. SqlBoolean Equals (object value) -method improvements to
630 2002-11-07 Tim Coleman <tim@timcoleman.com>
631 * System.Data.Common/DbDataAdapter.cs:
632 Remove NotImplementedException in Dispose
633 * System.Data.Common/FieldNameLookup.cs:
635 * System.Data.SqlClient/SqlCommand.cs:
636 Fix CommandText accessor (stack overflow)
637 Implement DeriveParameters method
638 * System.Data.SqlClient/SqlCommandBuilder.cs:
640 * System.Data.SqlClient/SqlConnection.cs:
641 Change application name to "Mono SqlClient Data Provider"
642 * System.Data.SqlClient/SqlDataReader.cs:
643 Add new schema information
644 * System.Data.SqlClient/SqlError.cs:
645 * System.Data.SqlClient/SqlErrorCollection.cs:
646 Remove internal methods, TODO attributes
647 * System.Data.SqlClient/SqlParameter.cs:
648 Add new internal constructor for DeriveParameters use
649 * System.Data.SqlClient/SqlParameterConverter.cs:
650 Add missing methods based on class status
652 2002-11-07 Nick Drochak <ndrochak@gol.com>
653 * list: add System.Data/ColumnDataPropertyDescriptor.cs
655 2002-11-04 Tim Coleman <tim@timcoleman.com>
657 Add Mono.Data.TdsClient.Internal.TdsInternalError
658 Add Mono.Data.TdsClient.Internal.TdsInternalErrorCollection
659 Add Mono.Data.TdsClient.Internal.TdsInternalErrorMessageEventHandler
660 Add Mono.Data.TdsClient.Internal.TdsInternalErrorMessageEventArgs
661 Add Mono.Data.TdsClient.Internal.TdsInternalInfoMessageEventHandler
662 Add Mono.Data.TdsClient.Internal.TdsInternalInfoMessageEventArgs
663 Remove Mono.Data.TdsClient.Internal.TdsPacketErrorResult
664 Remove Mono.Data.TdsClient.Internal.TdsPacketErrorResultCollection
665 Remove Mono.Data.TdsClient.Internal.TdsPacketMessageResult
666 * System.Data.Common/RowUpdatedEventArgs.cs:
667 * System.Data.Common/RowUpdatingEventArgs.cs:
669 * System.Data.SqlClient/SqlCommand.cs:
670 * System.Data.SqlClient/SqlDataReader.cs:
671 Remove checks for errors. These are now handled by events
672 * System.Data.SqlClient/SqlConnection.cs:
673 * System.Data.SqlClient/SqlError.cs:
674 * System.Data.SqlClient/SqlException.cs:
675 * System.Data.SqlClient/SqlInfoMessageEventArgs.cs:
676 Add event handlers and triggers for errors, messages, state change
677 * System.Data.SqlClient/SqlParameter.cs:
678 Re-add refreshproperties
679 * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs:
680 * System.Data.SqlClient/SqlRowUpdatedEventHandler.cs:
681 * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs:
682 * System.Data.SqlClient/SqlRowUpdatingEventHandler.cs:
685 2002-11-04 Tim Coleman <tim@timcoleman.com>
687 Add Mono.Data.TdsClient.Internal.TdsBigDecimal
688 Add System.Data.SqlClient.SqlParameterConverter
689 Add System.Data.DataSysDescriptionAttribute
690 * System.Data/DataSysDescriptionAttribute.cs:
692 * System.Data.Common/DbDataPermission.cs:
693 Add CreateInstance method
694 * System.Data.SqlClient/SqlClientPermission.cs:
695 * System.Data.SqlClient/SqlError.cs:
696 Add Serializable attribute
697 * System.Data.SqlClient/SqlCommand.cs:
698 * System.Data.SqlClient/SqlConnection.cs:
699 * System.Data.SqlClient/SqlDataAdapter.cs:
700 * System.Data.SqlClient/SqlParameter.cs:
701 Add some missing property attributes
702 * System.Data.SqlClient/SqlCommandBuilder.cs:
703 Add some missing property attributes
705 * System.Data.SqlClient/SqlDataReader.cs:
706 Implement missing methods
707 * System.Data.SqlClient/SqlErrorCollection.cs:
708 Implement the properties
709 * System.Data.SqlClient/SqlException.cs:
710 Remove extra property accessors
711 * System.Data.SqlClient/SqlInfoMessageEventArgs.cs:
712 Add internal constructor
713 * System.Data.SqlClient/SqlParameterCollection.cs:
714 Add internal constructor
715 Add property attributes
716 * System.Data.SqlClient/SqlParameterConverter.cs:
717 New internal class added
718 * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs:
719 * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs:
721 * System.Data.SqlTypes/SqlDecimal.cs:
722 Add implicit conversion from TdsBigDecimal to SqlDecimal
723 * System.Data.SqlTypes/SqlString.cs:
724 * System.Data.SqlTypes/SqlInt16.cs:
725 * System.Data.SqlTypes/SqlDateTime.cs:
726 Change code to remove compiler warnings
728 2002-11-04 Stuart Caborn <stuart.caborn@clearswift.com>
730 * list: added System.Data/XmlConstants.cs to
733 * System.Data/XmlConstants.cs: added -
734 * System.Data/DataTable.cs
735 * System.Data/DataSet.cs
736 * System.Data/DataColumn.cs
737 * System.Data/DataColumnCollection.cs
738 * System.Data/DataRelation.cs: modified -
739 Began initial implementation of WriteXml
\r
740 and WriteXmlSchema. There is no support for DiffGrams
\r
741 yet. In WriteSchema mode, relationships are missing,
\r
742 all types are xs:string and the namespacing is not
\r
743 working properly. Added support for Ordinals in the
\r
744 DataColumnCollection and added support for
\r
745 namespaces and prefixes.
\r
747 2002-11-03 Ville Palo <vi64pa@koti.soon.fi>
749 * System.Data.SqlTypes/SqlBinary.cs: Finished and no errors generated
750 by NUnitConsole_mono.exe
752 2002-11-03 Tim Coleman (tim@timcoleman.com)
753 * System.Data.SqlClient/SqlCommand.cs:
754 Use SET NO_BROWSETABLE ON when CommandBehavior is KeyInfo
755 * System.Data.SqlClient/SqlDataReader.cs:
756 Get more schema info if available
758 Add Mono.Data.TdsClient.Internal.TdsColumnStatus
760 2002-11-02 Tim Coleman (tim@timcoleman.com)
761 * System.Data.SqlClient/SqlCommand.cs:
762 Change to use sp_executesql to run regular text queries.
763 Now, sp_executesql for text, sp_execute for prepared,
764 and execute for SPs means everything runs a procedure.
765 * System.Data.SqlClient/SqlParameter.cs:
766 Allow client to set parameter name in Prepare ()
767 * System.Data.SqlClient/SqlParameterCollection.cs:
768 Implement some methods
769 * System.Data.SqlClient/SqlDataReader.cs:
770 Since everything is an SP now, we know that when
771 we see DoneProc, that we are really done.
773 2002-11-01 Tim Coleman (tim@timcoleman.com) :
774 * System.Data.Common/DbEnumerator.cs :
775 Throw correct exception on Reset ()
776 Add ColumnSize to schema table.
777 * System.Data.SqlClient/SqlDataReader.cs :
778 Add ColumnSize to schema table.
779 * System.Data.SqlClient/SqlCommand.cs :
780 Change the way that preparing is handled.
781 Now uses sp_prepare on the server instead of temp
782 stored procedures because it's the Right Thing[tm] to do.
783 * System.Data.SqlClient/SqlConnection.cs :
784 Store data readers here rather than in command
785 * System.Data.SqlClient/SqlDataReader.cs :
786 More implementation, including binary types
787 * System.Data.SqlClient/SqlParameter.cs :
790 2002-10-31 Tim Coleman (tim@timcoleman.com)
791 * System.Data.Common/DbDataAdapter.cs :
792 Fix handling of nulls
793 * System.Data.Common/DbDataRecord.cs :
794 Change GetFieldType ()
795 * System.Data.Common/DbEnumerator.cs :
796 Add new schema information
797 * System.Data.Common/FieldNameLookup.cs :
798 Change definition of schema
799 * System.Data.Common/SchemaInfo.cs :
801 * System.Data.SqlClient/SqlDataReader.cs :
802 get more schema table data
804 Add Mono.Data.TdsClient.Internal.TdsSchemaInfo
806 2002-10-31 Ville Palo <vi64pa@koti.soon.fi>
815 * SqlString.cs: Some bugfixes and some TODOs but so much
818 2002-10-30 Tim Coleman (tim@timcoleman.com)
819 * System.Data.Common/FieldNameLookup.cs:
820 * System.Data.Common/SchemaInfo.cs:
821 * System.Data.SqlClient/SqlXmlTextReader.cs:
824 Class list changed in build
825 * System.Data.SqlClient/SqlCommand.cs:
826 Added support for command behaviors
827 Refactored a bunch of code
828 Implement ExecuteScalar
829 Implement ExecuteXmlReader
830 * System.Data.SqlClient/SqlConnection.cs:
831 Moved CheckForErrors here
832 * System.Data.SqlClient/SqlDataAdapter.cs:
834 * System.Data.SqlClient/SqlDataReader.cs:
835 Implement GetEnumerator
837 Add SqlDataReaderEnumerator private class
838 * System.Data.SqlClient/SqlParameter.cs:
839 Move some of the Prepare code from SqlCommand to here
840 * System.Data.SqlClient/SqlTransaction.cs:
841 Move error checking to SqlConnection
843 2002-10-29 Tim Coleman (tim@timcoleman.com)
844 * System.Data.SqlClient/SqlCommand.cs:
845 Added code to handle parameters for queries
846 * System.Data.SqlClient/SqlConnection.cs:
847 Properly handle resetting SqlConnections
848 * System.Data.SqlClient/SqlDataReader.cs:
849 Properly handle the case where no results are returned
850 * System.Data.SqlClient/SqlParameter.cs:
851 Default direction to Input
852 * System.Data.SqlClient/SqlParameterCollection.cs:
853 Implement GetEnumerator
855 2002-10-29 Rodrigo Moya <rodrigo@ximian.com>
857 * makefile.gnu: added Test directory.
859 2002-10-29 Ville Palo <vi64pa@koti.soon.fi>
861 * System.Data.SqlTypes/SqlGuid.cs: Fixed some bugs and finished
864 2002-10-28 Tim Coleman (tim@timcoleman.com)
865 * System.Data.SqlClient/SqlCommand.cs:
866 Add some error handling
867 * System.Data.SqlClient/SqlDataReader.cs:
868 Add some error handling
869 Add precision/scale to schema table
870 * System.Data.SqlClient/SqlException.cs:
871 Generate a SqlException from TDS error
873 * System.Data.SqlClient/SqlTransaction.cs:
874 Add some error handling
877 2002-10-28 Ville Palo <vi64pa@koti.soon.fi>
879 * System.Data.SqlTypes/SqlBinary.cs:
880 * System.Data.SqlTypes/SqlBoolean.cs:
881 * System.Data.SqlTypes/SqlByte.cs:
882 * System.Data.SqlTypes/SqlDateTime.cs:
883 * System.Data.SqlTypes/SqlDecimal.cs:
884 * System.Data.SqlTypes/SqlDouble.cs:
885 * System.Data.SqlTypes/SqlDecimal.cs:
886 * System.Data.SqlTypes/SqlDouble.cs:
887 * System.Data.SqlTypes/SqlGuid.cs:
888 * System.Data.SqlTypes/SqlInt16.cs:
889 * System.Data.SqlTypes/SqlInt32.cs:
890 * System.Data.SqlTypes/SqlInt64.cs:
891 * System.Data.SqlTypes/Money.cs:
892 * System.Data.SqlTypes/SqlSingle.cs:
893 * System.Data.SqlTypes/SqlString.cs:
894 * System.Data.SqlTypes/SqlSingle.cs: Fixed internal loop bugs and
895 some other minor fixes.
897 2002-10-27 Rodrigo Moya <rodrigo@ximian.com>
899 * System.Data.OleDb/OleDbDataAdapter.cs (Fill, FillSchema,
900 GetFillParameters, Update): added overloaded methods.
902 * System.Data.OleDb/OleDbCommand.cs:
903 * System.Data.OleDb/OleDbDataReader.cs:
904 * System.Data.OleDb/OleDbConnection.cs: removed limitation of one
905 data adapter at a time. Mono's version can open as many as you want,
908 2002-10-25 Tim Coleman (tim@timcoleman.com)
909 * System.Data.SqlClient/SqlConnectionPool.cs:
911 * System.Data.SqlClient/SqlClientPermission.cs:
912 * System.Data.SqlClient/SqlClientPermissionAttribute.cs:
913 * System.Data.SqlClient/SqlInfoMessageEventArgs.cs:
914 * System.Data.SqlClient/SqlInfoMessageEventHandler.cs:
915 * System.Data.SqlClient/SqlParameter.cs:
916 * System.Data.SqlClient/SqlParameterCollection.cs:
918 * System.Data.SqlClient/SqlCommand.cs:
919 * System.Data.SqlClient/SqlConnection.cs:
920 * System.Data.SqlClient/SqlException.cs:
921 * System.Data.SqlClient/SqlTransaction.cs:
922 New code based on work in TDS Client
924 New files added for SqlClient, and TdsClient.Internal
926 Added reference to System.EnterpriseServices.dll
927 Still leave SqlClient out of build until danmorg
930 2002-10-23 Ville Palo <vi64pa@koti.soon.fi>
932 * System.Data.SqlTypes/SqlDouble.cs:
933 * System.Data.SqlTypes/SqlSingle.cs: Finished
935 2002-10-23 Ville Palo <vi64pa@koti.soon.fi>
937 * System.Data.SqlTypes/SqlByte.cs:
938 * System.Data.SqlTypes/SqlBoolean.cs:
939 * System.Data.SqlTypes/SqlInt16.cs:
940 * System.Data.SqlTypes/SqlInt32.cs:
941 * System.Data.SqlTypes/SqlInt64.cs: Finished.
943 2002-10-21 Rodrigo Moya <rodrigo@ximian.com>
945 * list: removed libodbchelper.cs file, which has been removed.
947 2002-10-16 Tim Coleamn <tim@timcoleman.com>
950 Exclude compiling of System.Data.SqlClient in
951 preparation for overhauls of that system.
953 2002-10-16 Daniel Morgan <danmorg@sc.rr.com>
\r
956 * PostgresLibrary.cs
\r
958 * SqlClientPermission.cs
\r
959 * SqlClientPermissionAttribute.cs
\r
961 * SqlCommandBuilder.cs
\r
963 * SqlDataAdapter.cs
\r
966 * SqlErrorCollection.cs
\r
968 * SqlInfoMessageEventArgs.cs
\r
969 * SqlInfoMessageEventHandler.cs
\r
971 * SqlParameterCollection.cs
\r
972 * SqlRowUpdatedEventArgs.cs
\r
973 * SqlRowUpdatedEventHandler.cs
\r
974 * SqlRowUpdatingEventArgs.cs
\r
975 * SqlRowUpdatingEventHandler.cs
\r
976 * SqlTransaction.cs: thanks to Miguel de Icaza, he
\r
977 copied files on the mono cvs server
\r
978 from mcs/class/System.Data/System.Data.SqlClient
\r
979 for the PostgreSQL provider
\r
980 to mcs/class/Mono.Data.PostgreSqlClient.
\r
982 mcs/class/System.Data/System.Data.SqlClient for
\r
983 the Microsoft SQL Server provider.
\r
984 Any Mono.Data.PostgreSqlClient/Sql*.cs files
\r
985 were copied on the cvs server
\r
986 to Mono.Data.PostgreSqlClient/PgSql*.cs files
\r
987 and the old Mono.Data.PostgreSqlClient/Sql*.cs
\r
988 files were removed. Copying, renaming, and removing
\r
989 was done on the cvs server so we could keep
\r
990 the cvs change history.
\r
992 2002-10-15 Daniel Morgan <danmorg@sc.rr.com>
994 * System.Data.OleDb/libgda.cs: added more functions
995 to platfrom invoke into shared library libgda
997 * System.Data.OleDb/OleDbDataReader.cs: implemented
998 GetSchemaTable() and GetFieldType()
1000 2002-10-13 Daniel Morgan <danmorg@sc.rr.com>
1002 * System.Data/DataRow.cs: don't throw exception
1003 if DBNull is false. Had to do comment this line
1004 to allow a typeof(Type).
1006 * System.Data.SqlClient/SqlCommand.cs: the "DataType"
1007 DataColumn and DataRows in a DataTable for a schema should
1008 be typeof Type, not string. This is to make it
1009 compatible with MS.NET
1011 * System.Data.SqlClient/SqlConnection.cs: the
1012 isolation level should be set before
1013 beginning the transaction
1015 * Test/SqlSharpCli.cs: change string to Type for
1016 "DataType" from a DataRow in a DataTable
1017 that contains a schema.
1019 2002-10-14 Rodrigo Moya <rodrigo@ximian.com>
1021 * list: added missing Odbc files.
1023 2002-10-09 Rodrigo Moya <rodrigo@ximian.com>
1025 * list: added System.Data.Odbc files.
1027 2002-10-09 Brian Ritchie <brianlritchie@hotmail.com>
1029 * System.Data.Odbc/*: added first version of ODBC managed provider.
1031 2002-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1033 * System.Data/ConstraintCollection.cs:
1034 * System.Data/DataColumnCollection.cs:
1035 * System.Data/DataRowCollection.cs:
1036 * System.Data/DataTableCollection.cs:
1037 * System.Data/InternalDataCollectionBase.cs: made List internal to fix
1038 the build with csc. It must be a mcs bug. I will try to get a test case.
1040 2002-10-06 Luis Fernandez <luifer@onetel.net.uk>
1042 * System.Data/Constraint.cs (AssertConstraint): added overloaded
1045 * System.Data/DataColumnCollection.cs: added constraints when needed.
1047 * System.Data/DataRow.cs: validate UniqueConstraint's.
1049 * System.Data/DataRowCollection.cs (ValidateDataRowInternal): new
1050 internal method to validate a given DataRow with respect to the
1053 * System.Data/ForeignKeyConstraint.cs (AssertConstraint): stubs for
1054 new overloaded method.
1056 * System.Data/UniqueConstraint.cs: added implementation.
1057 (AseertConstraint): implemented new overloaded method.
1059 2002-10-01 Rodrigo Moya <rodrigo@ximian.com>
1061 * System.Data.OleDb/OleDbConnection.cs (Open): commented code from
1062 last commit, which wasn't supposed to be in CVS yet.
1064 2002-10-01 Luis Fernandez <luifer@onetel.net.uk>
1066 * System.Data/DataColumn.cs:
1067 * System.Data/DataRow.cs:
1068 * System.Data/DataRowCollection.cs:
1069 * System.Data/DataTable.cs: some fixes and implementation.
1071 2002-09-28 Vladimir Vukicevic <vladimir@pobox.com>
1073 * System.Data.OleDb/OleDbConnection.cs: Close
1074 reader properly in call to ExecuteScalar().
1076 2002-09-07 Rodrigo Moya <rodrigo@ximian.com>
1078 * System.Data.OleDb/OleDbConnection.cs (Open): changed to use OleDb
1079 connection strings, which are then converted to GDA connection
1080 strings, instead of using directly GDA data source names.
1082 * System.Data.OleDb/libgda.cs: added more needed functions.
1084 2002-09-06 Franklin Wise <gracenote@earthlink.net>
1086 * System.Data/DataColumn.cs: More flushing out.
1088 * System.Data/ForeignKeyConstraint.cs: Implemented GetHashCode()
1090 * System.Data/UniqueKeyConstraint.cs: Implemented GetHashCode()
1092 * Tests: See Changelog for System.Data/Test
1094 2002-09-04 Franklin Wise <gracenote@earthlink.net>
1096 * Tests: See Changelog for System.Data/Test
1099 System.Data/DataColumnCollectionTest.cs
1100 System.Data/DataRowCollectionTest.cs
1101 System.Data/DataRowTest.cs
1103 * System.Data/DataColumn.cs: Flushing out validation, type conversion for
1104 autoincrement. Added lots of TODO's.
1105 * System.Data/DataColumnCollection.cs: Wrote out add logic as a comment.
1106 Tagged implementation with FIXME tags. Lot's more validation
1107 and setup needs to be done, much of which is now tagged as todo's
1110 * System.Data/DataRow.cs: Lot's of fixme's added.
1112 * System.Data/DataRowCollection.cs: TODO's added.
1114 * System.Data/DataTable.cs: Implemented PrimaryKey.
1116 * System.Data/UniqueConstraint.cs: Implemented related PrimaryKey
1119 2002-08-25 Rodrigo Moya <rodrigo@ximian.com>
1121 * System.Data.OleDb/OleDbTransaction.cs (OleDbTransaction): manage
1122 correctly the isolation level.
1123 (IsolationLevel): likewise.
1124 (~OleDbTransaction): implemented.
1126 * System.Data.OleDb/libgda.cs: added more needed stuff.
1128 2002-08-22 Daniel Morgan <danmorg@sc.rr.com>
1130 * System.Data.SqlClient/SqlParameter.cs: flush
1132 * System.Data.SqlClient/SqlParameterCollection.cs: fixes
1133 for the Item property, IndexOf, and Contains.
1135 * Test/SqlSharpCli.cs: added input parameters support.
1136 when a query is executed, if a parameter name matches
1137 a SQL# internal variable name, it uses that value for the parameter; otherwise,
1138 the user is prompted for the parameter value. Currently, it only supports
1141 2002-08-21 Rodrigo Moya <rodrigo@ximian.com>
1143 * System.Data.OleDb/libgda.cs: adapted to changes in libgda (get_vtype
1144 and get_type for GdaValue).
1146 * System.Data.OleDb/OleDbDataReader.cs: adapted to changes in
1149 2002-08-20 Rodrigo Moya <rodrigo@ximian.com>
1151 * System.Data.OleDb/OleDbConnection.cs (DataReader): new internal
1153 (Close): set the dataReader to null.
1155 * System.Data.OleDb/OleDbDataReader.cs (OleDbDataReader): set the
1156 connection's DataReader property to this object.
1157 (Close): set it to null here.
1158 (Depth, IsDbNull): implemented.
1159 (this): implemented the Item property with a string indexer.
1161 * System.Data.OleDb/OleDbCommand.cs (ExecuteNonQuery, ExecuteReader,
1162 ExecuteScalar): do nothing if there's already an open data reader.
1164 * System.Data.OleDb/libgda.cs: more API functions.
1166 * System.Data.OleDb/TestOleDb.cs (TestDataReader): close the data
1167 reader before continuing.
1169 2002-08-20 Franklin Wise <gracenote@earthlink.net>
1171 * System.Data/System.Data.build: added nowarn:0679
1173 * System.Data/System.DataTable: cleaned up class, added MonoTODO tags
1174 setup to begin implementing. Implemented ctor().
1176 * Tests: See System.Data\Test\ChangeLog
1179 2002-08-19 Rodrigo Moya <rodrigo@ximian.com>
1181 * System.Data.OleDb/OleDbSchemaGuid.cs: initialize static members.
1183 2002-08-19 Franklin Wise <gracenote@earthlink.net>
1185 * Tests: See System.Data\Test\ChangeLog
1187 * System.Data/UniqueConstraint.cs: More validation.
1189 * System.Data/ForeignKeyConstraint.cs: Added more validation rules.
1190 Another LAMESPEC tag. Implemented more of Add/Remove Setup/Cleanup
1193 * System.Data/DataTable.cs: Added more MonoTODO tags
1195 * class/System.Data/.cvsignore: added tmp & Temp
1197 * System.Data/Constraint.cs: Changed abstract helpers to virtual and
1200 * System.Data/ConstraintCollection.cs: Commented out unused line.
1202 2002-08-18 Rodrigo Moya <rodrigo@ximian.com>
1204 * System.Data.OleDb/OleDbConnection.cs (ChangeDatabase): implemented.
1206 * System.Data.OleDb/OleDbException.cs (OleDbException): added internal
1208 (ErrorCode, Message, Source, Errors): implemented.
1210 * System.Data.OleDb/OleDbError.cs: implemented the full class.
1212 * System.Data.OleDb/libgda.cs: added more libgda functions.
1214 * System.Data.OleDb/TestOleDb.cs (TestOleDb): display properties for
1215 the opened connection.
1217 2002-08-18 Rodrigo Moya <rodrigo@ximian.com>
1219 * System.Data.OleDb/OleDbConnection.cs (ServerVersion): implemented.
1221 * System.Data.OleDb/OleDbDataReader.cs (Close): clear the results
1222 ArrayList after releasing the items.
1223 (GetName, GetDateTime, GetDouble, GetSingle, GetInt16, GetInt32,
1224 GetOrdinal, GetString): implemented.
1225 (GetDataTypeName): made it get the type from the data model, not from
1226 the current value, which could not have been retrieved yet.
1227 (GetValue): call the Get* method corresponding with the data type of
1228 the requested column.
1230 * System.Data.OleDb/libgda.cs: added more libgda functions.
1231 (GdaTimestamp, GdaDate, GdaTime): new marshalled structures.
1233 * System.Data.OleDb/TestOleDb.cs (TestDateReader): display column
1234 titles via OleDbDataReader.GetName ().
1235 (TestOleDb): create temporary table with a date field.
1236 (InsertRow): set current date for the date field.
1238 2002-08-18 Rodrigo Moya <rodrigo@ximian.com>
1240 * System.Data.OleDb/OleDbDataReader.cs (this[]): made it just call
1241 GetValue, which will take care of all the work needed.
1242 (Close): implemented basic stuff.
1243 (~OleDbDataReader): implemented.
1245 * System.Data.OleDb/libgda.cs: added more needed functions.
1247 2002-08-16 Rodrigo Moya <rodrigo@ximian.com>
1249 * System.Data.OleDb/TestOleDb.cs: made it work with a temporary table
1251 (TestTransaction): added test for transactions.
1253 2002-08-16 Rodrigo Moya <rodrigo@ximian.com>
1255 * System.Data.OleDb/libgda.cs: added new needed libgda functions.
1257 * System.Data.OleDb/OleDbDataReader.cs (GetBoolean): throw exceptions
1258 when there are errors.
1259 (GetByte, GetChar, GetDataTypeName, GetValue, Read): implemented.
1261 * System.Data.OleDb/TestOleDb.cs: added more testing code for data
1264 2002-08-15 Rodrigo Moya <rodrigo@ximian.com>
1266 * System.Data.OleDb/libgda.cs: added new needed libgda functions.
1268 * System.Data.OleDb/OleDbParameterCollection.cs (GdaParameterList):
1269 create an empty GdaParameterList.
1271 * System.Data.OleDb/OleDbCommand.cs (ExecuteReader): check values
1272 for NULL before passing them to Marshal.PtrToStructure, which issues
1273 an exception if the value is NULL.
1275 2002-08-15 Rodrigo Moya <rodrigo@ximian.com>
1277 * System.Data/UniqueConstraint.cs (UniqueConstraint): commented
1278 unreachable code to avoid compiler warning.
1280 * System.Data.OleDb/libgda.cs (GdaList): added new internal class.
1282 * System.Data.OleDb/OleDbConnection.cs (DataSource): implemented.
1283 (OpenReader): removed internal method.
1285 * System.Data.OleDb/OleDbCommand.cs (ExecuteReader): split correctly
1286 the list of returned data models.
1288 2002-08-15 Franklin Wise <gracenote@earthlink.net>
1290 * System.Data/Constraint.cs: Added helper virtual functions
1292 * System.Data/ConstraintCollection.cs: Improved constraint removal,
1293 validation. Removed specific knowledge of subclasses of
1296 * System.Data/DataColumn.cs: Added static helper function to compare
1297 if two DataColumn arrays are the same.
1299 * System.Data/ForeignKeyConstraint.cs: Continued to flush out.
1301 * System.Data/UniqueConstraint.cs: Implemented. Still some constraint
1304 2002-08-13 Franklin Wise <gracenote@earthlink.net>
1306 * System.Data/DataRow.cs: Added several fixme tags.
1308 2002-08-13 Rodrigo Moya <rodrigo@ximian.com>
1310 * System.Data.SqlClient/SqlDataAdapter.cs (DeleteCommand,
1311 InsertCommand, SelectCommand, UpdateCommand): removed 'new' keyword
1312 to avoid compiler warnings.
1314 2002-08-12 Franklin Wise <gracenote@earthlink.net>
1316 * System.Data/Constraint.cs: Implemented
1318 * System.Data/UniqueConstraint.cs: GetHashCode() &
1319 special case Ctor. Still need to be implemented. LAMESPEC tags
1322 * System.Data/ConstraintCollection.cs: Clear() &
1323 AddRange() need to be finished. Several LAMESPEC tags.
1325 * Allow Constraint collection to be created in DataTable.
1327 * System.Data/ForeignKeyConstraint: Added a couple of
1330 * System.Data/DataColumnCollection New/Added DataColumns now have
1333 2002-08-11 Rodrigo Moya <rodrigo@ximian.com>
1335 * System.Data.OleDb/libgda.cs: added some GdaValue functions.
1337 * System.Data.OleDb/OleDbCommand.cs (OpenReader): removed this
1338 internal method, since we don't need it.
1339 (ExecuteReader): call SetupGdaCommand before executing the command
1340 via libgda functions.
1341 (ExecuteScalar): implemented.
1343 * System.Data.OleDb/OleDbDateReader.cs (OleDbDataReader): removed call
1344 to OleDbCommand.OpenReader.
1345 (GetBoolean): implemented.
1347 2002-08-08 Franklin Wise <gracenote@earthlink.net>
1349 * System.Data/IDbComand.cs: IDbCommand now inherits IDisposable
1351 * System.Data/IDbConnection.cs: IDbConnection now inherits IDisposable
1353 * System.Data.SqlTypes/SqlCompareOptions.cs: Enum now set to correct
1356 2002-08-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1358 * System.Data.OleDb/OleDbConnection.cs: little fixes to make it work
1359 and don't show a warning in Open.
1361 * System.Data.OleDb/TestOleDb.cs: added Close.
1363 2002-08-05 Rodrigo Moya <rodrigo@ximian.com>
1365 * System.Data.OleDb/OleDbConnection.cs (ConnectionString,
1366 ConnectionTimeout, ServerVersion, GdaConnection):
1368 (OleDbConnection): call libgda.gda_init on constructor.
1370 * System.Data.OleDb/libgda.cs (libgda): removed static constructor,
1371 which wasn't been called.
1373 * System.Data.OleDb/TestOleDb.cs (TestOleDb): updated to really
1376 2002-08-04 Rodrigo Moya <rodrigo@ximian.com>
1378 * list: added missing System.Data.OleDb and
1379 System.Data.Common files.
1381 * System.Data.OleDb/ChangeLog: removed and merged with
1382 System.Data's ChangeLog.
1384 * System.Data.OleDb/OleDbDataAdapter.cs:
1385 * System.Data.OleDb/OleDbPermission.cs: compilation fixes.
1387 2002-07-30 Rodrigo Moya <rodrigo@ximian.com>
1389 * System.Data.OleDb/OleDbDataReader.cs (FieldCount): implemented.
1390 (IsClosed, Item, RecordsAffected): implemented some properties.
1392 * libgda.cs: added GdaDataModel methods.
1394 2002-07-29 Rodrigo Moya <rodrigo@ximian.com>
1396 * System.Data.OleDb/OleDbDataReader.cs (OleDbDataReader constructor): changed to receive
1397 a second argument (ArrayList results).
1398 (NextResult): implemented.
1400 * System.Data.OleDb/OleDbCommand.cs: don't store the ArrayList of results, since we'll
1401 pass that to the OleDbDataReader.
1402 (OleDbCommand constructor): don't create the ArrayList of results.
1403 (GdaResults): removed property.
1404 (ExecuteReader): create a temporary ArrayList and pass that to the
1405 OleDbDataReader constructor.
1407 2002-07-28 Rodrigo Moya <rodrigo@ximian.com>
1409 * System.Data.OleDb/OleDbCommand.cs (ExecuteReader):
1410 (CreateParameter): implemented IDbCommand methods.
1411 (CommandText): don't create many GdaCommand's, only one is needed.
1412 (ExecuteNonQuery): set up the internal GDA command object.
1413 (ExecuteReader): use correctly the unique GDA command object.
1415 * System.Data.OleDb/libgda.cs: added new libgda calls.
1417 2002-07-27 Rodrigo Moya <rodrigo@ximian.com>
1419 * System.Data.OleDb/OleDbConnection.cs (CreateCommand):
1420 (BeginTransaction): implemented IDbConnection methods.
1422 2002-07-12 Rodrigo Moya <rodrigo@ximian.com>
1424 * list: added System.Data.OleDb files to file list.
1426 2002-07-11 Rodrigo Moya <rodrigo@ximian.com>
1428 * System.Data.OleDb/libgda.cs: added new libgda functions and some enumerations.
1430 * System.Data.OleDb/OleDbParameter.cs (IsNullable): removed explicit implementation
1431 of the set method for this property.
1433 * System.Data.OleDb/OleDbDataAdapter.cs (MissingMappingAction): implemented.
1434 (MissingSchemaAction): implemented.
1436 2002-07-10 Tim Coleman <tim@timcoleman.com>
1438 * System.Data.OleDb/OleDbCommandBuilder.cs: Added new methods, properties
1439 * System.Data.OleDb/OleDbConnection.cs: Modified constructor
1440 * System.Data.OleDb/OleDbError.cs: Added stubbs
1441 * System.Data.OleDb/OleDbException.cs: Added stubbs
1442 * System.Data.OleDb/OleDbInfoMessageEventArgs.cs: Added stubbs
1443 * System.Data.OleDb/OleDbInfoMessageEventHandler.cs: style change
1444 * System.Data.OleDb/OleDbParameter.cs: Added conversion from type to OleDbType
1445 * System.Data.OleDb/OleDbPermission.cs: Added stubbs
1446 * System.Data.OleDb/OleDbSchemaGuid.cs: Added stubbs
1447 * System.Data.OleDb/OleDbTransaction.cs: New constructors, changes to methods to
1448 support transaction nesting
1449 * System.Data.OleDb/libgda.cs: Added my name to this file
1451 2002-07-09 Tim Coleman <tim@timcoleman.com>
1453 * System.Data.OleDb/OleDbCommand.cs: Style changes, added new methods
1454 * System.Data.OleDb/OleDbConnection.cs: Style changes, added new methods
1455 * System.Data.OleDb/OleDbDataAdapter.cs: Implementation
1456 * System.Data.OleDb/OleDbDataReader.cs: Added stubbs
1457 * System.Data.OleDb/OleDbErrorCollection.cs: Added stubbs, some implementation
1458 * System.Data.OleDb/OleDbParameter.cs: Style changes, added new methods
1459 * System.Data.OleDb/OleDbParameterCollection.cs: Style changes, added new methods
1460 * System.Data.OleDb/OleDbPermissionAttribute.cs: Style changes, added new methods
1461 * System.Data.OleDb/OleDbRowUpdatedEventArgs.cs: Added stubbs
1462 * System.Data.OleDb/OleDbRowUpdatingEventArgs.cs: Added stubbs
1463 * System.Data.OleDb/OleDbTransaction.cs: Style changes, added new methods
1464 * System.Data.OleDb/OleDbType.cs: Fixed two typos
1465 * System.Data.OleDb/libgda.cs: Style changes, added new methods
1467 2002-07-09 Tim Coleman <tim@timcoleman.com>
1469 * System.Data.build: remove restriction on System.Data.OleDb build
1471 2002-06-03 Rodrigo Moya <rodrigo@ximian.com>
1473 * System.Data.OleDb/OleDbParameterCollection.cs (GetEnumerator, SyncRoot,
1474 IsSynchronized): implemented.
1476 2002-06-02 Rodrigo Moya <rodrigo@ximian.com>
1478 * System.Data.OleDb/OleDbTransaction.cs (Dispose): added missing method.
1480 * System.Data.OleDb/OleDbCommand.cs (Clone): added missing methods.
1481 (Parameters, Transaction, Connection): made these overload
1484 * System.Data.OleDb/OleDbParameterCollection.cs (IndexOf, Remove, RemoveAt):
1485 call m_list methods, not own ones.
1487 * System.Data.OleDb/OleDbParameter.cs: more implementation.
1489 2002-06-02 Rodrigo Moya <rodrigo@ximian.com>
1491 * System.Data.OleDb/OleDbTransaction.cs (Connection, IsolationLevel, Begin,
1492 Commit, Rollback): implemented.
1493 (GdaConnection): added new internal property.
1495 * System.Data.OleDb/OleDbParameter.cs:
1496 * System.Data.OleDb/OleDbParameterCollection.cs: implemented some methods and
1499 * System.Data.OleDb/libgda.cs: added yet more libgda API functions.
1501 2002-06-01 Rodrigo Moya <rodrigo@ximian.com>
1503 * System.Data.OleDb/libgda.cs: added new libgda API functions.
1505 * System.Data.OleDb/OleDbConnection.cs (Provider): implemented.
1506 (BeginTransaction): made it overload IDbConnection methods.
1507 (ChangeDatabase): new stub, needs some work on libgda for being
1510 (Close): implemented.
1511 (CreateCommand): implemented.
1512 (GetOleDbSchemaTable): new stub, until I understand what to do here.
1513 (Open): implemented basic stuff, which is just supporting connection
1514 strings that represent a GDA data source name. More to come.
1515 (InfoMessage, StateChange): added events.
1517 * System.Data.OleDb/TestOleDb.cs: test program for System.Data.OleDb.
1519 2002-05-29 Rodrigo Moya <rodrigo@ximian.com>
1521 * System.Data.OleDb/libgda.cs: added static constructor.
1522 (GdaClient): new static property to get the underlying GdaClient
1525 * System.Data.OleDb/OleDbConnection.cs: removed GDA initialization, which belongs to
1526 the static 'libgda' class.
1528 2002-05-29 Rodrigo Moya <rodrigo@ximian.com>
1530 * System.Data.OleDb/libgda.cs: static class for libgda API calls.
1532 * System.Data.OleDb/OleDbConnection.cs: implemented constructors.
1533 (ConnectionString, Connectiontimeout, Database, State):
1534 implemented class properties.
1535 (BeginTransaction): implemented.
1537 * System.Data.OleDb/OleDbTransaction.cs: implemented protected constructors.
1539 * System.Data.OleDb/TestGDA.cs: simple test for libgda API.
1541 2002-05-27 Rodrigo Moya <rodrigo@ximian.com>
1543 * System.Data.OleDb/*: started System.Data.OleDb provider, based on libgda.
1545 2002-06-06 Rodrigo Moya <rodrigo@ximian.com>
1547 * list: added missing PostgresTypes.cs file.
1549 2002-06-02 Francisco Jr. <fxjrlists@yahoo.com.br>
1551 * System.Data.SqlClient/SqlParameterCollection.cs: implemented missing
1554 2002-05-30 Daniel Morgan <danmorg@sc.rr.com>
1556 * System.Data.SqlClient/SqlConnection.cs: modifed -
1557 start to implement the interfaces properly and
1558 properly doing a Close(), Dispose(), and
1561 * Test/SqlSharpCli.cs: modified -
1562 add support for MySQL in Mono.Data.MySql
1563 and OleDb support in System.Data.OleDb. However,
1564 the OleDb support is commented right now.
1565 When the program starts up, a shorter help menu should
1566 display the most important commands: help and quit
1568 2002-05-28 Rodrigo Moya <rodrigo@ximian.com>
1570 * System.Data.build: exclude System.Data.OleDb files.
1572 2002-05-27 Daniel Morgan <danmorg@sc.rr.com>
1574 * System.Data.SqlClient/SqlCommand.cs: typo
1575 should be CommandBehavior.KeyInfo
1577 * Test/SqlSharpCli.cs: refactored and added a few more
1580 2002-05-27 Tim Coleman <tim@timcoleman.com>
1581 * list: update to compile properly (add missing
1582 files and switch path delimiter from '\' to '/').
1584 2002-05-26 Daniel Morgan <danmorg@sc.rr.com>
1586 * System.Data/DataRow.cs
1587 * System.Data.Common/DbDataAdapter.cs: fix to
1588 get Test/TestSqlDataAdapter.cs to work again
1590 * Test/TestSqlDataAdapter.cs: removed comment
1591 about SqlDataReader:NextResult() not being implemented; it
1592 bas been implemented
1594 2002-05-26 Daniel Morgan <danmorg@sc.rr.com>
1596 * System.Data/DataRow.cs: modified
1597 support setting of DBNull.Value
1598 using the Item indexer this[DataColumn]
1600 * System.Data.SqlClient/SqlCommand.cs: modified
1601 tweaks to show TODO's for other CommandBehavior.
1602 Set AllowDBNull column to true for IsKey row
1603 in schema DataTable.
1605 * System.Data.SqlClient/SqlConnection.cs: modified
1606 if transaction is in progress when a Close() is called,
1607 do a transaction Rollback.
1609 2002-05-26 Daniel Morgan <danmorg@sc.rr.com>
1611 * Test/SqlSharpCli.cs: added file
1612 My new toy. SQL# is a command-line tool to enter
1613 SQL commands and queries using Mono System.Data.
1614 It also serves as a test for Mono System.Data.
1616 * System.Data.SqlClient/SqlCommand.cs: modified
1617 - ExecuteNonQuery(), ExecuteScalar(), and ExecuteReader()
1618 should handle the results from SQL Commands and Queries.
1619 - Internal class SqlResult should not create schema Table
1620 for the result from a SQL Command. Also, set the RecordsRetrieved
1621 property for SqlDataReader.
1622 - Closing the SqlDataReader should Close() the SqlConnection for
1623 a CommandBehavior.CloseConnection.
1624 - Set defaults for SqlResult
1626 * System.Data.SqlClient/SqlConnection.cs: modified -
1627 when SqlDataReader is Close()
1628 should Close() the SqlConnection for
1629 a CommandBehavior.CloseConnection. Changed internal Property
1630 from OpenReader get/set to IsReaderOpen get and created
1631 internal methods OpenReader()/CloseReader() for SqlCommand to call.
1632 SqlConnection needs to be prevented from doing while SqlDataReader
1635 * System.Data.SqlClient/SqlDataReader.cs: modified -
1636 call SqlCommand's OpenReader() internal method. get
1637 RecordsRetrieved from SqlResult. set/reset default
1638 values for SqlDataReader.
1640 * Test/PostgresTest.cs
1641 * Test/TestExecuteScalar.cs
1642 * Test/TestSqlDataReader.cs: modified
1643 for the Execute...() methods in SqlCommand
1644 to test SQL Queries and Commands
1646 * Test/System.Data_test.build: modified
1647 exclude new file Test/SqlSharpCli.cs from
1650 2002-05-24 Tim Coleman <tim@timcoleman.com>
1651 * System.Data.Common/DbDataAdapter.cs: remove IDbCommands, except
1652 for get accessors. These should be implemented in derived classes. See
1653 SqlDataAdapter for clues.
1654 * System.Data.SqlClient/SqlDataAdapter.cs: implement IDbDataAdapter
1655 * System.Data.Common/DataAdapter.cs:
1656 * System.Data.Common/DataTableMappingCollection.cs:
1657 * System.Data.Common/DataTableMapping.cs:
1658 * System.Data.Common/DataColumnMappingCollection.cs:
1659 * System.Data.Common/DataColumnMapping.cs:
1660 Properly (I hope!) implement all of the appropriate interfaces
1664 2002-05-23 Tim Coleman <tim@timcoleman.com>
1665 * System.Data.SqlClient/SqlCommand.cs: include
1666 the BaseColumnName in the schema table. Was missed before.
1667 * System.Data.Common/DbDataAdapter.cs: Use DataTable
1668 mappings so that the DataSet and DataTable are more closely tied.
1669 Get schema information from the DataTable using GetSchemaTable ()
1670 Various other little fixes
1671 * System.Data.Common/DataColumnMappingCollection.cs:
1672 * System.Data.Common/DataTableMapping.cs:
1673 * System.Data.Common/DataTableMappingCollection.cs: Some
1674 implementation, enough to be used by DbDataAdapter.
1676 2002-05-23 Daniel Morgan <danmorg@sc.rr.com>
1678 * System.Data.SqlClient/SqlCommand.cs: set
1679 the "ProviderType" to the PostgreSQL type oid
1681 * System.Data.SqlClient/SqlDataReader.cs: fix
1682 for various properties and methods that
1683 return meta data: Item indexers this[name] and this[index],
1684 GetFieldType, GetName, and GetOrdinal. SqlDataAdapter
1687 2002-05-22 Daniel Morgan <danmorg@sc.rr.com>
1689 * System.Data/DataRow.cs: change suggested
1690 by tim: in Item indexer, do an EndEdit()
1692 * System.Data.SqlClient/SqlCommand.cs: more
1693 fixes to SqlResult. After setting each item in
1694 the DataRow, do an AcceptChanges() to commit
1695 the changes in the DataRow. For DataType, use a Type
1696 of System.String since System.Type nor System.Object
1699 * Test/TestSqlDataReader.cs
1700 * Test/PostgresTest.cs: updated to to be on
1701 the way schema table is suppose to work
1703 2002-05-22 Daniel Morgan <danmorg@sc.rr.com>
1705 * System.Data.SqlClient/SqlCommand.cs: more work on
1706 building the schema table
1708 2002-05-22 Tim Coleman <tim@timcoleman.com>
1709 * System.Data.SqlClient/SqlCommand.cs: preliminary work
1710 on getting the schema table correctly built.
1712 2002-05-21 Daniel Morgan <danmorg@sc.rr.com>
1714 * System.Data.SqlClient/ParmUtil.cs: added file - to
1715 provide utility for conversion of input parameters
1717 * System.Data.SqlClient/PostgresTypes.cs: added file -
1718 moved the PostgreHelper class to here. May eventually
1719 move the internal class PostgresTypes that's inside the
1720 SqlConnection to here as well.
1721 Handling of PostgreSQL <-> .NET types need to be though
1722 out more. Also, the PostgreHelper has a method to convert
1723 from .NET types to a string which can be put into used in
1724 an SQL statement to execute against a PostgreSQL database.
1725 This is the beginnings of parameters support. It currently
1726 only supports input parameters. Still need to do output,
1727 input/output, and return parameters.
1729 * Test/TestSqlParameters.cs: new test to test the input
1730 parameters in System.Data.SqlClient against a
1733 * System.Data.SqlClient/PostgresLibrary.cs: moved
1734 PostgresHelper class to file PostgresTypes.cs. Also
1735 moved struct PostgresType there too.
1737 * System.Data.SqlClient/SqlCommand.cs: added input
1740 * System.Data.SqlClient/SqlParameter.cs: got
1741 SqlParameter to work
1743 * System.Data.SqlClient/SqlParameterCollection.cs: got
1744 SqlParameterCollection to work
1746 * Test/System.Data_test.build: added files to exclude
1749 * System.Data.SqlClient/SqlConnection.cs: release resources
1752 2002-05-18 Daniel Morgan <danmorg@sc.rr.com>
1754 * System.Xml: added directory for classes with namespace
1755 System.Xml to go into the System.Data.dll assembly
1757 * System.Xml/XmlDataDocument: added file
1758 for stubbed concrete class XmlDataDocument which
1759 inherits from XmlDocument. Its purpose is to provide
1760 a W3C XML DOM Document for relational data and interacting
1763 2002-05-18 Daniel Morgan <danmorg@sc.rr.com>
1765 * System.Data.SqlClient/SqlCommand.cs: handle CommandTypes
1766 Text, TableDirect, and StoredProcedure
1768 * Test/PostgresTest.cs: changed call to version()
1769 stored procedure to use the CommandType of StoredProcedure
1771 * Test/TestSqlDataReader.cs: test all the CommandTypes
1773 2002-05-18 Daniel Morgan <danmorg@sc.rr.com>
1775 * System.Data.build: took out all excluded
1776 files except the ones in the Test directory
1777 because all files compile now. It does not
1778 mean they all work or have implementations
1781 * System.Data/DataRelationCollection.cs
1782 * System.Data/DataTableRelationCollection.cs
1783 * System.Data/InternalDataCollectionBase.cs
1784 * System.Data.Common/DbDataPermission.cs
1785 * System.Data.SqlClient/SqlInfoMessageEventArgs.cs
1786 * System.Data.SqlClient/SqlClientPermission.cs
1787 * System.Data.SqlClient/SqlClientPermissionAttribute.cs: changes
1788 to get all System.Data* files to compile.
1790 * System.Data.SqlClient/SqlCommand.cs: started coding
1791 to prevent SqlConnection and SqlCommand from doing
1792 anyting while fetching data using SqlDataReader. Also,
1793 started coding to undo this prevention once the
1794 SqlDataReader is closed.
1796 * System.Data.SqlClient/SqlConnection.cs: get database server
1797 version. Started coding to prevent connection from
1798 doing anything while fetching data and undo once the reader
1799 is closed. Include events SqlInfoMessage and StateChange.
1801 * System.Data.SqlClient/SqlDataReader.cs: start coding to
1802 prevent connection and command from doing anything while
1803 fetching data, and undo when closed.
1805 * Test/PostgresTest.cs: added test to get ServerVersion
1806 property from SqlConnection
1808 2002-05-18 Tim Coleman <tim@timcoleman.com>
1809 * System.Data/DataRow.cs: More implementation,
1810 as well as boundary checks and small semantic
1813 2002-05-18 Tim Coleman <tim@timcoleman.com>
1814 * System.Data/DataRow.cs: Try to reduce memory
1815 usage by only creating the original and proposed
1816 arrays as required in BeginEdit, and then destroying
1817 proposed during EndEdit, and original during AcceptChanges.
1818 * System.Data.Common/DbDataAdapter.cs: Make the
1819 startRecord and maxRecords parameters work correctly.
1821 2002-05-18 Tim Coleman <tim@timcoleman.com>
1822 * System.Data/DataRow.cs: Move the null check in
1823 ItemArray set to above the Invalid Cast check, so
1824 that we don't get null reference exceptions.
1826 2002-05-17 Daniel Morgan <danmorg@sc.rr.com>
1828 * System.Data.SqlClient/PostgresLibrary.cs: handle
1829 data value from database being NULL
1831 * System.Data.SqlClient/SqlCommand.cs: for ExecuteReader,
1832 allow multiple result sets. Added new internal class
1833 SqlResult to pass result set data from SqlCommand
1836 * System.Data.SqlClient/SqlDataReader.cs: allow
1837 multiple result sets.
1839 * System.Data.SqlClient/SqlConnection.cs: moved
1840 things around. Implement IDisposable.
1842 * Test/TestSqlDataReader.cs: test for execution
1843 of multiple result sets and display the results
1844 of these multiple results sets
1846 * Test/TestSqlDataAdapter.cs: tweaks
1848 2002-05-17 Tim Coleman <tim@timcoleman.com>
1849 * System.Data.Common/DbDataAdapter.cs:
1850 - More implementation of Fill methods
1851 - Get rid of isDirty flag, because we can just check
1853 - Do *not* remove DataTables before Filling them
1854 - Implicitly open the connection before doing a Fill
1855 if it does not exist.
1856 * System.Data.SqlClient/SqlDataAdapter.cs:
1858 * System.Data/DataTableCollection.cs:
1859 - Add DataSet to internal, undocumented constructor
1860 - When a table is created, set its DataSet property
1861 - Default table name for creation is "Table1" (see .NET)
1862 - Inherit the ArrayList list from InternalDataCollecitonBase
1863 and maintain a hashtable between table names and
1865 * System.Data/DataTable.cs:
1866 - Add internal dataSet field. This is used by
1867 DataTableCollection when the DataTable is constructed.
1868 * System.Data/DataSet.cs:
1869 - Pass a reference to the DataSet when constructing the
1870 DataTableCollection.
1872 2002-05-16 Tim Coleman <tim@timcoleman.com>
1873 * System.Data.Common/DbDataAdapter.cs:
1874 Use table.Rows.Add (itemArray) instead of
1875 table.Rows.Add (thisRow) to provide better
1877 * System.Data/DataRowCollection.cs:
1878 Some implementation of this class.
1879 * System.Data/InternalDataCollectionBase.cs:
1880 Some implementation. Most notably, this now
1881 has an enumerator so we can use foreach (DataRow row in table.Rows)
1882 in the test classes.
1883 * System.Data/DataTable.cs:
1884 Since DataRowCollection now accepts a DataTable in
1885 its internal constructor, we must pass one in.
1887 2002-05-16 Daniel Morgan <danmorg@sc.rr.com>
1889 * Test/TestSqlDataAdapter.cs: added new test
1890 for SqlDataAdapter, DataSet, DataTableCollection, DataTable,
1891 DataRowCollection, and DataRow. It tests retrieving data
1892 based on a SQL SELECT query. This test is based on Tim Coleman's
1895 2002-05-16 Tim Coleman <tim@timcoleman.com>
1896 * System.Data.Common/DbDataAdapter.cs:
1897 Use table.Rows.Add (thisRow) instead of
1898 table.ImportRow (thisRow)
1899 * System.Data/DataRowCollection.cs:
1900 Construct the ArrayList before using it
1902 2002-05-16 Tim Coleman <tim@timcoleman.com>
1903 * System.Data/DataTable.cs:
1904 Construct the DataRowCollection in the DataTable
1905 constructor. Otherwise, it's a null reference.
1907 2002-05-16 Tim Coleman <tim@timcoleman.com>
1908 * System.Data.SqlClient/SqlDataReader.cs:
1909 Modify GetValues to use Array.Copy() to copy
1910 the results from fields to values, rather than
1911 an assignment, which results in loss of data.
1913 2002-05-16 Tim Coleman <tim@timcoleman.com>
1914 * System.Data/DataRow.cs:
1915 More implementation and documentation. It should
1916 work more like expected, although there is no way
1917 to demonstrate this well yet. DataTable requires
1920 2002-05-15 Tim Coleman <tim@timcoleman.com>
1921 * System.Data/DataRow.cs:
1922 Minor tweaks as I determine exactly how to
1923 implement this class.
1926 2002-05-14 Duncan Mak <duncan@ximian.com>
1928 * System.Data/DataTable.cs (NewRow): Added missing paren to fix build.
1930 2002-05-14 Tim Coleman
1931 * System.Data/DataRow.cs:
1932 * System.Data/DataRowBuilder.cs:
1933 * System.Data/DataTable.cs:
1934 More implementation of these classes. DataRow
1935 can now (possibly) do some useful things.
1936 Still not sure what DataRowBuilder is all about,
1937 other than passing a DataTable in.
1939 2002-05-14 Tim Coleman
1940 * System.Data/DataRowBuilder.cs:
1941 Add stubb for this internal class.
1943 2002-05-13 Tim Coleman
1944 * System.Data.Common/DbDataAdapter.cs:
1945 The maxRecords check was not correct.
1947 2002-05-13 Tim Coleman
1948 * System.Data/DataTableCollection.cs:
1949 Fix an issue when adding a DataTable and size == 0.
1950 Now explicitly checks if size > 0 before doing Array.Copy ()
1951 * System.Data.Common/DbDataAdapter.cs:
1952 Move closer to a working implementation.
1953 Make the IDbCommand fields protected so that they can
1955 * System.Data.SqlClient/SqlDataAdapter.cs:
1956 This should inherit the IDbCommands instead of having its
1957 own. An explicit cast is used to force conversion between
1958 IDbCommand and SqlCommand
1960 2002-05-13 Tim Coleman
1961 * System.Data.Common/DataTableMappingCollection.cs:
1962 Some implementation to allow progress with DbDataAdapter
1964 2002-05-13 Tim Coleman
1965 * System.Data.Common/DbDataAdapter.cs:
1966 Modify to not break compile.
1968 2002-05-13 Tim Coleman
1969 * System.Data.build:
1970 include SqlDataAdapter, SqlRowUpdatedEventArgs,
1971 SqlRowUpdatingEventArgs, SqlRowUpdatedEventHandler,
1972 SqlRowUpdatingEventHandler in the build.
1974 2002-05-13 Tim Coleman
1975 * System.Data.Common/DbDataAdapter.cs:
1976 More implementation.
1977 * System.Data.Common/DataAdapter.cs:
1978 Correction of some of the stubbing, as well as a
1979 little bit more implementation
1981 2002-05-11 Tim Coleman
1982 * System.Data.SqlClient/SqlDataAdapter.cs:
1983 * System.Data.Common/DbDataAdapter.cs:
1984 Moved methods that weren't supposed to
1985 be in SqlDataAdapter out. They should be implemented
1989 2002-05-11 Tim Coleman
1990 * System.Data.SqlClient/SqlDataAdapter.cs:
1991 some implementation of this class. Note
1992 that none of the functionality has been
1993 tested yet, but I felt it should be checked
1994 in at this point as it compiles.
1995 * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs:
1996 * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs:
1997 Modified so that they will compile properly.
1998 Needed to include SqlDataAdapter in the build.
2000 2002-05-11 Rodrigo Moya <rodrigo@ximian.com>
2002 * System.Data/DataTable.cs (Clear): implemented.
2003 (DataTable): removed repeated code in constructors, and call the
2004 basic constructor from the others.
2006 * System.Data/DataColumn.cs: some tweaks.
2008 * System.Data/DataRow.cs (RowState): implemented.
2009 (CancelEdit): set rowState property back to Unchanged.
2010 (RejectChanges): call CancelEdit.
2011 (Delete): set rowState to Deleted.
2013 2002-05-11 Daniel Morgan <danmorg@sc.rr.com>
2015 * System.Data.build: added copy of System.Data.dll to Test directory
2016 for easy testing. Also, added clean for it too.
2018 * System.Data.SqlClient/PostgresLibrary.cs: changed setting of boolean
2019 from PostgreSQL data type to .NET type.
2021 * System.Data.SqlClient/SqlDataReader.cs: beginnings
2022 handling of a NULL value from the database
2024 * Test/PostgresTest.cs: added tests for NULL values retrieved
2027 * Test/ReadPostgresData.cs
2028 * Test/TestExecuteScalar.cs
2029 * Test/TestSqlDataReader.cs
2030 * Test/TestSqlException.cs
2031 * Test/TestSqlIsolationLevel.cs: updated tests to use databas user
2032 "postgres". These tests may eventually be removed since they
2035 2002-05-10 Rodrigo Moya <rodrigo@ximian.com>
2037 * System.Data.build: removed reference to non-existant
2038 TestDataColumn.cs file.
2040 * System.Data/DataSet.cs: added some implementation.
2042 2002-05-09 Daniel Morgan <danmorg@sc.rr.com>
2044 * System.Data.SqlClient/PostgresLibrary.cs: got
2045 PostgreSQL data types time, date, timestamp (DateTime like)
2046 mapped to .NET System.DateTime working based
2047 on ISO DateTime formatting "YYYY-MM-DD hh:mi:ss.ms"
2048 Also mapped pg type boolean to .net Boolean
2050 * SqlClient/SqlConnection.cs: run SQL command to set
2053 * Test/PostgresTest.cs: added test for an UPDATE SQL command,
2054 added tests for aggregates min(), max(), sum(), count(). could
2055 not get avg() to work due to some formatting error; someone claimed
2056 that it was my locale settings. added tests for SELECT of columns
2057 of type boolean, float, double, date, time, and timestamp. They
2058 have not been fully tested, but its a start.
2060 2002-05-09 Tim Coleman <tim@timcoleman.com>
2061 * System.Data.SqlTypes/SqlDecimal.cs: Implementations of
2062 addition, subtraction, and multiplication for the
2063 SqlDecimal type, as well as modification of some other
2064 operations. More to come on this one.
2066 2002-05-08 Rodrigo Moya <rodrigo@ximian.com>
2068 * Test/System.Data_test.build: excluded TestDataColumn, which
2069 should be replaced with a nunit test.
2071 * Test/TestDataColumn.cs: added basic test for DataColumn.cs.
2073 2002-05-07 Tim Coleman <tim@timcoleman.com>
2087 Fix the broken build I made before. Bad
2090 2002-05-07 Tim Coleman <tim@timcoleman.com>
2092 Fix a symantic error I made in SqlString
2093 Equals where I copied and pasted wrongly
2095 2002-05-07 Tim Coleman <tim@timcoleman.com>
2100 * SqlCompareOptions.cs:
2111 Implement CompareTo, Equals, and String conversions
2114 2002-05-05 Daniel Morgan <danmorg@sc.rr.com>
2116 * Test/PostgresTest.cs: modified to run completely. There
2117 are many TODOs in System.Data, so not all data types are
2118 included in the SELECT SQL query. Also, I made it to where
2120 using "host=localhost;dbname=test;user=postgres"
2121 instead of my userid and password. When more types are included,
2124 2002-05-05 Daniel Morgan <danmorg@sc.rr.com>
2126 * Test/PostgresTest.cs: added - ported
2127 libgda postgres-test.c originally by
2128 Gonzalo Paniagua Javier <gonzalo@gnome-db.org>
2131 2002-05-05 Tim Coleman <tim@timcoleman.com>
2132 * System.Data.SqlTypes/SqlBinary.cs:
2133 * System.Data.SqlTypes/SqlBoolean.cs:
2134 * System.Data.SqlTypes/SqlByte.cs:
2135 * System.Data.SqlTypes/SqlDateTime.cs:
2136 * System.Data.SqlTypes/SqlDecimal.cs:
2137 * System.Data.SqlTypes/SqlDouble.cs:
2138 * System.Data.SqlTypes/SqlGuid.cs:
2139 * System.Data.SqlTypes/SqlInt16.cs:
2140 * System.Data.SqlTypes/SqlInt32.cs:
2141 * System.Data.SqlTypes/SqlInt64.cs:
2142 * System.Data.SqlTypes/SqlMoney.cs:
2143 * System.Data.SqlTypes/SqlSingle.cs:
2144 * System.Data.SqlTypes/SqlString.cs:
2145 More implementation, and code clean-up for consistency.
2146 Also, I had implemented many conversions as explicit
2147 that should have been implicit. This should remove
2148 many of the red X's and green pluses from the
2149 System.Data.SqlTypes namespace.
2151 2002-05-05 Miguel de Icaza <miguel@ximian.com>
2153 * System.Data/DataSet.cs: Remove [Serializable] attributes from
2154 methods, those only apply to structs or classes.
2156 Stub out ISerializable, ISupportInitialize, and IListSource methods
2158 * System.Data/DataRowView.cs: Stub out interface methods for
2159 IEditableObject, ICustomTypeDescriptor and IDataErrorInfo
2161 * System.Data/DataView.cs: Comment out non-implemented
2164 * System.Data/DataViewSettingsCollection.cs: Type cast variables
2165 to the correct type to make it compile.
2167 * System.Data/DataViewSettings.cs: remove reference to
2168 non-existance type ApplyDefaultSort, it is a boolean.
2171 2002-05-05 Tim Coleman <tim@timcoleman.com>
2172 * System.Data.SqlTypes/SqlBinary.cs:
2173 * System.Data.SqlTypes/SqlBoolean.cs:
2174 * System.Data.SqlTypes/SqlByte.cs:
2175 * System.Data.SqlTypes/SqlDecimal.cs:
2176 * System.Data.SqlTypes/SqlDouble.cs:
2177 * System.Data.SqlTypes/SqlGuid.cs:
2178 * System.Data.SqlTypes/SqlInt16.cs:
2179 * System.Data.SqlTypes/SqlInt32.cs:
2180 * System.Data.SqlTypes/SqlInt64.cs:
2181 * System.Data.SqlTypes/SqlMoney.cs:
2182 * System.Data.SqlTypes/SqlSingle.cs:
2183 * System.Data.SqlTypes/SqlString.cs:
2184 Various fixes, including adding the SqlNullValueException
2185 when trying to retrieve the value of a null SqlType,
2186 and when casting values, a Null of type A converts to a
2189 2002-05-04 Daniel Morgan <danmorg@sc.rr.com>
2191 * System.Data.SqlClient/PostgresLibrary.cs
2192 * System.Data.SqlClient/SqlCommand.cs
2193 * System.Data.SqlClient/SqlConnection.cs
2194 * System.Data.SqlClient/SqlDataReader.cs
2195 oid should not be hard coded because they
2196 can change from one version of PostgreSQL
2197 to the next. Use the typname's instead.
2198 The PostgreSQL type data retrieves
2199 at database connection time. Any unimplemented
2200 types just default to string. These were things
2201 suggested by Gonzalo.
2203 * Test/ReadPostgresData.cs - stuff
2204 * Test/TestSqlDataReader.cs - stuff
2206 * System.Data.SqlTypes/SqlInt32.cs - added a using
2208 2002-05-03 Tim Coleman <tim@timcoleman.com>
2209 * System.Data.build: Fix the build so that test depends on build
2211 2002-05-03 Tim Coleman <tim@timcoleman.com>
2212 * System.Data.SqlTypes/SqlByte.cs:
2213 * System.Data.SqlTypes/SqlDateTime.cs:
2214 * System.Data.SqlTypes/SqlDecimal.cs:
2215 * System.Data.SqlTypes/SqlDouble.cs:
2216 * System.Data.SqlTypes/SqlGuid.cs:
2217 * System.Data.SqlTypes/SqlInt16.cs:
2218 * System.Data.SqlTypes/SqlInt64.cs:
2219 * System.Data.SqlTypes/SqlMoney.cs:
2220 * System.Data.SqlTypes/SqlSingle.cs:
2221 These files were mysteriously excluded from the last
2222 patch I made and sent to Rodrigo
2223 * System.Data.build: include the System.Data.SqlTypes in the build
2225 2002-05-03 Daniel Morgan <danmorg@sc.rr.com>
2227 * System.Data.build: removed comments
2229 * System.Data.SqlClient/PostgresLibrary.cs: changed
2230 the hard-coded PostgreSQL oid type int's to using an
2231 enum. Also, added PostgreSQL bpchar (character) type.
2233 * Test/TestSqlDataReader.cs: updated test
2234 to include new bpchar PostgreSQL type
2236 2002-05-03 Rodrigo Moya <rodrigo@ximian.com>
2238 * System.Data.SqlTypes/SqlBinary.cs:
2239 * System.Data.SqlTypes/SqlBoolean.cs:
2240 * System.Data.SqlTypes/SqlInt32.cs:
2241 * System.Data.SqlTypes/SqlString.cs: more implementation, by
2242 Tim Coleman <tcoleman@opentext.com>.
2244 2002-05-03 Daniel Morgan <danmorg@sc.rr.com>
2246 * Test/TestExecuteScalar.cs: added test for
2247 method ExecuteScalar in class SqlCommand.
2249 * System.Data/DataColumnCollection.cs - it should
2250 inherit properties from base InternalDataCollectionBase
2251 and use them instead of overriding them, such as, List.
2253 * System.Data/DataColumn.cs
2254 * System.Data/DataTable.cs: tweaks to retrieve
2255 meta data from the database
2257 * System.Data.SqlClient/PostgresLibrary.cs -
2258 added method OidToType to convert PostgreSQL oid type
2259 to System.Type. Renamed method OidTypeToSystem
2260 to ConvertPgTypeToSystem for converting the data value
2261 from a PostgreSQL type to a .NET System type.
2263 * System.Data.SqlClient/SqlCommand.cs: implemented
2264 method ExecuteReader which returns a SqlDataReader
2265 for a light forward only read only result set.
2266 It works on types int4 ==> Int32 and
2267 varchar ==> String. Other types
2270 * System.Data.SqlClient/SqlConnection.cs: added comment
2272 * System.Data.SqlClient/SqlDataReader.cs: implemented
2273 class. It works, but still lots to do.
2275 * Test/ReadPostgresData.cs: stuff
2277 * Test/TestSqlDataReader.cs: updated test for SqlDataReader
2278 to display meta data and the data
2280 2002-05-03 Duncan Mak <duncan@ximian.com>
2282 * TODO: Took out all the Exceptions. They should be all done now.
2284 * System.Data/ConstraintException.cs:
2285 * System.Data/DBConcurrencyException.cs:
2286 * System.Data/DataException.cs:
2287 * System.Data/DeletedRowInaccessibleException.cs:
2288 * System.Data/DuplicateNameException.cs:
2289 * System.Data/EvaluateException.cs:
2290 * System.Data/InRowChangingEventException.cs:
2291 * System.Data/InvalidConstraintException.cs:
2292 * System.Data/InvalidExpressionException.cs:
2293 * System.Data/MissingPrimaryKeyException.cs:
2294 * System.Data/NoNullAllowedException.cs:
2295 * System.Data/ReadOnlyException.cs:
2296 * System.Data/RowNotInTableException.cs:
2297 * System.Data/StrongTypingException.cs:
2298 * System.Data/SyntaxErrorException.cs:
2299 * System.Data/TypeDataSetGeneratorException.cs:
2300 * System.Data/VersionNotFoundException.cs: Added to CVS.
2302 * System.Data.SqlTypes/SqlNullValueException.cs:
2303 * System.Data.SqlTypes/SqlTruncateException.cs:
2304 * System.Data.SqlTypes/SqlTypeException.cs: Added to CVS.
2306 2002-05-02 Rodrigo Moya <rodrigo@ximian.com>
2308 * System.Data/DataViewSettingCollection.cs: implemented.
2310 * System.Data/DataRowView.cs: new stubs.
2312 * System.Data.SqlTypes/SqlByte.cs:
2313 * System.Data.SqlTypes/SqlDateTime.cs:
2314 * System.Data.SqlTypes/SqlDecimal.cs:
2315 * System.Data.SqlTypes/SqlDouble.cs:
2316 * System.Data.SqlTypes/SqlGuid.cs:
2317 * System.Data.SqlTypes/SqlInt16.cs:
2318 * System.Data.SqlTypes/SqlInt64.cs:
2319 * System.Data.SqlTypes/SqlMoney.cs:
2320 * System.Data.SqlTypes/SqlSingle.cs: new stubs, contributed
2321 by Tim Coleman <tcoleman@opentext.com>
2323 * System.Data.build: excluded newly-added files.
2325 2002-05-02 Daniel Morgan <danmorg@sc.rr.com>
2327 * System.Data.SqlClient/PostgresLibrary.cs: included new
2328 internal class that will be a helper class in using
2329 PostgreSQL. PostgresLibrary is used for the
2330 pinvoke methods to the PostgreSQL Client
2331 native C library libpq while the class PostgresHelper
2332 is used for wrapper or helper methods. It currently only
2333 has one static method OidTypeToSystem in converting
2334 PostgreSQL types to .NET System.<type>s, such as,
2335 a PostgreSQL int8 becomes a .NET System.Int64.
2336 Only a few types have been added, such as, int2,
2337 int4, int8, varchar, text, bool, and char. Other types
2340 * System.Data.SqlClient/SqlCommand.cs: implemented
2341 method ExecuteScalar which allows us to do aggregate
2342 functions, such as, count, avg, min, max, and sum. We
2343 also are able to retrieve the result, convert it to the .NET type
2344 as an object. The user of the returned object must explicitly cast.
2346 * Test/ReadPostgresData.cs: updated sample
2347 to help us learn to retrieve data in System.Data.SqlClient
2350 2002-05-01 Daniel Morgan <danmorg@sc.rr.com>
2352 * System.Data.build: added /nowarn: nnnn arguments
2353 so you will not get a ton of warnings. The warnings
2354 being excluded are: 1595, 0067, 0109, 0169, and 0649
2356 2002-05-01 Daniel Morgan <danmorg@sc.rr.com>
2358 * System.Data.build: modified to exclude more
2359 files from the build
2361 2002-05-01 Rodrigo Moya <rodrigo@ximian.com>
2363 * System.Data.SqlClient/SqlClientPermission.cs: added missing
2366 * System.Data/MergeFailedEventArgs.cs: new class, contributed
2367 by John Dugaw <jdugaw@unizenconsulting.com>.
2369 * System.Data.build: excluded new files from build.
2371 2002-04-29 Daniel Morgan <danmorg@sc.rr.com>
2373 * Test/ReadPostgresData.cs: added - Uses the
2374 PostgresLibrary to retrieve a recordset.
2375 This is not meant to be used in Production, but as a
2376 learning aid in coding
2377 class System.Data.SqlClient.SqlDataReader.
2378 This sample does work.
2380 * Test/TestSqlDataReader.cs: added - used
2381 to test SqlDataReader (does not work yet)
2382 Forgot to add to ChangeLog on last commit.
2384 2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
2386 * System.Data/DataViewSetting.cs: new class.
2388 2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
2390 * System.Data/DataViewManager.cs: new class.
2392 * System.Data.SqlTypes/INullable.cs: properties for interfaces
2393 don't have implementation.
2395 * System.Data.SqlTypes/SqlInt32.cs:
2396 * System.Data.SqlTypes/SqlString.cs:
2397 * System.Data.SqlTypes/SqlBoolean.cs: removed destructor, since
2398 these are strctures.
2400 * System.Data.SqlClient/SqlClientPermissionAttribute.cs: added
2403 2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
2405 * System.Data/DataTableRelationCollection.cs: use 'new' keyword
2406 for correctly hiding parent class' members.
2407 (AddRange): use 'override' keyword on overriden method.
2409 (Contains): likewise.
2410 (IndexOf): likewise.
2411 (OnCollectionChanged): likewise.
2412 (OnCollectionChanging): likewise.
2413 (RemoveCore): likewise.
2415 * System.Data/DataColumnCollection.cs: use 'new' keyword.
2417 * System.Data/DataSet.cs: added missing 'using's.
2419 2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
2421 * System.Data/DataSet.cs:
2422 * System.Data/DataTableCollection.cs:
2423 * System.Data/DataView.cs: compilation fixes on Linux.
2425 2002-04-28 Daniel Morgan <danmorg@sc.rr.com>
2427 * System.Data/DataRelation.cs
2428 * System.Data/ForeignKeyConstraint.cs
2429 * System.Data/UniqueConstraint.cs: added more stubs
2431 * System.Data/DataTableRelationCollection.cs: added back to cvs
2432 and modified for compile errors. DataRelationCollection is an
2433 abstract class and there must be a class that implements for
2434 DataTable/DataSet. DataTableRelationCollection was changed
2435 to an internal class.
2437 * System.Data.build: modified - new files added
2438 also wanted to include files/classes in the build
2439 so we can get a compilable forward read only result set.
2440 It compiles now using csc/nant with warnings, but this
2441 is a start for adding functionality for the result set.
2442 Classes associated with/and DataSet are still excluded.
2444 * TODO: modified - updated to do list for System.Data
2446 * System.Data/Constraint.cs
2447 * System.Data/ConstraintCollection.cs
2448 * System.Data/DataRelationCollection.cs
2449 * System.Data/DataRow.cs
2450 * System.Data/DataRowChangeEventArgs.cs
2451 * System.Data/DataRowCollection.cs
2452 * System.Data/DataTable.cs
2453 * System.Data/DataTableCollection.cs
2454 * System.Data/InternalDataCollectionBase.cs
2455 * System.Data/PropertyCollection.cs: modified -
2456 changes to compile SqlDataReader/DataTable and
2459 * System.Data/IDbCommand.cs
2460 * System.Data.SqlClient/SqlCommand.cs: modified -
2461 un-commented overloaded methods ExecuteReader
2462 which returns a SqlDataReader
2464 2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
2466 * System.Data/DataTableCollection.cs: more implementation.
2467 (Count): added 'override' keyword, as pointer out by Martin.
2469 * System.Data.Common/DataColumnMappingCollection.cs (Add, AddRange):
2470 only call Array.Copy when there is really stuff to be copied.
2471 (CopyTo): don't create the temporary array, it's not needed.
2473 * System.Data.build: excluded newly added file from build.
2475 2002-04-27 Rodrigo Moya <rodrigo@ximian.com>
2477 * System.Data/DataTableRelationCollection.cs: removed, it's not
2478 on MS SDK documentation.
2480 * System.Data/DataTableCollection.cs: new class.
2482 2002-04-27 Daniel Morgan <danmorg@sc.rr.com>
2484 * System.Data/DataRowChangeEventArgs.cs
2485 * System.Data/DataRowCollection.cs
2486 * System.Data/DataView.cs
2487 * System.Data/PropertyCollection.cs: added new stubs
2489 * System.Data.build: modified - added new files to exclude
2492 * TODO: modified - removed files from TODO list
2493 that were stubbed above
2495 * System.Data/DataColumn.cs
2496 * System.Data/DataRow.cs: modified - various tweaks
2497 and added internal method SetTable to set the reference
2500 * System.Data/DataSet.cs: modified - class was not
2503 * System.Data/DataTable.cs: modified - temporarily commented
2504 DataSet and DataView references - trying to compile a SqlDataReader,
2505 DataTable, and dependencies for a forward read-only result set.
2506 SqlDataAdapter, DataSet, and DataView will come later once we can get
2507 a forward read only result set working.
2509 * System.Data/IDataRecord.cs: modified - source code lines should
2512 * System.Data/InternalDataCollectionBase.cs: modified - started
2513 implementing this base class for collection of data rows,
2514 columns, tables, relations, and constraints
2516 * System.Data.SqlClient/SqlException.cs: modified -
2517 call base(message) so a unhandled exception displays
2518 the message of a SQL error instead of the
2519 default SystemException message
2521 * Test/TestSqlException.cs: modified -
2522 handle the rollback properly for a SqlException on a
2525 2002-04-23 Daniel Morgan <danmorg@sc.rr.com>
2527 * System.Data.build: modified - added new
2528 files to exclude from build
2530 * System.Data/Constraint.cs
2531 * System.Data/ConstraintCollection.cs
2532 * System.Data/InternalDataCollectionBase.cs: added -
2533 stubs which are needed to build DataTable.cs
2535 * TODO: modified - added more classes TODO and
2536 added more stuff TODO, such as, create script
2537 to create test database monotestdb for testing
2538 classes in System.Data
2540 2002-04-23 Rodrigo Moya <rodrigo@ximian.com>
2542 * System.Data.Common/DataAdapter.cs:
2543 * System.Data.Common/DataColumnMappingCollection.cs:
2544 * System.Data.Common/DataTableMappingCollection.cs:
2545 * System.Data.Common/DbDataPermission.cs:
2546 * System.Data.Common/DbDataPermissionAttribute.cs: some
2547 compilation errors fixed.
2549 2002-04-23 Daniel Morgan <danmorg@sc.rr.com>
2551 * TODO: modified - added classes TODO, and
2552 a poor attempt at System.Data plan
2554 2002-04-23 Daniel Morgan <danmorg@sc.rr.com>
2556 * ChangeLog: modified - put tabs where they belong
2558 * System.Data.SqlClient/SqlDataReader.cs
2559 * System.Data/DataColumn.cs: modified - compile errors
2560 trying to compile SqlDataAdapter and dependencies
2562 2002-04-23 Daniel Morgan <danmorg@sc.rr.com>
2564 * System.Data.SqlTypes/SqlBoolean.cs
2565 * System.Data.SqlTypes/SqlCompareOptions.cs
2566 * System.Data.SqlTypes/SqlInt32.cs
2567 * System.Data.SqlTypes/SqlString.cs: added - new stubs
2569 * System.Data/DataTable.cs
2570 * System.Data.SqlClient/SqlCommand.cs
2571 * System.Data.SqlClient/SqlConnection.cs
2572 * System.Data.SqlClient/SqlError.cs
2573 * System.Data.SqlClient/SqlTransaction.cs: modified -
2576 * System.Data.SqlClient/SqlException.cs: modified -
2577 missing Message on indexer for Message property
2579 2002-04-21 Daniel Morgan <danmorg@sc.rr.com>
2581 * System.Data.SqlClient/SqlCommand.cs: modified - to
2582 compile using mcs. This problem is
2583 returning a stronger type in csc vs. msc
2585 * System.Data.SqlClient/SqlConnection.cs: modified - msc
2586 can not do a using PGconn = IntPtr; and then declare
2587 with PGconn pgConn = IntPtr.Zero;
2588 Thiw works under csc though. Had to comment using and
2589 changed declaration to IntPtr pgConn = IntPtr.Zero;
2590 Also, got rid of compile warnings for hostaddr and port.
2592 * System.Data.SqlClient/SqlErrorCollection.cs: modified - got
2593 rid of compile warnings. Commented MonoTODO attribute because mcs
2594 doesn't seem to work with C# array property indexer (Item)
2597 * System.Data.SqlClient/SqlParameterCollection.cs: modified -
2598 commented MonoTODO attribute for indexer for mcs compiling
2600 * Test/TestSqlIsolationLevel.cs:
2601 * Test/TestSqlInsert.cs:
2602 * Test/TestSqlException.cs: modified -
2603 removed extra ExecuteNonQuery which caused two inserted rows
2605 2002-04-20 Daniel Morgan <danmorg@sc.rr.com>
2607 * System.Data/StateChangeEventArgs.cs - added
2608 needed to compile System.Data.dll with mcs.
2610 2002-04-20 Daniel Morgan <danmorg@sc.rr.com>
2612 * System.Data.OleDb: added directory - for OleDb database
2615 * System.Data.SqlClient/SqlClientPermission.cs
2616 * System.Data.SqlClient/SqlClientPermissionAttribute.cs
2617 * System.Data.SqlClient/SqlCommandBuilder.cs
2618 * System.Data.SqlClient/SqlInfoMessageEventHandler.cs
2619 * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs
2620 * System.Data.SqlClient/SqlRowUpdatedEventHandler.cs
2621 * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs
2622 * System.Data.SqlClient/SqlRowUpdatingEventHandler.cs
2623 * Test/TestSqlException.cs
2624 * Test/TestSqlIsolationLevel.cs: added - more tests
2626 * System.Data.build: modified - added new files - excludes these too
2628 * System.Data.SqlClient/PostgresLibrary.cs - modified - comment
2630 * System.Data.SqlClient/SqlConnection.cs
2631 * System.Data.SqlClient/SqlCommand.cs
2632 * System.Data.SqlClient/SqlTransaction.cs
2633 * System.Data.SqlClient/SqlException.cs
2634 * System.Data.SqlClient/SqlErrorCollection.cs
2635 * System.Data.SqlClient/SqlError.cs: modified - transaction and
2636 exception/error handling. SqlConnection(connectionString)
2637 constructor should not automatically connect.
2639 * System.Data.SqlClient/SqlDataReader.cs
2640 * System.Data.SqlClient/SqlDataAdapter.cs
2641 * System.Data.SqlClient/SqlParameter.cs
2642 * System.Data.SqlClient/SqlParameterCollection.cs: modified -
2643 added using System.ComponentModel;
2645 * Test/TestSqlInsert.cs: modified - to use transaction
2647 2002-04-17 Rodrigo Moya <rodrigo@ximian.com>
2649 * System.Data/DataRow.cs: new skeletons.
2651 * System.Data.Common/DataAdapter.cs:
2652 * System.Data.Common/DataColumnMapping.cs:
2653 * System.Data.Common/DataColumnMappingCollection.cs:
2654 * System.Data.Common/DataTableMapping.cs:
2655 * System.Data.Common/DataTableMappingCollection.cs:
2656 * System.Data.Common/DbDataAdapter.cs:
2657 * System.Data.Common/RowUpdatedEventArgs.cs:
2658 * System.Data.SqlClient/SqlDataAdapter.cs:
2659 * System.Data.SqlClient/SqlInfoMessageEventArgs.cs: compilation
2662 * System.Data.Common/DbDataRecord.cs:
2663 * System.Data.Common/DbEnumerator.cs: removed MS implementation
2666 2002-04-17 Daniel Morgan <danmorg@sc.rr.com>
2668 * Test/TestSqlInsert.cs: modified - do
2669 a SQL DELETE before SQL INSERT of row so you can use this
2672 * System.Data.SqlClient/SqlTransaction.cs: modified - default
2673 IsolationLevel for PostgreSQL is ReadCommitted. However,
2674 PostgreSQL allows Serializable as well.
2675 (Thanks to Gonzalo for that!)
2677 * System.Data.SqlClient/SqlConnection.cs: modified
2678 * System.Data.SqlClient/SqlCommand.cs: modified
2679 * System.Data.SqlClient/SqlTransaction.cs: modified - got transactions
2680 working; however, we still need to implement SQL errors
2681 and exceptions to properly handle transactions. Also, added
2682 status and error message support from the PostgreSQL database.
2683 Currently, this does a Console.WriteLine() to display the
2684 status and error messages, but this is a TODO
2685 for SQL errors and exceptions.
2687 * System.Data/TODOAttribute.cs: added - needed MonoTODO
2688 attribute for System.Data.dll assembly
2690 * System.Data/IDbCommand.cs: modified - commented
2691 overloaded method ExecuteReader
2692 so System.Data.SqlClient.SqlCommand can compile
2694 * System.Data/IDbCommand.cs: modified
2695 * System.Data/IDbConnection.cs: modified - added using System;
2696 * System.Data/IDataParameter.cs
2698 * System.Data.build: modified - build classes
2699 in System.Data.SqlClient and exclude others in System.Data
2701 * System.Data.SqlClient/PostgresLibrary.cs: modified - change
2702 parameter data type from IntPtr to enum ExecStatusType
2704 * ChangeLog: modified - corrected previous entries in log
2706 2002-04-16 Rodrigo Moya <rodrigo@ximian.com>
2708 * System.Data.Common/DataColumnMappingCollection.cs: added basic
2709 implementation. Still missing some stuff.
2711 2002-04-16 Daniel Morgan <danmorg@sc.rr.com>
2713 * System.Data.SqlClient/SqlConnection.cs: modified - got
2714 to compile, run, and connect to PostgreSQL database
2716 * System.Data.SqlClient/SqlCommand.cs: modified - got
2717 to compile, run, and execute a SQL INSERT command
2718 which successfully inserted a row
2719 into the PostgreSQL database
2721 * System.Data.SqlClient/SqlTransaction.cs: modified
2722 * System.Data.SqlClient/SqlParameter.cs: modified
2723 * System.Data.SqlClient/SqlParameterCollection.cs: modified
2724 * System.Data.SqlClient/SqlError.cs: modified
2725 * System.Data.SqlClient/SqlErrorCollection.cs: modified
2726 * System.Data.SqlClient/SqlException.cs: modified
2727 * System.Data.SqlClient/PostgresLibrary.cs: modified - to compile
2729 * System.Data.SqlClient/SqlAdapter: modified
2730 * System.Data.SqlClient/SqlReader: modified - add more stubs
2732 2002-04-16 Daniel Morgan <danmorg@sc.rr.com>
2734 * Test/TestSqlInsert.cs: added
2736 2002-04-15 Daniel Morgan <danmorg@sc.rr.com>
2738 * System.Data.SqlClient/SqlInfoMessageEventArgs.cs: added - using in
2739 class SqlConnecition
2740 * System.Data.SqlClient/SqlErrorCollection.cs: added
2741 * System.Data.SqlClient/SqlErrors.cs: removed - no such class SqlErrors
2743 2002-04-15 Christopher Podurgiel <cpodurgiel@msn.com>
2745 * System.Data.IDbDataParameter: Added Interface to IDataParameter.
2746 * System.Data.IDbTransaction: Added Interface to IDisposable.
2747 * System.Data.IDbCommand: Fixed Capitalization of class name.
2748 * System.Data.IDbConnection: Fixed Capitalization of class name.
2750 2002-04-15 Rodrigo Moya <rodrigo@ximian.com>
2752 * System.Data.Common/DbDataPermissionAttribute.cs:
2753 * System.Data.Common/DataAdapter.cs:
2754 * System.Data.Common/DataColumnMapping.cs:
2755 * System.Data.Common/DbDataPermission.cs: added some implementation.
2757 2002-04-15 Rodrigo Moya <rodrigo@ximian.com>
2759 * System.Data.SqlClient/SqlConnection.cs: fixed constructor chaining
2760 syntax, as pointed out by Levent Camlibel.
2762 2002-04-14 Rodrigo Moya <rodrigo@ximian.com>
2764 * System.Data.SqlTypes/SqlBinary.cs:
2765 * System.Data.SqlTypes/INullable.cs: new skeletons.
2767 2002-04-14 Daniel Morgan <danmorg@sc.rr.com>
2769 * System.Data.SqlClient/PostgresLibrary.cs: new internal class, which
2770 contains all calls the the PostgreSQL client library, to be used
2771 everywhere in System.Data.SqlClient.
2773 2002-03-30 Rodrigo Moya <rodrigo@ximian.com>
2775 * System.Data.SqlClient/SqlConnection.cs: implemented basic
2778 * System.Data.SqlTypes/SqlNullValueException.cs: new skeletons.
2780 2002-03-29 Rodrigo Moya <rodrigo@ximian.com>
2782 * System.Data.Common/DbDataRecord.cs:
2783 * System.Data.Common/DbEnumerator.cs:
2784 * System.Data.Common/RowUpdatedEventArgs.cs:
2785 * System.Data.Common/RowUpdatingEventArgs.cs:
2786 * System.Data.Common/DbDataPermissionAttribute.cs: new skeletons.
2788 2002-03-28 Rodrigo Moya <rodrigo@ximian.com>
2790 * System.Data.Common/DataTableMappingCollection.cs:
2791 * System.Data.Common/DbDataAdapter.cs:
2792 * System.Data.Common/DbDataPermission.cs:
2793 * System.Data.Common/DataTableMapping.cs: new skeletons.
2795 * System.Data.SqlClient/SqlDataAdapter.cs:
2796 * System.Data.SqlClient/SqlDataReader.cs:
2797 * System.Data.SqlClient/SqlErrors.cs:
2798 * System.Data.SqlClient/SqlError.cs:
2799 * System.Data.SqlClient/SqlException.cs:
2800 * System.Data.SqlClient/SqlParameter.cs:
2801 * System.Data.SqlClient/SqlParameterCollection.cs:
2802 * System.Data.SqlClient/SqlTransaction.cs:
2803 * System.Data.SqlClient/SqlCommand.cs: fixed skeletons.
2805 2002-03-27 Rodrigo Moya <rodrigo@ximian.com>
2807 * System.Data.Common/DataColumnMapping.cs:
2808 * System.Data.Common/DataColumnMappingCollection.cs:
2809 * System.Data.Common/DataAdapter.cs: created skeletons.
2811 * System.Data.build: exclude new directories from build.
2813 2002-03-27 Rodrigo Moya <rodrigo@ximian.com>
2815 * System.Data.SqlClient/SqlTransaction.cs: started implementation.
2817 * System.Data.SqlClient/SqlConnection.cs (BeginTransaction):
2818 implemented (2 methods).
2820 2002-03-24 Duncan Mak <duncan@ximian.com>
2822 * System.Data.build: Excluded System.Data.SqlClient from the build.
2823 The stubs are incomplete and they are stopping the build.
2825 * System.Data.SqlClient/SqlCommand.cs: Replaced 'implements' with ':'.
2827 2002-03-24 Rodrigo Moya <rodrigo@ximian.com>
2829 * System.Data.SqlClient/*: added skeletons for the SQL managed
2830 provider for ADO.Net, to be based initially in PostgreSQL.
2832 2002-03-15 Christopher Podurgiel <cpodurgiel@msn.com>
2834 Changed the Namespace on some Enums from mono.System.Data to System.Data
2836 2002-03-01 Christopher Podurgiel <cpodurgiel@msn.com>
2838 * DataColumnCollection.cs : When an existing DataColumn is added, will now Assign a
2839 default name if the ColumnName is null.
2840 * DataSet.cs : Added
2841 * DataTable.cs : Added
2842 * DataRelationCollection.cs : Added
2843 * DataTableRelationCollection.cs : Added
2844 * DataColumn : Added
2846 2002-02-11 Christopher Podurgiel <cpodurgiel@msn.com>
2848 * DataColumnChangeEventArgs.cs : Added
2849 * DataColumnCollection.cs : Added
2851 2002-02-10 Christopher Podurgiel <cpodurgiel@msn.com>
2853 * Removed *.cs from System.Data as the correct files are in mcs/class/System.Data/System.Data
2854 * Updated all Enums, Interfaces, and Delegates in System.Data