1 2002-11-07 Tim Coleman <tim@timcoleman.com>
2 * System.Data.Common/DbDataAdapter.cs:
3 Remove NotImplementedException in Dispose
4 * System.Data.Common/FieldNameLookup.cs:
6 * System.Data.SqlClient/SqlCommand.cs:
7 Fix CommandText accessor (stack overflow)
8 Implement DeriveParameters method
9 * System.Data.SqlClient/SqlCommandBuilder.cs:
11 * System.Data.SqlClient/SqlConnection.cs:
12 Change application name to "Mono SqlClient Data Provider"
13 * System.Data.SqlClient/SqlDataReader.cs:
14 Add new schema information
15 * System.Data.SqlClient/SqlError.cs:
16 * System.Data.SqlClient/SqlErrorCollection.cs:
17 Remove internal methods, TODO attributes
18 * System.Data.SqlClient/SqlParameter.cs:
19 Add new internal constructor for DeriveParameters use
20 * System.Data.SqlClient/SqlParameterConverter.cs:
21 Add missing methods based on class status
23 2002-11-07 Nick Drochak <ndrochak@gol.com>
24 * list: add System.Data/ColumnDataPropertyDescriptor.cs
26 2002-11-04 Tim Coleman <tim@timcoleman.com>
28 Add Mono.Data.TdsClient.Internal.TdsInternalError
29 Add Mono.Data.TdsClient.Internal.TdsInternalErrorCollection
30 Add Mono.Data.TdsClient.Internal.TdsInternalErrorMessageEventHandler
31 Add Mono.Data.TdsClient.Internal.TdsInternalErrorMessageEventArgs
32 Add Mono.Data.TdsClient.Internal.TdsInternalInfoMessageEventHandler
33 Add Mono.Data.TdsClient.Internal.TdsInternalInfoMessageEventArgs
34 Remove Mono.Data.TdsClient.Internal.TdsPacketErrorResult
35 Remove Mono.Data.TdsClient.Internal.TdsPacketErrorResultCollection
36 Remove Mono.Data.TdsClient.Internal.TdsPacketMessageResult
37 * System.Data.Common/RowUpdatedEventArgs.cs:
38 * System.Data.Common/RowUpdatingEventArgs.cs:
40 * System.Data.SqlClient/SqlCommand.cs:
41 * System.Data.SqlClient/SqlDataReader.cs:
42 Remove checks for errors. These are now handled by events
43 * System.Data.SqlClient/SqlConnection.cs:
44 * System.Data.SqlClient/SqlError.cs:
45 * System.Data.SqlClient/SqlException.cs:
46 * System.Data.SqlClient/SqlInfoMessageEventArgs.cs:
47 Add event handlers and triggers for errors, messages, state change
48 * System.Data.SqlClient/SqlParameter.cs:
49 Re-add refreshproperties
50 * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs:
51 * System.Data.SqlClient/SqlRowUpdatedEventHandler.cs:
52 * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs:
53 * System.Data.SqlClient/SqlRowUpdatingEventHandler.cs:
56 2002-11-04 Tim Coleman <tim@timcoleman.com>
58 Add Mono.Data.TdsClient.Internal.TdsBigDecimal
59 Add System.Data.SqlClient.SqlParameterConverter
60 Add System.Data.DataSysDescriptionAttribute
61 * System.Data/DataSysDescriptionAttribute.cs:
63 * System.Data.Common/DbDataPermission.cs:
64 Add CreateInstance method
65 * System.Data.SqlClient/SqlClientPermission.cs:
66 * System.Data.SqlClient/SqlError.cs:
67 Add Serializable attribute
68 * System.Data.SqlClient/SqlCommand.cs:
69 * System.Data.SqlClient/SqlConnection.cs:
70 * System.Data.SqlClient/SqlDataAdapter.cs:
71 * System.Data.SqlClient/SqlParameter.cs:
72 Add some missing property attributes
73 * System.Data.SqlClient/SqlCommandBuilder.cs:
74 Add some missing property attributes
76 * System.Data.SqlClient/SqlDataReader.cs:
77 Implement missing methods
78 * System.Data.SqlClient/SqlErrorCollection.cs:
79 Implement the properties
80 * System.Data.SqlClient/SqlException.cs:
81 Remove extra property accessors
82 * System.Data.SqlClient/SqlInfoMessageEventArgs.cs:
83 Add internal constructor
84 * System.Data.SqlClient/SqlParameterCollection.cs:
85 Add internal constructor
86 Add property attributes
87 * System.Data.SqlClient/SqlParameterConverter.cs:
88 New internal class added
89 * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs:
90 * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs:
92 * System.Data.SqlTypes/SqlDecimal.cs:
93 Add implicit conversion from TdsBigDecimal to SqlDecimal
94 * System.Data.SqlTypes/SqlString.cs:
95 * System.Data.SqlTypes/SqlInt16.cs:
96 * System.Data.SqlTypes/SqlDateTime.cs:
97 Change code to remove compiler warnings
99 2002-11-04 Stuart Caborn <stuart.caborn@clearswift.com>
101 * list: added System.Data/XmlConstants.cs to
104 * System.Data/XmlConstants.cs: added -
105 * System.Data/DataTable.cs
106 * System.Data/DataSet.cs
107 * System.Data/DataColumn.cs
108 * System.Data/DataColumnCollection.cs
109 * System.Data/DataRelation.cs: modified -
110 Began initial implementation of WriteXml
\r
111 and WriteXmlSchema. There is no support for DiffGrams
\r
112 yet. In WriteSchema mode, relationships are missing,
\r
113 all types are xs:string and the namespacing is not
\r
114 working properly. Added support for Ordinals in the
\r
115 DataColumnCollection and added support for
\r
116 namespaces and prefixes.
\r
118 2002-11-03 Ville Palo <vi64pa@koti.soon.fi>
120 * System.Data.SqlTypes/SqlBinary.cs: Finished and no errors generated
121 by NUnitConsole_mono.exe
123 2002-11-03 Tim Coleman (tim@timcoleman.com)
124 * System.Data.SqlClient/SqlCommand.cs:
125 Use SET NO_BROWSETABLE ON when CommandBehavior is KeyInfo
126 * System.Data.SqlClient/SqlDataReader.cs:
127 Get more schema info if available
129 Add Mono.Data.TdsClient.Internal.TdsColumnStatus
131 2002-11-02 Tim Coleman (tim@timcoleman.com)
132 * System.Data.SqlClient/SqlCommand.cs:
133 Change to use sp_executesql to run regular text queries.
134 Now, sp_executesql for text, sp_execute for prepared,
135 and execute for SPs means everything runs a procedure.
136 * System.Data.SqlClient/SqlParameter.cs:
137 Allow client to set parameter name in Prepare ()
138 * System.Data.SqlClient/SqlParameterCollection.cs:
139 Implement some methods
140 * System.Data.SqlClient/SqlDataReader.cs:
141 Since everything is an SP now, we know that when
142 we see DoneProc, that we are really done.
144 2002-11-01 Tim Coleman (tim@timcoleman.com) :
145 * System.Data.Common/DbEnumerator.cs :
146 Throw correct exception on Reset ()
147 Add ColumnSize to schema table.
148 * System.Data.SqlClient/SqlDataReader.cs :
149 Add ColumnSize to schema table.
150 * System.Data.SqlClient/SqlCommand.cs :
151 Change the way that preparing is handled.
152 Now uses sp_prepare on the server instead of temp
153 stored procedures because it's the Right Thing[tm] to do.
154 * System.Data.SqlClient/SqlConnection.cs :
155 Store data readers here rather than in command
156 * System.Data.SqlClient/SqlDataReader.cs :
157 More implementation, including binary types
158 * System.Data.SqlClient/SqlParameter.cs :
161 2002-10-31 Tim Coleman (tim@timcoleman.com)
162 * System.Data.Common/DbDataAdapter.cs :
163 Fix handling of nulls
164 * System.Data.Common/DbDataRecord.cs :
165 Change GetFieldType ()
166 * System.Data.Common/DbEnumerator.cs :
167 Add new schema information
168 * System.Data.Common/FieldNameLookup.cs :
169 Change definition of schema
170 * System.Data.Common/SchemaInfo.cs :
172 * System.Data.SqlClient/SqlDataReader.cs :
173 get more schema table data
175 Add Mono.Data.TdsClient.Internal.TdsSchemaInfo
177 2002-10-31 Ville Palo <vi64pa@koti.soon.fi>
186 * SqlString.cs: Some bugfixes and some TODOs but so much
189 2002-10-30 Tim Coleman (tim@timcoleman.com)
190 * System.Data.Common/FieldNameLookup.cs:
191 * System.Data.Common/SchemaInfo.cs:
192 * System.Data.SqlClient/SqlXmlTextReader.cs:
195 Class list changed in build
196 * System.Data.SqlClient/SqlCommand.cs:
197 Added support for command behaviors
198 Refactored a bunch of code
199 Implement ExecuteScalar
200 Implement ExecuteXmlReader
201 * System.Data.SqlClient/SqlConnection.cs:
202 Moved CheckForErrors here
203 * System.Data.SqlClient/SqlDataAdapter.cs:
205 * System.Data.SqlClient/SqlDataReader.cs:
206 Implement GetEnumerator
208 Add SqlDataReaderEnumerator private class
209 * System.Data.SqlClient/SqlParameter.cs:
210 Move some of the Prepare code from SqlCommand to here
211 * System.Data.SqlClient/SqlTransaction.cs:
212 Move error checking to SqlConnection
214 2002-10-29 Tim Coleman (tim@timcoleman.com)
215 * System.Data.SqlClient/SqlCommand.cs:
216 Added code to handle parameters for queries
217 * System.Data.SqlClient/SqlConnection.cs:
218 Properly handle resetting SqlConnections
219 * System.Data.SqlClient/SqlDataReader.cs:
220 Properly handle the case where no results are returned
221 * System.Data.SqlClient/SqlParameter.cs:
222 Default direction to Input
223 * System.Data.SqlClient/SqlParameterCollection.cs:
224 Implement GetEnumerator
226 2002-10-29 Rodrigo Moya <rodrigo@ximian.com>
228 * makefile.gnu: added Test directory.
230 2002-10-29 Ville Palo <vi64pa@koti.soon.fi>
232 * System.Data.SqlTypes/SqlGuid.cs: Fixed some bugs and finished
235 2002-10-28 Tim Coleman (tim@timcoleman.com)
236 * System.Data.SqlClient/SqlCommand.cs:
237 Add some error handling
238 * System.Data.SqlClient/SqlDataReader.cs:
239 Add some error handling
240 Add precision/scale to schema table
241 * System.Data.SqlClient/SqlException.cs:
242 Generate a SqlException from TDS error
244 * System.Data.SqlClient/SqlTransaction.cs:
245 Add some error handling
248 2002-10-28 Ville Palo <vi64pa@koti.soon.fi>
250 * System.Data.SqlTypes/SqlBinary.cs:
251 * System.Data.SqlTypes/SqlBoolean.cs:
252 * System.Data.SqlTypes/SqlByte.cs:
253 * System.Data.SqlTypes/SqlDateTime.cs:
254 * System.Data.SqlTypes/SqlDecimal.cs:
255 * System.Data.SqlTypes/SqlDouble.cs:
256 * System.Data.SqlTypes/SqlDecimal.cs:
257 * System.Data.SqlTypes/SqlDouble.cs:
258 * System.Data.SqlTypes/SqlGuid.cs:
259 * System.Data.SqlTypes/SqlInt16.cs:
260 * System.Data.SqlTypes/SqlInt32.cs:
261 * System.Data.SqlTypes/SqlInt64.cs:
262 * System.Data.SqlTypes/Money.cs:
263 * System.Data.SqlTypes/SqlSingle.cs:
264 * System.Data.SqlTypes/SqlString.cs:
265 * System.Data.SqlTypes/SqlSingle.cs: Fixed internal loop bugs and
266 some other minor fixes.
268 2002-10-27 Rodrigo Moya <rodrigo@ximian.com>
270 * System.Data.OleDb/OleDbDataAdapter.cs (Fill, FillSchema,
271 GetFillParameters, Update): added overloaded methods.
273 * System.Data.OleDb/OleDbCommand.cs:
274 * System.Data.OleDb/OleDbDataReader.cs:
275 * System.Data.OleDb/OleDbConnection.cs: removed limitation of one
276 data adapter at a time. Mono's version can open as many as you want,
279 2002-10-25 Tim Coleman (tim@timcoleman.com)
280 * System.Data.SqlClient/SqlConnectionPool.cs:
282 * System.Data.SqlClient/SqlClientPermission.cs:
283 * System.Data.SqlClient/SqlClientPermissionAttribute.cs:
284 * System.Data.SqlClient/SqlInfoMessageEventArgs.cs:
285 * System.Data.SqlClient/SqlInfoMessageEventHandler.cs:
286 * System.Data.SqlClient/SqlParameter.cs:
287 * System.Data.SqlClient/SqlParameterCollection.cs:
289 * System.Data.SqlClient/SqlCommand.cs:
290 * System.Data.SqlClient/SqlConnection.cs:
291 * System.Data.SqlClient/SqlException.cs:
292 * System.Data.SqlClient/SqlTransaction.cs:
293 New code based on work in TDS Client
295 New files added for SqlClient, and TdsClient.Internal
297 Added reference to System.EnterpriseServices.dll
298 Still leave SqlClient out of build until danmorg
301 2002-10-23 Ville Palo <vi64pa@koti.soon.fi>
303 * System.Data.SqlTypes/SqlDouble.cs:
304 * System.Data.SqlTypes/SqlSingle.cs: Finished
306 2002-10-23 Ville Palo <vi64pa@koti.soon.fi>
308 * System.Data.SqlTypes/SqlByte.cs:
309 * System.Data.SqlTypes/SqlBoolean.cs:
310 * System.Data.SqlTypes/SqlInt16.cs:
311 * System.Data.SqlTypes/SqlInt32.cs:
312 * System.Data.SqlTypes/SqlInt64.cs: Finished.
314 2002-10-21 Rodrigo Moya <rodrigo@ximian.com>
316 * list: removed libodbchelper.cs file, which has been removed.
318 2002-10-16 Tim Coleamn <tim@timcoleman.com>
321 Exclude compiling of System.Data.SqlClient in
322 preparation for overhauls of that system.
324 2002-10-16 Daniel Morgan <danmorg@sc.rr.com>
\r
327 * PostgresLibrary.cs
\r
329 * SqlClientPermission.cs
\r
330 * SqlClientPermissionAttribute.cs
\r
332 * SqlCommandBuilder.cs
\r
334 * SqlDataAdapter.cs
\r
337 * SqlErrorCollection.cs
\r
339 * SqlInfoMessageEventArgs.cs
\r
340 * SqlInfoMessageEventHandler.cs
\r
342 * SqlParameterCollection.cs
\r
343 * SqlRowUpdatedEventArgs.cs
\r
344 * SqlRowUpdatedEventHandler.cs
\r
345 * SqlRowUpdatingEventArgs.cs
\r
346 * SqlRowUpdatingEventHandler.cs
\r
347 * SqlTransaction.cs: thanks to Miguel de Icaza, he
\r
348 copied files on the mono cvs server
\r
349 from mcs/class/System.Data/System.Data.SqlClient
\r
350 for the PostgreSQL provider
\r
351 to mcs/class/Mono.Data.PostgreSqlClient.
\r
353 mcs/class/System.Data/System.Data.SqlClient for
\r
354 the Microsoft SQL Server provider.
\r
355 Any Mono.Data.PostgreSqlClient/Sql*.cs files
\r
356 were copied on the cvs server
\r
357 to Mono.Data.PostgreSqlClient/PgSql*.cs files
\r
358 and the old Mono.Data.PostgreSqlClient/Sql*.cs
\r
359 files were removed. Copying, renaming, and removing
\r
360 was done on the cvs server so we could keep
\r
361 the cvs change history.
\r
363 2002-10-15 Daniel Morgan <danmorg@sc.rr.com>
365 * System.Data.OleDb/libgda.cs: added more functions
366 to platfrom invoke into shared library libgda
368 * System.Data.OleDb/OleDbDataReader.cs: implemented
369 GetSchemaTable() and GetFieldType()
371 2002-10-13 Daniel Morgan <danmorg@sc.rr.com>
373 * System.Data/DataRow.cs: don't throw exception
374 if DBNull is false. Had to do comment this line
375 to allow a typeof(Type).
377 * System.Data.SqlClient/SqlCommand.cs: the "DataType"
378 DataColumn and DataRows in a DataTable for a schema should
379 be typeof Type, not string. This is to make it
380 compatible with MS.NET
382 * System.Data.SqlClient/SqlConnection.cs: the
383 isolation level should be set before
384 beginning the transaction
386 * Test/SqlSharpCli.cs: change string to Type for
387 "DataType" from a DataRow in a DataTable
388 that contains a schema.
390 2002-10-14 Rodrigo Moya <rodrigo@ximian.com>
392 * list: added missing Odbc files.
394 2002-10-09 Rodrigo Moya <rodrigo@ximian.com>
396 * list: added System.Data.Odbc files.
398 2002-10-09 Brian Ritchie <brianlritchie@hotmail.com>
400 * System.Data.Odbc/*: added first version of ODBC managed provider.
402 2002-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
404 * System.Data/ConstraintCollection.cs:
405 * System.Data/DataColumnCollection.cs:
406 * System.Data/DataRowCollection.cs:
407 * System.Data/DataTableCollection.cs:
408 * System.Data/InternalDataCollectionBase.cs: made List internal to fix
409 the build with csc. It must be a mcs bug. I will try to get a test case.
411 2002-10-06 Luis Fernandez <luifer@onetel.net.uk>
413 * System.Data/Constraint.cs (AssertConstraint): added overloaded
416 * System.Data/DataColumnCollection.cs: added constraints when needed.
418 * System.Data/DataRow.cs: validate UniqueConstraint's.
420 * System.Data/DataRowCollection.cs (ValidateDataRowInternal): new
421 internal method to validate a given DataRow with respect to the
424 * System.Data/ForeignKeyConstraint.cs (AssertConstraint): stubs for
425 new overloaded method.
427 * System.Data/UniqueConstraint.cs: added implementation.
428 (AseertConstraint): implemented new overloaded method.
430 2002-10-01 Rodrigo Moya <rodrigo@ximian.com>
432 * System.Data.OleDb/OleDbConnection.cs (Open): commented code from
433 last commit, which wasn't supposed to be in CVS yet.
435 2002-10-01 Luis Fernandez <luifer@onetel.net.uk>
437 * System.Data/DataColumn.cs:
438 * System.Data/DataRow.cs:
439 * System.Data/DataRowCollection.cs:
440 * System.Data/DataTable.cs: some fixes and implementation.
442 2002-09-28 Vladimir Vukicevic <vladimir@pobox.com>
444 * System.Data.OleDb/OleDbConnection.cs: Close
445 reader properly in call to ExecuteScalar().
447 2002-09-07 Rodrigo Moya <rodrigo@ximian.com>
449 * System.Data.OleDb/OleDbConnection.cs (Open): changed to use OleDb
450 connection strings, which are then converted to GDA connection
451 strings, instead of using directly GDA data source names.
453 * System.Data.OleDb/libgda.cs: added more needed functions.
455 2002-09-06 Franklin Wise <gracenote@earthlink.net>
457 * System.Data/DataColumn.cs: More flushing out.
459 * System.Data/ForeignKeyConstraint.cs: Implemented GetHashCode()
461 * System.Data/UniqueKeyConstraint.cs: Implemented GetHashCode()
463 * Tests: See Changelog for System.Data/Test
465 2002-09-04 Franklin Wise <gracenote@earthlink.net>
467 * Tests: See Changelog for System.Data/Test
470 System.Data/DataColumnCollectionTest.cs
471 System.Data/DataRowCollectionTest.cs
472 System.Data/DataRowTest.cs
474 * System.Data/DataColumn.cs: Flushing out validation, type conversion for
475 autoincrement. Added lots of TODO's.
476 * System.Data/DataColumnCollection.cs: Wrote out add logic as a comment.
477 Tagged implementation with FIXME tags. Lot's more validation
478 and setup needs to be done, much of which is now tagged as todo's
481 * System.Data/DataRow.cs: Lot's of fixme's added.
483 * System.Data/DataRowCollection.cs: TODO's added.
485 * System.Data/DataTable.cs: Implemented PrimaryKey.
487 * System.Data/UniqueConstraint.cs: Implemented related PrimaryKey
490 2002-08-25 Rodrigo Moya <rodrigo@ximian.com>
492 * System.Data.OleDb/OleDbTransaction.cs (OleDbTransaction): manage
493 correctly the isolation level.
494 (IsolationLevel): likewise.
495 (~OleDbTransaction): implemented.
497 * System.Data.OleDb/libgda.cs: added more needed stuff.
499 2002-08-22 Daniel Morgan <danmorg@sc.rr.com>
501 * System.Data.SqlClient/SqlParameter.cs: flush
503 * System.Data.SqlClient/SqlParameterCollection.cs: fixes
504 for the Item property, IndexOf, and Contains.
506 * Test/SqlSharpCli.cs: added input parameters support.
507 when a query is executed, if a parameter name matches
508 a SQL# internal variable name, it uses that value for the parameter; otherwise,
509 the user is prompted for the parameter value. Currently, it only supports
512 2002-08-21 Rodrigo Moya <rodrigo@ximian.com>
514 * System.Data.OleDb/libgda.cs: adapted to changes in libgda (get_vtype
515 and get_type for GdaValue).
517 * System.Data.OleDb/OleDbDataReader.cs: adapted to changes in
520 2002-08-20 Rodrigo Moya <rodrigo@ximian.com>
522 * System.Data.OleDb/OleDbConnection.cs (DataReader): new internal
524 (Close): set the dataReader to null.
526 * System.Data.OleDb/OleDbDataReader.cs (OleDbDataReader): set the
527 connection's DataReader property to this object.
528 (Close): set it to null here.
529 (Depth, IsDbNull): implemented.
530 (this): implemented the Item property with a string indexer.
532 * System.Data.OleDb/OleDbCommand.cs (ExecuteNonQuery, ExecuteReader,
533 ExecuteScalar): do nothing if there's already an open data reader.
535 * System.Data.OleDb/libgda.cs: more API functions.
537 * System.Data.OleDb/TestOleDb.cs (TestDataReader): close the data
538 reader before continuing.
540 2002-08-20 Franklin Wise <gracenote@earthlink.net>
542 * System.Data/System.Data.build: added nowarn:0679
544 * System.Data/System.DataTable: cleaned up class, added MonoTODO tags
545 setup to begin implementing. Implemented ctor().
547 * Tests: See System.Data\Test\ChangeLog
550 2002-08-19 Rodrigo Moya <rodrigo@ximian.com>
552 * System.Data.OleDb/OleDbSchemaGuid.cs: initialize static members.
554 2002-08-19 Franklin Wise <gracenote@earthlink.net>
556 * Tests: See System.Data\Test\ChangeLog
558 * System.Data/UniqueConstraint.cs: More validation.
560 * System.Data/ForeignKeyConstraint.cs: Added more validation rules.
561 Another LAMESPEC tag. Implemented more of Add/Remove Setup/Cleanup
564 * System.Data/DataTable.cs: Added more MonoTODO tags
566 * class/System.Data/.cvsignore: added tmp & Temp
568 * System.Data/Constraint.cs: Changed abstract helpers to virtual and
571 * System.Data/ConstraintCollection.cs: Commented out unused line.
573 2002-08-18 Rodrigo Moya <rodrigo@ximian.com>
575 * System.Data.OleDb/OleDbConnection.cs (ChangeDatabase): implemented.
577 * System.Data.OleDb/OleDbException.cs (OleDbException): added internal
579 (ErrorCode, Message, Source, Errors): implemented.
581 * System.Data.OleDb/OleDbError.cs: implemented the full class.
583 * System.Data.OleDb/libgda.cs: added more libgda functions.
585 * System.Data.OleDb/TestOleDb.cs (TestOleDb): display properties for
586 the opened connection.
588 2002-08-18 Rodrigo Moya <rodrigo@ximian.com>
590 * System.Data.OleDb/OleDbConnection.cs (ServerVersion): implemented.
592 * System.Data.OleDb/OleDbDataReader.cs (Close): clear the results
593 ArrayList after releasing the items.
594 (GetName, GetDateTime, GetDouble, GetSingle, GetInt16, GetInt32,
595 GetOrdinal, GetString): implemented.
596 (GetDataTypeName): made it get the type from the data model, not from
597 the current value, which could not have been retrieved yet.
598 (GetValue): call the Get* method corresponding with the data type of
599 the requested column.
601 * System.Data.OleDb/libgda.cs: added more libgda functions.
602 (GdaTimestamp, GdaDate, GdaTime): new marshalled structures.
604 * System.Data.OleDb/TestOleDb.cs (TestDateReader): display column
605 titles via OleDbDataReader.GetName ().
606 (TestOleDb): create temporary table with a date field.
607 (InsertRow): set current date for the date field.
609 2002-08-18 Rodrigo Moya <rodrigo@ximian.com>
611 * System.Data.OleDb/OleDbDataReader.cs (this[]): made it just call
612 GetValue, which will take care of all the work needed.
613 (Close): implemented basic stuff.
614 (~OleDbDataReader): implemented.
616 * System.Data.OleDb/libgda.cs: added more needed functions.
618 2002-08-16 Rodrigo Moya <rodrigo@ximian.com>
620 * System.Data.OleDb/TestOleDb.cs: made it work with a temporary table
622 (TestTransaction): added test for transactions.
624 2002-08-16 Rodrigo Moya <rodrigo@ximian.com>
626 * System.Data.OleDb/libgda.cs: added new needed libgda functions.
628 * System.Data.OleDb/OleDbDataReader.cs (GetBoolean): throw exceptions
629 when there are errors.
630 (GetByte, GetChar, GetDataTypeName, GetValue, Read): implemented.
632 * System.Data.OleDb/TestOleDb.cs: added more testing code for data
635 2002-08-15 Rodrigo Moya <rodrigo@ximian.com>
637 * System.Data.OleDb/libgda.cs: added new needed libgda functions.
639 * System.Data.OleDb/OleDbParameterCollection.cs (GdaParameterList):
640 create an empty GdaParameterList.
642 * System.Data.OleDb/OleDbCommand.cs (ExecuteReader): check values
643 for NULL before passing them to Marshal.PtrToStructure, which issues
644 an exception if the value is NULL.
646 2002-08-15 Rodrigo Moya <rodrigo@ximian.com>
648 * System.Data/UniqueConstraint.cs (UniqueConstraint): commented
649 unreachable code to avoid compiler warning.
651 * System.Data.OleDb/libgda.cs (GdaList): added new internal class.
653 * System.Data.OleDb/OleDbConnection.cs (DataSource): implemented.
654 (OpenReader): removed internal method.
656 * System.Data.OleDb/OleDbCommand.cs (ExecuteReader): split correctly
657 the list of returned data models.
659 2002-08-15 Franklin Wise <gracenote@earthlink.net>
661 * System.Data/Constraint.cs: Added helper virtual functions
663 * System.Data/ConstraintCollection.cs: Improved constraint removal,
664 validation. Removed specific knowledge of subclasses of
667 * System.Data/DataColumn.cs: Added static helper function to compare
668 if two DataColumn arrays are the same.
670 * System.Data/ForeignKeyConstraint.cs: Continued to flush out.
672 * System.Data/UniqueConstraint.cs: Implemented. Still some constraint
675 2002-08-13 Franklin Wise <gracenote@earthlink.net>
677 * System.Data/DataRow.cs: Added several fixme tags.
679 2002-08-13 Rodrigo Moya <rodrigo@ximian.com>
681 * System.Data.SqlClient/SqlDataAdapter.cs (DeleteCommand,
682 InsertCommand, SelectCommand, UpdateCommand): removed 'new' keyword
683 to avoid compiler warnings.
685 2002-08-12 Franklin Wise <gracenote@earthlink.net>
687 * System.Data/Constraint.cs: Implemented
689 * System.Data/UniqueConstraint.cs: GetHashCode() &
690 special case Ctor. Still need to be implemented. LAMESPEC tags
693 * System.Data/ConstraintCollection.cs: Clear() &
694 AddRange() need to be finished. Several LAMESPEC tags.
696 * Allow Constraint collection to be created in DataTable.
698 * System.Data/ForeignKeyConstraint: Added a couple of
701 * System.Data/DataColumnCollection New/Added DataColumns now have
704 2002-08-11 Rodrigo Moya <rodrigo@ximian.com>
706 * System.Data.OleDb/libgda.cs: added some GdaValue functions.
708 * System.Data.OleDb/OleDbCommand.cs (OpenReader): removed this
709 internal method, since we don't need it.
710 (ExecuteReader): call SetupGdaCommand before executing the command
711 via libgda functions.
712 (ExecuteScalar): implemented.
714 * System.Data.OleDb/OleDbDateReader.cs (OleDbDataReader): removed call
715 to OleDbCommand.OpenReader.
716 (GetBoolean): implemented.
718 2002-08-08 Franklin Wise <gracenote@earthlink.net>
720 * System.Data/IDbComand.cs: IDbCommand now inherits IDisposable
722 * System.Data/IDbConnection.cs: IDbConnection now inherits IDisposable
724 * System.Data.SqlTypes/SqlCompareOptions.cs: Enum now set to correct
727 2002-08-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
729 * System.Data.OleDb/OleDbConnection.cs: little fixes to make it work
730 and don't show a warning in Open.
732 * System.Data.OleDb/TestOleDb.cs: added Close.
734 2002-08-05 Rodrigo Moya <rodrigo@ximian.com>
736 * System.Data.OleDb/OleDbConnection.cs (ConnectionString,
737 ConnectionTimeout, ServerVersion, GdaConnection):
739 (OleDbConnection): call libgda.gda_init on constructor.
741 * System.Data.OleDb/libgda.cs (libgda): removed static constructor,
742 which wasn't been called.
744 * System.Data.OleDb/TestOleDb.cs (TestOleDb): updated to really
747 2002-08-04 Rodrigo Moya <rodrigo@ximian.com>
749 * list: added missing System.Data.OleDb and
750 System.Data.Common files.
752 * System.Data.OleDb/ChangeLog: removed and merged with
753 System.Data's ChangeLog.
755 * System.Data.OleDb/OleDbDataAdapter.cs:
756 * System.Data.OleDb/OleDbPermission.cs: compilation fixes.
758 2002-07-30 Rodrigo Moya <rodrigo@ximian.com>
760 * System.Data.OleDb/OleDbDataReader.cs (FieldCount): implemented.
761 (IsClosed, Item, RecordsAffected): implemented some properties.
763 * libgda.cs: added GdaDataModel methods.
765 2002-07-29 Rodrigo Moya <rodrigo@ximian.com>
767 * System.Data.OleDb/OleDbDataReader.cs (OleDbDataReader constructor): changed to receive
768 a second argument (ArrayList results).
769 (NextResult): implemented.
771 * System.Data.OleDb/OleDbCommand.cs: don't store the ArrayList of results, since we'll
772 pass that to the OleDbDataReader.
773 (OleDbCommand constructor): don't create the ArrayList of results.
774 (GdaResults): removed property.
775 (ExecuteReader): create a temporary ArrayList and pass that to the
776 OleDbDataReader constructor.
778 2002-07-28 Rodrigo Moya <rodrigo@ximian.com>
780 * System.Data.OleDb/OleDbCommand.cs (ExecuteReader):
781 (CreateParameter): implemented IDbCommand methods.
782 (CommandText): don't create many GdaCommand's, only one is needed.
783 (ExecuteNonQuery): set up the internal GDA command object.
784 (ExecuteReader): use correctly the unique GDA command object.
786 * System.Data.OleDb/libgda.cs: added new libgda calls.
788 2002-07-27 Rodrigo Moya <rodrigo@ximian.com>
790 * System.Data.OleDb/OleDbConnection.cs (CreateCommand):
791 (BeginTransaction): implemented IDbConnection methods.
793 2002-07-12 Rodrigo Moya <rodrigo@ximian.com>
795 * list: added System.Data.OleDb files to file list.
797 2002-07-11 Rodrigo Moya <rodrigo@ximian.com>
799 * System.Data.OleDb/libgda.cs: added new libgda functions and some enumerations.
801 * System.Data.OleDb/OleDbParameter.cs (IsNullable): removed explicit implementation
802 of the set method for this property.
804 * System.Data.OleDb/OleDbDataAdapter.cs (MissingMappingAction): implemented.
805 (MissingSchemaAction): implemented.
807 2002-07-10 Tim Coleman <tim@timcoleman.com>
809 * System.Data.OleDb/OleDbCommandBuilder.cs: Added new methods, properties
810 * System.Data.OleDb/OleDbConnection.cs: Modified constructor
811 * System.Data.OleDb/OleDbError.cs: Added stubbs
812 * System.Data.OleDb/OleDbException.cs: Added stubbs
813 * System.Data.OleDb/OleDbInfoMessageEventArgs.cs: Added stubbs
814 * System.Data.OleDb/OleDbInfoMessageEventHandler.cs: style change
815 * System.Data.OleDb/OleDbParameter.cs: Added conversion from type to OleDbType
816 * System.Data.OleDb/OleDbPermission.cs: Added stubbs
817 * System.Data.OleDb/OleDbSchemaGuid.cs: Added stubbs
818 * System.Data.OleDb/OleDbTransaction.cs: New constructors, changes to methods to
819 support transaction nesting
820 * System.Data.OleDb/libgda.cs: Added my name to this file
822 2002-07-09 Tim Coleman <tim@timcoleman.com>
824 * System.Data.OleDb/OleDbCommand.cs: Style changes, added new methods
825 * System.Data.OleDb/OleDbConnection.cs: Style changes, added new methods
826 * System.Data.OleDb/OleDbDataAdapter.cs: Implementation
827 * System.Data.OleDb/OleDbDataReader.cs: Added stubbs
828 * System.Data.OleDb/OleDbErrorCollection.cs: Added stubbs, some implementation
829 * System.Data.OleDb/OleDbParameter.cs: Style changes, added new methods
830 * System.Data.OleDb/OleDbParameterCollection.cs: Style changes, added new methods
831 * System.Data.OleDb/OleDbPermissionAttribute.cs: Style changes, added new methods
832 * System.Data.OleDb/OleDbRowUpdatedEventArgs.cs: Added stubbs
833 * System.Data.OleDb/OleDbRowUpdatingEventArgs.cs: Added stubbs
834 * System.Data.OleDb/OleDbTransaction.cs: Style changes, added new methods
835 * System.Data.OleDb/OleDbType.cs: Fixed two typos
836 * System.Data.OleDb/libgda.cs: Style changes, added new methods
838 2002-07-09 Tim Coleman <tim@timcoleman.com>
840 * System.Data.build: remove restriction on System.Data.OleDb build
842 2002-06-03 Rodrigo Moya <rodrigo@ximian.com>
844 * System.Data.OleDb/OleDbParameterCollection.cs (GetEnumerator, SyncRoot,
845 IsSynchronized): implemented.
847 2002-06-02 Rodrigo Moya <rodrigo@ximian.com>
849 * System.Data.OleDb/OleDbTransaction.cs (Dispose): added missing method.
851 * System.Data.OleDb/OleDbCommand.cs (Clone): added missing methods.
852 (Parameters, Transaction, Connection): made these overload
855 * System.Data.OleDb/OleDbParameterCollection.cs (IndexOf, Remove, RemoveAt):
856 call m_list methods, not own ones.
858 * System.Data.OleDb/OleDbParameter.cs: more implementation.
860 2002-06-02 Rodrigo Moya <rodrigo@ximian.com>
862 * System.Data.OleDb/OleDbTransaction.cs (Connection, IsolationLevel, Begin,
863 Commit, Rollback): implemented.
864 (GdaConnection): added new internal property.
866 * System.Data.OleDb/OleDbParameter.cs:
867 * System.Data.OleDb/OleDbParameterCollection.cs: implemented some methods and
870 * System.Data.OleDb/libgda.cs: added yet more libgda API functions.
872 2002-06-01 Rodrigo Moya <rodrigo@ximian.com>
874 * System.Data.OleDb/libgda.cs: added new libgda API functions.
876 * System.Data.OleDb/OleDbConnection.cs (Provider): implemented.
877 (BeginTransaction): made it overload IDbConnection methods.
878 (ChangeDatabase): new stub, needs some work on libgda for being
881 (Close): implemented.
882 (CreateCommand): implemented.
883 (GetOleDbSchemaTable): new stub, until I understand what to do here.
884 (Open): implemented basic stuff, which is just supporting connection
885 strings that represent a GDA data source name. More to come.
886 (InfoMessage, StateChange): added events.
888 * System.Data.OleDb/TestOleDb.cs: test program for System.Data.OleDb.
890 2002-05-29 Rodrigo Moya <rodrigo@ximian.com>
892 * System.Data.OleDb/libgda.cs: added static constructor.
893 (GdaClient): new static property to get the underlying GdaClient
896 * System.Data.OleDb/OleDbConnection.cs: removed GDA initialization, which belongs to
897 the static 'libgda' class.
899 2002-05-29 Rodrigo Moya <rodrigo@ximian.com>
901 * System.Data.OleDb/libgda.cs: static class for libgda API calls.
903 * System.Data.OleDb/OleDbConnection.cs: implemented constructors.
904 (ConnectionString, Connectiontimeout, Database, State):
905 implemented class properties.
906 (BeginTransaction): implemented.
908 * System.Data.OleDb/OleDbTransaction.cs: implemented protected constructors.
910 * System.Data.OleDb/TestGDA.cs: simple test for libgda API.
912 2002-05-27 Rodrigo Moya <rodrigo@ximian.com>
914 * System.Data.OleDb/*: started System.Data.OleDb provider, based on libgda.
916 2002-06-06 Rodrigo Moya <rodrigo@ximian.com>
918 * list: added missing PostgresTypes.cs file.
920 2002-06-02 Francisco Jr. <fxjrlists@yahoo.com.br>
922 * System.Data.SqlClient/SqlParameterCollection.cs: implemented missing
925 2002-05-30 Daniel Morgan <danmorg@sc.rr.com>
927 * System.Data.SqlClient/SqlConnection.cs: modifed -
928 start to implement the interfaces properly and
929 properly doing a Close(), Dispose(), and
932 * Test/SqlSharpCli.cs: modified -
933 add support for MySQL in Mono.Data.MySql
934 and OleDb support in System.Data.OleDb. However,
935 the OleDb support is commented right now.
936 When the program starts up, a shorter help menu should
937 display the most important commands: help and quit
939 2002-05-28 Rodrigo Moya <rodrigo@ximian.com>
941 * System.Data.build: exclude System.Data.OleDb files.
943 2002-05-27 Daniel Morgan <danmorg@sc.rr.com>
945 * System.Data.SqlClient/SqlCommand.cs: typo
946 should be CommandBehavior.KeyInfo
948 * Test/SqlSharpCli.cs: refactored and added a few more
951 2002-05-27 Tim Coleman <tim@timcoleman.com>
952 * list: update to compile properly (add missing
953 files and switch path delimiter from '\' to '/').
955 2002-05-26 Daniel Morgan <danmorg@sc.rr.com>
957 * System.Data/DataRow.cs
958 * System.Data.Common/DbDataAdapter.cs: fix to
959 get Test/TestSqlDataAdapter.cs to work again
961 * Test/TestSqlDataAdapter.cs: removed comment
962 about SqlDataReader:NextResult() not being implemented; it
965 2002-05-26 Daniel Morgan <danmorg@sc.rr.com>
967 * System.Data/DataRow.cs: modified
968 support setting of DBNull.Value
969 using the Item indexer this[DataColumn]
971 * System.Data.SqlClient/SqlCommand.cs: modified
972 tweaks to show TODO's for other CommandBehavior.
973 Set AllowDBNull column to true for IsKey row
976 * System.Data.SqlClient/SqlConnection.cs: modified
977 if transaction is in progress when a Close() is called,
978 do a transaction Rollback.
980 2002-05-26 Daniel Morgan <danmorg@sc.rr.com>
982 * Test/SqlSharpCli.cs: added file
983 My new toy. SQL# is a command-line tool to enter
984 SQL commands and queries using Mono System.Data.
985 It also serves as a test for Mono System.Data.
987 * System.Data.SqlClient/SqlCommand.cs: modified
988 - ExecuteNonQuery(), ExecuteScalar(), and ExecuteReader()
989 should handle the results from SQL Commands and Queries.
990 - Internal class SqlResult should not create schema Table
991 for the result from a SQL Command. Also, set the RecordsRetrieved
992 property for SqlDataReader.
993 - Closing the SqlDataReader should Close() the SqlConnection for
994 a CommandBehavior.CloseConnection.
995 - Set defaults for SqlResult
997 * System.Data.SqlClient/SqlConnection.cs: modified -
998 when SqlDataReader is Close()
999 should Close() the SqlConnection for
1000 a CommandBehavior.CloseConnection. Changed internal Property
1001 from OpenReader get/set to IsReaderOpen get and created
1002 internal methods OpenReader()/CloseReader() for SqlCommand to call.
1003 SqlConnection needs to be prevented from doing while SqlDataReader
1006 * System.Data.SqlClient/SqlDataReader.cs: modified -
1007 call SqlCommand's OpenReader() internal method. get
1008 RecordsRetrieved from SqlResult. set/reset default
1009 values for SqlDataReader.
1011 * Test/PostgresTest.cs
1012 * Test/TestExecuteScalar.cs
1013 * Test/TestSqlDataReader.cs: modified
1014 for the Execute...() methods in SqlCommand
1015 to test SQL Queries and Commands
1017 * Test/System.Data_test.build: modified
1018 exclude new file Test/SqlSharpCli.cs from
1021 2002-05-24 Tim Coleman <tim@timcoleman.com>
1022 * System.Data.Common/DbDataAdapter.cs: remove IDbCommands, except
1023 for get accessors. These should be implemented in derived classes. See
1024 SqlDataAdapter for clues.
1025 * System.Data.SqlClient/SqlDataAdapter.cs: implement IDbDataAdapter
1026 * System.Data.Common/DataAdapter.cs:
1027 * System.Data.Common/DataTableMappingCollection.cs:
1028 * System.Data.Common/DataTableMapping.cs:
1029 * System.Data.Common/DataColumnMappingCollection.cs:
1030 * System.Data.Common/DataColumnMapping.cs:
1031 Properly (I hope!) implement all of the appropriate interfaces
1035 2002-05-23 Tim Coleman <tim@timcoleman.com>
1036 * System.Data.SqlClient/SqlCommand.cs: include
1037 the BaseColumnName in the schema table. Was missed before.
1038 * System.Data.Common/DbDataAdapter.cs: Use DataTable
1039 mappings so that the DataSet and DataTable are more closely tied.
1040 Get schema information from the DataTable using GetSchemaTable ()
1041 Various other little fixes
1042 * System.Data.Common/DataColumnMappingCollection.cs:
1043 * System.Data.Common/DataTableMapping.cs:
1044 * System.Data.Common/DataTableMappingCollection.cs: Some
1045 implementation, enough to be used by DbDataAdapter.
1047 2002-05-23 Daniel Morgan <danmorg@sc.rr.com>
1049 * System.Data.SqlClient/SqlCommand.cs: set
1050 the "ProviderType" to the PostgreSQL type oid
1052 * System.Data.SqlClient/SqlDataReader.cs: fix
1053 for various properties and methods that
1054 return meta data: Item indexers this[name] and this[index],
1055 GetFieldType, GetName, and GetOrdinal. SqlDataAdapter
1058 2002-05-22 Daniel Morgan <danmorg@sc.rr.com>
1060 * System.Data/DataRow.cs: change suggested
1061 by tim: in Item indexer, do an EndEdit()
1063 * System.Data.SqlClient/SqlCommand.cs: more
1064 fixes to SqlResult. After setting each item in
1065 the DataRow, do an AcceptChanges() to commit
1066 the changes in the DataRow. For DataType, use a Type
1067 of System.String since System.Type nor System.Object
1070 * Test/TestSqlDataReader.cs
1071 * Test/PostgresTest.cs: updated to to be on
1072 the way schema table is suppose to work
1074 2002-05-22 Daniel Morgan <danmorg@sc.rr.com>
1076 * System.Data.SqlClient/SqlCommand.cs: more work on
1077 building the schema table
1079 2002-05-22 Tim Coleman <tim@timcoleman.com>
1080 * System.Data.SqlClient/SqlCommand.cs: preliminary work
1081 on getting the schema table correctly built.
1083 2002-05-21 Daniel Morgan <danmorg@sc.rr.com>
1085 * System.Data.SqlClient/ParmUtil.cs: added file - to
1086 provide utility for conversion of input parameters
1088 * System.Data.SqlClient/PostgresTypes.cs: added file -
1089 moved the PostgreHelper class to here. May eventually
1090 move the internal class PostgresTypes that's inside the
1091 SqlConnection to here as well.
1092 Handling of PostgreSQL <-> .NET types need to be though
1093 out more. Also, the PostgreHelper has a method to convert
1094 from .NET types to a string which can be put into used in
1095 an SQL statement to execute against a PostgreSQL database.
1096 This is the beginnings of parameters support. It currently
1097 only supports input parameters. Still need to do output,
1098 input/output, and return parameters.
1100 * Test/TestSqlParameters.cs: new test to test the input
1101 parameters in System.Data.SqlClient against a
1104 * System.Data.SqlClient/PostgresLibrary.cs: moved
1105 PostgresHelper class to file PostgresTypes.cs. Also
1106 moved struct PostgresType there too.
1108 * System.Data.SqlClient/SqlCommand.cs: added input
1111 * System.Data.SqlClient/SqlParameter.cs: got
1112 SqlParameter to work
1114 * System.Data.SqlClient/SqlParameterCollection.cs: got
1115 SqlParameterCollection to work
1117 * Test/System.Data_test.build: added files to exclude
1120 * System.Data.SqlClient/SqlConnection.cs: release resources
1123 2002-05-18 Daniel Morgan <danmorg@sc.rr.com>
1125 * System.Xml: added directory for classes with namespace
1126 System.Xml to go into the System.Data.dll assembly
1128 * System.Xml/XmlDataDocument: added file
1129 for stubbed concrete class XmlDataDocument which
1130 inherits from XmlDocument. Its purpose is to provide
1131 a W3C XML DOM Document for relational data and interacting
1134 2002-05-18 Daniel Morgan <danmorg@sc.rr.com>
1136 * System.Data.SqlClient/SqlCommand.cs: handle CommandTypes
1137 Text, TableDirect, and StoredProcedure
1139 * Test/PostgresTest.cs: changed call to version()
1140 stored procedure to use the CommandType of StoredProcedure
1142 * Test/TestSqlDataReader.cs: test all the CommandTypes
1144 2002-05-18 Daniel Morgan <danmorg@sc.rr.com>
1146 * System.Data.build: took out all excluded
1147 files except the ones in the Test directory
1148 because all files compile now. It does not
1149 mean they all work or have implementations
1152 * System.Data/DataRelationCollection.cs
1153 * System.Data/DataTableRelationCollection.cs
1154 * System.Data/InternalDataCollectionBase.cs
1155 * System.Data.Common/DbDataPermission.cs
1156 * System.Data.SqlClient/SqlInfoMessageEventArgs.cs
1157 * System.Data.SqlClient/SqlClientPermission.cs
1158 * System.Data.SqlClient/SqlClientPermissionAttribute.cs: changes
1159 to get all System.Data* files to compile.
1161 * System.Data.SqlClient/SqlCommand.cs: started coding
1162 to prevent SqlConnection and SqlCommand from doing
1163 anyting while fetching data using SqlDataReader. Also,
1164 started coding to undo this prevention once the
1165 SqlDataReader is closed.
1167 * System.Data.SqlClient/SqlConnection.cs: get database server
1168 version. Started coding to prevent connection from
1169 doing anything while fetching data and undo once the reader
1170 is closed. Include events SqlInfoMessage and StateChange.
1172 * System.Data.SqlClient/SqlDataReader.cs: start coding to
1173 prevent connection and command from doing anything while
1174 fetching data, and undo when closed.
1176 * Test/PostgresTest.cs: added test to get ServerVersion
1177 property from SqlConnection
1179 2002-05-18 Tim Coleman <tim@timcoleman.com>
1180 * System.Data/DataRow.cs: More implementation,
1181 as well as boundary checks and small semantic
1184 2002-05-18 Tim Coleman <tim@timcoleman.com>
1185 * System.Data/DataRow.cs: Try to reduce memory
1186 usage by only creating the original and proposed
1187 arrays as required in BeginEdit, and then destroying
1188 proposed during EndEdit, and original during AcceptChanges.
1189 * System.Data.Common/DbDataAdapter.cs: Make the
1190 startRecord and maxRecords parameters work correctly.
1192 2002-05-18 Tim Coleman <tim@timcoleman.com>
1193 * System.Data/DataRow.cs: Move the null check in
1194 ItemArray set to above the Invalid Cast check, so
1195 that we don't get null reference exceptions.
1197 2002-05-17 Daniel Morgan <danmorg@sc.rr.com>
1199 * System.Data.SqlClient/PostgresLibrary.cs: handle
1200 data value from database being NULL
1202 * System.Data.SqlClient/SqlCommand.cs: for ExecuteReader,
1203 allow multiple result sets. Added new internal class
1204 SqlResult to pass result set data from SqlCommand
1207 * System.Data.SqlClient/SqlDataReader.cs: allow
1208 multiple result sets.
1210 * System.Data.SqlClient/SqlConnection.cs: moved
1211 things around. Implement IDisposable.
1213 * Test/TestSqlDataReader.cs: test for execution
1214 of multiple result sets and display the results
1215 of these multiple results sets
1217 * Test/TestSqlDataAdapter.cs: tweaks
1219 2002-05-17 Tim Coleman <tim@timcoleman.com>
1220 * System.Data.Common/DbDataAdapter.cs:
1221 - More implementation of Fill methods
1222 - Get rid of isDirty flag, because we can just check
1224 - Do *not* remove DataTables before Filling them
1225 - Implicitly open the connection before doing a Fill
1226 if it does not exist.
1227 * System.Data.SqlClient/SqlDataAdapter.cs:
1229 * System.Data/DataTableCollection.cs:
1230 - Add DataSet to internal, undocumented constructor
1231 - When a table is created, set its DataSet property
1232 - Default table name for creation is "Table1" (see .NET)
1233 - Inherit the ArrayList list from InternalDataCollecitonBase
1234 and maintain a hashtable between table names and
1236 * System.Data/DataTable.cs:
1237 - Add internal dataSet field. This is used by
1238 DataTableCollection when the DataTable is constructed.
1239 * System.Data/DataSet.cs:
1240 - Pass a reference to the DataSet when constructing the
1241 DataTableCollection.
1243 2002-05-16 Tim Coleman <tim@timcoleman.com>
1244 * System.Data.Common/DbDataAdapter.cs:
1245 Use table.Rows.Add (itemArray) instead of
1246 table.Rows.Add (thisRow) to provide better
1248 * System.Data/DataRowCollection.cs:
1249 Some implementation of this class.
1250 * System.Data/InternalDataCollectionBase.cs:
1251 Some implementation. Most notably, this now
1252 has an enumerator so we can use foreach (DataRow row in table.Rows)
1253 in the test classes.
1254 * System.Data/DataTable.cs:
1255 Since DataRowCollection now accepts a DataTable in
1256 its internal constructor, we must pass one in.
1258 2002-05-16 Daniel Morgan <danmorg@sc.rr.com>
1260 * Test/TestSqlDataAdapter.cs: added new test
1261 for SqlDataAdapter, DataSet, DataTableCollection, DataTable,
1262 DataRowCollection, and DataRow. It tests retrieving data
1263 based on a SQL SELECT query. This test is based on Tim Coleman's
1266 2002-05-16 Tim Coleman <tim@timcoleman.com>
1267 * System.Data.Common/DbDataAdapter.cs:
1268 Use table.Rows.Add (thisRow) instead of
1269 table.ImportRow (thisRow)
1270 * System.Data/DataRowCollection.cs:
1271 Construct the ArrayList before using it
1273 2002-05-16 Tim Coleman <tim@timcoleman.com>
1274 * System.Data/DataTable.cs:
1275 Construct the DataRowCollection in the DataTable
1276 constructor. Otherwise, it's a null reference.
1278 2002-05-16 Tim Coleman <tim@timcoleman.com>
1279 * System.Data.SqlClient/SqlDataReader.cs:
1280 Modify GetValues to use Array.Copy() to copy
1281 the results from fields to values, rather than
1282 an assignment, which results in loss of data.
1284 2002-05-16 Tim Coleman <tim@timcoleman.com>
1285 * System.Data/DataRow.cs:
1286 More implementation and documentation. It should
1287 work more like expected, although there is no way
1288 to demonstrate this well yet. DataTable requires
1291 2002-05-15 Tim Coleman <tim@timcoleman.com>
1292 * System.Data/DataRow.cs:
1293 Minor tweaks as I determine exactly how to
1294 implement this class.
1297 2002-05-14 Duncan Mak <duncan@ximian.com>
1299 * System.Data/DataTable.cs (NewRow): Added missing paren to fix build.
1301 2002-05-14 Tim Coleman
1302 * System.Data/DataRow.cs:
1303 * System.Data/DataRowBuilder.cs:
1304 * System.Data/DataTable.cs:
1305 More implementation of these classes. DataRow
1306 can now (possibly) do some useful things.
1307 Still not sure what DataRowBuilder is all about,
1308 other than passing a DataTable in.
1310 2002-05-14 Tim Coleman
1311 * System.Data/DataRowBuilder.cs:
1312 Add stubb for this internal class.
1314 2002-05-13 Tim Coleman
1315 * System.Data.Common/DbDataAdapter.cs:
1316 The maxRecords check was not correct.
1318 2002-05-13 Tim Coleman
1319 * System.Data/DataTableCollection.cs:
1320 Fix an issue when adding a DataTable and size == 0.
1321 Now explicitly checks if size > 0 before doing Array.Copy ()
1322 * System.Data.Common/DbDataAdapter.cs:
1323 Move closer to a working implementation.
1324 Make the IDbCommand fields protected so that they can
1326 * System.Data.SqlClient/SqlDataAdapter.cs:
1327 This should inherit the IDbCommands instead of having its
1328 own. An explicit cast is used to force conversion between
1329 IDbCommand and SqlCommand
1331 2002-05-13 Tim Coleman
1332 * System.Data.Common/DataTableMappingCollection.cs:
1333 Some implementation to allow progress with DbDataAdapter
1335 2002-05-13 Tim Coleman
1336 * System.Data.Common/DbDataAdapter.cs:
1337 Modify to not break compile.
1339 2002-05-13 Tim Coleman
1340 * System.Data.build:
1341 include SqlDataAdapter, SqlRowUpdatedEventArgs,
1342 SqlRowUpdatingEventArgs, SqlRowUpdatedEventHandler,
1343 SqlRowUpdatingEventHandler in the build.
1345 2002-05-13 Tim Coleman
1346 * System.Data.Common/DbDataAdapter.cs:
1347 More implementation.
1348 * System.Data.Common/DataAdapter.cs:
1349 Correction of some of the stubbing, as well as a
1350 little bit more implementation
1352 2002-05-11 Tim Coleman
1353 * System.Data.SqlClient/SqlDataAdapter.cs:
1354 * System.Data.Common/DbDataAdapter.cs:
1355 Moved methods that weren't supposed to
1356 be in SqlDataAdapter out. They should be implemented
1360 2002-05-11 Tim Coleman
1361 * System.Data.SqlClient/SqlDataAdapter.cs:
1362 some implementation of this class. Note
1363 that none of the functionality has been
1364 tested yet, but I felt it should be checked
1365 in at this point as it compiles.
1366 * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs:
1367 * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs:
1368 Modified so that they will compile properly.
1369 Needed to include SqlDataAdapter in the build.
1371 2002-05-11 Rodrigo Moya <rodrigo@ximian.com>
1373 * System.Data/DataTable.cs (Clear): implemented.
1374 (DataTable): removed repeated code in constructors, and call the
1375 basic constructor from the others.
1377 * System.Data/DataColumn.cs: some tweaks.
1379 * System.Data/DataRow.cs (RowState): implemented.
1380 (CancelEdit): set rowState property back to Unchanged.
1381 (RejectChanges): call CancelEdit.
1382 (Delete): set rowState to Deleted.
1384 2002-05-11 Daniel Morgan <danmorg@sc.rr.com>
1386 * System.Data.build: added copy of System.Data.dll to Test directory
1387 for easy testing. Also, added clean for it too.
1389 * System.Data.SqlClient/PostgresLibrary.cs: changed setting of boolean
1390 from PostgreSQL data type to .NET type.
1392 * System.Data.SqlClient/SqlDataReader.cs: beginnings
1393 handling of a NULL value from the database
1395 * Test/PostgresTest.cs: added tests for NULL values retrieved
1398 * Test/ReadPostgresData.cs
1399 * Test/TestExecuteScalar.cs
1400 * Test/TestSqlDataReader.cs
1401 * Test/TestSqlException.cs
1402 * Test/TestSqlIsolationLevel.cs: updated tests to use databas user
1403 "postgres". These tests may eventually be removed since they
1406 2002-05-10 Rodrigo Moya <rodrigo@ximian.com>
1408 * System.Data.build: removed reference to non-existant
1409 TestDataColumn.cs file.
1411 * System.Data/DataSet.cs: added some implementation.
1413 2002-05-09 Daniel Morgan <danmorg@sc.rr.com>
1415 * System.Data.SqlClient/PostgresLibrary.cs: got
1416 PostgreSQL data types time, date, timestamp (DateTime like)
1417 mapped to .NET System.DateTime working based
1418 on ISO DateTime formatting "YYYY-MM-DD hh:mi:ss.ms"
1419 Also mapped pg type boolean to .net Boolean
1421 * SqlClient/SqlConnection.cs: run SQL command to set
1424 * Test/PostgresTest.cs: added test for an UPDATE SQL command,
1425 added tests for aggregates min(), max(), sum(), count(). could
1426 not get avg() to work due to some formatting error; someone claimed
1427 that it was my locale settings. added tests for SELECT of columns
1428 of type boolean, float, double, date, time, and timestamp. They
1429 have not been fully tested, but its a start.
1431 2002-05-09 Tim Coleman <tim@timcoleman.com>
1432 * System.Data.SqlTypes/SqlDecimal.cs: Implementations of
1433 addition, subtraction, and multiplication for the
1434 SqlDecimal type, as well as modification of some other
1435 operations. More to come on this one.
1437 2002-05-08 Rodrigo Moya <rodrigo@ximian.com>
1439 * Test/System.Data_test.build: excluded TestDataColumn, which
1440 should be replaced with a nunit test.
1442 * Test/TestDataColumn.cs: added basic test for DataColumn.cs.
1444 2002-05-07 Tim Coleman <tim@timcoleman.com>
1458 Fix the broken build I made before. Bad
1461 2002-05-07 Tim Coleman <tim@timcoleman.com>
1463 Fix a symantic error I made in SqlString
1464 Equals where I copied and pasted wrongly
1466 2002-05-07 Tim Coleman <tim@timcoleman.com>
1471 * SqlCompareOptions.cs:
1482 Implement CompareTo, Equals, and String conversions
1485 2002-05-05 Daniel Morgan <danmorg@sc.rr.com>
1487 * Test/PostgresTest.cs: modified to run completely. There
1488 are many TODOs in System.Data, so not all data types are
1489 included in the SELECT SQL query. Also, I made it to where
1491 using "host=localhost;dbname=test;user=postgres"
1492 instead of my userid and password. When more types are included,
1495 2002-05-05 Daniel Morgan <danmorg@sc.rr.com>
1497 * Test/PostgresTest.cs: added - ported
1498 libgda postgres-test.c originally by
1499 Gonzalo Paniagua Javier <gonzalo@gnome-db.org>
1502 2002-05-05 Tim Coleman <tim@timcoleman.com>
1503 * System.Data.SqlTypes/SqlBinary.cs:
1504 * System.Data.SqlTypes/SqlBoolean.cs:
1505 * System.Data.SqlTypes/SqlByte.cs:
1506 * System.Data.SqlTypes/SqlDateTime.cs:
1507 * System.Data.SqlTypes/SqlDecimal.cs:
1508 * System.Data.SqlTypes/SqlDouble.cs:
1509 * System.Data.SqlTypes/SqlGuid.cs:
1510 * System.Data.SqlTypes/SqlInt16.cs:
1511 * System.Data.SqlTypes/SqlInt32.cs:
1512 * System.Data.SqlTypes/SqlInt64.cs:
1513 * System.Data.SqlTypes/SqlMoney.cs:
1514 * System.Data.SqlTypes/SqlSingle.cs:
1515 * System.Data.SqlTypes/SqlString.cs:
1516 More implementation, and code clean-up for consistency.
1517 Also, I had implemented many conversions as explicit
1518 that should have been implicit. This should remove
1519 many of the red X's and green pluses from the
1520 System.Data.SqlTypes namespace.
1522 2002-05-05 Miguel de Icaza <miguel@ximian.com>
1524 * System.Data/DataSet.cs: Remove [Serializable] attributes from
1525 methods, those only apply to structs or classes.
1527 Stub out ISerializable, ISupportInitialize, and IListSource methods
1529 * System.Data/DataRowView.cs: Stub out interface methods for
1530 IEditableObject, ICustomTypeDescriptor and IDataErrorInfo
1532 * System.Data/DataView.cs: Comment out non-implemented
1535 * System.Data/DataViewSettingsCollection.cs: Type cast variables
1536 to the correct type to make it compile.
1538 * System.Data/DataViewSettings.cs: remove reference to
1539 non-existance type ApplyDefaultSort, it is a boolean.
1542 2002-05-05 Tim Coleman <tim@timcoleman.com>
1543 * System.Data.SqlTypes/SqlBinary.cs:
1544 * System.Data.SqlTypes/SqlBoolean.cs:
1545 * System.Data.SqlTypes/SqlByte.cs:
1546 * System.Data.SqlTypes/SqlDecimal.cs:
1547 * System.Data.SqlTypes/SqlDouble.cs:
1548 * System.Data.SqlTypes/SqlGuid.cs:
1549 * System.Data.SqlTypes/SqlInt16.cs:
1550 * System.Data.SqlTypes/SqlInt32.cs:
1551 * System.Data.SqlTypes/SqlInt64.cs:
1552 * System.Data.SqlTypes/SqlMoney.cs:
1553 * System.Data.SqlTypes/SqlSingle.cs:
1554 * System.Data.SqlTypes/SqlString.cs:
1555 Various fixes, including adding the SqlNullValueException
1556 when trying to retrieve the value of a null SqlType,
1557 and when casting values, a Null of type A converts to a
1560 2002-05-04 Daniel Morgan <danmorg@sc.rr.com>
1562 * System.Data.SqlClient/PostgresLibrary.cs
1563 * System.Data.SqlClient/SqlCommand.cs
1564 * System.Data.SqlClient/SqlConnection.cs
1565 * System.Data.SqlClient/SqlDataReader.cs
1566 oid should not be hard coded because they
1567 can change from one version of PostgreSQL
1568 to the next. Use the typname's instead.
1569 The PostgreSQL type data retrieves
1570 at database connection time. Any unimplemented
1571 types just default to string. These were things
1572 suggested by Gonzalo.
1574 * Test/ReadPostgresData.cs - stuff
1575 * Test/TestSqlDataReader.cs - stuff
1577 * System.Data.SqlTypes/SqlInt32.cs - added a using
1579 2002-05-03 Tim Coleman <tim@timcoleman.com>
1580 * System.Data.build: Fix the build so that test depends on build
1582 2002-05-03 Tim Coleman <tim@timcoleman.com>
1583 * System.Data.SqlTypes/SqlByte.cs:
1584 * System.Data.SqlTypes/SqlDateTime.cs:
1585 * System.Data.SqlTypes/SqlDecimal.cs:
1586 * System.Data.SqlTypes/SqlDouble.cs:
1587 * System.Data.SqlTypes/SqlGuid.cs:
1588 * System.Data.SqlTypes/SqlInt16.cs:
1589 * System.Data.SqlTypes/SqlInt64.cs:
1590 * System.Data.SqlTypes/SqlMoney.cs:
1591 * System.Data.SqlTypes/SqlSingle.cs:
1592 These files were mysteriously excluded from the last
1593 patch I made and sent to Rodrigo
1594 * System.Data.build: include the System.Data.SqlTypes in the build
1596 2002-05-03 Daniel Morgan <danmorg@sc.rr.com>
1598 * System.Data.build: removed comments
1600 * System.Data.SqlClient/PostgresLibrary.cs: changed
1601 the hard-coded PostgreSQL oid type int's to using an
1602 enum. Also, added PostgreSQL bpchar (character) type.
1604 * Test/TestSqlDataReader.cs: updated test
1605 to include new bpchar PostgreSQL type
1607 2002-05-03 Rodrigo Moya <rodrigo@ximian.com>
1609 * System.Data.SqlTypes/SqlBinary.cs:
1610 * System.Data.SqlTypes/SqlBoolean.cs:
1611 * System.Data.SqlTypes/SqlInt32.cs:
1612 * System.Data.SqlTypes/SqlString.cs: more implementation, by
1613 Tim Coleman <tcoleman@opentext.com>.
1615 2002-05-03 Daniel Morgan <danmorg@sc.rr.com>
1617 * Test/TestExecuteScalar.cs: added test for
1618 method ExecuteScalar in class SqlCommand.
1620 * System.Data/DataColumnCollection.cs - it should
1621 inherit properties from base InternalDataCollectionBase
1622 and use them instead of overriding them, such as, List.
1624 * System.Data/DataColumn.cs
1625 * System.Data/DataTable.cs: tweaks to retrieve
1626 meta data from the database
1628 * System.Data.SqlClient/PostgresLibrary.cs -
1629 added method OidToType to convert PostgreSQL oid type
1630 to System.Type. Renamed method OidTypeToSystem
1631 to ConvertPgTypeToSystem for converting the data value
1632 from a PostgreSQL type to a .NET System type.
1634 * System.Data.SqlClient/SqlCommand.cs: implemented
1635 method ExecuteReader which returns a SqlDataReader
1636 for a light forward only read only result set.
1637 It works on types int4 ==> Int32 and
1638 varchar ==> String. Other types
1641 * System.Data.SqlClient/SqlConnection.cs: added comment
1643 * System.Data.SqlClient/SqlDataReader.cs: implemented
1644 class. It works, but still lots to do.
1646 * Test/ReadPostgresData.cs: stuff
1648 * Test/TestSqlDataReader.cs: updated test for SqlDataReader
1649 to display meta data and the data
1651 2002-05-03 Duncan Mak <duncan@ximian.com>
1653 * TODO: Took out all the Exceptions. They should be all done now.
1655 * System.Data/ConstraintException.cs:
1656 * System.Data/DBConcurrencyException.cs:
1657 * System.Data/DataException.cs:
1658 * System.Data/DeletedRowInaccessibleException.cs:
1659 * System.Data/DuplicateNameException.cs:
1660 * System.Data/EvaluateException.cs:
1661 * System.Data/InRowChangingEventException.cs:
1662 * System.Data/InvalidConstraintException.cs:
1663 * System.Data/InvalidExpressionException.cs:
1664 * System.Data/MissingPrimaryKeyException.cs:
1665 * System.Data/NoNullAllowedException.cs:
1666 * System.Data/ReadOnlyException.cs:
1667 * System.Data/RowNotInTableException.cs:
1668 * System.Data/StrongTypingException.cs:
1669 * System.Data/SyntaxErrorException.cs:
1670 * System.Data/TypeDataSetGeneratorException.cs:
1671 * System.Data/VersionNotFoundException.cs: Added to CVS.
1673 * System.Data.SqlTypes/SqlNullValueException.cs:
1674 * System.Data.SqlTypes/SqlTruncateException.cs:
1675 * System.Data.SqlTypes/SqlTypeException.cs: Added to CVS.
1677 2002-05-02 Rodrigo Moya <rodrigo@ximian.com>
1679 * System.Data/DataViewSettingCollection.cs: implemented.
1681 * System.Data/DataRowView.cs: new stubs.
1683 * System.Data.SqlTypes/SqlByte.cs:
1684 * System.Data.SqlTypes/SqlDateTime.cs:
1685 * System.Data.SqlTypes/SqlDecimal.cs:
1686 * System.Data.SqlTypes/SqlDouble.cs:
1687 * System.Data.SqlTypes/SqlGuid.cs:
1688 * System.Data.SqlTypes/SqlInt16.cs:
1689 * System.Data.SqlTypes/SqlInt64.cs:
1690 * System.Data.SqlTypes/SqlMoney.cs:
1691 * System.Data.SqlTypes/SqlSingle.cs: new stubs, contributed
1692 by Tim Coleman <tcoleman@opentext.com>
1694 * System.Data.build: excluded newly-added files.
1696 2002-05-02 Daniel Morgan <danmorg@sc.rr.com>
1698 * System.Data.SqlClient/PostgresLibrary.cs: included new
1699 internal class that will be a helper class in using
1700 PostgreSQL. PostgresLibrary is used for the
1701 pinvoke methods to the PostgreSQL Client
1702 native C library libpq while the class PostgresHelper
1703 is used for wrapper or helper methods. It currently only
1704 has one static method OidTypeToSystem in converting
1705 PostgreSQL types to .NET System.<type>s, such as,
1706 a PostgreSQL int8 becomes a .NET System.Int64.
1707 Only a few types have been added, such as, int2,
1708 int4, int8, varchar, text, bool, and char. Other types
1711 * System.Data.SqlClient/SqlCommand.cs: implemented
1712 method ExecuteScalar which allows us to do aggregate
1713 functions, such as, count, avg, min, max, and sum. We
1714 also are able to retrieve the result, convert it to the .NET type
1715 as an object. The user of the returned object must explicitly cast.
1717 * Test/ReadPostgresData.cs: updated sample
1718 to help us learn to retrieve data in System.Data.SqlClient
1721 2002-05-01 Daniel Morgan <danmorg@sc.rr.com>
1723 * System.Data.build: added /nowarn: nnnn arguments
1724 so you will not get a ton of warnings. The warnings
1725 being excluded are: 1595, 0067, 0109, 0169, and 0649
1727 2002-05-01 Daniel Morgan <danmorg@sc.rr.com>
1729 * System.Data.build: modified to exclude more
1730 files from the build
1732 2002-05-01 Rodrigo Moya <rodrigo@ximian.com>
1734 * System.Data.SqlClient/SqlClientPermission.cs: added missing
1737 * System.Data/MergeFailedEventArgs.cs: new class, contributed
1738 by John Dugaw <jdugaw@unizenconsulting.com>.
1740 * System.Data.build: excluded new files from build.
1742 2002-04-29 Daniel Morgan <danmorg@sc.rr.com>
1744 * Test/ReadPostgresData.cs: added - Uses the
1745 PostgresLibrary to retrieve a recordset.
1746 This is not meant to be used in Production, but as a
1747 learning aid in coding
1748 class System.Data.SqlClient.SqlDataReader.
1749 This sample does work.
1751 * Test/TestSqlDataReader.cs: added - used
1752 to test SqlDataReader (does not work yet)
1753 Forgot to add to ChangeLog on last commit.
1755 2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
1757 * System.Data/DataViewSetting.cs: new class.
1759 2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
1761 * System.Data/DataViewManager.cs: new class.
1763 * System.Data.SqlTypes/INullable.cs: properties for interfaces
1764 don't have implementation.
1766 * System.Data.SqlTypes/SqlInt32.cs:
1767 * System.Data.SqlTypes/SqlString.cs:
1768 * System.Data.SqlTypes/SqlBoolean.cs: removed destructor, since
1769 these are strctures.
1771 * System.Data.SqlClient/SqlClientPermissionAttribute.cs: added
1774 2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
1776 * System.Data/DataTableRelationCollection.cs: use 'new' keyword
1777 for correctly hiding parent class' members.
1778 (AddRange): use 'override' keyword on overriden method.
1780 (Contains): likewise.
1781 (IndexOf): likewise.
1782 (OnCollectionChanged): likewise.
1783 (OnCollectionChanging): likewise.
1784 (RemoveCore): likewise.
1786 * System.Data/DataColumnCollection.cs: use 'new' keyword.
1788 * System.Data/DataSet.cs: added missing 'using's.
1790 2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
1792 * System.Data/DataSet.cs:
1793 * System.Data/DataTableCollection.cs:
1794 * System.Data/DataView.cs: compilation fixes on Linux.
1796 2002-04-28 Daniel Morgan <danmorg@sc.rr.com>
1798 * System.Data/DataRelation.cs
1799 * System.Data/ForeignKeyConstraint.cs
1800 * System.Data/UniqueConstraint.cs: added more stubs
1802 * System.Data/DataTableRelationCollection.cs: added back to cvs
1803 and modified for compile errors. DataRelationCollection is an
1804 abstract class and there must be a class that implements for
1805 DataTable/DataSet. DataTableRelationCollection was changed
1806 to an internal class.
1808 * System.Data.build: modified - new files added
1809 also wanted to include files/classes in the build
1810 so we can get a compilable forward read only result set.
1811 It compiles now using csc/nant with warnings, but this
1812 is a start for adding functionality for the result set.
1813 Classes associated with/and DataSet are still excluded.
1815 * TODO: modified - updated to do list for System.Data
1817 * System.Data/Constraint.cs
1818 * System.Data/ConstraintCollection.cs
1819 * System.Data/DataRelationCollection.cs
1820 * System.Data/DataRow.cs
1821 * System.Data/DataRowChangeEventArgs.cs
1822 * System.Data/DataRowCollection.cs
1823 * System.Data/DataTable.cs
1824 * System.Data/DataTableCollection.cs
1825 * System.Data/InternalDataCollectionBase.cs
1826 * System.Data/PropertyCollection.cs: modified -
1827 changes to compile SqlDataReader/DataTable and
1830 * System.Data/IDbCommand.cs
1831 * System.Data.SqlClient/SqlCommand.cs: modified -
1832 un-commented overloaded methods ExecuteReader
1833 which returns a SqlDataReader
1835 2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
1837 * System.Data/DataTableCollection.cs: more implementation.
1838 (Count): added 'override' keyword, as pointer out by Martin.
1840 * System.Data.Common/DataColumnMappingCollection.cs (Add, AddRange):
1841 only call Array.Copy when there is really stuff to be copied.
1842 (CopyTo): don't create the temporary array, it's not needed.
1844 * System.Data.build: excluded newly added file from build.
1846 2002-04-27 Rodrigo Moya <rodrigo@ximian.com>
1848 * System.Data/DataTableRelationCollection.cs: removed, it's not
1849 on MS SDK documentation.
1851 * System.Data/DataTableCollection.cs: new class.
1853 2002-04-27 Daniel Morgan <danmorg@sc.rr.com>
1855 * System.Data/DataRowChangeEventArgs.cs
1856 * System.Data/DataRowCollection.cs
1857 * System.Data/DataView.cs
1858 * System.Data/PropertyCollection.cs: added new stubs
1860 * System.Data.build: modified - added new files to exclude
1863 * TODO: modified - removed files from TODO list
1864 that were stubbed above
1866 * System.Data/DataColumn.cs
1867 * System.Data/DataRow.cs: modified - various tweaks
1868 and added internal method SetTable to set the reference
1871 * System.Data/DataSet.cs: modified - class was not
1874 * System.Data/DataTable.cs: modified - temporarily commented
1875 DataSet and DataView references - trying to compile a SqlDataReader,
1876 DataTable, and dependencies for a forward read-only result set.
1877 SqlDataAdapter, DataSet, and DataView will come later once we can get
1878 a forward read only result set working.
1880 * System.Data/IDataRecord.cs: modified - source code lines should
1883 * System.Data/InternalDataCollectionBase.cs: modified - started
1884 implementing this base class for collection of data rows,
1885 columns, tables, relations, and constraints
1887 * System.Data.SqlClient/SqlException.cs: modified -
1888 call base(message) so a unhandled exception displays
1889 the message of a SQL error instead of the
1890 default SystemException message
1892 * Test/TestSqlException.cs: modified -
1893 handle the rollback properly for a SqlException on a
1896 2002-04-23 Daniel Morgan <danmorg@sc.rr.com>
1898 * System.Data.build: modified - added new
1899 files to exclude from build
1901 * System.Data/Constraint.cs
1902 * System.Data/ConstraintCollection.cs
1903 * System.Data/InternalDataCollectionBase.cs: added -
1904 stubs which are needed to build DataTable.cs
1906 * TODO: modified - added more classes TODO and
1907 added more stuff TODO, such as, create script
1908 to create test database monotestdb for testing
1909 classes in System.Data
1911 2002-04-23 Rodrigo Moya <rodrigo@ximian.com>
1913 * System.Data.Common/DataAdapter.cs:
1914 * System.Data.Common/DataColumnMappingCollection.cs:
1915 * System.Data.Common/DataTableMappingCollection.cs:
1916 * System.Data.Common/DbDataPermission.cs:
1917 * System.Data.Common/DbDataPermissionAttribute.cs: some
1918 compilation errors fixed.
1920 2002-04-23 Daniel Morgan <danmorg@sc.rr.com>
1922 * TODO: modified - added classes TODO, and
1923 a poor attempt at System.Data plan
1925 2002-04-23 Daniel Morgan <danmorg@sc.rr.com>
1927 * ChangeLog: modified - put tabs where they belong
1929 * System.Data.SqlClient/SqlDataReader.cs
1930 * System.Data/DataColumn.cs: modified - compile errors
1931 trying to compile SqlDataAdapter and dependencies
1933 2002-04-23 Daniel Morgan <danmorg@sc.rr.com>
1935 * System.Data.SqlTypes/SqlBoolean.cs
1936 * System.Data.SqlTypes/SqlCompareOptions.cs
1937 * System.Data.SqlTypes/SqlInt32.cs
1938 * System.Data.SqlTypes/SqlString.cs: added - new stubs
1940 * System.Data/DataTable.cs
1941 * System.Data.SqlClient/SqlCommand.cs
1942 * System.Data.SqlClient/SqlConnection.cs
1943 * System.Data.SqlClient/SqlError.cs
1944 * System.Data.SqlClient/SqlTransaction.cs: modified -
1947 * System.Data.SqlClient/SqlException.cs: modified -
1948 missing Message on indexer for Message property
1950 2002-04-21 Daniel Morgan <danmorg@sc.rr.com>
1952 * System.Data.SqlClient/SqlCommand.cs: modified - to
1953 compile using mcs. This problem is
1954 returning a stronger type in csc vs. msc
1956 * System.Data.SqlClient/SqlConnection.cs: modified - msc
1957 can not do a using PGconn = IntPtr; and then declare
1958 with PGconn pgConn = IntPtr.Zero;
1959 Thiw works under csc though. Had to comment using and
1960 changed declaration to IntPtr pgConn = IntPtr.Zero;
1961 Also, got rid of compile warnings for hostaddr and port.
1963 * System.Data.SqlClient/SqlErrorCollection.cs: modified - got
1964 rid of compile warnings. Commented MonoTODO attribute because mcs
1965 doesn't seem to work with C# array property indexer (Item)
1968 * System.Data.SqlClient/SqlParameterCollection.cs: modified -
1969 commented MonoTODO attribute for indexer for mcs compiling
1971 * Test/TestSqlIsolationLevel.cs:
1972 * Test/TestSqlInsert.cs:
1973 * Test/TestSqlException.cs: modified -
1974 removed extra ExecuteNonQuery which caused two inserted rows
1976 2002-04-20 Daniel Morgan <danmorg@sc.rr.com>
1978 * System.Data/StateChangeEventArgs.cs - added
1979 needed to compile System.Data.dll with mcs.
1981 2002-04-20 Daniel Morgan <danmorg@sc.rr.com>
1983 * System.Data.OleDb: added directory - for OleDb database
1986 * System.Data.SqlClient/SqlClientPermission.cs
1987 * System.Data.SqlClient/SqlClientPermissionAttribute.cs
1988 * System.Data.SqlClient/SqlCommandBuilder.cs
1989 * System.Data.SqlClient/SqlInfoMessageEventHandler.cs
1990 * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs
1991 * System.Data.SqlClient/SqlRowUpdatedEventHandler.cs
1992 * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs
1993 * System.Data.SqlClient/SqlRowUpdatingEventHandler.cs
1994 * Test/TestSqlException.cs
1995 * Test/TestSqlIsolationLevel.cs: added - more tests
1997 * System.Data.build: modified - added new files - excludes these too
1999 * System.Data.SqlClient/PostgresLibrary.cs - modified - comment
2001 * System.Data.SqlClient/SqlConnection.cs
2002 * System.Data.SqlClient/SqlCommand.cs
2003 * System.Data.SqlClient/SqlTransaction.cs
2004 * System.Data.SqlClient/SqlException.cs
2005 * System.Data.SqlClient/SqlErrorCollection.cs
2006 * System.Data.SqlClient/SqlError.cs: modified - transaction and
2007 exception/error handling. SqlConnection(connectionString)
2008 constructor should not automatically connect.
2010 * System.Data.SqlClient/SqlDataReader.cs
2011 * System.Data.SqlClient/SqlDataAdapter.cs
2012 * System.Data.SqlClient/SqlParameter.cs
2013 * System.Data.SqlClient/SqlParameterCollection.cs: modified -
2014 added using System.ComponentModel;
2016 * Test/TestSqlInsert.cs: modified - to use transaction
2018 2002-04-17 Rodrigo Moya <rodrigo@ximian.com>
2020 * System.Data/DataRow.cs: new skeletons.
2022 * System.Data.Common/DataAdapter.cs:
2023 * System.Data.Common/DataColumnMapping.cs:
2024 * System.Data.Common/DataColumnMappingCollection.cs:
2025 * System.Data.Common/DataTableMapping.cs:
2026 * System.Data.Common/DataTableMappingCollection.cs:
2027 * System.Data.Common/DbDataAdapter.cs:
2028 * System.Data.Common/RowUpdatedEventArgs.cs:
2029 * System.Data.SqlClient/SqlDataAdapter.cs:
2030 * System.Data.SqlClient/SqlInfoMessageEventArgs.cs: compilation
2033 * System.Data.Common/DbDataRecord.cs:
2034 * System.Data.Common/DbEnumerator.cs: removed MS implementation
2037 2002-04-17 Daniel Morgan <danmorg@sc.rr.com>
2039 * Test/TestSqlInsert.cs: modified - do
2040 a SQL DELETE before SQL INSERT of row so you can use this
2043 * System.Data.SqlClient/SqlTransaction.cs: modified - default
2044 IsolationLevel for PostgreSQL is ReadCommitted. However,
2045 PostgreSQL allows Serializable as well.
2046 (Thanks to Gonzalo for that!)
2048 * System.Data.SqlClient/SqlConnection.cs: modified
2049 * System.Data.SqlClient/SqlCommand.cs: modified
2050 * System.Data.SqlClient/SqlTransaction.cs: modified - got transactions
2051 working; however, we still need to implement SQL errors
2052 and exceptions to properly handle transactions. Also, added
2053 status and error message support from the PostgreSQL database.
2054 Currently, this does a Console.WriteLine() to display the
2055 status and error messages, but this is a TODO
2056 for SQL errors and exceptions.
2058 * System.Data/TODOAttribute.cs: added - needed MonoTODO
2059 attribute for System.Data.dll assembly
2061 * System.Data/IDbCommand.cs: modified - commented
2062 overloaded method ExecuteReader
2063 so System.Data.SqlClient.SqlCommand can compile
2065 * System.Data/IDbCommand.cs: modified
2066 * System.Data/IDbConnection.cs: modified - added using System;
2067 * System.Data/IDataParameter.cs
2069 * System.Data.build: modified - build classes
2070 in System.Data.SqlClient and exclude others in System.Data
2072 * System.Data.SqlClient/PostgresLibrary.cs: modified - change
2073 parameter data type from IntPtr to enum ExecStatusType
2075 * ChangeLog: modified - corrected previous entries in log
2077 2002-04-16 Rodrigo Moya <rodrigo@ximian.com>
2079 * System.Data.Common/DataColumnMappingCollection.cs: added basic
2080 implementation. Still missing some stuff.
2082 2002-04-16 Daniel Morgan <danmorg@sc.rr.com>
2084 * System.Data.SqlClient/SqlConnection.cs: modified - got
2085 to compile, run, and connect to PostgreSQL database
2087 * System.Data.SqlClient/SqlCommand.cs: modified - got
2088 to compile, run, and execute a SQL INSERT command
2089 which successfully inserted a row
2090 into the PostgreSQL database
2092 * System.Data.SqlClient/SqlTransaction.cs: modified
2093 * System.Data.SqlClient/SqlParameter.cs: modified
2094 * System.Data.SqlClient/SqlParameterCollection.cs: modified
2095 * System.Data.SqlClient/SqlError.cs: modified
2096 * System.Data.SqlClient/SqlErrorCollection.cs: modified
2097 * System.Data.SqlClient/SqlException.cs: modified
2098 * System.Data.SqlClient/PostgresLibrary.cs: modified - to compile
2100 * System.Data.SqlClient/SqlAdapter: modified
2101 * System.Data.SqlClient/SqlReader: modified - add more stubs
2103 2002-04-16 Daniel Morgan <danmorg@sc.rr.com>
2105 * Test/TestSqlInsert.cs: added
2107 2002-04-15 Daniel Morgan <danmorg@sc.rr.com>
2109 * System.Data.SqlClient/SqlInfoMessageEventArgs.cs: added - using in
2110 class SqlConnecition
2111 * System.Data.SqlClient/SqlErrorCollection.cs: added
2112 * System.Data.SqlClient/SqlErrors.cs: removed - no such class SqlErrors
2114 2002-04-15 Christopher Podurgiel <cpodurgiel@msn.com>
2116 * System.Data.IDbDataParameter: Added Interface to IDataParameter.
2117 * System.Data.IDbTransaction: Added Interface to IDisposable.
2118 * System.Data.IDbCommand: Fixed Capitalization of class name.
2119 * System.Data.IDbConnection: Fixed Capitalization of class name.
2121 2002-04-15 Rodrigo Moya <rodrigo@ximian.com>
2123 * System.Data.Common/DbDataPermissionAttribute.cs:
2124 * System.Data.Common/DataAdapter.cs:
2125 * System.Data.Common/DataColumnMapping.cs:
2126 * System.Data.Common/DbDataPermission.cs: added some implementation.
2128 2002-04-15 Rodrigo Moya <rodrigo@ximian.com>
2130 * System.Data.SqlClient/SqlConnection.cs: fixed constructor chaining
2131 syntax, as pointed out by Levent Camlibel.
2133 2002-04-14 Rodrigo Moya <rodrigo@ximian.com>
2135 * System.Data.SqlTypes/SqlBinary.cs:
2136 * System.Data.SqlTypes/INullable.cs: new skeletons.
2138 2002-04-14 Daniel Morgan <danmorg@sc.rr.com>
2140 * System.Data.SqlClient/PostgresLibrary.cs: new internal class, which
2141 contains all calls the the PostgreSQL client library, to be used
2142 everywhere in System.Data.SqlClient.
2144 2002-03-30 Rodrigo Moya <rodrigo@ximian.com>
2146 * System.Data.SqlClient/SqlConnection.cs: implemented basic
2149 * System.Data.SqlTypes/SqlNullValueException.cs: new skeletons.
2151 2002-03-29 Rodrigo Moya <rodrigo@ximian.com>
2153 * System.Data.Common/DbDataRecord.cs:
2154 * System.Data.Common/DbEnumerator.cs:
2155 * System.Data.Common/RowUpdatedEventArgs.cs:
2156 * System.Data.Common/RowUpdatingEventArgs.cs:
2157 * System.Data.Common/DbDataPermissionAttribute.cs: new skeletons.
2159 2002-03-28 Rodrigo Moya <rodrigo@ximian.com>
2161 * System.Data.Common/DataTableMappingCollection.cs:
2162 * System.Data.Common/DbDataAdapter.cs:
2163 * System.Data.Common/DbDataPermission.cs:
2164 * System.Data.Common/DataTableMapping.cs: new skeletons.
2166 * System.Data.SqlClient/SqlDataAdapter.cs:
2167 * System.Data.SqlClient/SqlDataReader.cs:
2168 * System.Data.SqlClient/SqlErrors.cs:
2169 * System.Data.SqlClient/SqlError.cs:
2170 * System.Data.SqlClient/SqlException.cs:
2171 * System.Data.SqlClient/SqlParameter.cs:
2172 * System.Data.SqlClient/SqlParameterCollection.cs:
2173 * System.Data.SqlClient/SqlTransaction.cs:
2174 * System.Data.SqlClient/SqlCommand.cs: fixed skeletons.
2176 2002-03-27 Rodrigo Moya <rodrigo@ximian.com>
2178 * System.Data.Common/DataColumnMapping.cs:
2179 * System.Data.Common/DataColumnMappingCollection.cs:
2180 * System.Data.Common/DataAdapter.cs: created skeletons.
2182 * System.Data.build: exclude new directories from build.
2184 2002-03-27 Rodrigo Moya <rodrigo@ximian.com>
2186 * System.Data.SqlClient/SqlTransaction.cs: started implementation.
2188 * System.Data.SqlClient/SqlConnection.cs (BeginTransaction):
2189 implemented (2 methods).
2191 2002-03-24 Duncan Mak <duncan@ximian.com>
2193 * System.Data.build: Excluded System.Data.SqlClient from the build.
2194 The stubs are incomplete and they are stopping the build.
2196 * System.Data.SqlClient/SqlCommand.cs: Replaced 'implements' with ':'.
2198 2002-03-24 Rodrigo Moya <rodrigo@ximian.com>
2200 * System.Data.SqlClient/*: added skeletons for the SQL managed
2201 provider for ADO.Net, to be based initially in PostgreSQL.
2203 2002-03-15 Christopher Podurgiel <cpodurgiel@msn.com>
2205 Changed the Namespace on some Enums from mono.System.Data to System.Data
2207 2002-03-01 Christopher Podurgiel <cpodurgiel@msn.com>
2209 * DataColumnCollection.cs : When an existing DataColumn is added, will now Assign a
2210 default name if the ColumnName is null.
2211 * DataSet.cs : Added
2212 * DataTable.cs : Added
2213 * DataRelationCollection.cs : Added
2214 * DataTableRelationCollection.cs : Added
2215 * DataColumn : Added
2217 2002-02-11 Christopher Podurgiel <cpodurgiel@msn.com>
2219 * DataColumnChangeEventArgs.cs : Added
2220 * DataColumnCollection.cs : Added
2222 2002-02-10 Christopher Podurgiel <cpodurgiel@msn.com>
2224 * Removed *.cs from System.Data as the correct files are in mcs/class/System.Data/System.Data
2225 * Updated all Enums, Interfaces, and Delegates in System.Data