1 2004-05-27 Umadevi S <sumadevi@novell.com>
2 * added files DataTableMappingCollectionTest and DataColumnMappingCollectionTest to system.data_test.dll.sources
4 2004-05-26 Umadevi S <sumadevi@novell.com>
5 * Added files DataTableCollectionTest and DataRelationCollectionTest to the system.data_test.dll.sources
7 2004-05-20 Umadevi S <sumadevi@novell.com>
8 * Fixed bug 58406- implemented the hasrow method, test program used
9 to test with the bug report
11 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
12 * System.Data.dll.sources : Added DataContainer.cs
14 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
15 * System.Data.dll.sources : Added RecordCache.cs
17 2004-05-14 Umadevi S <sumadevi@novell.com>
18 * System.Data.dll.sources : Added SQLDebugging.cs
20 2004-05-14 Umadevi S <sumadevi@novell.com>
21 * System.Data.dll.sources : Added OdbcParameterConverter.cs
23 2004-05-14 Umadevi S <sumadevi@novell.com>
24 * System.Data.dll.sources : Added OdbcCategoryAttribute.cs OdbcDescriptionAttribute.cs
26 2004-05-14 Umadevi S <sumadevi@novell.com>
27 * System.Data.dll.sources : Added OdbcCommandBuilder.cs
29 2004-05-14 Umadevi S <sumadevi@novell.com>
30 * System.Data.dll.sources : Added OdbcInfoMessageEventArgs.cs, OdbcInfoMessageEventHandler.cs
32 2004-05-14 Umadevi S <sumadevi@novell.com>
33 * System.Data.dll.sources : Added OdbcPermission.cs,OdbcPermissionAttribute.cs
35 2004-05-13 Umadevi S <sumadevi@novell.com>
37 * System.Data.dll.sources : added OleDbParameterConverter.cs
40 2004-05013 Umadevi S <sumadevi@novell.com>
42 * System.Data.dll.sources : added RelationshipConverter.cs
44 2004-05-07 Atsushi Enomoto <atsushi@ximian.com>
46 * System.Data.dll.sources : added XmlDataInferenceLoader.cs and
49 2004-04-26 Jackson Harper <jackson@ximian.com>
51 * Makefile: output to profile directory.
53 2004-04-26 Atsushi Enomoto <atsushi@ximian.com>
55 * System.Data.dll.sources : added CustomDataClassGenerator.cs.
57 2004-04-19 Atsushi Enomoto <atsushi@ximian.com>
59 * System.Data_test.dll.sources : added DataSetInferXmlSchemaTest.cs.
61 2004-04-19 Atsushi Enomoto <atsushi@ximian.com>
63 * System.Data.dll.sources : Added XmlSchemaDataImporter.cs
65 2004-04-15 Atsushi Enomoto <atsushi@ximian.com>
67 * System.Data_test.dll.sources :
68 added DataSetReadXmlSchemaTest.cs and DataSetAssertion.cs.
70 2004-04-14 Atsushi Enomoto <atsushi@ximian.com>
72 * System.Data_test.dll.sources : added DataSetReadXmlTest.cs.
74 2004-04-13 Atsushi Enomoto <atsushi@ximian.com>
76 * System.Data_test.dll.sources : added XmlDataDocumentTest2.cs.
78 2004-04-05 Lluis Sanchez Gual <lluis@ximian.com>
80 * System.Data.dll.sources: removed SqlConnectionPool.cs.
82 2004-03-29 Juraj Skripsky <juraj@hotfeet.ch>
84 * System.Data.dll.sources : added classes in Mono.Data.SqlExpressions
85 * Makefile : add jay-target for Mono.Data.SqlExpressions/Parser.cs
87 2004-03-12 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
89 * System.Data.dll.sources : added classes
91 2004-03-04 Eran Domb <erand@mainsoft.com>
93 * System.Data.dll.sources : added Node.cs, ComparerFactory.cs.
95 2004-03-03 Atsushi Enomoto <atsushi@ximian.com>
97 * System.Data.dll.sources : added Index.cs.
99 2004-01-21 Atsushi Enomoto <atsushi@ximian.com>
101 * System.Data_test.dll.sources : Added TypedDataSetGeneratorTest.cs.
103 2004-01-20 Atsushi Enomoto <atsushi@ximian.com>
105 * System.Data.dll.sources: Added missing TypedDataSetGenerator.cs.
107 2003-12-28 Tim Coleman <tim@timcoleman.com>
108 * System.Data.dll.sources:
109 Add new .NET 1.2 sources.
111 2003-12-21 Tim Coleman <tim@timcoleman.com>
112 * System.Data.dll.sources:
113 Add new .NET 1.2 sources.
115 2003-12-19 Tim Coleman <tim@timcoleman.com>
116 * System.Data.dll.sources:
117 Add new .NET 1.2 sources.
119 2003-12-16 Tim Coleman <tim@timcoleman.com>
120 * System.Data.dll.sources:
121 Add new .NET 1.2 sources.
123 2003-11-26 Tim Coleman <tim@timcoleman.com>
124 * System.Data.dll.sources:
125 Add many new System.Data classes for NET_2_0 build.
127 2003-11-25 Tim Coleman <tim@timcoleman.com>
128 * System.Data.dll.sources:
129 Add System.Data/IDataSources.cs to build
131 2003-07-18 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
133 * System.Data.dll.sources: Assembly/Locale.cs added, Assembly/AssemblyInfo.cs added
135 2003-07-18 Peter Williams <peter@newton.cx>
137 * Makefile (EXTRA_DISTFILES): NUnit.Prefs is not
140 2003-07-16 Peter Williams <peter@newton.cx>
142 * Makefile: Flip around for the new default build
145 2003-06-16 Tim Coleman <tim@timcoleman.com>
146 * System.Data.Common/DbDataAdapter.cs:
147 Add the DataTable to the result set even if it contains
148 no rows. Based on report by Krieg Andreas.
150 2003-03-17 Daniel Morgan <danmorg@sc.rr.com>
152 * System.Data.build: on windows build, ignore
153 warnings CS0219: "The variable xxx is assigned but its value is
154 never used" and CS0168: "The variable xxx
155 is declared but never used"
157 * System.Data/DataRow.cs: flush
159 * System.Data/DataSet.cs: start implementation on Clear(),
160 and WriteXml() should write the start element <?xml ... ?> at the top
163 * System.Data/DataTable.cs: TODO/FIXME notes. Start implementation
164 of Compute() - still not working
166 2003-03-16 Daniel Morgan <danmorg@sc.rr.com>
168 * System.Data/DataRowView.cs: in the constructor pass
169 DataRow in instead of int index of the DataRow
172 * System.Data/DataTable.cs: implement sorting
173 for method Select(filterExpression,sort)
175 * System.Data/DataView.cs: more implementation -
176 Now, If Sort, RowFilter, or RowStateFilter is set, an
177 enumerated DataRowViews will be a view with those
178 properties applied. Still need to implement event handling
181 2003-03-13 Tim Coleman <tim@timcoleman.com>
182 * System.Data.SqlClient/SqlCommandBuilder.cs:
183 Change "where" variable name to "whereClause" at the
184 request of Rhys Weatherley <rweather@zip.com.au>
186 2003-03-10 Daniel Morgan <danmorg@sc.rr.com>
188 * System.Data.SqlClient/SqlDataReader.cs: when
189 the data reader is closed, this SqlDataReader referenced
190 in SqlConnection needs to be null
192 * System.Data.Common/DbDataAdapter.cs: for SelectCommands executed that
193 have no result set, such as, DDL like CREATE TABLE or DML like INSERT,
194 the data reader needs to be immediately closed, and 0 returned
195 as the number of rows added or refreshed
197 2003-02-18 Daniel Morgan <danmorg@sc.rr.com>
199 * DataTableRelationCollection.cs: removed file
200 because its internally in file DataRelationCollection.cs
202 2003-02-18 Alan Tam <Tam@SiuLung.com>
204 * DataRelation.cs: Added storage required to hold the relations.
\r
205 Checking of constraints are not implemented yet.
\r
206 * DataRelationCollection.cs: Implemented DataSetRelationCollection
\r
207 and DataTableRelationCollection, both as inner class of the abstract class
\r
208 DataRelationCollection (like Microsoft although not documented in ECMA).
\r
209 * DataRow.cs: Implemented GetChildRows in a extremely slow way.
\r
210 Need to implement caching like Microsoft later.
\r
211 * DataSet.cs: Uncomment DataRelation related members. Uncomment
\r
212 code for Nested XML. Implemented WriteTable(XmlWriter, DataRow[],
\r
213 XmlWriteMode) for use of Nested XML. Fixed a wrong modifier in
\r
214 GetSerializationData.
\r
215 * DataTable.cs: Uncomment DataRelation related members.
\r
217 2003-02-11 Tim Coleman <tim@timcoleman.com>
218 * System.Data.SqlClient/SqlConnection.cs:
219 Close the data reader properly, and be sure
220 to close the data reader when the connection
223 2003-02-10 Nick Drochak <ndrochak@gol.com>
225 * System.Data.build: Keep the standalone tests out of the dll.
227 2003-02-09 Rodrigo Moya <rodrigo@ximian.com>
229 * System.Data.OleDb/OleDbConnection.cs:
230 * System.Data.OleDb/libgda.cs: upgraded to libgda 0.10.
232 2003-01-30 Ville Palo <vi64pa@koti.soon.fi>
234 * list: Added new file ExpressionElement.cs
236 2003-01-26 Daniel Morgan <danmorg@sc.rr.com>
238 * System.Data/DataColumn.cs: fix to not check for DataType being set
240 * System.Data/DataRow.cs: misc fixes
242 * Test/SqlTest.cs: accept connection parameters from
243 command line instead of being hard coded
245 * Test/System.Data_test.build: exclude building SqlTest.cs
247 * Test/System.Data/DataRowTest.cs
248 * Test/System.Data/DataColumnTest.cs: added new tests and numbered
249 all the tests so they can be easily identified
251 * Test/System.Data/DataRelationTest.cs: commented code that calls
252 DataSet's BeginEdit() and EndEdit() which causes a compile error
254 2003-01-24 Daniel Morgan <danmorg@sc.rr.com>
256 * System.Data/DataColumn.cs: fixes to be like .NET -
257 when setting AllowDBNull to false, determine if there is
258 any data that has DBNull.Value, implement AutoIncrement, do not
259 allow changing the DataType of the column if data has already been
260 set, check if the DataType is supported,
262 * System.Data/DataColumnCollection.cs: handle default ColumnName
265 * System.Data/DataRow.cs: fixes to be like .NET - a
266 data column gets initialized to all DBNull.Values not null,
267 implement AutoIncrement, when setting ItemArray if the item array being
268 set has less items than the number of columns in the table set those last
269 columns to DBNull.Value, after setting ItemArray values do an EndEdit(),
270 both a null and DBNull.Value get set to a DBNull.Value, only use DefaultValue
271 and AutoIncrement if the value is set to null while DBNull.Value only gets set
274 2003-01-17 Daniel Morgan <danmorg@sc.rr.com>
276 * System.Data.SqlClient.SqlConnection.cs: add connection
277 parameter UID which is the same thing as User ID
279 2003-01-13 Ville Palo <vi64pa@koti.soon.fi>
281 * System.Xml/XmlDataDocument.cs: lots of bugfixes and more implemented
284 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
286 * list: added System.Data/DataTablePropertyDescriptor.cs
288 2002-12-27 Ville Palo <vi64pa@koti.soon.fi>
290 * list: Added System.Data/XmlDataLoader.cs
292 2002-12-16 Ville Palo <vi64pa@koti.soon.fi>
294 * System.Xml/XmlDataDocument.cs: Now rollback works. It means all
295 types of transactions works, i guess ;)
297 2002-12-14 Ville Palo <vi64pa@koti.soon.fi>
299 * System.Xml/XmlDataDocument.cs: Adding row via XmlDataDocument to
300 DataSet's datatable is now possible.
302 2002-12-11 Ville Palo <vi64pa@koti.soon.fi>
304 * System.Xml/XmlDataDocument.cs: Implemented GetRowFromElement() and
305 GetElementFromRowElement () -methods. Somefixed and little clean up.
307 2002-12-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
309 * System.Data.SqlClient/SqlCommand.cs:
310 (CloseReader): don't get the output parameters here.
311 (GetOutputParameters): don't skip the stream. The parameters will be
314 * System.Data.SqlClient/SqlConnection.cs: don't try to execute
315 'sp_reset_connection'.
317 * System.Data.SqlClient/SqlDataReader.cs: get the output parameters
318 after the end of the results.
320 2002-12-04 Ville Palo <vi64pa@koti.soon.fi>
322 * System.Xml/XmlDataDocument.cs: Now this works in both ways,
323 DataSet <--> XmlDataDocument.cs at some level at least.
325 2002-12-02 Ville Palo <vi64pa@koti.soon.fi>
327 * System.Xml/XmlDataDocument.cs : some fixes and some imlemented
330 2002-12-01 Tim Coleman <tim@timcoleman.com>
331 * System.Data.SqlClient/SqlDataReader.cs:
332 Change to reflect TdsSchemaInfo -> TdsDataColumnCollection
335 2002-12-01 Ville Palo <vi64pa@koti.soon.fi>
337 * list: Added XmlDataDocument.cs
338 * System.Xml/XmlDataDocument.cs: more implementation.
340 2002-11-30 Daniel Morgan <danmorg@sc.rr.com>
342 * System.Data.Odbc/OdbcDataReader.cs: implemented GetValues() method
343 needed by OdbcDataAdapter
345 * System.Data.Odbc/OdbcDataAdapter.cs
\r
346 * System.Data.Odbc/OdbcRowUpdatedEventArgs.cs
\r
347 * System.Data.Odbc/OdbcRowUpdatedEventHandler.cs
\r
348 * System.Data.Odbc/OdbcRowUpdatingEventArgs.cs
\r
349 * System.Data.Odbc/OdbcRowUpdatingEventHandler.cs: added files for an
352 * list: added new files to linux build
353 in namespace System.Data.Odbc for the ODBC Data Adapter
355 * System.Xml/XmlDataDocument.cs: commented method
356 protected internal override XPathNavigator CreateNavigator(XmlNode node)
357 because it would not compile on .NET Framework. Added
358 a FIXME comment there
360 2002-11-29 Ville Palo <vi64pa@koti.soon.fi>
362 * System.Xml/XmlDataDocument.cs: Started to implement.
364 2002-11-26 Tim Coleman <tim@timcoleman.com>
365 * System.Data.SqlClient/SqlCommand.cs:
366 * System.Data.SqlClient/SqlConnection.cs:
367 * System.Data.SqlClient/SqlDataReader.cs:
368 * System.Data.SqlClient/SqlParameter.cs:
369 * System.Data.SqlClient/SqlParameterCollection.cs:
370 * System.Data.SqlClient/SqlTransaction.cs:
371 Many changes around restructuring of parameter
372 information so that the Sybase provider supports
375 2002-11-25 Ville Palo <vi64pa@koti.soon.fi>
377 * System.Data/DataSet.cs : Started to implement ReadXmlSchema -method
379 2002-11-21 Tim Coleman <tim@timcoleman.com>
381 * System.Data.SqlClient/SqlCommand.cs:
382 * System.Data.SqlClient/SqlConnection.cs:
383 * System.Data.SqlClient/SqlConnectionPool.cs:
384 * System.Data.SqlClient/SqlDataReader.cs:
385 * System.Data.SqlClient/SqlException.cs:
386 * System.Data.SqlClient/SqlInfoMessageEventArgs.cs:
387 * System.Data.SqlClient/SqlParameter.cs:
388 * System.Data.SqlClient/SqlTransaction.cs:
389 * System.Data.SqlClient/SqlXmlTextReader.cs:
390 * System.Data.SqlTypes/SqlDecimal.cs:
391 Modify to accept new Mono.Data.Tds.Protocol
392 namespace in Mono.Data.Tds assembly, replacing
393 Mono.Data.TdsClient.Internal
395 2002-11-20 Ville Palo <vi64pa@koti.soon.fi>
397 * System.Data.SqlTypes/SqlDecimal.cs: Ported some divide-stuff from
398 decimal.c file. Does not work correctly yet.
400 2002-11-18 Tim Coleman <tim@timcoleman.com>
401 * System.Data.SqlClient/SqlConnection.cs:
402 BeginTransaction bug.
403 * System.Data.SqlClient/SqlParameter.cs:
404 Add some comments to describe what is going on.
405 * System.Data.SqlClient/SqlCommand.cs:
407 * System.Data.SqlClient/SqlDataReader.cs:
408 Add support to get SQL Types
410 2002-11-16 Daniel Morgan <danmorg@sc.rr.com>
412 * System.Data/DataView.cs: fix bug
413 with DataViewEnumerator causing InvalidOperationException
416 2002-11-15 Tim Coleman <tim@timcoleman.com>
417 * System.Data.Common/DbDataPermission.cs:
418 * System.Data.SqlClient/SqlClientPermission.cs:
419 Make these agree on the class status page.
420 * System.Data.SqlClient/SqlCommand.cs:
421 - Fix up handling of GUID and [Var]Binary, and Image types
422 * System.Data.SqlClient/SqlParameter.cs:
423 - Provide support for conversion between Type,
424 DbType, SqlDbType, and the SQL server type names.
425 - Fix up handling of GUID and [Var]Binary types
426 * System.Data.SqlClient/SqlParameterCollection.cs:
427 Correct all of the Add methods.
429 - Add more types to test: unique identifier, binary,
430 image, smalldatetime, money, smallmoney, timestamp
432 2002-11-14 Daniel Morgan <danmorg@sc.rr.com>
434 * System.Data/DataColumnPropertyDescriptor.cs
435 * System.Data/DataRowView.cs
436 * System.Data/DataView.cs
437 * System.Data.Common/DbDataRecord.cs: a little bit more
438 implementation for data binding purposes
440 * Test/PostgresTest.cs
441 * Test/TestSqlDataAdapter.cs
442 * Test/TestSqlException.cs
443 * TestSqlParameters.cs: fixed test for PostgreSQL's new home
444 at Mono.Data.PostgreSqlClient
446 2002-11-14 Tim Coleman <tim@timcoleman.com>
447 * System.Data.SqlClient/SqlCommand.cs:
448 Slight reformatting of Bit values and sql statements
449 * System.Data.SqlClient/SqlDataReader.cs:
450 Implement RecordsAffected
452 * System.Data.SqlClient/SqlParameter.cs:
453 Propertly support Char/NChar
454 * System.Data.SqlClient/SqlXmlTextReader.cs:
455 Add Close () to the Dispose () method
457 2002-11-13 Tim Coleman <tim@timcoleman.com>
459 New class added for testing SqlClient
460 * System.Data.SqlClient/SqlCommand.cs:
461 Add handling for SqlDbType.Bit
462 * System.Data.SqlClient/SqlConnection.cs:
463 Implement Dispose () methods.
464 Change ConnectionString setter
465 * System.Data.SqlClient/SqlDataReader.cs:
466 Implement Dispose () methods.
467 Set RecordsAffected to -1 by default. Need to
468 set this correctly in the future.
469 * System.Data.SqlClient/SqlCommandBuilder.cs:
470 * System.Data.SqlClient/SqlDataAdapter.cs:
471 * System.Data.SqlClient/SqlTransaction.cs:
472 * System.Data.SqlClient/SqlXmlTextReader.cs:
473 Implement Dispose () methods.
475 2002-11-12 Tim Coleman <tim@timcoleman.com>
477 Remove Mono.Data.TdsClient.Internal/TdsContext.cs
478 * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs:
479 * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs:
480 Complete these classes
481 * System.Data.Common/DbDataAdapter.cs:
482 Experimental support for FillSchema ()
484 2002-11-11 Tim Coleman <tim@timcoleman.com>
485 * System.Data/ResDescriptionAttribute.cs:
487 New internal class added
488 * System.Data/Constraint.cs:
489 * System.Data/ConstraintCollection.cs:
490 * System.Data/DBConcurrencyException.cs:
491 * System.Data/DataColumn.cs:
492 * System.Data/DataColumnCollection.cs:
493 * System.Data/DataRelation.cs:
494 * System.Data/DataRelationCollection.cs:
495 * System.Data/DataRow.cs:
496 * System.Data/DataRowBuilder.cs:
497 * System.Data/DataRowBuilder.cs:
498 * System.Data/DataRowCollection.cs:
499 * System.Data/DataSet.cs:
500 * System.Data/DataTable.cs:
501 * System.Data/DataTableCollection.cs:
502 * System.Data/DataView.cs:
503 * System.Data/DataViewManager.cs:
504 * System.Data/DataViewSetting.cs:
505 * System.Data/DataViewSettingCollection.cs:
506 * System.Data/ForeignKeyConstraint.cs:
507 * System.Data/ForeignKeyConstraint.cs:
508 * System.Data/InternalDataCollectionBase.cs:
509 * System.Data/MergeFailedEventArgs.cs:
510 * System.Data/StrongTypingException.cs:
511 * System.Data/TypeDataSetGeneratorException.cs:
512 * System.Data/UniqueConstraint.cs:
513 * System.Data.Common/DataAdapter.cs:
514 * System.Data.Common/DataColumnMapping.cs:
515 * System.Data.Common/DataColumnMappingCollection.cs:
516 * System.Data.Common/DataTableMapping.cs:
517 * System.Data.Common/DataTableMappingCollection.cs:
518 * System.Data.Common/DbDataAdapter.cs:
519 * System.Data.Common/DbDataPermission.cs:
520 * System.Data.Common/DbDataPermissionAttribute.cs:
521 * System.Data.Common/DbEnumerator.cs:
522 * System.Data.SqlClient/SqlCommand.cs:
523 * System.Data.SqlClient/SqlCommandBuilder.cs:
524 * System.Data.SqlClient/SqlConnection.cs:
525 * System.Data.SqlClient/SqlDataAdapter.cs:
526 * System.Data.SqlClient/SqlParameter.cs:
527 Add missing attributes, methods, properties based on information
528 from System.Data class status page on go-mono.com.
531 2002-11-10 Ville Palo <vi64pa@koti.soon.fi>
533 * System.Data.SqlTypes/SqlString.cs: Now all methods are implemented
535 2002-11-09 Tim Coleman <tim@timcoleman.com>
537 * System.Data/DataCategoryAttribute.cs:
538 Add new attribute based on corcompare
540 2002-11-09 Rodrigo Moya <rodrigo@ximian.com>
542 * System.Data.OleDb/OleDbDataAdapter.cs: cleaned up implementation,
543 based on the PgSql/SqlClient data adapter classes.
545 2002-11-09 Tim Coleman <tim@timcoleman.com>
547 Add new internal tds classes
548 * System.Data.Common/DbDataAdapter.cs:
549 * System.Data.SqlClient/SqlDataAdapter.cs:
550 Change event calling system
551 * System.Data.SqlClient/SqlClientPermission.cs:
552 * System.Data.SqlClient/SqlClientPermissionAttribute.cs:
553 * System.Data.SqlClient/SqlDataReader.cs:
555 * System.Data.SqlClient/SqlCommand.cs:
556 Some changes to make consistent with .NET based on Sql server traces
557 Implement command timeout
558 * System.Data.SqlClient/SqlCommandBuilder.cs:
559 Make sure that we only build a command if key info found
560 * System.Data.SqlClient/SqlConnection.cs:
561 Change event calling system
562 Some changes to make consistent with .NET based on Sql server traces
563 Implement connection timeout
564 * System.Data.SqlClient/SqlConnectionPool.cs:
565 Implement connection timeout
566 * System.Data.SqlClient/SqlError.cs:
567 Implement ToString ()
568 * System.Data.SqlClient/SqlException.cs:
569 Mucho implementation and cleanup
570 * System.Data.SqlClient/SqlParameter.cs:
572 * System.Data.SqlClient/SqlParameterCollection.cs:
574 * System.Data.SqlClient/SqlTransaction.cs:
575 Move some of the transaction creation to SqlConnection to be consistent
578 2002-11-08 Tim Coleman <tim@timcoleman.com>
579 * System.Data/DataRow.cs:
580 * System.Data/DataTable.cs:
581 Some fix-ups related to the DbDataAdapter to make it work.
582 * System.Data.Common/DbDataAdapter.cs:
583 Fix the Fill () and Update () methods. These now work
584 fairly well. Need mucho testing.
585 * System.Data.SqlClient/SqlCommandBuilder.cs:
586 Support table mappings and parameter source versions now.
587 * System.Data.SqlClient/SqlConnection.cs:
588 * System.Data.SqlClient/SqlTransaction.cs:
589 Add set accessor for transaction so that SqlTransaction.Commit ()
590 will remove itself from the connection.
591 * System.Data.SqlClient/SqlDataAdapter.cs:
592 Update/Insert/Delete command should be null by default.
593 * System.Data.SqlClient/SqlException.cs:
594 Remove a TODO attribute
595 * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs:
596 Properly handle the SqlCommand object
598 2002-11-08 Ville Palo <vi64pa@koti.soon.fi>
600 * System.Data.SqlTypes/SqlDateTime.cs: Now the all methods are
603 2002-11-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
605 * System.Data.SqlTypes/SqlDecimal.cs: fixed build. Someone should check
606 my comments and do something more appropiate.
608 2002-11-07 Ville Palo <vi64pa@koti.soon.fi>
610 * System.Data.SqlTypes/SqlBinary.cs:
611 * System.Data.SqlTypes/SqlBoolean.cs:
612 * System.Data.SqlTypes/SqlByte.cs:
613 * System.Data.SqlTypes/SqlDateTime.cs:
614 * System.Data.SqlTypes/SqlDecimal.cs:
615 * System.Data.SqlTypes/SqlDouble.cs:
616 * System.Data.SqlTypes/SqlDecimal.cs:
617 * System.Data.SqlTypes/SqlGuid.cs:
618 * System.Data.SqlTypes/SqlInt16.cs:
619 * System.Data.SqlTypes/SqlInt32.cs:
620 * System.Data.SqlTypes/SqlInt64.cs:
621 * System.Data.SqlTypes/SqlMoney.cs:
622 * System.Data.SqlTypes/SqlSingle.cs:
623 * System.Data.SqlTypes/SqlString.cs: Implemented more methods and
624 fixed some. SqlBoolean Equals (object value) -method improvements to
627 2002-11-07 Tim Coleman <tim@timcoleman.com>
628 * System.Data.Common/DbDataAdapter.cs:
629 Remove NotImplementedException in Dispose
630 * System.Data.Common/FieldNameLookup.cs:
632 * System.Data.SqlClient/SqlCommand.cs:
633 Fix CommandText accessor (stack overflow)
634 Implement DeriveParameters method
635 * System.Data.SqlClient/SqlCommandBuilder.cs:
637 * System.Data.SqlClient/SqlConnection.cs:
638 Change application name to "Mono SqlClient Data Provider"
639 * System.Data.SqlClient/SqlDataReader.cs:
640 Add new schema information
641 * System.Data.SqlClient/SqlError.cs:
642 * System.Data.SqlClient/SqlErrorCollection.cs:
643 Remove internal methods, TODO attributes
644 * System.Data.SqlClient/SqlParameter.cs:
645 Add new internal constructor for DeriveParameters use
646 * System.Data.SqlClient/SqlParameterConverter.cs:
647 Add missing methods based on class status
649 2002-11-07 Nick Drochak <ndrochak@gol.com>
650 * list: add System.Data/ColumnDataPropertyDescriptor.cs
652 2002-11-04 Tim Coleman <tim@timcoleman.com>
654 Add Mono.Data.TdsClient.Internal.TdsInternalError
655 Add Mono.Data.TdsClient.Internal.TdsInternalErrorCollection
656 Add Mono.Data.TdsClient.Internal.TdsInternalErrorMessageEventHandler
657 Add Mono.Data.TdsClient.Internal.TdsInternalErrorMessageEventArgs
658 Add Mono.Data.TdsClient.Internal.TdsInternalInfoMessageEventHandler
659 Add Mono.Data.TdsClient.Internal.TdsInternalInfoMessageEventArgs
660 Remove Mono.Data.TdsClient.Internal.TdsPacketErrorResult
661 Remove Mono.Data.TdsClient.Internal.TdsPacketErrorResultCollection
662 Remove Mono.Data.TdsClient.Internal.TdsPacketMessageResult
663 * System.Data.Common/RowUpdatedEventArgs.cs:
664 * System.Data.Common/RowUpdatingEventArgs.cs:
666 * System.Data.SqlClient/SqlCommand.cs:
667 * System.Data.SqlClient/SqlDataReader.cs:
668 Remove checks for errors. These are now handled by events
669 * System.Data.SqlClient/SqlConnection.cs:
670 * System.Data.SqlClient/SqlError.cs:
671 * System.Data.SqlClient/SqlException.cs:
672 * System.Data.SqlClient/SqlInfoMessageEventArgs.cs:
673 Add event handlers and triggers for errors, messages, state change
674 * System.Data.SqlClient/SqlParameter.cs:
675 Re-add refreshproperties
676 * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs:
677 * System.Data.SqlClient/SqlRowUpdatedEventHandler.cs:
678 * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs:
679 * System.Data.SqlClient/SqlRowUpdatingEventHandler.cs:
682 2002-11-04 Tim Coleman <tim@timcoleman.com>
684 Add Mono.Data.TdsClient.Internal.TdsBigDecimal
685 Add System.Data.SqlClient.SqlParameterConverter
686 Add System.Data.DataSysDescriptionAttribute
687 * System.Data/DataSysDescriptionAttribute.cs:
689 * System.Data.Common/DbDataPermission.cs:
690 Add CreateInstance method
691 * System.Data.SqlClient/SqlClientPermission.cs:
692 * System.Data.SqlClient/SqlError.cs:
693 Add Serializable attribute
694 * System.Data.SqlClient/SqlCommand.cs:
695 * System.Data.SqlClient/SqlConnection.cs:
696 * System.Data.SqlClient/SqlDataAdapter.cs:
697 * System.Data.SqlClient/SqlParameter.cs:
698 Add some missing property attributes
699 * System.Data.SqlClient/SqlCommandBuilder.cs:
700 Add some missing property attributes
702 * System.Data.SqlClient/SqlDataReader.cs:
703 Implement missing methods
704 * System.Data.SqlClient/SqlErrorCollection.cs:
705 Implement the properties
706 * System.Data.SqlClient/SqlException.cs:
707 Remove extra property accessors
708 * System.Data.SqlClient/SqlInfoMessageEventArgs.cs:
709 Add internal constructor
710 * System.Data.SqlClient/SqlParameterCollection.cs:
711 Add internal constructor
712 Add property attributes
713 * System.Data.SqlClient/SqlParameterConverter.cs:
714 New internal class added
715 * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs:
716 * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs:
718 * System.Data.SqlTypes/SqlDecimal.cs:
719 Add implicit conversion from TdsBigDecimal to SqlDecimal
720 * System.Data.SqlTypes/SqlString.cs:
721 * System.Data.SqlTypes/SqlInt16.cs:
722 * System.Data.SqlTypes/SqlDateTime.cs:
723 Change code to remove compiler warnings
725 2002-11-04 Stuart Caborn <stuart.caborn@clearswift.com>
727 * list: added System.Data/XmlConstants.cs to
730 * System.Data/XmlConstants.cs: added -
731 * System.Data/DataTable.cs
732 * System.Data/DataSet.cs
733 * System.Data/DataColumn.cs
734 * System.Data/DataColumnCollection.cs
735 * System.Data/DataRelation.cs: modified -
736 Began initial implementation of WriteXml
\r
737 and WriteXmlSchema. There is no support for DiffGrams
\r
738 yet. In WriteSchema mode, relationships are missing,
\r
739 all types are xs:string and the namespacing is not
\r
740 working properly. Added support for Ordinals in the
\r
741 DataColumnCollection and added support for
\r
742 namespaces and prefixes.
\r
744 2002-11-03 Ville Palo <vi64pa@koti.soon.fi>
746 * System.Data.SqlTypes/SqlBinary.cs: Finished and no errors generated
747 by NUnitConsole_mono.exe
749 2002-11-03 Tim Coleman (tim@timcoleman.com)
750 * System.Data.SqlClient/SqlCommand.cs:
751 Use SET NO_BROWSETABLE ON when CommandBehavior is KeyInfo
752 * System.Data.SqlClient/SqlDataReader.cs:
753 Get more schema info if available
755 Add Mono.Data.TdsClient.Internal.TdsColumnStatus
757 2002-11-02 Tim Coleman (tim@timcoleman.com)
758 * System.Data.SqlClient/SqlCommand.cs:
759 Change to use sp_executesql to run regular text queries.
760 Now, sp_executesql for text, sp_execute for prepared,
761 and execute for SPs means everything runs a procedure.
762 * System.Data.SqlClient/SqlParameter.cs:
763 Allow client to set parameter name in Prepare ()
764 * System.Data.SqlClient/SqlParameterCollection.cs:
765 Implement some methods
766 * System.Data.SqlClient/SqlDataReader.cs:
767 Since everything is an SP now, we know that when
768 we see DoneProc, that we are really done.
770 2002-11-01 Tim Coleman (tim@timcoleman.com) :
771 * System.Data.Common/DbEnumerator.cs :
772 Throw correct exception on Reset ()
773 Add ColumnSize to schema table.
774 * System.Data.SqlClient/SqlDataReader.cs :
775 Add ColumnSize to schema table.
776 * System.Data.SqlClient/SqlCommand.cs :
777 Change the way that preparing is handled.
778 Now uses sp_prepare on the server instead of temp
779 stored procedures because it's the Right Thing[tm] to do.
780 * System.Data.SqlClient/SqlConnection.cs :
781 Store data readers here rather than in command
782 * System.Data.SqlClient/SqlDataReader.cs :
783 More implementation, including binary types
784 * System.Data.SqlClient/SqlParameter.cs :
787 2002-10-31 Tim Coleman (tim@timcoleman.com)
788 * System.Data.Common/DbDataAdapter.cs :
789 Fix handling of nulls
790 * System.Data.Common/DbDataRecord.cs :
791 Change GetFieldType ()
792 * System.Data.Common/DbEnumerator.cs :
793 Add new schema information
794 * System.Data.Common/FieldNameLookup.cs :
795 Change definition of schema
796 * System.Data.Common/SchemaInfo.cs :
798 * System.Data.SqlClient/SqlDataReader.cs :
799 get more schema table data
801 Add Mono.Data.TdsClient.Internal.TdsSchemaInfo
803 2002-10-31 Ville Palo <vi64pa@koti.soon.fi>
812 * SqlString.cs: Some bugfixes and some TODOs but so much
815 2002-10-30 Tim Coleman (tim@timcoleman.com)
816 * System.Data.Common/FieldNameLookup.cs:
817 * System.Data.Common/SchemaInfo.cs:
818 * System.Data.SqlClient/SqlXmlTextReader.cs:
821 Class list changed in build
822 * System.Data.SqlClient/SqlCommand.cs:
823 Added support for command behaviors
824 Refactored a bunch of code
825 Implement ExecuteScalar
826 Implement ExecuteXmlReader
827 * System.Data.SqlClient/SqlConnection.cs:
828 Moved CheckForErrors here
829 * System.Data.SqlClient/SqlDataAdapter.cs:
831 * System.Data.SqlClient/SqlDataReader.cs:
832 Implement GetEnumerator
834 Add SqlDataReaderEnumerator private class
835 * System.Data.SqlClient/SqlParameter.cs:
836 Move some of the Prepare code from SqlCommand to here
837 * System.Data.SqlClient/SqlTransaction.cs:
838 Move error checking to SqlConnection
840 2002-10-29 Tim Coleman (tim@timcoleman.com)
841 * System.Data.SqlClient/SqlCommand.cs:
842 Added code to handle parameters for queries
843 * System.Data.SqlClient/SqlConnection.cs:
844 Properly handle resetting SqlConnections
845 * System.Data.SqlClient/SqlDataReader.cs:
846 Properly handle the case where no results are returned
847 * System.Data.SqlClient/SqlParameter.cs:
848 Default direction to Input
849 * System.Data.SqlClient/SqlParameterCollection.cs:
850 Implement GetEnumerator
852 2002-10-29 Rodrigo Moya <rodrigo@ximian.com>
854 * makefile.gnu: added Test directory.
856 2002-10-29 Ville Palo <vi64pa@koti.soon.fi>
858 * System.Data.SqlTypes/SqlGuid.cs: Fixed some bugs and finished
861 2002-10-28 Tim Coleman (tim@timcoleman.com)
862 * System.Data.SqlClient/SqlCommand.cs:
863 Add some error handling
864 * System.Data.SqlClient/SqlDataReader.cs:
865 Add some error handling
866 Add precision/scale to schema table
867 * System.Data.SqlClient/SqlException.cs:
868 Generate a SqlException from TDS error
870 * System.Data.SqlClient/SqlTransaction.cs:
871 Add some error handling
874 2002-10-28 Ville Palo <vi64pa@koti.soon.fi>
876 * System.Data.SqlTypes/SqlBinary.cs:
877 * System.Data.SqlTypes/SqlBoolean.cs:
878 * System.Data.SqlTypes/SqlByte.cs:
879 * System.Data.SqlTypes/SqlDateTime.cs:
880 * System.Data.SqlTypes/SqlDecimal.cs:
881 * System.Data.SqlTypes/SqlDouble.cs:
882 * System.Data.SqlTypes/SqlDecimal.cs:
883 * System.Data.SqlTypes/SqlDouble.cs:
884 * System.Data.SqlTypes/SqlGuid.cs:
885 * System.Data.SqlTypes/SqlInt16.cs:
886 * System.Data.SqlTypes/SqlInt32.cs:
887 * System.Data.SqlTypes/SqlInt64.cs:
888 * System.Data.SqlTypes/Money.cs:
889 * System.Data.SqlTypes/SqlSingle.cs:
890 * System.Data.SqlTypes/SqlString.cs:
891 * System.Data.SqlTypes/SqlSingle.cs: Fixed internal loop bugs and
892 some other minor fixes.
894 2002-10-27 Rodrigo Moya <rodrigo@ximian.com>
896 * System.Data.OleDb/OleDbDataAdapter.cs (Fill, FillSchema,
897 GetFillParameters, Update): added overloaded methods.
899 * System.Data.OleDb/OleDbCommand.cs:
900 * System.Data.OleDb/OleDbDataReader.cs:
901 * System.Data.OleDb/OleDbConnection.cs: removed limitation of one
902 data adapter at a time. Mono's version can open as many as you want,
905 2002-10-25 Tim Coleman (tim@timcoleman.com)
906 * System.Data.SqlClient/SqlConnectionPool.cs:
908 * System.Data.SqlClient/SqlClientPermission.cs:
909 * System.Data.SqlClient/SqlClientPermissionAttribute.cs:
910 * System.Data.SqlClient/SqlInfoMessageEventArgs.cs:
911 * System.Data.SqlClient/SqlInfoMessageEventHandler.cs:
912 * System.Data.SqlClient/SqlParameter.cs:
913 * System.Data.SqlClient/SqlParameterCollection.cs:
915 * System.Data.SqlClient/SqlCommand.cs:
916 * System.Data.SqlClient/SqlConnection.cs:
917 * System.Data.SqlClient/SqlException.cs:
918 * System.Data.SqlClient/SqlTransaction.cs:
919 New code based on work in TDS Client
921 New files added for SqlClient, and TdsClient.Internal
923 Added reference to System.EnterpriseServices.dll
924 Still leave SqlClient out of build until danmorg
927 2002-10-23 Ville Palo <vi64pa@koti.soon.fi>
929 * System.Data.SqlTypes/SqlDouble.cs:
930 * System.Data.SqlTypes/SqlSingle.cs: Finished
932 2002-10-23 Ville Palo <vi64pa@koti.soon.fi>
934 * System.Data.SqlTypes/SqlByte.cs:
935 * System.Data.SqlTypes/SqlBoolean.cs:
936 * System.Data.SqlTypes/SqlInt16.cs:
937 * System.Data.SqlTypes/SqlInt32.cs:
938 * System.Data.SqlTypes/SqlInt64.cs: Finished.
940 2002-10-21 Rodrigo Moya <rodrigo@ximian.com>
942 * list: removed libodbchelper.cs file, which has been removed.
944 2002-10-16 Tim Coleamn <tim@timcoleman.com>
947 Exclude compiling of System.Data.SqlClient in
948 preparation for overhauls of that system.
950 2002-10-16 Daniel Morgan <danmorg@sc.rr.com>
\r
953 * PostgresLibrary.cs
\r
955 * SqlClientPermission.cs
\r
956 * SqlClientPermissionAttribute.cs
\r
958 * SqlCommandBuilder.cs
\r
960 * SqlDataAdapter.cs
\r
963 * SqlErrorCollection.cs
\r
965 * SqlInfoMessageEventArgs.cs
\r
966 * SqlInfoMessageEventHandler.cs
\r
968 * SqlParameterCollection.cs
\r
969 * SqlRowUpdatedEventArgs.cs
\r
970 * SqlRowUpdatedEventHandler.cs
\r
971 * SqlRowUpdatingEventArgs.cs
\r
972 * SqlRowUpdatingEventHandler.cs
\r
973 * SqlTransaction.cs: thanks to Miguel de Icaza, he
\r
974 copied files on the mono cvs server
\r
975 from mcs/class/System.Data/System.Data.SqlClient
\r
976 for the PostgreSQL provider
\r
977 to mcs/class/Mono.Data.PostgreSqlClient.
\r
979 mcs/class/System.Data/System.Data.SqlClient for
\r
980 the Microsoft SQL Server provider.
\r
981 Any Mono.Data.PostgreSqlClient/Sql*.cs files
\r
982 were copied on the cvs server
\r
983 to Mono.Data.PostgreSqlClient/PgSql*.cs files
\r
984 and the old Mono.Data.PostgreSqlClient/Sql*.cs
\r
985 files were removed. Copying, renaming, and removing
\r
986 was done on the cvs server so we could keep
\r
987 the cvs change history.
\r
989 2002-10-15 Daniel Morgan <danmorg@sc.rr.com>
991 * System.Data.OleDb/libgda.cs: added more functions
992 to platfrom invoke into shared library libgda
994 * System.Data.OleDb/OleDbDataReader.cs: implemented
995 GetSchemaTable() and GetFieldType()
997 2002-10-13 Daniel Morgan <danmorg@sc.rr.com>
999 * System.Data/DataRow.cs: don't throw exception
1000 if DBNull is false. Had to do comment this line
1001 to allow a typeof(Type).
1003 * System.Data.SqlClient/SqlCommand.cs: the "DataType"
1004 DataColumn and DataRows in a DataTable for a schema should
1005 be typeof Type, not string. This is to make it
1006 compatible with MS.NET
1008 * System.Data.SqlClient/SqlConnection.cs: the
1009 isolation level should be set before
1010 beginning the transaction
1012 * Test/SqlSharpCli.cs: change string to Type for
1013 "DataType" from a DataRow in a DataTable
1014 that contains a schema.
1016 2002-10-14 Rodrigo Moya <rodrigo@ximian.com>
1018 * list: added missing Odbc files.
1020 2002-10-09 Rodrigo Moya <rodrigo@ximian.com>
1022 * list: added System.Data.Odbc files.
1024 2002-10-09 Brian Ritchie <brianlritchie@hotmail.com>
1026 * System.Data.Odbc/*: added first version of ODBC managed provider.
1028 2002-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1030 * System.Data/ConstraintCollection.cs:
1031 * System.Data/DataColumnCollection.cs:
1032 * System.Data/DataRowCollection.cs:
1033 * System.Data/DataTableCollection.cs:
1034 * System.Data/InternalDataCollectionBase.cs: made List internal to fix
1035 the build with csc. It must be a mcs bug. I will try to get a test case.
1037 2002-10-06 Luis Fernandez <luifer@onetel.net.uk>
1039 * System.Data/Constraint.cs (AssertConstraint): added overloaded
1042 * System.Data/DataColumnCollection.cs: added constraints when needed.
1044 * System.Data/DataRow.cs: validate UniqueConstraint's.
1046 * System.Data/DataRowCollection.cs (ValidateDataRowInternal): new
1047 internal method to validate a given DataRow with respect to the
1050 * System.Data/ForeignKeyConstraint.cs (AssertConstraint): stubs for
1051 new overloaded method.
1053 * System.Data/UniqueConstraint.cs: added implementation.
1054 (AseertConstraint): implemented new overloaded method.
1056 2002-10-01 Rodrigo Moya <rodrigo@ximian.com>
1058 * System.Data.OleDb/OleDbConnection.cs (Open): commented code from
1059 last commit, which wasn't supposed to be in CVS yet.
1061 2002-10-01 Luis Fernandez <luifer@onetel.net.uk>
1063 * System.Data/DataColumn.cs:
1064 * System.Data/DataRow.cs:
1065 * System.Data/DataRowCollection.cs:
1066 * System.Data/DataTable.cs: some fixes and implementation.
1068 2002-09-28 Vladimir Vukicevic <vladimir@pobox.com>
1070 * System.Data.OleDb/OleDbConnection.cs: Close
1071 reader properly in call to ExecuteScalar().
1073 2002-09-07 Rodrigo Moya <rodrigo@ximian.com>
1075 * System.Data.OleDb/OleDbConnection.cs (Open): changed to use OleDb
1076 connection strings, which are then converted to GDA connection
1077 strings, instead of using directly GDA data source names.
1079 * System.Data.OleDb/libgda.cs: added more needed functions.
1081 2002-09-06 Franklin Wise <gracenote@earthlink.net>
1083 * System.Data/DataColumn.cs: More flushing out.
1085 * System.Data/ForeignKeyConstraint.cs: Implemented GetHashCode()
1087 * System.Data/UniqueKeyConstraint.cs: Implemented GetHashCode()
1089 * Tests: See Changelog for System.Data/Test
1091 2002-09-04 Franklin Wise <gracenote@earthlink.net>
1093 * Tests: See Changelog for System.Data/Test
1096 System.Data/DataColumnCollectionTest.cs
1097 System.Data/DataRowCollectionTest.cs
1098 System.Data/DataRowTest.cs
1100 * System.Data/DataColumn.cs: Flushing out validation, type conversion for
1101 autoincrement. Added lots of TODO's.
1102 * System.Data/DataColumnCollection.cs: Wrote out add logic as a comment.
1103 Tagged implementation with FIXME tags. Lot's more validation
1104 and setup needs to be done, much of which is now tagged as todo's
1107 * System.Data/DataRow.cs: Lot's of fixme's added.
1109 * System.Data/DataRowCollection.cs: TODO's added.
1111 * System.Data/DataTable.cs: Implemented PrimaryKey.
1113 * System.Data/UniqueConstraint.cs: Implemented related PrimaryKey
1116 2002-08-25 Rodrigo Moya <rodrigo@ximian.com>
1118 * System.Data.OleDb/OleDbTransaction.cs (OleDbTransaction): manage
1119 correctly the isolation level.
1120 (IsolationLevel): likewise.
1121 (~OleDbTransaction): implemented.
1123 * System.Data.OleDb/libgda.cs: added more needed stuff.
1125 2002-08-22 Daniel Morgan <danmorg@sc.rr.com>
1127 * System.Data.SqlClient/SqlParameter.cs: flush
1129 * System.Data.SqlClient/SqlParameterCollection.cs: fixes
1130 for the Item property, IndexOf, and Contains.
1132 * Test/SqlSharpCli.cs: added input parameters support.
1133 when a query is executed, if a parameter name matches
1134 a SQL# internal variable name, it uses that value for the parameter; otherwise,
1135 the user is prompted for the parameter value. Currently, it only supports
1138 2002-08-21 Rodrigo Moya <rodrigo@ximian.com>
1140 * System.Data.OleDb/libgda.cs: adapted to changes in libgda (get_vtype
1141 and get_type for GdaValue).
1143 * System.Data.OleDb/OleDbDataReader.cs: adapted to changes in
1146 2002-08-20 Rodrigo Moya <rodrigo@ximian.com>
1148 * System.Data.OleDb/OleDbConnection.cs (DataReader): new internal
1150 (Close): set the dataReader to null.
1152 * System.Data.OleDb/OleDbDataReader.cs (OleDbDataReader): set the
1153 connection's DataReader property to this object.
1154 (Close): set it to null here.
1155 (Depth, IsDbNull): implemented.
1156 (this): implemented the Item property with a string indexer.
1158 * System.Data.OleDb/OleDbCommand.cs (ExecuteNonQuery, ExecuteReader,
1159 ExecuteScalar): do nothing if there's already an open data reader.
1161 * System.Data.OleDb/libgda.cs: more API functions.
1163 * System.Data.OleDb/TestOleDb.cs (TestDataReader): close the data
1164 reader before continuing.
1166 2002-08-20 Franklin Wise <gracenote@earthlink.net>
1168 * System.Data/System.Data.build: added nowarn:0679
1170 * System.Data/System.DataTable: cleaned up class, added MonoTODO tags
1171 setup to begin implementing. Implemented ctor().
1173 * Tests: See System.Data\Test\ChangeLog
1176 2002-08-19 Rodrigo Moya <rodrigo@ximian.com>
1178 * System.Data.OleDb/OleDbSchemaGuid.cs: initialize static members.
1180 2002-08-19 Franklin Wise <gracenote@earthlink.net>
1182 * Tests: See System.Data\Test\ChangeLog
1184 * System.Data/UniqueConstraint.cs: More validation.
1186 * System.Data/ForeignKeyConstraint.cs: Added more validation rules.
1187 Another LAMESPEC tag. Implemented more of Add/Remove Setup/Cleanup
1190 * System.Data/DataTable.cs: Added more MonoTODO tags
1192 * class/System.Data/.cvsignore: added tmp & Temp
1194 * System.Data/Constraint.cs: Changed abstract helpers to virtual and
1197 * System.Data/ConstraintCollection.cs: Commented out unused line.
1199 2002-08-18 Rodrigo Moya <rodrigo@ximian.com>
1201 * System.Data.OleDb/OleDbConnection.cs (ChangeDatabase): implemented.
1203 * System.Data.OleDb/OleDbException.cs (OleDbException): added internal
1205 (ErrorCode, Message, Source, Errors): implemented.
1207 * System.Data.OleDb/OleDbError.cs: implemented the full class.
1209 * System.Data.OleDb/libgda.cs: added more libgda functions.
1211 * System.Data.OleDb/TestOleDb.cs (TestOleDb): display properties for
1212 the opened connection.
1214 2002-08-18 Rodrigo Moya <rodrigo@ximian.com>
1216 * System.Data.OleDb/OleDbConnection.cs (ServerVersion): implemented.
1218 * System.Data.OleDb/OleDbDataReader.cs (Close): clear the results
1219 ArrayList after releasing the items.
1220 (GetName, GetDateTime, GetDouble, GetSingle, GetInt16, GetInt32,
1221 GetOrdinal, GetString): implemented.
1222 (GetDataTypeName): made it get the type from the data model, not from
1223 the current value, which could not have been retrieved yet.
1224 (GetValue): call the Get* method corresponding with the data type of
1225 the requested column.
1227 * System.Data.OleDb/libgda.cs: added more libgda functions.
1228 (GdaTimestamp, GdaDate, GdaTime): new marshalled structures.
1230 * System.Data.OleDb/TestOleDb.cs (TestDateReader): display column
1231 titles via OleDbDataReader.GetName ().
1232 (TestOleDb): create temporary table with a date field.
1233 (InsertRow): set current date for the date field.
1235 2002-08-18 Rodrigo Moya <rodrigo@ximian.com>
1237 * System.Data.OleDb/OleDbDataReader.cs (this[]): made it just call
1238 GetValue, which will take care of all the work needed.
1239 (Close): implemented basic stuff.
1240 (~OleDbDataReader): implemented.
1242 * System.Data.OleDb/libgda.cs: added more needed functions.
1244 2002-08-16 Rodrigo Moya <rodrigo@ximian.com>
1246 * System.Data.OleDb/TestOleDb.cs: made it work with a temporary table
1248 (TestTransaction): added test for transactions.
1250 2002-08-16 Rodrigo Moya <rodrigo@ximian.com>
1252 * System.Data.OleDb/libgda.cs: added new needed libgda functions.
1254 * System.Data.OleDb/OleDbDataReader.cs (GetBoolean): throw exceptions
1255 when there are errors.
1256 (GetByte, GetChar, GetDataTypeName, GetValue, Read): implemented.
1258 * System.Data.OleDb/TestOleDb.cs: added more testing code for data
1261 2002-08-15 Rodrigo Moya <rodrigo@ximian.com>
1263 * System.Data.OleDb/libgda.cs: added new needed libgda functions.
1265 * System.Data.OleDb/OleDbParameterCollection.cs (GdaParameterList):
1266 create an empty GdaParameterList.
1268 * System.Data.OleDb/OleDbCommand.cs (ExecuteReader): check values
1269 for NULL before passing them to Marshal.PtrToStructure, which issues
1270 an exception if the value is NULL.
1272 2002-08-15 Rodrigo Moya <rodrigo@ximian.com>
1274 * System.Data/UniqueConstraint.cs (UniqueConstraint): commented
1275 unreachable code to avoid compiler warning.
1277 * System.Data.OleDb/libgda.cs (GdaList): added new internal class.
1279 * System.Data.OleDb/OleDbConnection.cs (DataSource): implemented.
1280 (OpenReader): removed internal method.
1282 * System.Data.OleDb/OleDbCommand.cs (ExecuteReader): split correctly
1283 the list of returned data models.
1285 2002-08-15 Franklin Wise <gracenote@earthlink.net>
1287 * System.Data/Constraint.cs: Added helper virtual functions
1289 * System.Data/ConstraintCollection.cs: Improved constraint removal,
1290 validation. Removed specific knowledge of subclasses of
1293 * System.Data/DataColumn.cs: Added static helper function to compare
1294 if two DataColumn arrays are the same.
1296 * System.Data/ForeignKeyConstraint.cs: Continued to flush out.
1298 * System.Data/UniqueConstraint.cs: Implemented. Still some constraint
1301 2002-08-13 Franklin Wise <gracenote@earthlink.net>
1303 * System.Data/DataRow.cs: Added several fixme tags.
1305 2002-08-13 Rodrigo Moya <rodrigo@ximian.com>
1307 * System.Data.SqlClient/SqlDataAdapter.cs (DeleteCommand,
1308 InsertCommand, SelectCommand, UpdateCommand): removed 'new' keyword
1309 to avoid compiler warnings.
1311 2002-08-12 Franklin Wise <gracenote@earthlink.net>
1313 * System.Data/Constraint.cs: Implemented
1315 * System.Data/UniqueConstraint.cs: GetHashCode() &
1316 special case Ctor. Still need to be implemented. LAMESPEC tags
1319 * System.Data/ConstraintCollection.cs: Clear() &
1320 AddRange() need to be finished. Several LAMESPEC tags.
1322 * Allow Constraint collection to be created in DataTable.
1324 * System.Data/ForeignKeyConstraint: Added a couple of
1327 * System.Data/DataColumnCollection New/Added DataColumns now have
1330 2002-08-11 Rodrigo Moya <rodrigo@ximian.com>
1332 * System.Data.OleDb/libgda.cs: added some GdaValue functions.
1334 * System.Data.OleDb/OleDbCommand.cs (OpenReader): removed this
1335 internal method, since we don't need it.
1336 (ExecuteReader): call SetupGdaCommand before executing the command
1337 via libgda functions.
1338 (ExecuteScalar): implemented.
1340 * System.Data.OleDb/OleDbDateReader.cs (OleDbDataReader): removed call
1341 to OleDbCommand.OpenReader.
1342 (GetBoolean): implemented.
1344 2002-08-08 Franklin Wise <gracenote@earthlink.net>
1346 * System.Data/IDbComand.cs: IDbCommand now inherits IDisposable
1348 * System.Data/IDbConnection.cs: IDbConnection now inherits IDisposable
1350 * System.Data.SqlTypes/SqlCompareOptions.cs: Enum now set to correct
1353 2002-08-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1355 * System.Data.OleDb/OleDbConnection.cs: little fixes to make it work
1356 and don't show a warning in Open.
1358 * System.Data.OleDb/TestOleDb.cs: added Close.
1360 2002-08-05 Rodrigo Moya <rodrigo@ximian.com>
1362 * System.Data.OleDb/OleDbConnection.cs (ConnectionString,
1363 ConnectionTimeout, ServerVersion, GdaConnection):
1365 (OleDbConnection): call libgda.gda_init on constructor.
1367 * System.Data.OleDb/libgda.cs (libgda): removed static constructor,
1368 which wasn't been called.
1370 * System.Data.OleDb/TestOleDb.cs (TestOleDb): updated to really
1373 2002-08-04 Rodrigo Moya <rodrigo@ximian.com>
1375 * list: added missing System.Data.OleDb and
1376 System.Data.Common files.
1378 * System.Data.OleDb/ChangeLog: removed and merged with
1379 System.Data's ChangeLog.
1381 * System.Data.OleDb/OleDbDataAdapter.cs:
1382 * System.Data.OleDb/OleDbPermission.cs: compilation fixes.
1384 2002-07-30 Rodrigo Moya <rodrigo@ximian.com>
1386 * System.Data.OleDb/OleDbDataReader.cs (FieldCount): implemented.
1387 (IsClosed, Item, RecordsAffected): implemented some properties.
1389 * libgda.cs: added GdaDataModel methods.
1391 2002-07-29 Rodrigo Moya <rodrigo@ximian.com>
1393 * System.Data.OleDb/OleDbDataReader.cs (OleDbDataReader constructor): changed to receive
1394 a second argument (ArrayList results).
1395 (NextResult): implemented.
1397 * System.Data.OleDb/OleDbCommand.cs: don't store the ArrayList of results, since we'll
1398 pass that to the OleDbDataReader.
1399 (OleDbCommand constructor): don't create the ArrayList of results.
1400 (GdaResults): removed property.
1401 (ExecuteReader): create a temporary ArrayList and pass that to the
1402 OleDbDataReader constructor.
1404 2002-07-28 Rodrigo Moya <rodrigo@ximian.com>
1406 * System.Data.OleDb/OleDbCommand.cs (ExecuteReader):
1407 (CreateParameter): implemented IDbCommand methods.
1408 (CommandText): don't create many GdaCommand's, only one is needed.
1409 (ExecuteNonQuery): set up the internal GDA command object.
1410 (ExecuteReader): use correctly the unique GDA command object.
1412 * System.Data.OleDb/libgda.cs: added new libgda calls.
1414 2002-07-27 Rodrigo Moya <rodrigo@ximian.com>
1416 * System.Data.OleDb/OleDbConnection.cs (CreateCommand):
1417 (BeginTransaction): implemented IDbConnection methods.
1419 2002-07-12 Rodrigo Moya <rodrigo@ximian.com>
1421 * list: added System.Data.OleDb files to file list.
1423 2002-07-11 Rodrigo Moya <rodrigo@ximian.com>
1425 * System.Data.OleDb/libgda.cs: added new libgda functions and some enumerations.
1427 * System.Data.OleDb/OleDbParameter.cs (IsNullable): removed explicit implementation
1428 of the set method for this property.
1430 * System.Data.OleDb/OleDbDataAdapter.cs (MissingMappingAction): implemented.
1431 (MissingSchemaAction): implemented.
1433 2002-07-10 Tim Coleman <tim@timcoleman.com>
1435 * System.Data.OleDb/OleDbCommandBuilder.cs: Added new methods, properties
1436 * System.Data.OleDb/OleDbConnection.cs: Modified constructor
1437 * System.Data.OleDb/OleDbError.cs: Added stubbs
1438 * System.Data.OleDb/OleDbException.cs: Added stubbs
1439 * System.Data.OleDb/OleDbInfoMessageEventArgs.cs: Added stubbs
1440 * System.Data.OleDb/OleDbInfoMessageEventHandler.cs: style change
1441 * System.Data.OleDb/OleDbParameter.cs: Added conversion from type to OleDbType
1442 * System.Data.OleDb/OleDbPermission.cs: Added stubbs
1443 * System.Data.OleDb/OleDbSchemaGuid.cs: Added stubbs
1444 * System.Data.OleDb/OleDbTransaction.cs: New constructors, changes to methods to
1445 support transaction nesting
1446 * System.Data.OleDb/libgda.cs: Added my name to this file
1448 2002-07-09 Tim Coleman <tim@timcoleman.com>
1450 * System.Data.OleDb/OleDbCommand.cs: Style changes, added new methods
1451 * System.Data.OleDb/OleDbConnection.cs: Style changes, added new methods
1452 * System.Data.OleDb/OleDbDataAdapter.cs: Implementation
1453 * System.Data.OleDb/OleDbDataReader.cs: Added stubbs
1454 * System.Data.OleDb/OleDbErrorCollection.cs: Added stubbs, some implementation
1455 * System.Data.OleDb/OleDbParameter.cs: Style changes, added new methods
1456 * System.Data.OleDb/OleDbParameterCollection.cs: Style changes, added new methods
1457 * System.Data.OleDb/OleDbPermissionAttribute.cs: Style changes, added new methods
1458 * System.Data.OleDb/OleDbRowUpdatedEventArgs.cs: Added stubbs
1459 * System.Data.OleDb/OleDbRowUpdatingEventArgs.cs: Added stubbs
1460 * System.Data.OleDb/OleDbTransaction.cs: Style changes, added new methods
1461 * System.Data.OleDb/OleDbType.cs: Fixed two typos
1462 * System.Data.OleDb/libgda.cs: Style changes, added new methods
1464 2002-07-09 Tim Coleman <tim@timcoleman.com>
1466 * System.Data.build: remove restriction on System.Data.OleDb build
1468 2002-06-03 Rodrigo Moya <rodrigo@ximian.com>
1470 * System.Data.OleDb/OleDbParameterCollection.cs (GetEnumerator, SyncRoot,
1471 IsSynchronized): implemented.
1473 2002-06-02 Rodrigo Moya <rodrigo@ximian.com>
1475 * System.Data.OleDb/OleDbTransaction.cs (Dispose): added missing method.
1477 * System.Data.OleDb/OleDbCommand.cs (Clone): added missing methods.
1478 (Parameters, Transaction, Connection): made these overload
1481 * System.Data.OleDb/OleDbParameterCollection.cs (IndexOf, Remove, RemoveAt):
1482 call m_list methods, not own ones.
1484 * System.Data.OleDb/OleDbParameter.cs: more implementation.
1486 2002-06-02 Rodrigo Moya <rodrigo@ximian.com>
1488 * System.Data.OleDb/OleDbTransaction.cs (Connection, IsolationLevel, Begin,
1489 Commit, Rollback): implemented.
1490 (GdaConnection): added new internal property.
1492 * System.Data.OleDb/OleDbParameter.cs:
1493 * System.Data.OleDb/OleDbParameterCollection.cs: implemented some methods and
1496 * System.Data.OleDb/libgda.cs: added yet more libgda API functions.
1498 2002-06-01 Rodrigo Moya <rodrigo@ximian.com>
1500 * System.Data.OleDb/libgda.cs: added new libgda API functions.
1502 * System.Data.OleDb/OleDbConnection.cs (Provider): implemented.
1503 (BeginTransaction): made it overload IDbConnection methods.
1504 (ChangeDatabase): new stub, needs some work on libgda for being
1507 (Close): implemented.
1508 (CreateCommand): implemented.
1509 (GetOleDbSchemaTable): new stub, until I understand what to do here.
1510 (Open): implemented basic stuff, which is just supporting connection
1511 strings that represent a GDA data source name. More to come.
1512 (InfoMessage, StateChange): added events.
1514 * System.Data.OleDb/TestOleDb.cs: test program for System.Data.OleDb.
1516 2002-05-29 Rodrigo Moya <rodrigo@ximian.com>
1518 * System.Data.OleDb/libgda.cs: added static constructor.
1519 (GdaClient): new static property to get the underlying GdaClient
1522 * System.Data.OleDb/OleDbConnection.cs: removed GDA initialization, which belongs to
1523 the static 'libgda' class.
1525 2002-05-29 Rodrigo Moya <rodrigo@ximian.com>
1527 * System.Data.OleDb/libgda.cs: static class for libgda API calls.
1529 * System.Data.OleDb/OleDbConnection.cs: implemented constructors.
1530 (ConnectionString, Connectiontimeout, Database, State):
1531 implemented class properties.
1532 (BeginTransaction): implemented.
1534 * System.Data.OleDb/OleDbTransaction.cs: implemented protected constructors.
1536 * System.Data.OleDb/TestGDA.cs: simple test for libgda API.
1538 2002-05-27 Rodrigo Moya <rodrigo@ximian.com>
1540 * System.Data.OleDb/*: started System.Data.OleDb provider, based on libgda.
1542 2002-06-06 Rodrigo Moya <rodrigo@ximian.com>
1544 * list: added missing PostgresTypes.cs file.
1546 2002-06-02 Francisco Jr. <fxjrlists@yahoo.com.br>
1548 * System.Data.SqlClient/SqlParameterCollection.cs: implemented missing
1551 2002-05-30 Daniel Morgan <danmorg@sc.rr.com>
1553 * System.Data.SqlClient/SqlConnection.cs: modifed -
1554 start to implement the interfaces properly and
1555 properly doing a Close(), Dispose(), and
1558 * Test/SqlSharpCli.cs: modified -
1559 add support for MySQL in Mono.Data.MySql
1560 and OleDb support in System.Data.OleDb. However,
1561 the OleDb support is commented right now.
1562 When the program starts up, a shorter help menu should
1563 display the most important commands: help and quit
1565 2002-05-28 Rodrigo Moya <rodrigo@ximian.com>
1567 * System.Data.build: exclude System.Data.OleDb files.
1569 2002-05-27 Daniel Morgan <danmorg@sc.rr.com>
1571 * System.Data.SqlClient/SqlCommand.cs: typo
1572 should be CommandBehavior.KeyInfo
1574 * Test/SqlSharpCli.cs: refactored and added a few more
1577 2002-05-27 Tim Coleman <tim@timcoleman.com>
1578 * list: update to compile properly (add missing
1579 files and switch path delimiter from '\' to '/').
1581 2002-05-26 Daniel Morgan <danmorg@sc.rr.com>
1583 * System.Data/DataRow.cs
1584 * System.Data.Common/DbDataAdapter.cs: fix to
1585 get Test/TestSqlDataAdapter.cs to work again
1587 * Test/TestSqlDataAdapter.cs: removed comment
1588 about SqlDataReader:NextResult() not being implemented; it
1589 bas been implemented
1591 2002-05-26 Daniel Morgan <danmorg@sc.rr.com>
1593 * System.Data/DataRow.cs: modified
1594 support setting of DBNull.Value
1595 using the Item indexer this[DataColumn]
1597 * System.Data.SqlClient/SqlCommand.cs: modified
1598 tweaks to show TODO's for other CommandBehavior.
1599 Set AllowDBNull column to true for IsKey row
1600 in schema DataTable.
1602 * System.Data.SqlClient/SqlConnection.cs: modified
1603 if transaction is in progress when a Close() is called,
1604 do a transaction Rollback.
1606 2002-05-26 Daniel Morgan <danmorg@sc.rr.com>
1608 * Test/SqlSharpCli.cs: added file
1609 My new toy. SQL# is a command-line tool to enter
1610 SQL commands and queries using Mono System.Data.
1611 It also serves as a test for Mono System.Data.
1613 * System.Data.SqlClient/SqlCommand.cs: modified
1614 - ExecuteNonQuery(), ExecuteScalar(), and ExecuteReader()
1615 should handle the results from SQL Commands and Queries.
1616 - Internal class SqlResult should not create schema Table
1617 for the result from a SQL Command. Also, set the RecordsRetrieved
1618 property for SqlDataReader.
1619 - Closing the SqlDataReader should Close() the SqlConnection for
1620 a CommandBehavior.CloseConnection.
1621 - Set defaults for SqlResult
1623 * System.Data.SqlClient/SqlConnection.cs: modified -
1624 when SqlDataReader is Close()
1625 should Close() the SqlConnection for
1626 a CommandBehavior.CloseConnection. Changed internal Property
1627 from OpenReader get/set to IsReaderOpen get and created
1628 internal methods OpenReader()/CloseReader() for SqlCommand to call.
1629 SqlConnection needs to be prevented from doing while SqlDataReader
1632 * System.Data.SqlClient/SqlDataReader.cs: modified -
1633 call SqlCommand's OpenReader() internal method. get
1634 RecordsRetrieved from SqlResult. set/reset default
1635 values for SqlDataReader.
1637 * Test/PostgresTest.cs
1638 * Test/TestExecuteScalar.cs
1639 * Test/TestSqlDataReader.cs: modified
1640 for the Execute...() methods in SqlCommand
1641 to test SQL Queries and Commands
1643 * Test/System.Data_test.build: modified
1644 exclude new file Test/SqlSharpCli.cs from
1647 2002-05-24 Tim Coleman <tim@timcoleman.com>
1648 * System.Data.Common/DbDataAdapter.cs: remove IDbCommands, except
1649 for get accessors. These should be implemented in derived classes. See
1650 SqlDataAdapter for clues.
1651 * System.Data.SqlClient/SqlDataAdapter.cs: implement IDbDataAdapter
1652 * System.Data.Common/DataAdapter.cs:
1653 * System.Data.Common/DataTableMappingCollection.cs:
1654 * System.Data.Common/DataTableMapping.cs:
1655 * System.Data.Common/DataColumnMappingCollection.cs:
1656 * System.Data.Common/DataColumnMapping.cs:
1657 Properly (I hope!) implement all of the appropriate interfaces
1661 2002-05-23 Tim Coleman <tim@timcoleman.com>
1662 * System.Data.SqlClient/SqlCommand.cs: include
1663 the BaseColumnName in the schema table. Was missed before.
1664 * System.Data.Common/DbDataAdapter.cs: Use DataTable
1665 mappings so that the DataSet and DataTable are more closely tied.
1666 Get schema information from the DataTable using GetSchemaTable ()
1667 Various other little fixes
1668 * System.Data.Common/DataColumnMappingCollection.cs:
1669 * System.Data.Common/DataTableMapping.cs:
1670 * System.Data.Common/DataTableMappingCollection.cs: Some
1671 implementation, enough to be used by DbDataAdapter.
1673 2002-05-23 Daniel Morgan <danmorg@sc.rr.com>
1675 * System.Data.SqlClient/SqlCommand.cs: set
1676 the "ProviderType" to the PostgreSQL type oid
1678 * System.Data.SqlClient/SqlDataReader.cs: fix
1679 for various properties and methods that
1680 return meta data: Item indexers this[name] and this[index],
1681 GetFieldType, GetName, and GetOrdinal. SqlDataAdapter
1684 2002-05-22 Daniel Morgan <danmorg@sc.rr.com>
1686 * System.Data/DataRow.cs: change suggested
1687 by tim: in Item indexer, do an EndEdit()
1689 * System.Data.SqlClient/SqlCommand.cs: more
1690 fixes to SqlResult. After setting each item in
1691 the DataRow, do an AcceptChanges() to commit
1692 the changes in the DataRow. For DataType, use a Type
1693 of System.String since System.Type nor System.Object
1696 * Test/TestSqlDataReader.cs
1697 * Test/PostgresTest.cs: updated to to be on
1698 the way schema table is suppose to work
1700 2002-05-22 Daniel Morgan <danmorg@sc.rr.com>
1702 * System.Data.SqlClient/SqlCommand.cs: more work on
1703 building the schema table
1705 2002-05-22 Tim Coleman <tim@timcoleman.com>
1706 * System.Data.SqlClient/SqlCommand.cs: preliminary work
1707 on getting the schema table correctly built.
1709 2002-05-21 Daniel Morgan <danmorg@sc.rr.com>
1711 * System.Data.SqlClient/ParmUtil.cs: added file - to
1712 provide utility for conversion of input parameters
1714 * System.Data.SqlClient/PostgresTypes.cs: added file -
1715 moved the PostgreHelper class to here. May eventually
1716 move the internal class PostgresTypes that's inside the
1717 SqlConnection to here as well.
1718 Handling of PostgreSQL <-> .NET types need to be though
1719 out more. Also, the PostgreHelper has a method to convert
1720 from .NET types to a string which can be put into used in
1721 an SQL statement to execute against a PostgreSQL database.
1722 This is the beginnings of parameters support. It currently
1723 only supports input parameters. Still need to do output,
1724 input/output, and return parameters.
1726 * Test/TestSqlParameters.cs: new test to test the input
1727 parameters in System.Data.SqlClient against a
1730 * System.Data.SqlClient/PostgresLibrary.cs: moved
1731 PostgresHelper class to file PostgresTypes.cs. Also
1732 moved struct PostgresType there too.
1734 * System.Data.SqlClient/SqlCommand.cs: added input
1737 * System.Data.SqlClient/SqlParameter.cs: got
1738 SqlParameter to work
1740 * System.Data.SqlClient/SqlParameterCollection.cs: got
1741 SqlParameterCollection to work
1743 * Test/System.Data_test.build: added files to exclude
1746 * System.Data.SqlClient/SqlConnection.cs: release resources
1749 2002-05-18 Daniel Morgan <danmorg@sc.rr.com>
1751 * System.Xml: added directory for classes with namespace
1752 System.Xml to go into the System.Data.dll assembly
1754 * System.Xml/XmlDataDocument: added file
1755 for stubbed concrete class XmlDataDocument which
1756 inherits from XmlDocument. Its purpose is to provide
1757 a W3C XML DOM Document for relational data and interacting
1760 2002-05-18 Daniel Morgan <danmorg@sc.rr.com>
1762 * System.Data.SqlClient/SqlCommand.cs: handle CommandTypes
1763 Text, TableDirect, and StoredProcedure
1765 * Test/PostgresTest.cs: changed call to version()
1766 stored procedure to use the CommandType of StoredProcedure
1768 * Test/TestSqlDataReader.cs: test all the CommandTypes
1770 2002-05-18 Daniel Morgan <danmorg@sc.rr.com>
1772 * System.Data.build: took out all excluded
1773 files except the ones in the Test directory
1774 because all files compile now. It does not
1775 mean they all work or have implementations
1778 * System.Data/DataRelationCollection.cs
1779 * System.Data/DataTableRelationCollection.cs
1780 * System.Data/InternalDataCollectionBase.cs
1781 * System.Data.Common/DbDataPermission.cs
1782 * System.Data.SqlClient/SqlInfoMessageEventArgs.cs
1783 * System.Data.SqlClient/SqlClientPermission.cs
1784 * System.Data.SqlClient/SqlClientPermissionAttribute.cs: changes
1785 to get all System.Data* files to compile.
1787 * System.Data.SqlClient/SqlCommand.cs: started coding
1788 to prevent SqlConnection and SqlCommand from doing
1789 anyting while fetching data using SqlDataReader. Also,
1790 started coding to undo this prevention once the
1791 SqlDataReader is closed.
1793 * System.Data.SqlClient/SqlConnection.cs: get database server
1794 version. Started coding to prevent connection from
1795 doing anything while fetching data and undo once the reader
1796 is closed. Include events SqlInfoMessage and StateChange.
1798 * System.Data.SqlClient/SqlDataReader.cs: start coding to
1799 prevent connection and command from doing anything while
1800 fetching data, and undo when closed.
1802 * Test/PostgresTest.cs: added test to get ServerVersion
1803 property from SqlConnection
1805 2002-05-18 Tim Coleman <tim@timcoleman.com>
1806 * System.Data/DataRow.cs: More implementation,
1807 as well as boundary checks and small semantic
1810 2002-05-18 Tim Coleman <tim@timcoleman.com>
1811 * System.Data/DataRow.cs: Try to reduce memory
1812 usage by only creating the original and proposed
1813 arrays as required in BeginEdit, and then destroying
1814 proposed during EndEdit, and original during AcceptChanges.
1815 * System.Data.Common/DbDataAdapter.cs: Make the
1816 startRecord and maxRecords parameters work correctly.
1818 2002-05-18 Tim Coleman <tim@timcoleman.com>
1819 * System.Data/DataRow.cs: Move the null check in
1820 ItemArray set to above the Invalid Cast check, so
1821 that we don't get null reference exceptions.
1823 2002-05-17 Daniel Morgan <danmorg@sc.rr.com>
1825 * System.Data.SqlClient/PostgresLibrary.cs: handle
1826 data value from database being NULL
1828 * System.Data.SqlClient/SqlCommand.cs: for ExecuteReader,
1829 allow multiple result sets. Added new internal class
1830 SqlResult to pass result set data from SqlCommand
1833 * System.Data.SqlClient/SqlDataReader.cs: allow
1834 multiple result sets.
1836 * System.Data.SqlClient/SqlConnection.cs: moved
1837 things around. Implement IDisposable.
1839 * Test/TestSqlDataReader.cs: test for execution
1840 of multiple result sets and display the results
1841 of these multiple results sets
1843 * Test/TestSqlDataAdapter.cs: tweaks
1845 2002-05-17 Tim Coleman <tim@timcoleman.com>
1846 * System.Data.Common/DbDataAdapter.cs:
1847 - More implementation of Fill methods
1848 - Get rid of isDirty flag, because we can just check
1850 - Do *not* remove DataTables before Filling them
1851 - Implicitly open the connection before doing a Fill
1852 if it does not exist.
1853 * System.Data.SqlClient/SqlDataAdapter.cs:
1855 * System.Data/DataTableCollection.cs:
1856 - Add DataSet to internal, undocumented constructor
1857 - When a table is created, set its DataSet property
1858 - Default table name for creation is "Table1" (see .NET)
1859 - Inherit the ArrayList list from InternalDataCollecitonBase
1860 and maintain a hashtable between table names and
1862 * System.Data/DataTable.cs:
1863 - Add internal dataSet field. This is used by
1864 DataTableCollection when the DataTable is constructed.
1865 * System.Data/DataSet.cs:
1866 - Pass a reference to the DataSet when constructing the
1867 DataTableCollection.
1869 2002-05-16 Tim Coleman <tim@timcoleman.com>
1870 * System.Data.Common/DbDataAdapter.cs:
1871 Use table.Rows.Add (itemArray) instead of
1872 table.Rows.Add (thisRow) to provide better
1874 * System.Data/DataRowCollection.cs:
1875 Some implementation of this class.
1876 * System.Data/InternalDataCollectionBase.cs:
1877 Some implementation. Most notably, this now
1878 has an enumerator so we can use foreach (DataRow row in table.Rows)
1879 in the test classes.
1880 * System.Data/DataTable.cs:
1881 Since DataRowCollection now accepts a DataTable in
1882 its internal constructor, we must pass one in.
1884 2002-05-16 Daniel Morgan <danmorg@sc.rr.com>
1886 * Test/TestSqlDataAdapter.cs: added new test
1887 for SqlDataAdapter, DataSet, DataTableCollection, DataTable,
1888 DataRowCollection, and DataRow. It tests retrieving data
1889 based on a SQL SELECT query. This test is based on Tim Coleman's
1892 2002-05-16 Tim Coleman <tim@timcoleman.com>
1893 * System.Data.Common/DbDataAdapter.cs:
1894 Use table.Rows.Add (thisRow) instead of
1895 table.ImportRow (thisRow)
1896 * System.Data/DataRowCollection.cs:
1897 Construct the ArrayList before using it
1899 2002-05-16 Tim Coleman <tim@timcoleman.com>
1900 * System.Data/DataTable.cs:
1901 Construct the DataRowCollection in the DataTable
1902 constructor. Otherwise, it's a null reference.
1904 2002-05-16 Tim Coleman <tim@timcoleman.com>
1905 * System.Data.SqlClient/SqlDataReader.cs:
1906 Modify GetValues to use Array.Copy() to copy
1907 the results from fields to values, rather than
1908 an assignment, which results in loss of data.
1910 2002-05-16 Tim Coleman <tim@timcoleman.com>
1911 * System.Data/DataRow.cs:
1912 More implementation and documentation. It should
1913 work more like expected, although there is no way
1914 to demonstrate this well yet. DataTable requires
1917 2002-05-15 Tim Coleman <tim@timcoleman.com>
1918 * System.Data/DataRow.cs:
1919 Minor tweaks as I determine exactly how to
1920 implement this class.
1923 2002-05-14 Duncan Mak <duncan@ximian.com>
1925 * System.Data/DataTable.cs (NewRow): Added missing paren to fix build.
1927 2002-05-14 Tim Coleman
1928 * System.Data/DataRow.cs:
1929 * System.Data/DataRowBuilder.cs:
1930 * System.Data/DataTable.cs:
1931 More implementation of these classes. DataRow
1932 can now (possibly) do some useful things.
1933 Still not sure what DataRowBuilder is all about,
1934 other than passing a DataTable in.
1936 2002-05-14 Tim Coleman
1937 * System.Data/DataRowBuilder.cs:
1938 Add stubb for this internal class.
1940 2002-05-13 Tim Coleman
1941 * System.Data.Common/DbDataAdapter.cs:
1942 The maxRecords check was not correct.
1944 2002-05-13 Tim Coleman
1945 * System.Data/DataTableCollection.cs:
1946 Fix an issue when adding a DataTable and size == 0.
1947 Now explicitly checks if size > 0 before doing Array.Copy ()
1948 * System.Data.Common/DbDataAdapter.cs:
1949 Move closer to a working implementation.
1950 Make the IDbCommand fields protected so that they can
1952 * System.Data.SqlClient/SqlDataAdapter.cs:
1953 This should inherit the IDbCommands instead of having its
1954 own. An explicit cast is used to force conversion between
1955 IDbCommand and SqlCommand
1957 2002-05-13 Tim Coleman
1958 * System.Data.Common/DataTableMappingCollection.cs:
1959 Some implementation to allow progress with DbDataAdapter
1961 2002-05-13 Tim Coleman
1962 * System.Data.Common/DbDataAdapter.cs:
1963 Modify to not break compile.
1965 2002-05-13 Tim Coleman
1966 * System.Data.build:
1967 include SqlDataAdapter, SqlRowUpdatedEventArgs,
1968 SqlRowUpdatingEventArgs, SqlRowUpdatedEventHandler,
1969 SqlRowUpdatingEventHandler in the build.
1971 2002-05-13 Tim Coleman
1972 * System.Data.Common/DbDataAdapter.cs:
1973 More implementation.
1974 * System.Data.Common/DataAdapter.cs:
1975 Correction of some of the stubbing, as well as a
1976 little bit more implementation
1978 2002-05-11 Tim Coleman
1979 * System.Data.SqlClient/SqlDataAdapter.cs:
1980 * System.Data.Common/DbDataAdapter.cs:
1981 Moved methods that weren't supposed to
1982 be in SqlDataAdapter out. They should be implemented
1986 2002-05-11 Tim Coleman
1987 * System.Data.SqlClient/SqlDataAdapter.cs:
1988 some implementation of this class. Note
1989 that none of the functionality has been
1990 tested yet, but I felt it should be checked
1991 in at this point as it compiles.
1992 * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs:
1993 * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs:
1994 Modified so that they will compile properly.
1995 Needed to include SqlDataAdapter in the build.
1997 2002-05-11 Rodrigo Moya <rodrigo@ximian.com>
1999 * System.Data/DataTable.cs (Clear): implemented.
2000 (DataTable): removed repeated code in constructors, and call the
2001 basic constructor from the others.
2003 * System.Data/DataColumn.cs: some tweaks.
2005 * System.Data/DataRow.cs (RowState): implemented.
2006 (CancelEdit): set rowState property back to Unchanged.
2007 (RejectChanges): call CancelEdit.
2008 (Delete): set rowState to Deleted.
2010 2002-05-11 Daniel Morgan <danmorg@sc.rr.com>
2012 * System.Data.build: added copy of System.Data.dll to Test directory
2013 for easy testing. Also, added clean for it too.
2015 * System.Data.SqlClient/PostgresLibrary.cs: changed setting of boolean
2016 from PostgreSQL data type to .NET type.
2018 * System.Data.SqlClient/SqlDataReader.cs: beginnings
2019 handling of a NULL value from the database
2021 * Test/PostgresTest.cs: added tests for NULL values retrieved
2024 * Test/ReadPostgresData.cs
2025 * Test/TestExecuteScalar.cs
2026 * Test/TestSqlDataReader.cs
2027 * Test/TestSqlException.cs
2028 * Test/TestSqlIsolationLevel.cs: updated tests to use databas user
2029 "postgres". These tests may eventually be removed since they
2032 2002-05-10 Rodrigo Moya <rodrigo@ximian.com>
2034 * System.Data.build: removed reference to non-existant
2035 TestDataColumn.cs file.
2037 * System.Data/DataSet.cs: added some implementation.
2039 2002-05-09 Daniel Morgan <danmorg@sc.rr.com>
2041 * System.Data.SqlClient/PostgresLibrary.cs: got
2042 PostgreSQL data types time, date, timestamp (DateTime like)
2043 mapped to .NET System.DateTime working based
2044 on ISO DateTime formatting "YYYY-MM-DD hh:mi:ss.ms"
2045 Also mapped pg type boolean to .net Boolean
2047 * SqlClient/SqlConnection.cs: run SQL command to set
2050 * Test/PostgresTest.cs: added test for an UPDATE SQL command,
2051 added tests for aggregates min(), max(), sum(), count(). could
2052 not get avg() to work due to some formatting error; someone claimed
2053 that it was my locale settings. added tests for SELECT of columns
2054 of type boolean, float, double, date, time, and timestamp. They
2055 have not been fully tested, but its a start.
2057 2002-05-09 Tim Coleman <tim@timcoleman.com>
2058 * System.Data.SqlTypes/SqlDecimal.cs: Implementations of
2059 addition, subtraction, and multiplication for the
2060 SqlDecimal type, as well as modification of some other
2061 operations. More to come on this one.
2063 2002-05-08 Rodrigo Moya <rodrigo@ximian.com>
2065 * Test/System.Data_test.build: excluded TestDataColumn, which
2066 should be replaced with a nunit test.
2068 * Test/TestDataColumn.cs: added basic test for DataColumn.cs.
2070 2002-05-07 Tim Coleman <tim@timcoleman.com>
2084 Fix the broken build I made before. Bad
2087 2002-05-07 Tim Coleman <tim@timcoleman.com>
2089 Fix a symantic error I made in SqlString
2090 Equals where I copied and pasted wrongly
2092 2002-05-07 Tim Coleman <tim@timcoleman.com>
2097 * SqlCompareOptions.cs:
2108 Implement CompareTo, Equals, and String conversions
2111 2002-05-05 Daniel Morgan <danmorg@sc.rr.com>
2113 * Test/PostgresTest.cs: modified to run completely. There
2114 are many TODOs in System.Data, so not all data types are
2115 included in the SELECT SQL query. Also, I made it to where
2117 using "host=localhost;dbname=test;user=postgres"
2118 instead of my userid and password. When more types are included,
2121 2002-05-05 Daniel Morgan <danmorg@sc.rr.com>
2123 * Test/PostgresTest.cs: added - ported
2124 libgda postgres-test.c originally by
2125 Gonzalo Paniagua Javier <gonzalo@gnome-db.org>
2128 2002-05-05 Tim Coleman <tim@timcoleman.com>
2129 * System.Data.SqlTypes/SqlBinary.cs:
2130 * System.Data.SqlTypes/SqlBoolean.cs:
2131 * System.Data.SqlTypes/SqlByte.cs:
2132 * System.Data.SqlTypes/SqlDateTime.cs:
2133 * System.Data.SqlTypes/SqlDecimal.cs:
2134 * System.Data.SqlTypes/SqlDouble.cs:
2135 * System.Data.SqlTypes/SqlGuid.cs:
2136 * System.Data.SqlTypes/SqlInt16.cs:
2137 * System.Data.SqlTypes/SqlInt32.cs:
2138 * System.Data.SqlTypes/SqlInt64.cs:
2139 * System.Data.SqlTypes/SqlMoney.cs:
2140 * System.Data.SqlTypes/SqlSingle.cs:
2141 * System.Data.SqlTypes/SqlString.cs:
2142 More implementation, and code clean-up for consistency.
2143 Also, I had implemented many conversions as explicit
2144 that should have been implicit. This should remove
2145 many of the red X's and green pluses from the
2146 System.Data.SqlTypes namespace.
2148 2002-05-05 Miguel de Icaza <miguel@ximian.com>
2150 * System.Data/DataSet.cs: Remove [Serializable] attributes from
2151 methods, those only apply to structs or classes.
2153 Stub out ISerializable, ISupportInitialize, and IListSource methods
2155 * System.Data/DataRowView.cs: Stub out interface methods for
2156 IEditableObject, ICustomTypeDescriptor and IDataErrorInfo
2158 * System.Data/DataView.cs: Comment out non-implemented
2161 * System.Data/DataViewSettingsCollection.cs: Type cast variables
2162 to the correct type to make it compile.
2164 * System.Data/DataViewSettings.cs: remove reference to
2165 non-existance type ApplyDefaultSort, it is a boolean.
2168 2002-05-05 Tim Coleman <tim@timcoleman.com>
2169 * System.Data.SqlTypes/SqlBinary.cs:
2170 * System.Data.SqlTypes/SqlBoolean.cs:
2171 * System.Data.SqlTypes/SqlByte.cs:
2172 * System.Data.SqlTypes/SqlDecimal.cs:
2173 * System.Data.SqlTypes/SqlDouble.cs:
2174 * System.Data.SqlTypes/SqlGuid.cs:
2175 * System.Data.SqlTypes/SqlInt16.cs:
2176 * System.Data.SqlTypes/SqlInt32.cs:
2177 * System.Data.SqlTypes/SqlInt64.cs:
2178 * System.Data.SqlTypes/SqlMoney.cs:
2179 * System.Data.SqlTypes/SqlSingle.cs:
2180 * System.Data.SqlTypes/SqlString.cs:
2181 Various fixes, including adding the SqlNullValueException
2182 when trying to retrieve the value of a null SqlType,
2183 and when casting values, a Null of type A converts to a
2186 2002-05-04 Daniel Morgan <danmorg@sc.rr.com>
2188 * System.Data.SqlClient/PostgresLibrary.cs
2189 * System.Data.SqlClient/SqlCommand.cs
2190 * System.Data.SqlClient/SqlConnection.cs
2191 * System.Data.SqlClient/SqlDataReader.cs
2192 oid should not be hard coded because they
2193 can change from one version of PostgreSQL
2194 to the next. Use the typname's instead.
2195 The PostgreSQL type data retrieves
2196 at database connection time. Any unimplemented
2197 types just default to string. These were things
2198 suggested by Gonzalo.
2200 * Test/ReadPostgresData.cs - stuff
2201 * Test/TestSqlDataReader.cs - stuff
2203 * System.Data.SqlTypes/SqlInt32.cs - added a using
2205 2002-05-03 Tim Coleman <tim@timcoleman.com>
2206 * System.Data.build: Fix the build so that test depends on build
2208 2002-05-03 Tim Coleman <tim@timcoleman.com>
2209 * System.Data.SqlTypes/SqlByte.cs:
2210 * System.Data.SqlTypes/SqlDateTime.cs:
2211 * System.Data.SqlTypes/SqlDecimal.cs:
2212 * System.Data.SqlTypes/SqlDouble.cs:
2213 * System.Data.SqlTypes/SqlGuid.cs:
2214 * System.Data.SqlTypes/SqlInt16.cs:
2215 * System.Data.SqlTypes/SqlInt64.cs:
2216 * System.Data.SqlTypes/SqlMoney.cs:
2217 * System.Data.SqlTypes/SqlSingle.cs:
2218 These files were mysteriously excluded from the last
2219 patch I made and sent to Rodrigo
2220 * System.Data.build: include the System.Data.SqlTypes in the build
2222 2002-05-03 Daniel Morgan <danmorg@sc.rr.com>
2224 * System.Data.build: removed comments
2226 * System.Data.SqlClient/PostgresLibrary.cs: changed
2227 the hard-coded PostgreSQL oid type int's to using an
2228 enum. Also, added PostgreSQL bpchar (character) type.
2230 * Test/TestSqlDataReader.cs: updated test
2231 to include new bpchar PostgreSQL type
2233 2002-05-03 Rodrigo Moya <rodrigo@ximian.com>
2235 * System.Data.SqlTypes/SqlBinary.cs:
2236 * System.Data.SqlTypes/SqlBoolean.cs:
2237 * System.Data.SqlTypes/SqlInt32.cs:
2238 * System.Data.SqlTypes/SqlString.cs: more implementation, by
2239 Tim Coleman <tcoleman@opentext.com>.
2241 2002-05-03 Daniel Morgan <danmorg@sc.rr.com>
2243 * Test/TestExecuteScalar.cs: added test for
2244 method ExecuteScalar in class SqlCommand.
2246 * System.Data/DataColumnCollection.cs - it should
2247 inherit properties from base InternalDataCollectionBase
2248 and use them instead of overriding them, such as, List.
2250 * System.Data/DataColumn.cs
2251 * System.Data/DataTable.cs: tweaks to retrieve
2252 meta data from the database
2254 * System.Data.SqlClient/PostgresLibrary.cs -
2255 added method OidToType to convert PostgreSQL oid type
2256 to System.Type. Renamed method OidTypeToSystem
2257 to ConvertPgTypeToSystem for converting the data value
2258 from a PostgreSQL type to a .NET System type.
2260 * System.Data.SqlClient/SqlCommand.cs: implemented
2261 method ExecuteReader which returns a SqlDataReader
2262 for a light forward only read only result set.
2263 It works on types int4 ==> Int32 and
2264 varchar ==> String. Other types
2267 * System.Data.SqlClient/SqlConnection.cs: added comment
2269 * System.Data.SqlClient/SqlDataReader.cs: implemented
2270 class. It works, but still lots to do.
2272 * Test/ReadPostgresData.cs: stuff
2274 * Test/TestSqlDataReader.cs: updated test for SqlDataReader
2275 to display meta data and the data
2277 2002-05-03 Duncan Mak <duncan@ximian.com>
2279 * TODO: Took out all the Exceptions. They should be all done now.
2281 * System.Data/ConstraintException.cs:
2282 * System.Data/DBConcurrencyException.cs:
2283 * System.Data/DataException.cs:
2284 * System.Data/DeletedRowInaccessibleException.cs:
2285 * System.Data/DuplicateNameException.cs:
2286 * System.Data/EvaluateException.cs:
2287 * System.Data/InRowChangingEventException.cs:
2288 * System.Data/InvalidConstraintException.cs:
2289 * System.Data/InvalidExpressionException.cs:
2290 * System.Data/MissingPrimaryKeyException.cs:
2291 * System.Data/NoNullAllowedException.cs:
2292 * System.Data/ReadOnlyException.cs:
2293 * System.Data/RowNotInTableException.cs:
2294 * System.Data/StrongTypingException.cs:
2295 * System.Data/SyntaxErrorException.cs:
2296 * System.Data/TypeDataSetGeneratorException.cs:
2297 * System.Data/VersionNotFoundException.cs: Added to CVS.
2299 * System.Data.SqlTypes/SqlNullValueException.cs:
2300 * System.Data.SqlTypes/SqlTruncateException.cs:
2301 * System.Data.SqlTypes/SqlTypeException.cs: Added to CVS.
2303 2002-05-02 Rodrigo Moya <rodrigo@ximian.com>
2305 * System.Data/DataViewSettingCollection.cs: implemented.
2307 * System.Data/DataRowView.cs: new stubs.
2309 * System.Data.SqlTypes/SqlByte.cs:
2310 * System.Data.SqlTypes/SqlDateTime.cs:
2311 * System.Data.SqlTypes/SqlDecimal.cs:
2312 * System.Data.SqlTypes/SqlDouble.cs:
2313 * System.Data.SqlTypes/SqlGuid.cs:
2314 * System.Data.SqlTypes/SqlInt16.cs:
2315 * System.Data.SqlTypes/SqlInt64.cs:
2316 * System.Data.SqlTypes/SqlMoney.cs:
2317 * System.Data.SqlTypes/SqlSingle.cs: new stubs, contributed
2318 by Tim Coleman <tcoleman@opentext.com>
2320 * System.Data.build: excluded newly-added files.
2322 2002-05-02 Daniel Morgan <danmorg@sc.rr.com>
2324 * System.Data.SqlClient/PostgresLibrary.cs: included new
2325 internal class that will be a helper class in using
2326 PostgreSQL. PostgresLibrary is used for the
2327 pinvoke methods to the PostgreSQL Client
2328 native C library libpq while the class PostgresHelper
2329 is used for wrapper or helper methods. It currently only
2330 has one static method OidTypeToSystem in converting
2331 PostgreSQL types to .NET System.<type>s, such as,
2332 a PostgreSQL int8 becomes a .NET System.Int64.
2333 Only a few types have been added, such as, int2,
2334 int4, int8, varchar, text, bool, and char. Other types
2337 * System.Data.SqlClient/SqlCommand.cs: implemented
2338 method ExecuteScalar which allows us to do aggregate
2339 functions, such as, count, avg, min, max, and sum. We
2340 also are able to retrieve the result, convert it to the .NET type
2341 as an object. The user of the returned object must explicitly cast.
2343 * Test/ReadPostgresData.cs: updated sample
2344 to help us learn to retrieve data in System.Data.SqlClient
2347 2002-05-01 Daniel Morgan <danmorg@sc.rr.com>
2349 * System.Data.build: added /nowarn: nnnn arguments
2350 so you will not get a ton of warnings. The warnings
2351 being excluded are: 1595, 0067, 0109, 0169, and 0649
2353 2002-05-01 Daniel Morgan <danmorg@sc.rr.com>
2355 * System.Data.build: modified to exclude more
2356 files from the build
2358 2002-05-01 Rodrigo Moya <rodrigo@ximian.com>
2360 * System.Data.SqlClient/SqlClientPermission.cs: added missing
2363 * System.Data/MergeFailedEventArgs.cs: new class, contributed
2364 by John Dugaw <jdugaw@unizenconsulting.com>.
2366 * System.Data.build: excluded new files from build.
2368 2002-04-29 Daniel Morgan <danmorg@sc.rr.com>
2370 * Test/ReadPostgresData.cs: added - Uses the
2371 PostgresLibrary to retrieve a recordset.
2372 This is not meant to be used in Production, but as a
2373 learning aid in coding
2374 class System.Data.SqlClient.SqlDataReader.
2375 This sample does work.
2377 * Test/TestSqlDataReader.cs: added - used
2378 to test SqlDataReader (does not work yet)
2379 Forgot to add to ChangeLog on last commit.
2381 2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
2383 * System.Data/DataViewSetting.cs: new class.
2385 2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
2387 * System.Data/DataViewManager.cs: new class.
2389 * System.Data.SqlTypes/INullable.cs: properties for interfaces
2390 don't have implementation.
2392 * System.Data.SqlTypes/SqlInt32.cs:
2393 * System.Data.SqlTypes/SqlString.cs:
2394 * System.Data.SqlTypes/SqlBoolean.cs: removed destructor, since
2395 these are strctures.
2397 * System.Data.SqlClient/SqlClientPermissionAttribute.cs: added
2400 2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
2402 * System.Data/DataTableRelationCollection.cs: use 'new' keyword
2403 for correctly hiding parent class' members.
2404 (AddRange): use 'override' keyword on overriden method.
2406 (Contains): likewise.
2407 (IndexOf): likewise.
2408 (OnCollectionChanged): likewise.
2409 (OnCollectionChanging): likewise.
2410 (RemoveCore): likewise.
2412 * System.Data/DataColumnCollection.cs: use 'new' keyword.
2414 * System.Data/DataSet.cs: added missing 'using's.
2416 2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
2418 * System.Data/DataSet.cs:
2419 * System.Data/DataTableCollection.cs:
2420 * System.Data/DataView.cs: compilation fixes on Linux.
2422 2002-04-28 Daniel Morgan <danmorg@sc.rr.com>
2424 * System.Data/DataRelation.cs
2425 * System.Data/ForeignKeyConstraint.cs
2426 * System.Data/UniqueConstraint.cs: added more stubs
2428 * System.Data/DataTableRelationCollection.cs: added back to cvs
2429 and modified for compile errors. DataRelationCollection is an
2430 abstract class and there must be a class that implements for
2431 DataTable/DataSet. DataTableRelationCollection was changed
2432 to an internal class.
2434 * System.Data.build: modified - new files added
2435 also wanted to include files/classes in the build
2436 so we can get a compilable forward read only result set.
2437 It compiles now using csc/nant with warnings, but this
2438 is a start for adding functionality for the result set.
2439 Classes associated with/and DataSet are still excluded.
2441 * TODO: modified - updated to do list for System.Data
2443 * System.Data/Constraint.cs
2444 * System.Data/ConstraintCollection.cs
2445 * System.Data/DataRelationCollection.cs
2446 * System.Data/DataRow.cs
2447 * System.Data/DataRowChangeEventArgs.cs
2448 * System.Data/DataRowCollection.cs
2449 * System.Data/DataTable.cs
2450 * System.Data/DataTableCollection.cs
2451 * System.Data/InternalDataCollectionBase.cs
2452 * System.Data/PropertyCollection.cs: modified -
2453 changes to compile SqlDataReader/DataTable and
2456 * System.Data/IDbCommand.cs
2457 * System.Data.SqlClient/SqlCommand.cs: modified -
2458 un-commented overloaded methods ExecuteReader
2459 which returns a SqlDataReader
2461 2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
2463 * System.Data/DataTableCollection.cs: more implementation.
2464 (Count): added 'override' keyword, as pointer out by Martin.
2466 * System.Data.Common/DataColumnMappingCollection.cs (Add, AddRange):
2467 only call Array.Copy when there is really stuff to be copied.
2468 (CopyTo): don't create the temporary array, it's not needed.
2470 * System.Data.build: excluded newly added file from build.
2472 2002-04-27 Rodrigo Moya <rodrigo@ximian.com>
2474 * System.Data/DataTableRelationCollection.cs: removed, it's not
2475 on MS SDK documentation.
2477 * System.Data/DataTableCollection.cs: new class.
2479 2002-04-27 Daniel Morgan <danmorg@sc.rr.com>
2481 * System.Data/DataRowChangeEventArgs.cs
2482 * System.Data/DataRowCollection.cs
2483 * System.Data/DataView.cs
2484 * System.Data/PropertyCollection.cs: added new stubs
2486 * System.Data.build: modified - added new files to exclude
2489 * TODO: modified - removed files from TODO list
2490 that were stubbed above
2492 * System.Data/DataColumn.cs
2493 * System.Data/DataRow.cs: modified - various tweaks
2494 and added internal method SetTable to set the reference
2497 * System.Data/DataSet.cs: modified - class was not
2500 * System.Data/DataTable.cs: modified - temporarily commented
2501 DataSet and DataView references - trying to compile a SqlDataReader,
2502 DataTable, and dependencies for a forward read-only result set.
2503 SqlDataAdapter, DataSet, and DataView will come later once we can get
2504 a forward read only result set working.
2506 * System.Data/IDataRecord.cs: modified - source code lines should
2509 * System.Data/InternalDataCollectionBase.cs: modified - started
2510 implementing this base class for collection of data rows,
2511 columns, tables, relations, and constraints
2513 * System.Data.SqlClient/SqlException.cs: modified -
2514 call base(message) so a unhandled exception displays
2515 the message of a SQL error instead of the
2516 default SystemException message
2518 * Test/TestSqlException.cs: modified -
2519 handle the rollback properly for a SqlException on a
2522 2002-04-23 Daniel Morgan <danmorg@sc.rr.com>
2524 * System.Data.build: modified - added new
2525 files to exclude from build
2527 * System.Data/Constraint.cs
2528 * System.Data/ConstraintCollection.cs
2529 * System.Data/InternalDataCollectionBase.cs: added -
2530 stubs which are needed to build DataTable.cs
2532 * TODO: modified - added more classes TODO and
2533 added more stuff TODO, such as, create script
2534 to create test database monotestdb for testing
2535 classes in System.Data
2537 2002-04-23 Rodrigo Moya <rodrigo@ximian.com>
2539 * System.Data.Common/DataAdapter.cs:
2540 * System.Data.Common/DataColumnMappingCollection.cs:
2541 * System.Data.Common/DataTableMappingCollection.cs:
2542 * System.Data.Common/DbDataPermission.cs:
2543 * System.Data.Common/DbDataPermissionAttribute.cs: some
2544 compilation errors fixed.
2546 2002-04-23 Daniel Morgan <danmorg@sc.rr.com>
2548 * TODO: modified - added classes TODO, and
2549 a poor attempt at System.Data plan
2551 2002-04-23 Daniel Morgan <danmorg@sc.rr.com>
2553 * ChangeLog: modified - put tabs where they belong
2555 * System.Data.SqlClient/SqlDataReader.cs
2556 * System.Data/DataColumn.cs: modified - compile errors
2557 trying to compile SqlDataAdapter and dependencies
2559 2002-04-23 Daniel Morgan <danmorg@sc.rr.com>
2561 * System.Data.SqlTypes/SqlBoolean.cs
2562 * System.Data.SqlTypes/SqlCompareOptions.cs
2563 * System.Data.SqlTypes/SqlInt32.cs
2564 * System.Data.SqlTypes/SqlString.cs: added - new stubs
2566 * System.Data/DataTable.cs
2567 * System.Data.SqlClient/SqlCommand.cs
2568 * System.Data.SqlClient/SqlConnection.cs
2569 * System.Data.SqlClient/SqlError.cs
2570 * System.Data.SqlClient/SqlTransaction.cs: modified -
2573 * System.Data.SqlClient/SqlException.cs: modified -
2574 missing Message on indexer for Message property
2576 2002-04-21 Daniel Morgan <danmorg@sc.rr.com>
2578 * System.Data.SqlClient/SqlCommand.cs: modified - to
2579 compile using mcs. This problem is
2580 returning a stronger type in csc vs. msc
2582 * System.Data.SqlClient/SqlConnection.cs: modified - msc
2583 can not do a using PGconn = IntPtr; and then declare
2584 with PGconn pgConn = IntPtr.Zero;
2585 Thiw works under csc though. Had to comment using and
2586 changed declaration to IntPtr pgConn = IntPtr.Zero;
2587 Also, got rid of compile warnings for hostaddr and port.
2589 * System.Data.SqlClient/SqlErrorCollection.cs: modified - got
2590 rid of compile warnings. Commented MonoTODO attribute because mcs
2591 doesn't seem to work with C# array property indexer (Item)
2594 * System.Data.SqlClient/SqlParameterCollection.cs: modified -
2595 commented MonoTODO attribute for indexer for mcs compiling
2597 * Test/TestSqlIsolationLevel.cs:
2598 * Test/TestSqlInsert.cs:
2599 * Test/TestSqlException.cs: modified -
2600 removed extra ExecuteNonQuery which caused two inserted rows
2602 2002-04-20 Daniel Morgan <danmorg@sc.rr.com>
2604 * System.Data/StateChangeEventArgs.cs - added
2605 needed to compile System.Data.dll with mcs.
2607 2002-04-20 Daniel Morgan <danmorg@sc.rr.com>
2609 * System.Data.OleDb: added directory - for OleDb database
2612 * System.Data.SqlClient/SqlClientPermission.cs
2613 * System.Data.SqlClient/SqlClientPermissionAttribute.cs
2614 * System.Data.SqlClient/SqlCommandBuilder.cs
2615 * System.Data.SqlClient/SqlInfoMessageEventHandler.cs
2616 * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs
2617 * System.Data.SqlClient/SqlRowUpdatedEventHandler.cs
2618 * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs
2619 * System.Data.SqlClient/SqlRowUpdatingEventHandler.cs
2620 * Test/TestSqlException.cs
2621 * Test/TestSqlIsolationLevel.cs: added - more tests
2623 * System.Data.build: modified - added new files - excludes these too
2625 * System.Data.SqlClient/PostgresLibrary.cs - modified - comment
2627 * System.Data.SqlClient/SqlConnection.cs
2628 * System.Data.SqlClient/SqlCommand.cs
2629 * System.Data.SqlClient/SqlTransaction.cs
2630 * System.Data.SqlClient/SqlException.cs
2631 * System.Data.SqlClient/SqlErrorCollection.cs
2632 * System.Data.SqlClient/SqlError.cs: modified - transaction and
2633 exception/error handling. SqlConnection(connectionString)
2634 constructor should not automatically connect.
2636 * System.Data.SqlClient/SqlDataReader.cs
2637 * System.Data.SqlClient/SqlDataAdapter.cs
2638 * System.Data.SqlClient/SqlParameter.cs
2639 * System.Data.SqlClient/SqlParameterCollection.cs: modified -
2640 added using System.ComponentModel;
2642 * Test/TestSqlInsert.cs: modified - to use transaction
2644 2002-04-17 Rodrigo Moya <rodrigo@ximian.com>
2646 * System.Data/DataRow.cs: new skeletons.
2648 * System.Data.Common/DataAdapter.cs:
2649 * System.Data.Common/DataColumnMapping.cs:
2650 * System.Data.Common/DataColumnMappingCollection.cs:
2651 * System.Data.Common/DataTableMapping.cs:
2652 * System.Data.Common/DataTableMappingCollection.cs:
2653 * System.Data.Common/DbDataAdapter.cs:
2654 * System.Data.Common/RowUpdatedEventArgs.cs:
2655 * System.Data.SqlClient/SqlDataAdapter.cs:
2656 * System.Data.SqlClient/SqlInfoMessageEventArgs.cs: compilation
2659 * System.Data.Common/DbDataRecord.cs:
2660 * System.Data.Common/DbEnumerator.cs: removed MS implementation
2663 2002-04-17 Daniel Morgan <danmorg@sc.rr.com>
2665 * Test/TestSqlInsert.cs: modified - do
2666 a SQL DELETE before SQL INSERT of row so you can use this
2669 * System.Data.SqlClient/SqlTransaction.cs: modified - default
2670 IsolationLevel for PostgreSQL is ReadCommitted. However,
2671 PostgreSQL allows Serializable as well.
2672 (Thanks to Gonzalo for that!)
2674 * System.Data.SqlClient/SqlConnection.cs: modified
2675 * System.Data.SqlClient/SqlCommand.cs: modified
2676 * System.Data.SqlClient/SqlTransaction.cs: modified - got transactions
2677 working; however, we still need to implement SQL errors
2678 and exceptions to properly handle transactions. Also, added
2679 status and error message support from the PostgreSQL database.
2680 Currently, this does a Console.WriteLine() to display the
2681 status and error messages, but this is a TODO
2682 for SQL errors and exceptions.
2684 * System.Data/TODOAttribute.cs: added - needed MonoTODO
2685 attribute for System.Data.dll assembly
2687 * System.Data/IDbCommand.cs: modified - commented
2688 overloaded method ExecuteReader
2689 so System.Data.SqlClient.SqlCommand can compile
2691 * System.Data/IDbCommand.cs: modified
2692 * System.Data/IDbConnection.cs: modified - added using System;
2693 * System.Data/IDataParameter.cs
2695 * System.Data.build: modified - build classes
2696 in System.Data.SqlClient and exclude others in System.Data
2698 * System.Data.SqlClient/PostgresLibrary.cs: modified - change
2699 parameter data type from IntPtr to enum ExecStatusType
2701 * ChangeLog: modified - corrected previous entries in log
2703 2002-04-16 Rodrigo Moya <rodrigo@ximian.com>
2705 * System.Data.Common/DataColumnMappingCollection.cs: added basic
2706 implementation. Still missing some stuff.
2708 2002-04-16 Daniel Morgan <danmorg@sc.rr.com>
2710 * System.Data.SqlClient/SqlConnection.cs: modified - got
2711 to compile, run, and connect to PostgreSQL database
2713 * System.Data.SqlClient/SqlCommand.cs: modified - got
2714 to compile, run, and execute a SQL INSERT command
2715 which successfully inserted a row
2716 into the PostgreSQL database
2718 * System.Data.SqlClient/SqlTransaction.cs: modified
2719 * System.Data.SqlClient/SqlParameter.cs: modified
2720 * System.Data.SqlClient/SqlParameterCollection.cs: modified
2721 * System.Data.SqlClient/SqlError.cs: modified
2722 * System.Data.SqlClient/SqlErrorCollection.cs: modified
2723 * System.Data.SqlClient/SqlException.cs: modified
2724 * System.Data.SqlClient/PostgresLibrary.cs: modified - to compile
2726 * System.Data.SqlClient/SqlAdapter: modified
2727 * System.Data.SqlClient/SqlReader: modified - add more stubs
2729 2002-04-16 Daniel Morgan <danmorg@sc.rr.com>
2731 * Test/TestSqlInsert.cs: added
2733 2002-04-15 Daniel Morgan <danmorg@sc.rr.com>
2735 * System.Data.SqlClient/SqlInfoMessageEventArgs.cs: added - using in
2736 class SqlConnecition
2737 * System.Data.SqlClient/SqlErrorCollection.cs: added
2738 * System.Data.SqlClient/SqlErrors.cs: removed - no such class SqlErrors
2740 2002-04-15 Christopher Podurgiel <cpodurgiel@msn.com>
2742 * System.Data.IDbDataParameter: Added Interface to IDataParameter.
2743 * System.Data.IDbTransaction: Added Interface to IDisposable.
2744 * System.Data.IDbCommand: Fixed Capitalization of class name.
2745 * System.Data.IDbConnection: Fixed Capitalization of class name.
2747 2002-04-15 Rodrigo Moya <rodrigo@ximian.com>
2749 * System.Data.Common/DbDataPermissionAttribute.cs:
2750 * System.Data.Common/DataAdapter.cs:
2751 * System.Data.Common/DataColumnMapping.cs:
2752 * System.Data.Common/DbDataPermission.cs: added some implementation.
2754 2002-04-15 Rodrigo Moya <rodrigo@ximian.com>
2756 * System.Data.SqlClient/SqlConnection.cs: fixed constructor chaining
2757 syntax, as pointed out by Levent Camlibel.
2759 2002-04-14 Rodrigo Moya <rodrigo@ximian.com>
2761 * System.Data.SqlTypes/SqlBinary.cs:
2762 * System.Data.SqlTypes/INullable.cs: new skeletons.
2764 2002-04-14 Daniel Morgan <danmorg@sc.rr.com>
2766 * System.Data.SqlClient/PostgresLibrary.cs: new internal class, which
2767 contains all calls the the PostgreSQL client library, to be used
2768 everywhere in System.Data.SqlClient.
2770 2002-03-30 Rodrigo Moya <rodrigo@ximian.com>
2772 * System.Data.SqlClient/SqlConnection.cs: implemented basic
2775 * System.Data.SqlTypes/SqlNullValueException.cs: new skeletons.
2777 2002-03-29 Rodrigo Moya <rodrigo@ximian.com>
2779 * System.Data.Common/DbDataRecord.cs:
2780 * System.Data.Common/DbEnumerator.cs:
2781 * System.Data.Common/RowUpdatedEventArgs.cs:
2782 * System.Data.Common/RowUpdatingEventArgs.cs:
2783 * System.Data.Common/DbDataPermissionAttribute.cs: new skeletons.
2785 2002-03-28 Rodrigo Moya <rodrigo@ximian.com>
2787 * System.Data.Common/DataTableMappingCollection.cs:
2788 * System.Data.Common/DbDataAdapter.cs:
2789 * System.Data.Common/DbDataPermission.cs:
2790 * System.Data.Common/DataTableMapping.cs: new skeletons.
2792 * System.Data.SqlClient/SqlDataAdapter.cs:
2793 * System.Data.SqlClient/SqlDataReader.cs:
2794 * System.Data.SqlClient/SqlErrors.cs:
2795 * System.Data.SqlClient/SqlError.cs:
2796 * System.Data.SqlClient/SqlException.cs:
2797 * System.Data.SqlClient/SqlParameter.cs:
2798 * System.Data.SqlClient/SqlParameterCollection.cs:
2799 * System.Data.SqlClient/SqlTransaction.cs:
2800 * System.Data.SqlClient/SqlCommand.cs: fixed skeletons.
2802 2002-03-27 Rodrigo Moya <rodrigo@ximian.com>
2804 * System.Data.Common/DataColumnMapping.cs:
2805 * System.Data.Common/DataColumnMappingCollection.cs:
2806 * System.Data.Common/DataAdapter.cs: created skeletons.
2808 * System.Data.build: exclude new directories from build.
2810 2002-03-27 Rodrigo Moya <rodrigo@ximian.com>
2812 * System.Data.SqlClient/SqlTransaction.cs: started implementation.
2814 * System.Data.SqlClient/SqlConnection.cs (BeginTransaction):
2815 implemented (2 methods).
2817 2002-03-24 Duncan Mak <duncan@ximian.com>
2819 * System.Data.build: Excluded System.Data.SqlClient from the build.
2820 The stubs are incomplete and they are stopping the build.
2822 * System.Data.SqlClient/SqlCommand.cs: Replaced 'implements' with ':'.
2824 2002-03-24 Rodrigo Moya <rodrigo@ximian.com>
2826 * System.Data.SqlClient/*: added skeletons for the SQL managed
2827 provider for ADO.Net, to be based initially in PostgreSQL.
2829 2002-03-15 Christopher Podurgiel <cpodurgiel@msn.com>
2831 Changed the Namespace on some Enums from mono.System.Data to System.Data
2833 2002-03-01 Christopher Podurgiel <cpodurgiel@msn.com>
2835 * DataColumnCollection.cs : When an existing DataColumn is added, will now Assign a
2836 default name if the ColumnName is null.
2837 * DataSet.cs : Added
2838 * DataTable.cs : Added
2839 * DataRelationCollection.cs : Added
2840 * DataTableRelationCollection.cs : Added
2841 * DataColumn : Added
2843 2002-02-11 Christopher Podurgiel <cpodurgiel@msn.com>
2845 * DataColumnChangeEventArgs.cs : Added
2846 * DataColumnCollection.cs : Added
2848 2002-02-10 Christopher Podurgiel <cpodurgiel@msn.com>
2850 * Removed *.cs from System.Data as the correct files are in mcs/class/System.Data/System.Data
2851 * Updated all Enums, Interfaces, and Delegates in System.Data