7b1a0e8f5634c920a8ac0545cc77e2e7d910c8fa
[mono.git] / mcs / class / System.Data / ChangeLog
1 2002-12-01  Tim Coleman <tim@timcoleman.com>
2         * System.Data.SqlClient/SqlDataReader.cs:
3                 Change to reflect TdsSchemaInfo -> TdsDataColumnCollection
4                 shift.
5
6 2002-12-01  Ville Palo <vi64pa@koti.soon.fi>
7
8         * list: Added XmlDataDocument.cs
9         * System.Xml/XmlDataDocument.cs: more implementation.
10         
11 2002-11-30  Daniel Morgan <danmorg@sc.rr.com>
12
13         * System.Data.Odbc/OdbcDataReader.cs: implemented GetValues() method
14         needed by OdbcDataAdapter
15         
16         * System.Data.Odbc/OdbcDataAdapter.cs\r
17         * System.Data.Odbc/OdbcRowUpdatedEventArgs.cs\r
18         * System.Data.Odbc/OdbcRowUpdatedEventHandler.cs\r
19         * System.Data.Odbc/OdbcRowUpdatingEventArgs.cs\r
20         * System.Data.Odbc/OdbcRowUpdatingEventHandler.cs: added files for an
21         ODBC Data Adapter
22
23         * list: added new files to linux build 
24         in namespace System.Data.Odbc for the ODBC Data Adapter
25         
26         * System.Xml/XmlDataDocument.cs: commented method
27         protected internal override XPathNavigator CreateNavigator(XmlNode node)
28         because it would not compile on .NET Framework.  Added 
29         a FIXME comment there
30
31 2002-11-29  Ville Palo <vi64pa@koti.soon.fi>
32
33         * System.Xml/XmlDataDocument.cs: Started to implement.
34         
35 2002-11-26  Tim Coleman <tim@timcoleman.com>
36         * System.Data.SqlClient/SqlCommand.cs:
37         * System.Data.SqlClient/SqlConnection.cs:
38         * System.Data.SqlClient/SqlDataReader.cs:
39         * System.Data.SqlClient/SqlParameter.cs:
40         * System.Data.SqlClient/SqlParameterCollection.cs:
41         * System.Data.SqlClient/SqlTransaction.cs:
42                 Many changes around restructuring of parameter
43                 information so that the Sybase provider supports
44                 PREPAREs too.
45
46 2002-11-25  Ville Palo <vi64pa@koti.soon.fi>
47
48         * System.Data/DataSet.cs : Started to implement ReadXmlSchema -method
49         
50 2002-11-21  Tim Coleman <tim@timcoleman.com>
51         * System.Data.build:
52         * System.Data.SqlClient/SqlCommand.cs:
53         * System.Data.SqlClient/SqlConnection.cs:
54         * System.Data.SqlClient/SqlConnectionPool.cs:
55         * System.Data.SqlClient/SqlDataReader.cs:
56         * System.Data.SqlClient/SqlException.cs:
57         * System.Data.SqlClient/SqlInfoMessageEventArgs.cs:
58         * System.Data.SqlClient/SqlParameter.cs:
59         * System.Data.SqlClient/SqlTransaction.cs:
60         * System.Data.SqlClient/SqlXmlTextReader.cs:
61         * System.Data.SqlTypes/SqlDecimal.cs:
62                 Modify to accept new Mono.Data.Tds.Protocol
63                 namespace in Mono.Data.Tds assembly, replacing
64                 Mono.Data.TdsClient.Internal
65
66 2002-11-20  Ville Palo <vi64pa@koti.soon.fi>
67
68         * System.Data.SqlTypes/SqlDecimal.cs: Ported some divide-stuff from 
69         decimal.c file. Does not work correctly yet.
70         
71 2002-11-18  Tim Coleman <tim@timcoleman.com>
72         * System.Data.SqlClient/SqlConnection.cs:
73                 BeginTransaction bug.
74         * System.Data.SqlClient/SqlParameter.cs:
75                 Add some comments to describe what is going on.
76         * System.Data.SqlClient/SqlCommand.cs:
77                 Add a TODO.
78         * System.Data.SqlClient/SqlDataReader.cs:
79                 Add support to get SQL Types
80
81 2002-11-16  Daniel Morgan <danmorg@sc.rr.com>
82
83         * System.Data/DataView.cs: fix bug
84         with DataViewEnumerator causing InvalidOperationException
85         on the last item
86
87 2002-11-15  Tim Coleman <tim@timcoleman.com>
88         * System.Data.Common/DbDataPermission.cs:
89         * System.Data.SqlClient/SqlClientPermission.cs:
90                 Make these agree on the class status page.
91         * System.Data.SqlClient/SqlCommand.cs:
92                 - Fix up handling of GUID and [Var]Binary, and Image types
93         * System.Data.SqlClient/SqlParameter.cs:
94                 - Provide support for conversion between Type,
95                   DbType, SqlDbType, and the SQL server type names.
96                 - Fix up handling of GUID and [Var]Binary types
97         * System.Data.SqlClient/SqlParameterCollection.cs:
98                 Correct all of the Add methods.
99         * Test/SqlTest.cs:
100                 - Add more types to test: unique identifier, binary,
101                   image, smalldatetime, money, smallmoney, timestamp
102
103 2002-11-14  Daniel Morgan <danmorg@sc.rr.com>
104
105         * System.Data/DataColumnPropertyDescriptor.cs
106         * System.Data/DataRowView.cs
107         * System.Data/DataView.cs
108         * System.Data.Common/DbDataRecord.cs: a little bit more
109         implementation for data binding purposes
110         
111         * Test/PostgresTest.cs
112         * Test/TestSqlDataAdapter.cs
113         * Test/TestSqlException.cs
114         * TestSqlParameters.cs: fixed test for PostgreSQL's new home
115         at Mono.Data.PostgreSqlClient
116
117 2002-11-14  Tim Coleman <tim@timcoleman.com>
118         * System.Data.SqlClient/SqlCommand.cs:
119                 Slight reformatting of Bit values and sql statements
120         * System.Data.SqlClient/SqlDataReader.cs:
121                 Implement RecordsAffected
122                 Complete SchemaTable
123         * System.Data.SqlClient/SqlParameter.cs:
124                 Propertly support Char/NChar
125         * System.Data.SqlClient/SqlXmlTextReader.cs:
126                 Add Close () to the Dispose () method
127
128 2002-11-13  Tim Coleman <tim@timcoleman.com>
129         * Test/SqlTest.cs:
130                 New class added for testing SqlClient
131         * System.Data.SqlClient/SqlCommand.cs:
132                 Add handling for SqlDbType.Bit
133         * System.Data.SqlClient/SqlConnection.cs:
134                 Implement Dispose () methods.
135                 Change ConnectionString setter
136         * System.Data.SqlClient/SqlDataReader.cs:
137                 Implement Dispose () methods.
138                 Set RecordsAffected to -1 by default. Need to
139                 set this correctly in the future.
140         * System.Data.SqlClient/SqlCommandBuilder.cs:
141         * System.Data.SqlClient/SqlDataAdapter.cs:
142         * System.Data.SqlClient/SqlTransaction.cs:
143         * System.Data.SqlClient/SqlXmlTextReader.cs:
144                 Implement Dispose () methods.
145
146 2002-11-12  Tim Coleman <tim@timcoleman.com>
147         * list:
148                 Remove Mono.Data.TdsClient.Internal/TdsContext.cs
149         * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs:
150         * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs:
151                 Complete these classes
152         * System.Data.Common/DbDataAdapter.cs:
153                 Experimental support for FillSchema ()
154
155 2002-11-11  Tim Coleman <tim@timcoleman.com>
156         * System.Data/ResDescriptionAttribute.cs:
157         * list
158                 New internal class added
159         * System.Data/Constraint.cs:
160         * System.Data/ConstraintCollection.cs:
161         * System.Data/DBConcurrencyException.cs:
162         * System.Data/DataColumn.cs:
163         * System.Data/DataColumnCollection.cs:
164         * System.Data/DataRelation.cs:
165         * System.Data/DataRelationCollection.cs:
166         * System.Data/DataRow.cs:
167         * System.Data/DataRowBuilder.cs:
168         * System.Data/DataRowBuilder.cs:
169         * System.Data/DataRowCollection.cs:
170         * System.Data/DataSet.cs:
171         * System.Data/DataTable.cs:
172         * System.Data/DataTableCollection.cs:
173         * System.Data/DataView.cs:
174         * System.Data/DataViewManager.cs:
175         * System.Data/DataViewSetting.cs:
176         * System.Data/DataViewSettingCollection.cs:
177         * System.Data/ForeignKeyConstraint.cs:
178         * System.Data/ForeignKeyConstraint.cs:
179         * System.Data/InternalDataCollectionBase.cs:
180         * System.Data/MergeFailedEventArgs.cs:
181         * System.Data/StrongTypingException.cs:
182         * System.Data/TypeDataSetGeneratorException.cs:
183         * System.Data/UniqueConstraint.cs:
184         * System.Data.Common/DataAdapter.cs:
185         * System.Data.Common/DataColumnMapping.cs:
186         * System.Data.Common/DataColumnMappingCollection.cs:
187         * System.Data.Common/DataTableMapping.cs:
188         * System.Data.Common/DataTableMappingCollection.cs:
189         * System.Data.Common/DbDataAdapter.cs:
190         * System.Data.Common/DbDataPermission.cs:
191         * System.Data.Common/DbDataPermissionAttribute.cs:
192         * System.Data.Common/DbEnumerator.cs:
193         * System.Data.SqlClient/SqlCommand.cs:
194         * System.Data.SqlClient/SqlCommandBuilder.cs:
195         * System.Data.SqlClient/SqlConnection.cs:
196         * System.Data.SqlClient/SqlDataAdapter.cs:
197         * System.Data.SqlClient/SqlParameter.cs:
198                 Add missing attributes, methods, properties based on information
199                 from System.Data class status page on go-mono.com.
200
201
202 2002-11-10  Ville Palo <vi64pa@koti.soon.fi>
203
204         * System.Data.SqlTypes/SqlString.cs: Now all methods are implemented
205         
206 2002-11-09  Tim Coleman <tim@timcoleman.com>
207         * list:
208         * System.Data/DataCategoryAttribute.cs:
209                 Add new attribute based on corcompare
210
211 2002-11-09  Rodrigo Moya <rodrigo@ximian.com>
212
213         * System.Data.OleDb/OleDbDataAdapter.cs: cleaned up implementation,
214         based on the PgSql/SqlClient data adapter classes.
215
216 2002-11-09  Tim Coleman <tim@timcoleman.com>
217         * list:
218                 Add new internal tds classes
219         * System.Data.Common/DbDataAdapter.cs:
220         * System.Data.SqlClient/SqlDataAdapter.cs:
221                 Change event calling system
222         * System.Data.SqlClient/SqlClientPermission.cs:
223         * System.Data.SqlClient/SqlClientPermissionAttribute.cs:
224         * System.Data.SqlClient/SqlDataReader.cs:
225                 Add comments
226         * System.Data.SqlClient/SqlCommand.cs:
227                 Some changes to make consistent with .NET based on Sql server traces
228                 Implement command timeout
229         * System.Data.SqlClient/SqlCommandBuilder.cs:
230                 Make sure that we only build a command if key info found
231         * System.Data.SqlClient/SqlConnection.cs:
232                 Change event calling system
233                 Some changes to make consistent with .NET based on Sql server traces
234                 Implement connection timeout
235         * System.Data.SqlClient/SqlConnectionPool.cs:
236                 Implement connection timeout
237         * System.Data.SqlClient/SqlError.cs:
238                 Implement ToString ()
239         * System.Data.SqlClient/SqlException.cs:
240                 Mucho implementation and cleanup
241         * System.Data.SqlClient/SqlParameter.cs:
242                 Implement Clone ()
243         * System.Data.SqlClient/SqlParameterCollection.cs:
244                 Code cleanup
245         * System.Data.SqlClient/SqlTransaction.cs:
246                 Move some of the transaction creation to SqlConnection to be consistent
247                 with .NET SQL traces
248
249 2002-11-08  Tim Coleman <tim@timcoleman.com>
250         * System.Data/DataRow.cs:
251         * System.Data/DataTable.cs:
252                 Some fix-ups related to the DbDataAdapter to make it work.
253         * System.Data.Common/DbDataAdapter.cs:
254                 Fix the Fill () and Update () methods.  These now work
255                 fairly well.  Need mucho testing.
256         * System.Data.SqlClient/SqlCommandBuilder.cs:
257                 Support table mappings and parameter source versions now.
258         * System.Data.SqlClient/SqlConnection.cs:
259         * System.Data.SqlClient/SqlTransaction.cs:
260                 Add set accessor for transaction so that SqlTransaction.Commit ()
261                 will remove itself from the connection.
262         * System.Data.SqlClient/SqlDataAdapter.cs:
263                 Update/Insert/Delete command should be null by default.
264         * System.Data.SqlClient/SqlException.cs:
265                 Remove a TODO attribute
266         * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs:
267                 Properly handle the SqlCommand object
268
269 2002-11-08  Ville Palo <vi64pa@koti.soon.fi>
270
271         * System.Data.SqlTypes/SqlDateTime.cs: Now the all methods are 
272         implemented.
273         
274 2002-11-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
275
276         * System.Data.SqlTypes/SqlDecimal.cs: fixed build. Someone should check
277         my comments and do something more appropiate.
278
279 2002-11-07  Ville Palo <vi64pa@koti.soon.fi>
280
281         * System.Data.SqlTypes/SqlBinary.cs:
282         * System.Data.SqlTypes/SqlBoolean.cs:
283         * System.Data.SqlTypes/SqlByte.cs:
284         * System.Data.SqlTypes/SqlDateTime.cs:
285         * System.Data.SqlTypes/SqlDecimal.cs:
286         * System.Data.SqlTypes/SqlDouble.cs:
287         * System.Data.SqlTypes/SqlDecimal.cs:
288         * System.Data.SqlTypes/SqlGuid.cs:
289         * System.Data.SqlTypes/SqlInt16.cs:
290         * System.Data.SqlTypes/SqlInt32.cs:
291         * System.Data.SqlTypes/SqlInt64.cs:
292         * System.Data.SqlTypes/SqlMoney.cs:
293         * System.Data.SqlTypes/SqlSingle.cs:
294         * System.Data.SqlTypes/SqlString.cs: Implemented more methods and 
295         fixed some. SqlBoolean Equals (object value) -method improvements to
296         all classes.
297         
298 2002-11-07  Tim Coleman <tim@timcoleman.com>
299         * System.Data.Common/DbDataAdapter.cs:
300                 Remove NotImplementedException in Dispose
301         * System.Data.Common/FieldNameLookup.cs:
302                 Should be sealed
303         * System.Data.SqlClient/SqlCommand.cs:
304                 Fix CommandText accessor (stack overflow)
305                 Implement DeriveParameters method
306         * System.Data.SqlClient/SqlCommandBuilder.cs:
307                 Implement this class
308         * System.Data.SqlClient/SqlConnection.cs:
309                 Change application name to "Mono SqlClient Data Provider"
310         * System.Data.SqlClient/SqlDataReader.cs:
311                 Add new schema information
312         * System.Data.SqlClient/SqlError.cs:
313         * System.Data.SqlClient/SqlErrorCollection.cs:
314                 Remove internal methods, TODO attributes
315         * System.Data.SqlClient/SqlParameter.cs:
316                 Add new internal constructor for DeriveParameters use
317         * System.Data.SqlClient/SqlParameterConverter.cs:
318                 Add missing methods based on class status
319
320 2002-11-07  Nick Drochak <ndrochak@gol.com>
321         * list: add System.Data/ColumnDataPropertyDescriptor.cs
322
323 2002-11-04  Tim Coleman <tim@timcoleman.com>
324         * list:
325                 Add Mono.Data.TdsClient.Internal.TdsInternalError
326                 Add Mono.Data.TdsClient.Internal.TdsInternalErrorCollection
327                 Add Mono.Data.TdsClient.Internal.TdsInternalErrorMessageEventHandler
328                 Add Mono.Data.TdsClient.Internal.TdsInternalErrorMessageEventArgs
329                 Add Mono.Data.TdsClient.Internal.TdsInternalInfoMessageEventHandler
330                 Add Mono.Data.TdsClient.Internal.TdsInternalInfoMessageEventArgs
331                 Remove Mono.Data.TdsClient.Internal.TdsPacketErrorResult
332                 Remove Mono.Data.TdsClient.Internal.TdsPacketErrorResultCollection
333                 Remove Mono.Data.TdsClient.Internal.TdsPacketMessageResult
334         * System.Data.Common/RowUpdatedEventArgs.cs:
335         * System.Data.Common/RowUpdatingEventArgs.cs:
336                 Implement
337         * System.Data.SqlClient/SqlCommand.cs:
338         * System.Data.SqlClient/SqlDataReader.cs:
339                 Remove checks for errors.  These are now handled by events
340         * System.Data.SqlClient/SqlConnection.cs:
341         * System.Data.SqlClient/SqlError.cs:
342         * System.Data.SqlClient/SqlException.cs:
343         * System.Data.SqlClient/SqlInfoMessageEventArgs.cs:
344                 Add event handlers and triggers for errors, messages, state change
345         * System.Data.SqlClient/SqlParameter.cs:
346                 Re-add refreshproperties
347         * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs:
348         * System.Data.SqlClient/SqlRowUpdatedEventHandler.cs:
349         * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs:
350         * System.Data.SqlClient/SqlRowUpdatingEventHandler.cs:
351                 Implement
352
353 2002-11-04  Tim Coleman <tim@timcoleman.com>
354         * list:
355                 Add Mono.Data.TdsClient.Internal.TdsBigDecimal
356                 Add System.Data.SqlClient.SqlParameterConverter
357                 Add System.Data.DataSysDescriptionAttribute
358         * System.Data/DataSysDescriptionAttribute.cs:
359                 New class added
360         * System.Data.Common/DbDataPermission.cs:
361                 Add CreateInstance method
362         * System.Data.SqlClient/SqlClientPermission.cs:
363         * System.Data.SqlClient/SqlError.cs:
364                 Add Serializable attribute
365         * System.Data.SqlClient/SqlCommand.cs:
366         * System.Data.SqlClient/SqlConnection.cs:
367         * System.Data.SqlClient/SqlDataAdapter.cs:
368         * System.Data.SqlClient/SqlParameter.cs:
369                 Add some missing property attributes
370         * System.Data.SqlClient/SqlCommandBuilder.cs:
371                 Add some missing property attributes
372                 Implement properties
373         * System.Data.SqlClient/SqlDataReader.cs:
374                 Implement missing methods
375         * System.Data.SqlClient/SqlErrorCollection.cs:
376                 Implement the properties
377         * System.Data.SqlClient/SqlException.cs:
378                 Remove extra property accessors
379         * System.Data.SqlClient/SqlInfoMessageEventArgs.cs:
380                 Add internal constructor
381         * System.Data.SqlClient/SqlParameterCollection.cs:
382                 Add internal constructor
383                 Add property attributes
384         * System.Data.SqlClient/SqlParameterConverter.cs:
385                 New internal class added
386         * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs:
387         * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs:
388                 Remove destructor
389         * System.Data.SqlTypes/SqlDecimal.cs:
390                 Add implicit conversion from TdsBigDecimal to SqlDecimal
391         * System.Data.SqlTypes/SqlString.cs:
392         * System.Data.SqlTypes/SqlInt16.cs:
393         * System.Data.SqlTypes/SqlDateTime.cs:
394                 Change code to remove compiler warnings
395
396 2002-11-04  Stuart Caborn <stuart.caborn@clearswift.com>
397
398         * list: added System.Data/XmlConstants.cs to
399         Linux build
400
401     * System.Data/XmlConstants.cs: added -
402         * System.Data/DataTable.cs
403         * System.Data/DataSet.cs
404         * System.Data/DataColumn.cs
405         * System.Data/DataColumnCollection.cs
406         * System.Data/DataRelation.cs: modified -
407         Began initial implementation of WriteXml \r
408         and WriteXmlSchema. There is no support for DiffGrams \r
409         yet. In WriteSchema mode, relationships are missing, \r
410         all types are xs:string and the namespacing is not \r
411         working properly. Added support for Ordinals in the \r
412         DataColumnCollection and added support for \r
413         namespaces and prefixes.\r
414
415 2002-11-03  Ville Palo <vi64pa@koti.soon.fi>
416
417         * System.Data.SqlTypes/SqlBinary.cs: Finished and no errors generated
418         by NUnitConsole_mono.exe
419         
420 2002-11-03  Tim Coleman (tim@timcoleman.com)
421         * System.Data.SqlClient/SqlCommand.cs:
422                 Use SET NO_BROWSETABLE ON when CommandBehavior is KeyInfo
423         * System.Data.SqlClient/SqlDataReader.cs:
424                 Get more schema info if available
425         * list:
426                 Add Mono.Data.TdsClient.Internal.TdsColumnStatus
427
428 2002-11-02  Tim Coleman (tim@timcoleman.com) 
429         * System.Data.SqlClient/SqlCommand.cs:
430                 Change to use sp_executesql to run regular text queries.
431                 Now, sp_executesql for text, sp_execute for prepared,
432                 and execute for SPs means everything runs a procedure.
433         * System.Data.SqlClient/SqlParameter.cs:
434                 Allow client to set parameter name in Prepare ()
435         * System.Data.SqlClient/SqlParameterCollection.cs:
436                 Implement some methods
437         * System.Data.SqlClient/SqlDataReader.cs:
438                 Since everything is an SP now, we know that when
439                 we see DoneProc, that we are really done.
440
441 2002-11-01  Tim Coleman (tim@timcoleman.com) :
442         * System.Data.Common/DbEnumerator.cs :
443                 Throw correct exception on Reset ()
444                 Add ColumnSize to schema table.
445         * System.Data.SqlClient/SqlDataReader.cs :
446                 Add ColumnSize to schema table.
447         * System.Data.SqlClient/SqlCommand.cs :
448                 Change the way that preparing is handled.
449                 Now uses sp_prepare on the server instead of temp
450                 stored procedures because it's the Right Thing[tm] to do.
451         * System.Data.SqlClient/SqlConnection.cs :
452                 Store data readers here rather than in command
453         * System.Data.SqlClient/SqlDataReader.cs :
454                 More implementation, including binary types
455         * System.Data.SqlClient/SqlParameter.cs :
456                 Lowercase type name
457
458 2002-10-31  Tim Coleman (tim@timcoleman.com)
459         * System.Data.Common/DbDataAdapter.cs :
460                 Fix handling of nulls
461         * System.Data.Common/DbDataRecord.cs :
462                 Change GetFieldType ()
463         * System.Data.Common/DbEnumerator.cs :
464                 Add new schema information
465         * System.Data.Common/FieldNameLookup.cs :
466                 Change definition of schema
467         * System.Data.Common/SchemaInfo.cs :
468                 Add more information
469         * System.Data.SqlClient/SqlDataReader.cs :
470                 get more schema table data
471         * list :
472                 Add Mono.Data.TdsClient.Internal.TdsSchemaInfo
473
474 2002-10-31  Ville Palo <vi64pa@koti.soon.fi>
475
476         * SqlBinary.cs:
477         * SqlBoolean.cs:
478         * SqlByte.cs:
479         * SqlDecimal.cs:
480         * SqlDouble.cs:
481         * SqlInt16.cs:
482         * SqlInt64.cs:
483         * SqlString.cs: Some bugfixes and some TODOs but so much 
484         work to do.
485
486 2002-10-30  Tim Coleman (tim@timcoleman.com)
487         * System.Data.Common/FieldNameLookup.cs:
488         * System.Data.Common/SchemaInfo.cs:
489         * System.Data.SqlClient/SqlXmlTextReader.cs:
490                 New classes added
491         * list :
492                 Class list changed in build
493         * System.Data.SqlClient/SqlCommand.cs:
494                 Added support for command behaviors
495                 Refactored a bunch of code
496                 Implement ExecuteScalar
497                 Implement ExecuteXmlReader
498         * System.Data.SqlClient/SqlConnection.cs:
499                 Moved CheckForErrors here
500         * System.Data.SqlClient/SqlDataAdapter.cs:
501                 Code reformatting
502         * System.Data.SqlClient/SqlDataReader.cs:
503                 Implement GetEnumerator
504                 Fix NextResult, Read
505                 Add SqlDataReaderEnumerator private class
506         * System.Data.SqlClient/SqlParameter.cs:
507                 Move some of the Prepare code from SqlCommand to here
508         * System.Data.SqlClient/SqlTransaction.cs:
509                 Move error checking to SqlConnection
510
511 2002-10-29  Tim Coleman (tim@timcoleman.com)
512         * System.Data.SqlClient/SqlCommand.cs:
513                 Added code to handle parameters for queries
514         * System.Data.SqlClient/SqlConnection.cs:
515                 Properly handle resetting SqlConnections
516         * System.Data.SqlClient/SqlDataReader.cs:
517                 Properly handle the case where no results are returned
518         * System.Data.SqlClient/SqlParameter.cs:
519                 Default direction to Input
520         * System.Data.SqlClient/SqlParameterCollection.cs:
521                 Implement GetEnumerator
522
523 2002-10-29  Rodrigo Moya <rodrigo@ximian.com>
524
525         * makefile.gnu: added Test directory.
526
527 2002-10-29  Ville Palo <vi64pa@koti.soon.fi>
528
529         * System.Data.SqlTypes/SqlGuid.cs: Fixed some bugs and finished 
530         couple of MonoTODOs.
531         
532 2002-10-28  Tim Coleman (tim@timcoleman.com)
533         * System.Data.SqlClient/SqlCommand.cs:
534                 Add some error handling
535         * System.Data.SqlClient/SqlDataReader.cs:
536                 Add some error handling
537                 Add precision/scale to schema table
538         * System.Data.SqlClient/SqlException.cs:
539                 Generate a SqlException from TDS error
540                 collection
541         * System.Data.SqlClient/SqlTransaction.cs:
542                 Add some error handling
543
544
545 2002-10-28  Ville Palo <vi64pa@koti.soon.fi>
546
547         * System.Data.SqlTypes/SqlBinary.cs:
548         * System.Data.SqlTypes/SqlBoolean.cs:
549         * System.Data.SqlTypes/SqlByte.cs:
550         * System.Data.SqlTypes/SqlDateTime.cs:
551         * System.Data.SqlTypes/SqlDecimal.cs:
552         * System.Data.SqlTypes/SqlDouble.cs:
553         * System.Data.SqlTypes/SqlDecimal.cs:
554         * System.Data.SqlTypes/SqlDouble.cs:
555         * System.Data.SqlTypes/SqlGuid.cs:
556         * System.Data.SqlTypes/SqlInt16.cs:
557         * System.Data.SqlTypes/SqlInt32.cs:
558         * System.Data.SqlTypes/SqlInt64.cs:
559         * System.Data.SqlTypes/Money.cs:
560         * System.Data.SqlTypes/SqlSingle.cs:
561         * System.Data.SqlTypes/SqlString.cs:
562         * System.Data.SqlTypes/SqlSingle.cs: Fixed internal loop bugs and
563         some other minor fixes.
564
565 2002-10-27  Rodrigo Moya <rodrigo@ximian.com>
566
567         * System.Data.OleDb/OleDbDataAdapter.cs (Fill, FillSchema,
568         GetFillParameters, Update): added overloaded methods.
569
570         * System.Data.OleDb/OleDbCommand.cs:
571         * System.Data.OleDb/OleDbDataReader.cs:
572         * System.Data.OleDb/OleDbConnection.cs: removed limitation of one
573         data adapter at a time. Mono's version can open as many as you want,
574         for free.
575
576 2002-10-25  Tim Coleman (tim@timcoleman.com)
577         * System.Data.SqlClient/SqlConnectionPool.cs:
578                 New class added
579         * System.Data.SqlClient/SqlClientPermission.cs:
580         * System.Data.SqlClient/SqlClientPermissionAttribute.cs:
581         * System.Data.SqlClient/SqlInfoMessageEventArgs.cs:
582         * System.Data.SqlClient/SqlInfoMessageEventHandler.cs:
583         * System.Data.SqlClient/SqlParameter.cs:
584         * System.Data.SqlClient/SqlParameterCollection.cs:
585                 Code reformatting
586         * System.Data.SqlClient/SqlCommand.cs:
587         * System.Data.SqlClient/SqlConnection.cs:
588         * System.Data.SqlClient/SqlException.cs:
589         * System.Data.SqlClient/SqlTransaction.cs:
590                 New code based on work in TDS Client
591         * list:
592                 New files added for SqlClient, and TdsClient.Internal
593         * System.Data.build:
594                 Added reference to System.EnterpriseServices.dll
595                 Still leave SqlClient out of build until danmorg
596                 can fix.
597
598 2002-10-23  Ville Palo <vi64pa@koti.soon.fi>
599
600         * System.Data.SqlTypes/SqlDouble.cs:
601         * System.Data.SqlTypes/SqlSingle.cs: Finished
602         
603 2002-10-23  Ville Palo <vi64pa@koti.soon.fi>
604         
605         * System.Data.SqlTypes/SqlByte.cs:
606         * System.Data.SqlTypes/SqlBoolean.cs:
607         * System.Data.SqlTypes/SqlInt16.cs:
608         * System.Data.SqlTypes/SqlInt32.cs:
609         * System.Data.SqlTypes/SqlInt64.cs: Finished. 
610                 
611 2002-10-21  Rodrigo Moya <rodrigo@ximian.com>
612
613         * list: removed libodbchelper.cs file, which has been removed.
614
615 2002-10-16  Tim Coleamn <tim@timcoleman.com>
616         * list:
617         * System.Data.build:
618                 Exclude compiling of System.Data.SqlClient in
619                 preparation for overhauls of that system.
620
621 2002-10-16  Daniel Morgan <danmorg@sc.rr.com>\r
622 \r
623         * ParmUtil.cs\r
624         * PostgresLibrary.cs\r
625         * PostgresTypes.cs\r
626         * SqlClientPermission.cs\r
627         * SqlClientPermissionAttribute.cs\r
628         * SqlCommand.cs\r
629         * SqlCommandBuilder.cs\r
630         * SqlConnection.cs\r
631         * SqlDataAdapter.cs\r
632         * SqlDataReader.cs\r
633         * SqlError.cs\r
634         * SqlErrorCollection.cs\r
635         * SqlException.cs\r
636         * SqlInfoMessageEventArgs.cs\r
637         * SqlInfoMessageEventHandler.cs\r
638         * SqlParameter.cs\r
639         * SqlParameterCollection.cs\r
640         * SqlRowUpdatedEventArgs.cs\r
641         * SqlRowUpdatedEventHandler.cs\r
642         * SqlRowUpdatingEventArgs.cs\r
643         * SqlRowUpdatingEventHandler.cs\r
644         * SqlTransaction.cs: thanks to Miguel de Icaza, he \r
645         copied files on the mono cvs server\r
646         from mcs/class/System.Data/System.Data.SqlClient \r
647         for the PostgreSQL provider\r
648         to mcs/class/Mono.Data.PostgreSqlClient.  \r
649         This frees up\r
650         mcs/class/System.Data/System.Data.SqlClient for \r
651         the Microsoft SQL Server provider.  \r
652         Any Mono.Data.PostgreSqlClient/Sql*.cs files\r
653         were copied on the cvs server \r
654         to Mono.Data.PostgreSqlClient/PgSql*.cs files \r
655         and the old Mono.Data.PostgreSqlClient/Sql*.cs\r
656         files were removed.  Copying, renaming, and removing\r
657         was done on the cvs server so we could keep \r
658         the cvs change history.\r
659
660 2002-10-15  Daniel Morgan <danmorg@sc.rr.com>
661
662         * System.Data.OleDb/libgda.cs: added more functions
663         to platfrom invoke into shared library libgda
664         
665         * System.Data.OleDb/OleDbDataReader.cs: implemented
666         GetSchemaTable() and GetFieldType()
667
668 2002-10-13  Daniel Morgan <danmorg@sc.rr.com>
669
670         * System.Data/DataRow.cs: don't throw exception 
671         if DBNull is false.  Had to do comment this line
672         to allow a typeof(Type).
673         
674         * System.Data.SqlClient/SqlCommand.cs: the "DataType"
675         DataColumn and DataRows in a DataTable for a schema should 
676         be typeof Type, not string.  This is to make it 
677         compatible with MS.NET
678         
679         * System.Data.SqlClient/SqlConnection.cs: the 
680         isolation level should be set before
681         beginning the transaction
682         
683         * Test/SqlSharpCli.cs: change string to Type for
684         "DataType" from a DataRow in a DataTable 
685         that contains a schema.  
686
687 2002-10-14  Rodrigo Moya <rodrigo@ximian.com>
688
689         * list: added missing Odbc files.
690
691 2002-10-09  Rodrigo Moya <rodrigo@ximian.com>
692
693         * list: added System.Data.Odbc files.
694
695 2002-10-09  Brian Ritchie <brianlritchie@hotmail.com>
696
697         * System.Data.Odbc/*: added first version of ODBC managed provider.
698
699 2002-10-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
700
701         * System.Data/ConstraintCollection.cs:
702         * System.Data/DataColumnCollection.cs:
703         * System.Data/DataRowCollection.cs:
704         * System.Data/DataTableCollection.cs:
705         * System.Data/InternalDataCollectionBase.cs: made List internal to fix
706         the build with csc. It must be a mcs bug. I will try to get a test case.
707
708 2002-10-06  Luis Fernandez <luifer@onetel.net.uk>
709
710         * System.Data/Constraint.cs (AssertConstraint): added overloaded
711         method.
712
713         * System.Data/DataColumnCollection.cs: added constraints when needed.
714
715         * System.Data/DataRow.cs: validate UniqueConstraint's.
716
717         * System.Data/DataRowCollection.cs (ValidateDataRowInternal): new
718         internal method to validate a given DataRow with respect to the
719         DataRowCollection.
720
721         * System.Data/ForeignKeyConstraint.cs (AssertConstraint): stubs for
722         new overloaded method.
723
724         * System.Data/UniqueConstraint.cs: added implementation.
725         (AseertConstraint): implemented new overloaded method.
726         
727 2002-10-01  Rodrigo Moya <rodrigo@ximian.com>
728
729         * System.Data.OleDb/OleDbConnection.cs (Open): commented code from
730         last commit, which wasn't supposed to be in CVS yet.
731
732 2002-10-01  Luis Fernandez <luifer@onetel.net.uk>
733
734         * System.Data/DataColumn.cs:
735         * System.Data/DataRow.cs:
736         * System.Data/DataRowCollection.cs:
737         * System.Data/DataTable.cs: some fixes and implementation.
738
739 2002-09-28  Vladimir Vukicevic <vladimir@pobox.com>
740
741         * System.Data.OleDb/OleDbConnection.cs: Close
742         reader properly in call to ExecuteScalar().
743
744 2002-09-07  Rodrigo Moya <rodrigo@ximian.com>
745
746         * System.Data.OleDb/OleDbConnection.cs (Open): changed to use OleDb
747         connection strings, which are then converted to GDA connection
748         strings, instead of using directly GDA data source names.
749
750         * System.Data.OleDb/libgda.cs: added more needed functions.
751         
752 2002-09-06  Franklin Wise <gracenote@earthlink.net>
753         
754         * System.Data/DataColumn.cs: More flushing out.
755
756         * System.Data/ForeignKeyConstraint.cs: Implemented GetHashCode()
757
758         * System.Data/UniqueKeyConstraint.cs: Implemented GetHashCode()
759         
760         * Tests:  See Changelog for System.Data/Test
761         
762 2002-09-04  Franklin Wise <gracenote@earthlink.net>
763         
764         * Tests:  See Changelog for System.Data/Test
765         
766         * New Files:
767                 System.Data/DataColumnCollectionTest.cs
768                 System.Data/DataRowCollectionTest.cs
769                 System.Data/DataRowTest.cs
770
771         * System.Data/DataColumn.cs:  Flushing out validation, type conversion for
772         autoincrement.  Added lots of TODO's.
773         * System.Data/DataColumnCollection.cs:  Wrote out add logic as a comment.
774         Tagged implementation with FIXME tags.  Lot's more validation
775         and setup needs to be done, much of which is now tagged as todo's
776         or FIXME's
777
778         * System.Data/DataRow.cs: Lot's of fixme's added.
779         
780         * System.Data/DataRowCollection.cs: TODO's added.
781
782         * System.Data/DataTable.cs:  Implemented PrimaryKey.  
783
784         * System.Data/UniqueConstraint.cs: Implemented related PrimaryKey
785         helpers.
786
787 2002-08-25  Rodrigo Moya <rodrigo@ximian.com>
788
789         * System.Data.OleDb/OleDbTransaction.cs (OleDbTransaction): manage
790         correctly the isolation level.
791         (IsolationLevel): likewise.
792         (~OleDbTransaction): implemented.
793
794         * System.Data.OleDb/libgda.cs: added more needed stuff.
795
796 2002-08-22  Daniel Morgan <danmorg@sc.rr.com>
797
798         * System.Data.SqlClient/SqlParameter.cs: flush
799         
800         * System.Data.SqlClient/SqlParameterCollection.cs: fixes
801         for the Item property, IndexOf, and Contains.
802         
803         * Test/SqlSharpCli.cs: added input parameters support.
804         when a query is executed, if a parameter name matches
805         a SQL# internal variable name, it uses that value for the parameter; otherwise,
806         the user is prompted for the parameter value.  Currently, it only supports 
807         string parameters.
808
809 2002-08-21  Rodrigo Moya <rodrigo@ximian.com>
810
811         * System.Data.OleDb/libgda.cs: adapted to changes in libgda (get_vtype
812         and get_type for GdaValue).
813
814         * System.Data.OleDb/OleDbDataReader.cs: adapted to changes in
815         libgda.cs.
816
817 2002-08-20  Rodrigo Moya <rodrigo@ximian.com>
818
819         * System.Data.OleDb/OleDbConnection.cs (DataReader): new internal
820         property.
821         (Close): set the dataReader to null.
822
823         * System.Data.OleDb/OleDbDataReader.cs (OleDbDataReader): set the
824         connection's DataReader property to this object.
825         (Close): set it to null here.
826         (Depth, IsDbNull): implemented.
827         (this): implemented the Item property with a string indexer.
828
829         * System.Data.OleDb/OleDbCommand.cs (ExecuteNonQuery, ExecuteReader,
830         ExecuteScalar): do nothing if there's already an open data reader.
831
832         * System.Data.OleDb/libgda.cs: more API functions.
833
834         * System.Data.OleDb/TestOleDb.cs (TestDataReader): close the data
835         reader before continuing.
836
837 2002-08-20  Franklin Wise <gracenote@earthlink.net>
838         
839         * System.Data/System.Data.build: added nowarn:0679
840
841         * System.Data/System.DataTable: cleaned up class, added MonoTODO tags
842         setup to begin implementing.  Implemented ctor().
843
844         * Tests: See System.Data\Test\ChangeLog
845         
846
847 2002-08-19  Rodrigo Moya <rodrigo@ximian.com>
848
849         * System.Data.OleDb/OleDbSchemaGuid.cs: initialize static members.
850         
851 2002-08-19  Franklin Wise <gracenote@earthlink.net>
852         
853         * Tests: See System.Data\Test\ChangeLog
854         
855         * System.Data/UniqueConstraint.cs: More validation.
856         
857         * System.Data/ForeignKeyConstraint.cs: Added more validation rules.
858         Another LAMESPEC tag.  Implemented more of Add/Remove Setup/Cleanup
859         logic.
860         
861         * System.Data/DataTable.cs: Added more MonoTODO tags
862         
863         * class/System.Data/.cvsignore: added tmp & Temp
864
865         * System.Data/Constraint.cs: Changed abstract helpers to virtual and
866         internal.
867
868         * System.Data/ConstraintCollection.cs: Commented out unused line.
869
870 2002-08-18  Rodrigo Moya <rodrigo@ximian.com>
871
872         * System.Data.OleDb/OleDbConnection.cs (ChangeDatabase): implemented.
873
874         * System.Data.OleDb/OleDbException.cs (OleDbException): added internal
875         constructor.
876         (ErrorCode, Message, Source, Errors): implemented.
877
878         * System.Data.OleDb/OleDbError.cs: implemented the full class.
879
880         * System.Data.OleDb/libgda.cs: added more libgda functions.
881
882         * System.Data.OleDb/TestOleDb.cs (TestOleDb): display properties for
883         the opened connection.
884
885 2002-08-18  Rodrigo Moya <rodrigo@ximian.com>
886
887         * System.Data.OleDb/OleDbConnection.cs (ServerVersion): implemented.
888
889         * System.Data.OleDb/OleDbDataReader.cs (Close): clear the results
890         ArrayList after releasing the items.
891         (GetName, GetDateTime, GetDouble, GetSingle, GetInt16, GetInt32,
892          GetOrdinal, GetString): implemented.
893         (GetDataTypeName): made it get the type from the data model, not from
894         the current value, which could not have been retrieved yet.
895         (GetValue): call the Get* method corresponding with the data type of
896         the requested column.
897
898         * System.Data.OleDb/libgda.cs: added more libgda functions.
899         (GdaTimestamp, GdaDate, GdaTime): new marshalled structures.
900
901         * System.Data.OleDb/TestOleDb.cs (TestDateReader): display column
902         titles via OleDbDataReader.GetName ().
903         (TestOleDb): create temporary table with a date field.
904         (InsertRow): set current date for the date field.
905
906 2002-08-18  Rodrigo Moya <rodrigo@ximian.com>
907
908         * System.Data.OleDb/OleDbDataReader.cs (this[]): made it just call
909         GetValue, which will take care of all the work needed.
910         (Close): implemented basic stuff.
911         (~OleDbDataReader): implemented.
912
913         * System.Data.OleDb/libgda.cs: added more needed functions.
914
915 2002-08-16  Rodrigo Moya <rodrigo@ximian.com>
916
917         * System.Data.OleDb/TestOleDb.cs: made it work with a temporary table
918         we create.
919         (TestTransaction): added test for transactions.
920
921 2002-08-16  Rodrigo Moya <rodrigo@ximian.com>
922
923         * System.Data.OleDb/libgda.cs: added new needed libgda functions.
924
925         * System.Data.OleDb/OleDbDataReader.cs (GetBoolean): throw exceptions
926         when there are errors.
927         (GetByte, GetChar, GetDataTypeName, GetValue, Read): implemented.
928
929         * System.Data.OleDb/TestOleDb.cs: added more testing code for data
930         readers.
931
932 2002-08-15  Rodrigo Moya <rodrigo@ximian.com>
933
934         * System.Data.OleDb/libgda.cs: added new needed libgda functions.
935
936         * System.Data.OleDb/OleDbParameterCollection.cs (GdaParameterList):
937         create an empty GdaParameterList.
938
939         * System.Data.OleDb/OleDbCommand.cs (ExecuteReader): check values
940         for NULL before passing them to Marshal.PtrToStructure, which issues
941         an exception if the value is NULL.
942
943 2002-08-15  Rodrigo Moya <rodrigo@ximian.com>
944
945         * System.Data/UniqueConstraint.cs (UniqueConstraint): commented
946         unreachable code to avoid compiler warning.
947
948         * System.Data.OleDb/libgda.cs (GdaList): added new internal class.
949
950         * System.Data.OleDb/OleDbConnection.cs (DataSource): implemented.
951         (OpenReader): removed internal method.
952
953         * System.Data.OleDb/OleDbCommand.cs (ExecuteReader): split correctly
954         the list of returned data models.
955
956 2002-08-15  Franklin Wise <gracenote@earthlink.net>
957         
958         * System.Data/Constraint.cs: Added helper virtual functions
959
960         * System.Data/ConstraintCollection.cs: Improved constraint removal,
961         validation.  Removed specific knowledge of subclasses of 
962         Constraint.
963
964         * System.Data/DataColumn.cs: Added static helper function to compare
965         if two DataColumn arrays are the same.
966
967         * System.Data/ForeignKeyConstraint.cs: Continued to flush out.
968
969         * System.Data/UniqueConstraint.cs: Implemented.  Still some constraint
970         validation to do.
971         
972 2002-08-13  Franklin Wise <gracenote@earthlink.net>
973
974         * System.Data/DataRow.cs: Added several fixme tags.
975         
976 2002-08-13  Rodrigo Moya <rodrigo@ximian.com>
977
978         * System.Data.SqlClient/SqlDataAdapter.cs (DeleteCommand,
979         InsertCommand, SelectCommand, UpdateCommand): removed 'new' keyword
980         to avoid compiler warnings.
981
982 2002-08-12  Franklin Wise <gracenote@earthlink.net>
983
984         * System.Data/Constraint.cs: Implemented
985
986         * System.Data/UniqueConstraint.cs: GetHashCode() &
987         special case Ctor. Still need to be implemented. LAMESPEC tags
988         added.
989
990         * System.Data/ConstraintCollection.cs: Clear() &
991         AddRange() need to be finished. Several LAMESPEC tags.
992
993         * Allow Constraint collection to be created in DataTable.
994
995         * System.Data/ForeignKeyConstraint: Added a couple of
996         helper functions.
997
998         * System.Data/DataColumnCollection New/Added DataColumns now have
999         Table property set.
1000
1001 2002-08-11  Rodrigo Moya <rodrigo@ximian.com>
1002
1003         * System.Data.OleDb/libgda.cs: added some GdaValue functions.
1004
1005         * System.Data.OleDb/OleDbCommand.cs (OpenReader): removed this
1006         internal method, since we don't need it.
1007         (ExecuteReader): call SetupGdaCommand before executing the command
1008         via libgda functions.
1009         (ExecuteScalar): implemented.
1010
1011         * System.Data.OleDb/OleDbDateReader.cs (OleDbDataReader): removed call
1012         to OleDbCommand.OpenReader.
1013         (GetBoolean): implemented.
1014
1015 2002-08-08  Franklin Wise <gracenote@earthlink.net>
1016
1017         * System.Data/IDbComand.cs: IDbCommand now inherits IDisposable
1018
1019         * System.Data/IDbConnection.cs: IDbConnection now inherits IDisposable
1020
1021         * System.Data.SqlTypes/SqlCompareOptions.cs: Enum now set to correct
1022         values.
1023
1024 2002-08-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1025
1026         * System.Data.OleDb/OleDbConnection.cs: little fixes to make it work
1027         and don't show a warning in Open.
1028
1029         * System.Data.OleDb/TestOleDb.cs: added Close.
1030
1031 2002-08-05  Rodrigo Moya <rodrigo@ximian.com>
1032
1033         * System.Data.OleDb/OleDbConnection.cs (ConnectionString,
1034         ConnectionTimeout, ServerVersion, GdaConnection):
1035         corrected style.
1036         (OleDbConnection): call libgda.gda_init on constructor.
1037
1038         * System.Data.OleDb/libgda.cs (libgda): removed static constructor,
1039         which wasn't been called.
1040
1041         * System.Data.OleDb/TestOleDb.cs (TestOleDb): updated to really
1042         make some tests.
1043
1044 2002-08-04  Rodrigo Moya <rodrigo@ximian.com>
1045
1046         * list: added missing System.Data.OleDb and
1047         System.Data.Common files.
1048
1049         * System.Data.OleDb/ChangeLog: removed and merged with
1050         System.Data's ChangeLog.
1051
1052         * System.Data.OleDb/OleDbDataAdapter.cs:
1053         * System.Data.OleDb/OleDbPermission.cs: compilation fixes.
1054
1055 2002-07-30  Rodrigo Moya <rodrigo@ximian.com>
1056
1057         * System.Data.OleDb/OleDbDataReader.cs (FieldCount): implemented.
1058         (IsClosed, Item, RecordsAffected): implemented some properties.
1059
1060         * libgda.cs: added GdaDataModel methods.
1061
1062 2002-07-29  Rodrigo Moya <rodrigo@ximian.com>
1063
1064         * System.Data.OleDb/OleDbDataReader.cs (OleDbDataReader constructor): changed to receive
1065         a second argument (ArrayList results).
1066         (NextResult): implemented.
1067
1068         * System.Data.OleDb/OleDbCommand.cs: don't store the ArrayList of results, since we'll
1069         pass that to the OleDbDataReader.
1070         (OleDbCommand constructor): don't create the ArrayList of results.
1071         (GdaResults): removed property.
1072         (ExecuteReader): create a temporary ArrayList and pass that to the
1073         OleDbDataReader constructor.
1074
1075 2002-07-28  Rodrigo Moya <rodrigo@ximian.com>
1076
1077         * System.Data.OleDb/OleDbCommand.cs (ExecuteReader):
1078         (CreateParameter): implemented IDbCommand methods.
1079         (CommandText): don't create many GdaCommand's, only one is needed.
1080         (ExecuteNonQuery): set up the internal GDA command object.
1081         (ExecuteReader): use correctly the unique GDA command object.
1082
1083         * System.Data.OleDb/libgda.cs: added new libgda calls.
1084
1085 2002-07-27  Rodrigo Moya <rodrigo@ximian.com>
1086
1087         * System.Data.OleDb/OleDbConnection.cs (CreateCommand):
1088         (BeginTransaction): implemented IDbConnection methods.
1089
1090 2002-07-12  Rodrigo Moya <rodrigo@ximian.com>
1091
1092         * list: added System.Data.OleDb files to file list.
1093
1094 2002-07-11  Rodrigo Moya <rodrigo@ximian.com>
1095
1096         * System.Data.OleDb/libgda.cs: added new libgda functions and some enumerations.
1097
1098         * System.Data.OleDb/OleDbParameter.cs (IsNullable): removed explicit implementation
1099         of the set method for this property.
1100
1101         * System.Data.OleDb/OleDbDataAdapter.cs (MissingMappingAction): implemented.
1102         (MissingSchemaAction): implemented.
1103
1104 2002-07-10  Tim Coleman <tim@timcoleman.com>
1105         
1106         * System.Data.OleDb/OleDbCommandBuilder.cs: Added new methods, properties
1107         * System.Data.OleDb/OleDbConnection.cs: Modified constructor
1108         * System.Data.OleDb/OleDbError.cs: Added stubbs
1109         * System.Data.OleDb/OleDbException.cs: Added stubbs
1110         * System.Data.OleDb/OleDbInfoMessageEventArgs.cs: Added stubbs
1111         * System.Data.OleDb/OleDbInfoMessageEventHandler.cs: style change
1112         * System.Data.OleDb/OleDbParameter.cs: Added conversion from type to OleDbType
1113         * System.Data.OleDb/OleDbPermission.cs: Added stubbs
1114         * System.Data.OleDb/OleDbSchemaGuid.cs: Added stubbs
1115         * System.Data.OleDb/OleDbTransaction.cs: New constructors, changes to methods to
1116         support transaction nesting
1117         * System.Data.OleDb/libgda.cs: Added my name to this file
1118
1119 2002-07-09  Tim Coleman <tim@timcoleman.com>
1120         
1121         * System.Data.OleDb/OleDbCommand.cs: Style changes, added new methods
1122         * System.Data.OleDb/OleDbConnection.cs: Style changes, added new methods
1123         * System.Data.OleDb/OleDbDataAdapter.cs: Implementation
1124         * System.Data.OleDb/OleDbDataReader.cs: Added stubbs
1125         * System.Data.OleDb/OleDbErrorCollection.cs: Added stubbs, some implementation
1126         * System.Data.OleDb/OleDbParameter.cs: Style changes, added new methods
1127         * System.Data.OleDb/OleDbParameterCollection.cs: Style changes, added new methods
1128         * System.Data.OleDb/OleDbPermissionAttribute.cs: Style changes, added new methods
1129         * System.Data.OleDb/OleDbRowUpdatedEventArgs.cs: Added stubbs
1130         * System.Data.OleDb/OleDbRowUpdatingEventArgs.cs: Added stubbs
1131         * System.Data.OleDb/OleDbTransaction.cs: Style changes, added new methods
1132         * System.Data.OleDb/OleDbType.cs: Fixed two typos
1133         * System.Data.OleDb/libgda.cs: Style changes, added new methods
1134
1135 2002-07-09  Tim Coleman <tim@timcoleman.com>
1136         
1137         * System.Data.build: remove restriction on System.Data.OleDb build
1138
1139 2002-06-03  Rodrigo Moya <rodrigo@ximian.com>
1140
1141         * System.Data.OleDb/OleDbParameterCollection.cs (GetEnumerator, SyncRoot,
1142         IsSynchronized): implemented.
1143
1144 2002-06-02  Rodrigo Moya <rodrigo@ximian.com>
1145
1146         * System.Data.OleDb/OleDbTransaction.cs (Dispose): added missing method.
1147
1148         * System.Data.OleDb/OleDbCommand.cs (Clone): added missing methods.
1149         (Parameters, Transaction, Connection): made these overload
1150         IDbCommand's ones.
1151
1152         * System.Data.OleDb/OleDbParameterCollection.cs (IndexOf, Remove, RemoveAt):
1153         call m_list methods, not own ones.
1154
1155         * System.Data.OleDb/OleDbParameter.cs: more implementation.
1156         
1157 2002-06-02  Rodrigo Moya <rodrigo@ximian.com>
1158
1159         * System.Data.OleDb/OleDbTransaction.cs (Connection, IsolationLevel, Begin,
1160         Commit, Rollback): implemented.
1161         (GdaConnection): added new internal property.
1162
1163         * System.Data.OleDb/OleDbParameter.cs:
1164         * System.Data.OleDb/OleDbParameterCollection.cs: implemented some methods and
1165         properties.
1166
1167         * System.Data.OleDb/libgda.cs: added yet more libgda API functions.
1168
1169 2002-06-01  Rodrigo Moya <rodrigo@ximian.com>
1170
1171         * System.Data.OleDb/libgda.cs: added new libgda API functions.
1172
1173         * System.Data.OleDb/OleDbConnection.cs (Provider): implemented.
1174         (BeginTransaction): made it overload IDbConnection methods.
1175         (ChangeDatabase): new stub, needs some work on libgda for being
1176         implemented.
1177         (Clone): new stub.
1178         (Close): implemented.
1179         (CreateCommand): implemented.
1180         (GetOleDbSchemaTable): new stub, until I understand what to do here.
1181         (Open): implemented basic stuff, which is just supporting connection
1182         strings that represent a GDA data source name. More to come.
1183         (InfoMessage, StateChange): added events.
1184
1185         * System.Data.OleDb/TestOleDb.cs: test program for System.Data.OleDb.
1186
1187 2002-05-29  Rodrigo Moya <rodrigo@ximian.com>
1188
1189         * System.Data.OleDb/libgda.cs: added static constructor.
1190         (GdaClient): new static property to get the underlying GdaClient
1191         object.
1192
1193         * System.Data.OleDb/OleDbConnection.cs: removed GDA initialization, which belongs to
1194         the static 'libgda' class.
1195
1196 2002-05-29  Rodrigo Moya <rodrigo@ximian.com>
1197
1198         * System.Data.OleDb/libgda.cs: static class for libgda API calls.
1199
1200         * System.Data.OleDb/OleDbConnection.cs: implemented constructors.
1201         (ConnectionString, Connectiontimeout, Database, State):
1202         implemented class properties.
1203         (BeginTransaction): implemented.
1204
1205         * System.Data.OleDb/OleDbTransaction.cs: implemented protected constructors.
1206
1207         * System.Data.OleDb/TestGDA.cs: simple test for libgda API.
1208
1209 2002-05-27  Rodrigo Moya <rodrigo@ximian.com>
1210
1211         * System.Data.OleDb/*: started System.Data.OleDb provider, based on libgda.
1212
1213 2002-06-06  Rodrigo Moya <rodrigo@ximian.com>
1214
1215         * list: added missing PostgresTypes.cs file.
1216
1217 2002-06-02  Francisco Jr. <fxjrlists@yahoo.com.br>
1218
1219         * System.Data.SqlClient/SqlParameterCollection.cs: implemented missing
1220         methods.
1221
1222 2002-05-30  Daniel Morgan <danmorg@sc.rr.com>
1223
1224         * System.Data.SqlClient/SqlConnection.cs: modifed -
1225         start to implement the interfaces properly and
1226         properly doing a Close(), Dispose(), and 
1227         releasing resources
1228         
1229         * Test/SqlSharpCli.cs: modified -
1230         add support for MySQL in Mono.Data.MySql
1231         and OleDb support in System.Data.OleDb.  However,
1232         the OleDb support is commented right now.
1233         When the program starts up, a shorter help menu should
1234         display the most important commands: help and quit
1235
1236 2002-05-28  Rodrigo Moya <rodrigo@ximian.com>
1237
1238         * System.Data.build: exclude System.Data.OleDb files.
1239
1240 2002-05-27  Daniel Morgan <danmorg@sc.rr.com>
1241
1242         * System.Data.SqlClient/SqlCommand.cs: typo
1243         should be CommandBehavior.KeyInfo
1244         
1245         * Test/SqlSharpCli.cs: refactored and added a few more
1246         features.
1247
1248 2002-05-27  Tim Coleman <tim@timcoleman.com>
1249         * list: update to compile properly (add missing
1250         files and switch path delimiter from '\' to '/').
1251
1252 2002-05-26  Daniel Morgan <danmorg@sc.rr.com>
1253
1254         * System.Data/DataRow.cs
1255         * System.Data.Common/DbDataAdapter.cs: fix to
1256         get Test/TestSqlDataAdapter.cs to work again
1257         
1258         * Test/TestSqlDataAdapter.cs: removed comment
1259         about SqlDataReader:NextResult() not being implemented; it
1260         bas been implemented
1261
1262 2002-05-26  Daniel Morgan <danmorg@sc.rr.com>
1263
1264         * System.Data/DataRow.cs: modified
1265         support setting of DBNull.Value
1266         using the Item indexer this[DataColumn]
1267         
1268         * System.Data.SqlClient/SqlCommand.cs: modified
1269         tweaks to show TODO's for other CommandBehavior.
1270         Set AllowDBNull column to true for IsKey row 
1271         in schema DataTable.
1272         
1273         * System.Data.SqlClient/SqlConnection.cs: modified
1274         if transaction is in progress when a Close() is called,
1275         do a transaction Rollback.
1276
1277 2002-05-26  Daniel Morgan <danmorg@sc.rr.com>
1278
1279         * Test/SqlSharpCli.cs: added file
1280         My new toy.  SQL# is a command-line tool to enter
1281         SQL     commands and queries using Mono System.Data.
1282         It also serves as a test for Mono System.Data.
1283         
1284         * System.Data.SqlClient/SqlCommand.cs: modified
1285         - ExecuteNonQuery(), ExecuteScalar(), and ExecuteReader()
1286         should handle the results from SQL Commands and Queries.
1287         - Internal class SqlResult should not create schema Table
1288         for the result from a SQL Command.  Also, set the RecordsRetrieved
1289         property for SqlDataReader.
1290         - Closing the SqlDataReader should Close() the SqlConnection for
1291         a CommandBehavior.CloseConnection.
1292         - Set defaults for SqlResult
1293         
1294         * System.Data.SqlClient/SqlConnection.cs: modified - 
1295         when SqlDataReader is Close()
1296         should Close() the SqlConnection for
1297         a CommandBehavior.CloseConnection.  Changed internal Property
1298         from OpenReader get/set to IsReaderOpen get and created
1299         internal methods OpenReader()/CloseReader() for SqlCommand to call.
1300         SqlConnection needs to be prevented from doing while SqlDataReader
1301         is being used.
1302         
1303         * System.Data.SqlClient/SqlDataReader.cs: modified -
1304         call SqlCommand's OpenReader() internal method.  get
1305         RecordsRetrieved from SqlResult.  set/reset default
1306         values for SqlDataReader.
1307         
1308         * Test/PostgresTest.cs
1309         * Test/TestExecuteScalar.cs
1310         * Test/TestSqlDataReader.cs: modified
1311         for the Execute...() methods in SqlCommand
1312         to test SQL Queries and Commands
1313         
1314         * Test/System.Data_test.build: modified
1315         exclude new file Test/SqlSharpCli.cs from 
1316         test build
1317         
1318 2002-05-24  Tim Coleman <tim@timcoleman.com>
1319         * System.Data.Common/DbDataAdapter.cs: remove IDbCommands, except
1320         for get accessors.  These should be implemented in derived classes.  See
1321         SqlDataAdapter for clues.
1322         * System.Data.SqlClient/SqlDataAdapter.cs: implement IDbDataAdapter
1323         * System.Data.Common/DataAdapter.cs:
1324         * System.Data.Common/DataTableMappingCollection.cs:
1325         * System.Data.Common/DataTableMapping.cs:
1326         * System.Data.Common/DataColumnMappingCollection.cs:
1327         * System.Data.Common/DataColumnMapping.cs:
1328         Properly (I hope!) implement all of the appropriate interfaces
1329         for these classes.  
1330
1331
1332 2002-05-23  Tim Coleman <tim@timcoleman.com>
1333         * System.Data.SqlClient/SqlCommand.cs: include
1334         the BaseColumnName in the schema table.  Was missed before.
1335         * System.Data.Common/DbDataAdapter.cs: Use DataTable
1336         mappings so that the DataSet and DataTable are more closely tied.
1337         Get schema information from the DataTable using GetSchemaTable ()
1338         Various other little fixes
1339         * System.Data.Common/DataColumnMappingCollection.cs:
1340         * System.Data.Common/DataTableMapping.cs:
1341         * System.Data.Common/DataTableMappingCollection.cs: Some
1342         implementation, enough to be used by DbDataAdapter.
1343
1344 2002-05-23  Daniel Morgan <danmorg@sc.rr.com>
1345
1346         * System.Data.SqlClient/SqlCommand.cs: set
1347         the "ProviderType" to the PostgreSQL type oid
1348         
1349         * System.Data.SqlClient/SqlDataReader.cs: fix
1350         for various properties and methods that 
1351         return meta data: Item indexers this[name] and this[index],
1352         GetFieldType, GetName, and GetOrdinal.  SqlDataAdapter
1353         should work again.
1354
1355 2002-05-22  Daniel Morgan <danmorg@sc.rr.com>
1356
1357         * System.Data/DataRow.cs: change suggested
1358         by tim: in Item indexer, do an EndEdit()
1359         
1360         * System.Data.SqlClient/SqlCommand.cs: more
1361         fixes to SqlResult.  After setting each item in
1362         the DataRow, do an AcceptChanges() to commit
1363         the changes in the DataRow.  For DataType, use a Type
1364         of System.String since System.Type nor System.Object
1365         seems to work.
1366         
1367         * Test/TestSqlDataReader.cs
1368         * Test/PostgresTest.cs: updated to to be on
1369         the way schema table is suppose to work
1370
1371 2002-05-22  Daniel Morgan <danmorg@sc.rr.com>
1372
1373         * System.Data.SqlClient/SqlCommand.cs: more work on 
1374         building the schema table
1375
1376 2002-05-22  Tim Coleman <tim@timcoleman.com>
1377         * System.Data.SqlClient/SqlCommand.cs: preliminary work
1378         on getting the schema table correctly built.
1379
1380 2002-05-21  Daniel Morgan <danmorg@sc.rr.com>
1381
1382         * System.Data.SqlClient/ParmUtil.cs: added file - to
1383         provide utility for conversion of input parameters
1384         
1385         * System.Data.SqlClient/PostgresTypes.cs: added file - 
1386         moved the PostgreHelper class to here.  May eventually
1387         move the internal class PostgresTypes that's inside the 
1388         SqlConnection to here as well.  
1389         Handling of PostgreSQL <-> .NET types need to be though
1390         out more. Also, the PostgreHelper has a method to convert
1391         from .NET types to a string which can be put into used in
1392         an SQL statement to execute against a PostgreSQL database.
1393         This is the beginnings of parameters support.  It currently
1394         only supports input parameters.  Still need to do output,
1395         input/output, and return parameters.
1396         
1397         * Test/TestSqlParameters.cs: new test to test the input
1398         parameters in System.Data.SqlClient against a 
1399         PostgreSQL db.
1400         
1401         * System.Data.SqlClient/PostgresLibrary.cs: moved 
1402         PostgresHelper class to file PostgresTypes.cs.  Also 
1403         moved struct PostgresType there too.
1404         
1405         * System.Data.SqlClient/SqlCommand.cs: added input 
1406         parameters support
1407         
1408         * System.Data.SqlClient/SqlParameter.cs: got 
1409         SqlParameter to work
1410         
1411         * System.Data.SqlClient/SqlParameterCollection.cs: got 
1412         SqlParameterCollection to work
1413         
1414         * Test/System.Data_test.build: added files to exclude 
1415         from test build
1416         
1417         * System.Data.SqlClient/SqlConnection.cs: release resources
1418         no longer used
1419
1420 2002-05-18  Daniel Morgan <danmorg@sc.rr.com>
1421
1422         * System.Xml: added directory for classes with namespace
1423         System.Xml to go into the System.Data.dll assembly
1424         
1425         * System.Xml/XmlDataDocument: added file
1426         for stubbed concrete class XmlDataDocument which 
1427         inherits from XmlDocument.  Its purpose is to provide
1428         a W3C XML DOM Document for relational data and interacting
1429         with a DataSet
1430
1431 2002-05-18  Daniel Morgan <danmorg@sc.rr.com>
1432
1433         * System.Data.SqlClient/SqlCommand.cs: handle CommandTypes
1434         Text, TableDirect, and StoredProcedure
1435         
1436         * Test/PostgresTest.cs: changed call to version() 
1437         stored procedure to use the CommandType of StoredProcedure
1438         
1439         * Test/TestSqlDataReader.cs: test all the CommandTypes
1440
1441 2002-05-18  Daniel Morgan <danmorg@sc.rr.com>
1442
1443         * System.Data.build: took out all excluded
1444         files except the ones in the Test directory
1445         because all files compile now.  It does not
1446         mean they all work or have implementations
1447         though.
1448         
1449         * System.Data/DataRelationCollection.cs
1450         * System.Data/DataTableRelationCollection.cs
1451         * System.Data/InternalDataCollectionBase.cs
1452         * System.Data.Common/DbDataPermission.cs
1453         * System.Data.SqlClient/SqlInfoMessageEventArgs.cs
1454         * System.Data.SqlClient/SqlClientPermission.cs
1455         * System.Data.SqlClient/SqlClientPermissionAttribute.cs: changes
1456         to get all System.Data* files to compile.
1457         
1458         * System.Data.SqlClient/SqlCommand.cs: started coding
1459         to prevent SqlConnection and SqlCommand from doing
1460         anyting while fetching data using SqlDataReader.  Also,
1461         started coding to undo this prevention once the 
1462         SqlDataReader is closed.
1463         
1464         * System.Data.SqlClient/SqlConnection.cs: get database server
1465         version.  Started coding to prevent connection from 
1466         doing anything while fetching data and undo once the reader 
1467         is closed.  Include events SqlInfoMessage and StateChange.
1468         
1469         * System.Data.SqlClient/SqlDataReader.cs: start coding to
1470         prevent connection and command from doing anything while
1471         fetching data, and undo when closed.
1472         
1473         * Test/PostgresTest.cs: added test to get ServerVersion
1474         property from SqlConnection
1475
1476 2002-05-18  Tim Coleman <tim@timcoleman.com>
1477         * System.Data/DataRow.cs: More implementation,
1478         as well as boundary checks and small semantic
1479         repairs
1480
1481 2002-05-18  Tim Coleman <tim@timcoleman.com>
1482         * System.Data/DataRow.cs: Try to reduce memory
1483         usage by only creating the original and proposed
1484         arrays as required in BeginEdit, and then destroying
1485         proposed during EndEdit, and original during AcceptChanges.
1486         * System.Data.Common/DbDataAdapter.cs: Make the
1487         startRecord and maxRecords parameters work correctly.
1488
1489 2002-05-18  Tim Coleman <tim@timcoleman.com>
1490         * System.Data/DataRow.cs: Move the null check in
1491         ItemArray set to above the Invalid Cast check, so
1492         that we don't get null reference exceptions.
1493
1494 2002-05-17  Daniel Morgan <danmorg@sc.rr.com>
1495
1496         * System.Data.SqlClient/PostgresLibrary.cs: handle
1497         data value from database being NULL
1498         
1499         * System.Data.SqlClient/SqlCommand.cs: for ExecuteReader, 
1500         allow multiple result sets.  Added new internal class
1501         SqlResult to pass result set data from SqlCommand
1502         to SqlDataReader.
1503         
1504         * System.Data.SqlClient/SqlDataReader.cs: allow
1505         multiple result sets.
1506         
1507         * System.Data.SqlClient/SqlConnection.cs: moved 
1508         things around.  Implement IDisposable.
1509         
1510         * Test/TestSqlDataReader.cs: test for execution
1511         of multiple result sets and display the results
1512         of these multiple results sets
1513         
1514         * Test/TestSqlDataAdapter.cs: tweaks
1515
1516 2002-05-17  Tim Coleman <tim@timcoleman.com>
1517         * System.Data.Common/DbDataAdapter.cs:
1518                 - More implementation of Fill methods
1519                 - Get rid of isDirty flag, because we can just check
1520                         if the table exists
1521                 - Do *not* remove DataTables before Filling them
1522                 - Implicitly open the connection before doing a Fill
1523                         if it does not exist.
1524         * System.Data.SqlClient/SqlDataAdapter.cs:
1525                 - Minor fixup
1526         * System.Data/DataTableCollection.cs:
1527                 - Add DataSet to internal, undocumented constructor
1528                 - When a table is created, set its DataSet property
1529                 - Default table name for creation is "Table1" (see .NET)
1530                 - Inherit the ArrayList list from InternalDataCollecitonBase
1531                         and maintain a hashtable between table names and
1532                         DataTables
1533         * System.Data/DataTable.cs:
1534                 - Add internal dataSet field.  This is used by 
1535                         DataTableCollection when the DataTable is constructed.
1536         * System.Data/DataSet.cs:
1537                 - Pass a reference to the DataSet when constructing the
1538                         DataTableCollection.
1539
1540 2002-05-16  Tim Coleman <tim@timcoleman.com>
1541         * System.Data.Common/DbDataAdapter.cs:
1542                 Use table.Rows.Add (itemArray) instead of
1543                 table.Rows.Add (thisRow) to provide better
1544                 abstraction.
1545         * System.Data/DataRowCollection.cs:
1546                 Some implementation of this class.
1547         * System.Data/InternalDataCollectionBase.cs:
1548                 Some implementation.  Most notably, this now
1549                 has an enumerator so we can use foreach (DataRow row in table.Rows)
1550                 in the test classes.
1551         * System.Data/DataTable.cs:
1552                 Since DataRowCollection now accepts a DataTable in
1553                 its internal constructor, we must pass one in.
1554
1555 2002-05-16  Daniel Morgan <danmorg@sc.rr.com>
1556
1557         * Test/TestSqlDataAdapter.cs: added new test 
1558         for SqlDataAdapter, DataSet, DataTableCollection, DataTable, 
1559         DataRowCollection, and DataRow.  It tests retrieving data
1560         based on a SQL SELECT query.  This test is based on Tim Coleman's
1561         test he sent to me.
1562
1563 2002-05-16  Tim Coleman <tim@timcoleman.com>
1564         * System.Data.Common/DbDataAdapter.cs:
1565                 Use table.Rows.Add (thisRow) instead of 
1566                 table.ImportRow (thisRow)
1567         * System.Data/DataRowCollection.cs:
1568                 Construct the ArrayList before using it
1569
1570 2002-05-16  Tim Coleman <tim@timcoleman.com>
1571         * System.Data/DataTable.cs:
1572                 Construct the DataRowCollection in the DataTable
1573                 constructor.  Otherwise, it's a null reference.
1574
1575 2002-05-16  Tim Coleman <tim@timcoleman.com>
1576         * System.Data.SqlClient/SqlDataReader.cs:
1577                 Modify GetValues to use Array.Copy() to copy
1578                 the results from fields to values, rather than
1579                 an assignment, which results in loss of data.
1580
1581 2002-05-16  Tim Coleman <tim@timcoleman.com>
1582         * System.Data/DataRow.cs:
1583                 More implementation and documentation.  It should
1584                 work more like expected, although there is no way
1585                 to demonstrate this well yet.  DataTable requires
1586                 more work.
1587
1588 2002-05-15  Tim Coleman <tim@timcoleman.com>
1589         * System.Data/DataRow.cs:
1590                         Minor tweaks as I determine exactly how to
1591                                         implement this class.
1592
1593
1594 2002-05-14  Duncan Mak  <duncan@ximian.com>
1595
1596         * System.Data/DataTable.cs (NewRow): Added missing paren to fix build.
1597
1598 2002-05-14  Tim Coleman
1599         * System.Data/DataRow.cs:
1600         * System.Data/DataRowBuilder.cs:
1601         * System.Data/DataTable.cs:
1602                 More implementation of these classes.  DataRow
1603                 can now (possibly) do some useful things.
1604                 Still not sure what DataRowBuilder is all about,
1605                 other than passing a DataTable in.
1606
1607 2002-05-14  Tim Coleman
1608         * System.Data/DataRowBuilder.cs:
1609                 Add stubb for this internal class.
1610
1611 2002-05-13  Tim Coleman
1612         * System.Data.Common/DbDataAdapter.cs:
1613                 The maxRecords check was not correct.
1614
1615 2002-05-13  Tim Coleman
1616         * System.Data/DataTableCollection.cs:
1617                 Fix an issue when adding a DataTable and size == 0.
1618                 Now explicitly checks if size > 0 before doing Array.Copy ()
1619         * System.Data.Common/DbDataAdapter.cs:
1620                 Move closer to a working implementation.
1621                 Make the IDbCommand fields protected so that they can
1622                 be inherited.
1623         * System.Data.SqlClient/SqlDataAdapter.cs:
1624                 This should inherit the IDbCommands instead of having its
1625                 own.  An explicit cast is used to force conversion between
1626                 IDbCommand and SqlCommand
1627
1628 2002-05-13  Tim Coleman
1629         * System.Data.Common/DataTableMappingCollection.cs:
1630                 Some implementation to allow progress with DbDataAdapter
1631
1632 2002-05-13  Tim Coleman
1633         * System.Data.Common/DbDataAdapter.cs:
1634                 Modify to not break compile.
1635
1636 2002-05-13  Tim Coleman
1637         * System.Data.build:
1638                 include SqlDataAdapter, SqlRowUpdatedEventArgs,
1639                 SqlRowUpdatingEventArgs, SqlRowUpdatedEventHandler,
1640                 SqlRowUpdatingEventHandler in the build.
1641
1642 2002-05-13  Tim Coleman
1643         * System.Data.Common/DbDataAdapter.cs:
1644                 More implementation.
1645         * System.Data.Common/DataAdapter.cs:
1646                 Correction of some of the stubbing, as well as a
1647                 little bit more implementation
1648
1649 2002-05-11  Tim Coleman
1650         * System.Data.SqlClient/SqlDataAdapter.cs:
1651         * System.Data.Common/DbDataAdapter.cs:
1652                 Moved methods that weren't supposed to 
1653                 be in SqlDataAdapter out.  They should be implemented
1654                 in DbDataAdapter.
1655         
1656
1657 2002-05-11  Tim Coleman
1658         * System.Data.SqlClient/SqlDataAdapter.cs:
1659                 some implementation of this class.  Note
1660                 that none of the functionality has been
1661                 tested yet, but I felt it should be checked
1662                 in at this point as it compiles.
1663         * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs:
1664         * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs:
1665                 Modified so that they will compile properly.
1666                 Needed to include SqlDataAdapter in the build.
1667
1668 2002-05-11  Rodrigo Moya <rodrigo@ximian.com>
1669
1670         * System.Data/DataTable.cs (Clear): implemented.
1671         (DataTable): removed repeated code in constructors, and call the
1672         basic constructor from the others.
1673
1674         * System.Data/DataColumn.cs: some tweaks.
1675
1676         * System.Data/DataRow.cs (RowState): implemented.
1677         (CancelEdit): set rowState property back to Unchanged.
1678         (RejectChanges): call CancelEdit.
1679         (Delete): set rowState to Deleted.
1680
1681 2002-05-11  Daniel Morgan <danmorg@sc.rr.com>
1682
1683         * System.Data.build: added copy of System.Data.dll to Test directory
1684         for easy testing.  Also, added clean for it too.
1685         
1686         * System.Data.SqlClient/PostgresLibrary.cs: changed setting of boolean
1687         from PostgreSQL data type to .NET type.
1688         
1689         * System.Data.SqlClient/SqlDataReader.cs: beginnings
1690         handling of a NULL value from the database
1691         
1692         * Test/PostgresTest.cs: added tests for NULL values retrieved
1693         from the database
1694         
1695         * Test/ReadPostgresData.cs
1696         * Test/TestExecuteScalar.cs
1697         * Test/TestSqlDataReader.cs
1698         * Test/TestSqlException.cs
1699         * Test/TestSqlIsolationLevel.cs: updated tests to use databas user
1700         "postgres".  These tests may eventually be removed since they
1701         are not flexible.
1702
1703 2002-05-10  Rodrigo Moya <rodrigo@ximian.com>
1704
1705         * System.Data.build: removed reference to non-existant
1706         TestDataColumn.cs file.
1707
1708         * System.Data/DataSet.cs: added some implementation.
1709
1710 2002-05-09  Daniel Morgan <danmorg@sc.rr.com>
1711
1712         * System.Data.SqlClient/PostgresLibrary.cs: got
1713         PostgreSQL data types time, date, timestamp (DateTime like)
1714         mapped to .NET System.DateTime working based 
1715         on ISO DateTime formatting "YYYY-MM-DD hh:mi:ss.ms"
1716         Also mapped pg type boolean to .net Boolean
1717         
1718         * SqlClient/SqlConnection.cs: run SQL command to set
1719         Date style to ISO
1720         
1721         * Test/PostgresTest.cs: added test for an UPDATE SQL command,
1722         added tests for aggregates min(), max(), sum(), count().  could
1723         not get avg() to work due to some formatting error; someone claimed
1724         that it was my locale settings.  added tests for SELECT of columns
1725         of type boolean, float, double, date, time, and timestamp.  They
1726         have not been fully tested, but its a start.
1727
1728 2002-05-09  Tim Coleman <tim@timcoleman.com>
1729         * System.Data.SqlTypes/SqlDecimal.cs: Implementations of 
1730         addition, subtraction, and multiplication for the
1731         SqlDecimal type, as well as modification of some other
1732         operations.  More to come on this one.
1733
1734 2002-05-08  Rodrigo Moya <rodrigo@ximian.com>
1735
1736         * Test/System.Data_test.build: excluded TestDataColumn, which
1737         should be replaced with a nunit test.
1738
1739         * Test/TestDataColumn.cs: added basic test for DataColumn.cs.
1740
1741 2002-05-07  Tim Coleman <tim@timcoleman.com>
1742         * SqlBinary.cs:
1743         * SqlBoolean.cs:
1744         * SqlByte.cs:
1745         * SqlDateTime.cs:
1746         * SqlDecimal.cs:
1747         * SqlDouble.cs:
1748         * SqlGuid.cs:
1749         * SqlInt16.cs:
1750         * SqlInt32.cs:
1751         * SqlInt64.cs:
1752         * SqlMoney.cs:
1753         * SqlSingle.cs:
1754         * SqlString.cs:
1755                 Fix the broken build I made before.  Bad
1756                 me.
1757
1758 2002-05-07  Tim Coleman <tim@timcoleman.com>
1759         * SqlString.cs:
1760                 Fix a symantic error I made in SqlString
1761                 Equals where I copied and pasted wrongly
1762
1763 2002-05-07  Tim Coleman <tim@timcoleman.com>
1764         * INullable.cs:
1765         * SqlBinary.cs:
1766         * SqlBoolean.cs:
1767         * SqlByte.cs:
1768         * SqlCompareOptions.cs:
1769         * SqlDateTime.cs:
1770         * SqlDecimal.cs:
1771         * SqlDouble.cs:
1772         * SqlGuid.cs:
1773         * SqlInt16.cs:
1774         * SqlInt32.cs:
1775         * SqlInt64.cs:
1776         * SqlMoney.cs:
1777         * SqlSingle.cs:
1778         * SqlString.cs:
1779                 Implement CompareTo, Equals, and String conversions 
1780                 for many types
1781
1782 2002-05-05  Daniel Morgan <danmorg@sc.rr.com>
1783
1784         * Test/PostgresTest.cs: modified to run completely.  There
1785         are many TODOs in System.Data, so not all data types are
1786         included in the SELECT SQL query.  Also, I made it to where
1787         it would connect 
1788         using "host=localhost;dbname=test;user=postgres"
1789         instead of my userid and password.  When more types are included,
1790         update this test.
1791
1792 2002-05-05  Daniel Morgan <danmorg@sc.rr.com>
1793
1794         * Test/PostgresTest.cs: added - ported
1795         libgda postgres-test.c originally by 
1796         Gonzalo Paniagua Javier <gonzalo@gnome-db.org>
1797         to C#.
1798
1799 2002-05-05  Tim Coleman <tim@timcoleman.com>
1800         * System.Data.SqlTypes/SqlBinary.cs:
1801         * System.Data.SqlTypes/SqlBoolean.cs:
1802         * System.Data.SqlTypes/SqlByte.cs:
1803         * System.Data.SqlTypes/SqlDateTime.cs:
1804         * System.Data.SqlTypes/SqlDecimal.cs:
1805         * System.Data.SqlTypes/SqlDouble.cs:
1806         * System.Data.SqlTypes/SqlGuid.cs:
1807         * System.Data.SqlTypes/SqlInt16.cs:
1808         * System.Data.SqlTypes/SqlInt32.cs:
1809         * System.Data.SqlTypes/SqlInt64.cs:
1810         * System.Data.SqlTypes/SqlMoney.cs:
1811         * System.Data.SqlTypes/SqlSingle.cs:
1812         * System.Data.SqlTypes/SqlString.cs:
1813                 More implementation, and code clean-up for consistency.
1814                 Also, I had implemented many conversions as explicit
1815                 that should have been implicit.  This should remove
1816                 many of the red X's and green pluses from the 
1817                 System.Data.SqlTypes namespace.
1818
1819 2002-05-05  Miguel de Icaza  <miguel@ximian.com>
1820
1821         * System.Data/DataSet.cs: Remove [Serializable] attributes from
1822         methods, those only apply to structs or classes.
1823
1824         Stub out ISerializable, ISupportInitialize, and IListSource methods 
1825         
1826         * System.Data/DataRowView.cs: Stub out interface methods for
1827         IEditableObject, ICustomTypeDescriptor and IDataErrorInfo
1828
1829         * System.Data/DataView.cs: Comment out non-implemented
1830         interfaces. 
1831
1832         * System.Data/DataViewSettingsCollection.cs: Type cast variables
1833         to the correct type to make it compile.
1834
1835         * System.Data/DataViewSettings.cs: remove reference to
1836         non-existance type ApplyDefaultSort, it is a boolean.
1837         
1838
1839 2002-05-05  Tim Coleman <tim@timcoleman.com>
1840         * System.Data.SqlTypes/SqlBinary.cs:
1841         * System.Data.SqlTypes/SqlBoolean.cs:
1842         * System.Data.SqlTypes/SqlByte.cs:
1843         * System.Data.SqlTypes/SqlDecimal.cs:
1844         * System.Data.SqlTypes/SqlDouble.cs:
1845         * System.Data.SqlTypes/SqlGuid.cs:
1846         * System.Data.SqlTypes/SqlInt16.cs:
1847         * System.Data.SqlTypes/SqlInt32.cs:
1848         * System.Data.SqlTypes/SqlInt64.cs:
1849         * System.Data.SqlTypes/SqlMoney.cs:
1850         * System.Data.SqlTypes/SqlSingle.cs:
1851         * System.Data.SqlTypes/SqlString.cs:
1852                 Various fixes, including adding the SqlNullValueException
1853                 when trying to retrieve the value of a null SqlType,
1854                 and when casting values, a Null of type A converts to a
1855                 Null of type B.
1856
1857 2002-05-04  Daniel Morgan <danmorg@sc.rr.com>
1858         
1859         * System.Data.SqlClient/PostgresLibrary.cs
1860         * System.Data.SqlClient/SqlCommand.cs
1861         * System.Data.SqlClient/SqlConnection.cs
1862         * System.Data.SqlClient/SqlDataReader.cs
1863         oid should not be hard coded because they
1864         can change from one version of PostgreSQL
1865         to the next.  Use the typname's instead.
1866         The PostgreSQL type data retrieves
1867         at database connection time.  Any unimplemented
1868         types just default to string.  These were things
1869         suggested by Gonzalo.
1870         
1871         * Test/ReadPostgresData.cs - stuff
1872         * Test/TestSqlDataReader.cs - stuff
1873         
1874         * System.Data.SqlTypes/SqlInt32.cs - added a using
1875
1876 2002-05-03  Tim Coleman <tim@timcoleman.com>
1877         * System.Data.build: Fix the build so that test depends on build
1878
1879 2002-05-03  Tim Coleman <tim@timcoleman.com>
1880         * System.Data.SqlTypes/SqlByte.cs:
1881         * System.Data.SqlTypes/SqlDateTime.cs:
1882         * System.Data.SqlTypes/SqlDecimal.cs:
1883         * System.Data.SqlTypes/SqlDouble.cs:
1884         * System.Data.SqlTypes/SqlGuid.cs:
1885         * System.Data.SqlTypes/SqlInt16.cs:
1886         * System.Data.SqlTypes/SqlInt64.cs:
1887         * System.Data.SqlTypes/SqlMoney.cs:
1888         * System.Data.SqlTypes/SqlSingle.cs:
1889                 These files were mysteriously excluded from the last
1890                 patch I made and sent to Rodrigo
1891         * System.Data.build: include the System.Data.SqlTypes in the build
1892
1893 2002-05-03  Daniel Morgan <danmorg@sc.rr.com>
1894
1895         * System.Data.build: removed comments
1896
1897         * System.Data.SqlClient/PostgresLibrary.cs: changed
1898         the hard-coded PostgreSQL oid type int's to using an
1899         enum.  Also, added PostgreSQL bpchar (character) type.
1900         
1901         * Test/TestSqlDataReader.cs: updated test
1902         to include new bpchar PostgreSQL type
1903
1904 2002-05-03  Rodrigo Moya <rodrigo@ximian.com>
1905
1906         * System.Data.SqlTypes/SqlBinary.cs:
1907         * System.Data.SqlTypes/SqlBoolean.cs:
1908         * System.Data.SqlTypes/SqlInt32.cs:
1909         * System.Data.SqlTypes/SqlString.cs: more implementation, by
1910         Tim Coleman <tcoleman@opentext.com>.
1911
1912 2002-05-03  Daniel Morgan <danmorg@sc.rr.com>
1913
1914         * Test/TestExecuteScalar.cs: added test for 
1915         method ExecuteScalar in class SqlCommand.
1916         
1917         * System.Data/DataColumnCollection.cs - it should
1918         inherit properties from base InternalDataCollectionBase
1919         and use them instead of overriding them, such as, List.
1920         
1921         * System.Data/DataColumn.cs
1922         * System.Data/DataTable.cs: tweaks to retrieve
1923         meta data from the database
1924         
1925         * System.Data.SqlClient/PostgresLibrary.cs -
1926         added method OidToType to convert PostgreSQL oid type 
1927         to System.Type.  Renamed method OidTypeToSystem
1928         to ConvertPgTypeToSystem for converting the data value
1929         from a PostgreSQL type to a .NET System type.
1930         
1931         * System.Data.SqlClient/SqlCommand.cs: implemented
1932         method ExecuteReader which returns a SqlDataReader
1933         for a light forward only read only result set. 
1934         It works on types int4 ==> Int32 and 
1935         varchar ==> String.  Other types
1936         will come later.
1937         
1938         * System.Data.SqlClient/SqlConnection.cs: added comment
1939         
1940         * System.Data.SqlClient/SqlDataReader.cs: implemented
1941         class.  It works, but still lots to do.
1942         
1943         * Test/ReadPostgresData.cs: stuff
1944         
1945         * Test/TestSqlDataReader.cs: updated test for SqlDataReader
1946         to display meta data and the data
1947         
1948 2002-05-03  Duncan Mak  <duncan@ximian.com>
1949
1950         * TODO: Took out all the Exceptions. They should be all done now.
1951
1952         * System.Data/ConstraintException.cs: 
1953         * System.Data/DBConcurrencyException.cs:
1954         * System.Data/DataException.cs: 
1955         * System.Data/DeletedRowInaccessibleException.cs: 
1956         * System.Data/DuplicateNameException.cs:
1957         * System.Data/EvaluateException.cs: 
1958         * System.Data/InRowChangingEventException.cs: 
1959         * System.Data/InvalidConstraintException.cs: 
1960         * System.Data/InvalidExpressionException.cs: 
1961         * System.Data/MissingPrimaryKeyException.cs:
1962         * System.Data/NoNullAllowedException.cs: 
1963         * System.Data/ReadOnlyException.cs: 
1964         * System.Data/RowNotInTableException.cs: 
1965         * System.Data/StrongTypingException.cs:
1966         * System.Data/SyntaxErrorException.cs: 
1967         * System.Data/TypeDataSetGeneratorException.cs: 
1968         * System.Data/VersionNotFoundException.cs: Added to CVS.
1969
1970         * System.Data.SqlTypes/SqlNullValueException.cs: 
1971         * System.Data.SqlTypes/SqlTruncateException.cs: 
1972         * System.Data.SqlTypes/SqlTypeException.cs: Added to CVS.
1973
1974 2002-05-02  Rodrigo Moya <rodrigo@ximian.com>
1975
1976         * System.Data/DataViewSettingCollection.cs: implemented.
1977
1978         * System.Data/DataRowView.cs: new stubs.
1979
1980         * System.Data.SqlTypes/SqlByte.cs:
1981         * System.Data.SqlTypes/SqlDateTime.cs:
1982         * System.Data.SqlTypes/SqlDecimal.cs:
1983         * System.Data.SqlTypes/SqlDouble.cs:
1984         * System.Data.SqlTypes/SqlGuid.cs:
1985         * System.Data.SqlTypes/SqlInt16.cs:
1986         * System.Data.SqlTypes/SqlInt64.cs:
1987         * System.Data.SqlTypes/SqlMoney.cs:
1988         * System.Data.SqlTypes/SqlSingle.cs: new stubs, contributed
1989         by Tim Coleman <tcoleman@opentext.com>
1990
1991         * System.Data.build: excluded newly-added files.
1992
1993 2002-05-02  Daniel Morgan <danmorg@sc.rr.com>
1994
1995         * System.Data.SqlClient/PostgresLibrary.cs: included new 
1996         internal class that will be a helper class in using
1997         PostgreSQL.  PostgresLibrary is used for the 
1998         pinvoke methods to the PostgreSQL Client
1999         native C library libpq while the class PostgresHelper 
2000         is used for     wrapper or helper methods.  It currently only
2001         has one static method OidTypeToSystem in converting
2002         PostgreSQL types to .NET System.<type>s, such as,
2003         a PostgreSQL int8 becomes a .NET System.Int64.
2004         Only a few types have been added, such as, int2,
2005         int4, int8, varchar, text, bool, and char.  Other types
2006         will come later.
2007         
2008         * System.Data.SqlClient/SqlCommand.cs: implemented
2009         method ExecuteScalar which allows us to do aggregate
2010         functions, such as, count, avg, min, max, and sum.  We
2011         also are able to retrieve the result, convert it to the .NET type
2012         as an object.  The user of the returned object must explicitly cast.
2013         
2014         * Test/ReadPostgresData.cs: updated sample
2015         to help us learn to retrieve data in System.Data.SqlClient
2016         classes
2017
2018 2002-05-01  Daniel Morgan <danmorg@sc.rr.com>
2019
2020         * System.Data.build: added /nowarn: nnnn arguments 
2021         so you will not get a ton of warnings.  The warnings
2022         being excluded are: 1595, 0067, 0109, 0169, and 0649
2023
2024 2002-05-01  Daniel Morgan <danmorg@sc.rr.com>
2025
2026         * System.Data.build: modified to exclude more 
2027         files from the build
2028
2029 2002-05-01  Rodrigo Moya <rodrigo@ximian.com>
2030
2031         * System.Data.SqlClient/SqlClientPermission.cs: added missing
2032         'using's.
2033
2034         * System.Data/MergeFailedEventArgs.cs: new class, contributed
2035         by John Dugaw <jdugaw@unizenconsulting.com>.
2036
2037         * System.Data.build: excluded new files from build.
2038
2039 2002-04-29  Daniel Morgan <danmorg@sc.rr.com>
2040
2041         * Test/ReadPostgresData.cs: added - Uses the 
2042         PostgresLibrary to retrieve a recordset.
2043         This is not meant to be used in Production, but as a
2044         learning aid in coding 
2045         class System.Data.SqlClient.SqlDataReader.
2046         This sample does work.
2047         
2048         * Test/TestSqlDataReader.cs: added - used
2049         to test SqlDataReader (does not work yet)
2050         Forgot to add to ChangeLog on last commit.
2051
2052 2002-04-28  Rodrigo Moya <rodrigo@ximian.com>
2053
2054         * System.Data/DataViewSetting.cs: new class.
2055         
2056 2002-04-28  Rodrigo Moya <rodrigo@ximian.com>
2057
2058         * System.Data/DataViewManager.cs: new class.
2059         
2060         * System.Data.SqlTypes/INullable.cs: properties for interfaces
2061         don't have implementation.
2062
2063         * System.Data.SqlTypes/SqlInt32.cs:
2064         * System.Data.SqlTypes/SqlString.cs:
2065         * System.Data.SqlTypes/SqlBoolean.cs: removed destructor, since
2066         these are strctures.
2067
2068         * System.Data.SqlClient/SqlClientPermissionAttribute.cs: added
2069         missing 'using's.
2070         
2071 2002-04-28  Rodrigo Moya <rodrigo@ximian.com>
2072         
2073         * System.Data/DataTableRelationCollection.cs: use 'new' keyword
2074         for correctly hiding parent class' members.
2075         (AddRange): use 'override' keyword on overriden method.
2076         (Clear): likewise.
2077         (Contains): likewise.
2078         (IndexOf): likewise.
2079         (OnCollectionChanged): likewise.
2080         (OnCollectionChanging): likewise.
2081         (RemoveCore): likewise.
2082
2083         * System.Data/DataColumnCollection.cs: use 'new' keyword.
2084
2085         * System.Data/DataSet.cs: added missing 'using's.
2086         
2087 2002-04-28  Rodrigo Moya <rodrigo@ximian.com>
2088
2089         * System.Data/DataSet.cs:
2090         * System.Data/DataTableCollection.cs:
2091         * System.Data/DataView.cs: compilation fixes on Linux.
2092
2093 2002-04-28  Daniel Morgan <danmorg@sc.rr.com>
2094
2095         * System.Data/DataRelation.cs
2096         * System.Data/ForeignKeyConstraint.cs
2097         * System.Data/UniqueConstraint.cs: added more stubs
2098         
2099         * System.Data/DataTableRelationCollection.cs: added back to cvs
2100         and modified for compile errors.  DataRelationCollection is an
2101         abstract class and there must be a class that implements for
2102         DataTable/DataSet.  DataTableRelationCollection was changed
2103         to an internal class.
2104         
2105         * System.Data.build: modified - new files added
2106         also wanted to include files/classes in the build 
2107         so we can get a compilable forward read only result set.
2108         It compiles now using csc/nant with warnings, but this 
2109         is a start for adding functionality for the result set.  
2110         Classes associated with/and DataSet are still excluded.
2111         
2112         * TODO: modified - updated to do list for System.Data
2113         
2114         * System.Data/Constraint.cs
2115         * System.Data/ConstraintCollection.cs
2116         * System.Data/DataRelationCollection.cs
2117         * System.Data/DataRow.cs
2118         * System.Data/DataRowChangeEventArgs.cs
2119         * System.Data/DataRowCollection.cs
2120         * System.Data/DataTable.cs
2121         * System.Data/DataTableCollection.cs
2122         * System.Data/InternalDataCollectionBase.cs
2123         * System.Data/PropertyCollection.cs: modified -
2124         changes to compile SqlDataReader/DataTable and
2125         dependencies
2126         
2127         * System.Data/IDbCommand.cs
2128         * System.Data.SqlClient/SqlCommand.cs: modified -
2129         un-commented overloaded methods ExecuteReader 
2130         which returns a SqlDataReader
2131
2132 2002-04-28  Rodrigo Moya <rodrigo@ximian.com>
2133
2134         * System.Data/DataTableCollection.cs: more implementation.
2135         (Count): added 'override' keyword, as pointer out by Martin.
2136
2137         * System.Data.Common/DataColumnMappingCollection.cs (Add, AddRange):
2138         only call Array.Copy when there is really stuff to be copied.
2139         (CopyTo): don't create the temporary array, it's not needed.
2140
2141         * System.Data.build: excluded newly added file from build.
2142
2143 2002-04-27  Rodrigo Moya <rodrigo@ximian.com>
2144
2145         * System.Data/DataTableRelationCollection.cs: removed, it's not
2146         on MS SDK documentation.
2147
2148         * System.Data/DataTableCollection.cs: new class.
2149
2150 2002-04-27  Daniel Morgan <danmorg@sc.rr.com>
2151
2152         * System.Data/DataRowChangeEventArgs.cs
2153         * System.Data/DataRowCollection.cs
2154         * System.Data/DataView.cs
2155         * System.Data/PropertyCollection.cs: added new stubs
2156
2157         * System.Data.build: modified - added new files to exclude
2158         from build
2159         
2160         * TODO: modified - removed files from TODO list 
2161         that were stubbed above
2162         
2163         * System.Data/DataColumn.cs
2164         * System.Data/DataRow.cs: modified - various tweaks
2165         and added internal method SetTable to set the reference
2166         to a DataTable
2167         
2168         * System.Data/DataSet.cs: modified - class was not
2169         completely stubbed.
2170         
2171         * System.Data/DataTable.cs: modified - temporarily commented
2172         DataSet and DataView references - trying to compile a SqlDataReader,
2173         DataTable, and dependencies for a forward read-only result set.
2174         SqlDataAdapter, DataSet, and DataView will come later once we can get
2175         a forward read only result set working.
2176         
2177         * System.Data/IDataRecord.cs: modified - source code lines should
2178         not be > 80
2179         
2180         * System.Data/InternalDataCollectionBase.cs: modified - started 
2181         implementing this base class for collection of data rows,
2182         columns, tables, relations, and constraints
2183         
2184         * System.Data.SqlClient/SqlException.cs: modified -
2185         call base(message) so a unhandled exception displays
2186         the message of a SQL error instead of the 
2187         default SystemException message
2188         
2189         * Test/TestSqlException.cs: modified - 
2190         handle the rollback properly for a SqlException on a
2191         failure to connect
2192
2193 2002-04-23  Daniel Morgan <danmorg@sc.rr.com>
2194
2195         * System.Data.build: modified - added new
2196         files to exclude from build 
2197         
2198         * System.Data/Constraint.cs
2199         * System.Data/ConstraintCollection.cs
2200         * System.Data/InternalDataCollectionBase.cs: added -
2201         stubs which are needed to build DataTable.cs
2202         
2203         * TODO: modified - added more classes TODO and
2204         added more stuff TODO, such as, create script
2205         to create test database monotestdb for testing
2206         classes in System.Data
2207
2208 2002-04-23  Rodrigo Moya <rodrigo@ximian.com>
2209
2210         * System.Data.Common/DataAdapter.cs:
2211         * System.Data.Common/DataColumnMappingCollection.cs:
2212         * System.Data.Common/DataTableMappingCollection.cs:
2213         * System.Data.Common/DbDataPermission.cs:
2214         * System.Data.Common/DbDataPermissionAttribute.cs: some
2215         compilation errors fixed.
2216
2217 2002-04-23  Daniel Morgan <danmorg@sc.rr.com>
2218
2219         * TODO: modified - added classes TODO, and
2220         a poor attempt at System.Data plan
2221
2222 2002-04-23  Daniel Morgan <danmorg@sc.rr.com>
2223
2224         * ChangeLog: modified - put tabs where they belong
2225         
2226         * System.Data.SqlClient/SqlDataReader.cs
2227         * System.Data/DataColumn.cs: modified - compile errors
2228         trying to compile SqlDataAdapter and dependencies
2229
2230 2002-04-23  Daniel Morgan <danmorg@sc.rr.com>
2231
2232         * System.Data.SqlTypes/SqlBoolean.cs
2233         * System.Data.SqlTypes/SqlCompareOptions.cs
2234         * System.Data.SqlTypes/SqlInt32.cs
2235         * System.Data.SqlTypes/SqlString.cs: added - new stubs
2236
2237         * System.Data/DataTable.cs
2238         * System.Data.SqlClient/SqlCommand.cs
2239         * System.Data.SqlClient/SqlConnection.cs
2240         * System.Data.SqlClient/SqlError.cs
2241         * System.Data.SqlClient/SqlTransaction.cs: modified - 
2242         misc. tweaks
2243
2244         * System.Data.SqlClient/SqlException.cs: modified -
2245         missing Message on indexer for Message property
2246
2247 2002-04-21  Daniel Morgan <danmorg@sc.rr.com>
2248
2249         * System.Data.SqlClient/SqlCommand.cs: modified - to 
2250         compile using mcs.  This problem is
2251         returning a stronger type in csc vs. msc
2252
2253         * System.Data.SqlClient/SqlConnection.cs: modified - msc
2254         can not do a using PGconn = IntPtr; and then declare
2255         with PGconn pgConn = IntPtr.Zero;
2256         Thiw works under csc though.  Had to comment using and
2257         changed declaration to IntPtr pgConn = IntPtr.Zero;
2258         Also, got rid of compile warnings for hostaddr and port.
2259
2260         * System.Data.SqlClient/SqlErrorCollection.cs: modified - got
2261         rid of compile warnings.  Commented MonoTODO attribute because mcs
2262         doesn't seem to work with C# array property indexer (Item)
2263         this[int index]
2264
2265         * System.Data.SqlClient/SqlParameterCollection.cs: modified -
2266         commented MonoTODO attribute for indexer for mcs compiling
2267
2268         * Test/TestSqlIsolationLevel.cs:
2269         * Test/TestSqlInsert.cs:
2270         * Test/TestSqlException.cs: modified -
2271         removed extra ExecuteNonQuery which caused two inserted rows
2272
2273 2002-04-20  Daniel Morgan <danmorg@sc.rr.com>
2274
2275         * System.Data/StateChangeEventArgs.cs - added
2276         needed to compile System.Data.dll with mcs.  
2277
2278 2002-04-20  Daniel Morgan <danmorg@sc.rr.com>
2279
2280         * System.Data.OleDb: added directory - for OleDb database 
2281         provider classes
2282
2283         * System.Data.SqlClient/SqlClientPermission.cs
2284         * System.Data.SqlClient/SqlClientPermissionAttribute.cs
2285         * System.Data.SqlClient/SqlCommandBuilder.cs
2286         * System.Data.SqlClient/SqlInfoMessageEventHandler.cs
2287         * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs
2288         * System.Data.SqlClient/SqlRowUpdatedEventHandler.cs
2289         * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs
2290         * System.Data.SqlClient/SqlRowUpdatingEventHandler.cs
2291         * Test/TestSqlException.cs
2292         * Test/TestSqlIsolationLevel.cs: added - more tests
2293
2294         * System.Data.build: modified - added new files - excludes these too
2295
2296         * System.Data.SqlClient/PostgresLibrary.cs - modified - comment
2297
2298         * System.Data.SqlClient/SqlConnection.cs 
2299         * System.Data.SqlClient/SqlCommand.cs
2300         * System.Data.SqlClient/SqlTransaction.cs
2301         * System.Data.SqlClient/SqlException.cs
2302         * System.Data.SqlClient/SqlErrorCollection.cs
2303         * System.Data.SqlClient/SqlError.cs: modified - transaction and
2304         exception/error handling. SqlConnection(connectionString) 
2305         constructor should not automatically connect.
2306   
2307         * System.Data.SqlClient/SqlDataReader.cs
2308         * System.Data.SqlClient/SqlDataAdapter.cs
2309         * System.Data.SqlClient/SqlParameter.cs
2310         * System.Data.SqlClient/SqlParameterCollection.cs: modified - 
2311         added using System.ComponentModel;
2312   
2313         * Test/TestSqlInsert.cs: modified - to use transaction
2314
2315 2002-04-17  Rodrigo Moya <rodrigo@ximian.com>
2316
2317         * System.Data/DataRow.cs: new skeletons.
2318
2319         * System.Data.Common/DataAdapter.cs:
2320         * System.Data.Common/DataColumnMapping.cs:
2321         * System.Data.Common/DataColumnMappingCollection.cs:
2322         * System.Data.Common/DataTableMapping.cs:
2323         * System.Data.Common/DataTableMappingCollection.cs:
2324         * System.Data.Common/DbDataAdapter.cs:
2325         * System.Data.Common/RowUpdatedEventArgs.cs:
2326         * System.Data.SqlClient/SqlDataAdapter.cs:
2327         * System.Data.SqlClient/SqlInfoMessageEventArgs.cs: compilation
2328         fixes for Linux.
2329
2330         * System.Data.Common/DbDataRecord.cs:
2331         * System.Data.Common/DbEnumerator.cs: removed MS implementation
2332         internal classes.
2333
2334 2002-04-17  Daniel Morgan <danmorg@sc.rr.com>
2335
2336         * Test/TestSqlInsert.cs: modified - do
2337           a SQL DELETE before SQL INSERT of row so you can use this
2338           test over and over.
2339         
2340         * System.Data.SqlClient/SqlTransaction.cs: modified - default
2341           IsolationLevel for PostgreSQL is ReadCommitted.  However,
2342           PostgreSQL allows Serializable as well. 
2343       (Thanks to Gonzalo for that!)
2344         
2345         * System.Data.SqlClient/SqlConnection.cs: modified
2346         * System.Data.SqlClient/SqlCommand.cs: modified
2347         * System.Data.SqlClient/SqlTransaction.cs: modified - got transactions
2348           working; however, we still need to implement SQL errors
2349           and exceptions to properly handle transactions.  Also, added
2350           status and error message support from the PostgreSQL database.
2351           Currently, this does a Console.WriteLine() to display the
2352           status and error messages, but this is a TODO 
2353           for SQL errors and exceptions.
2354         
2355         * System.Data/TODOAttribute.cs: added - needed MonoTODO
2356       attribute for System.Data.dll assembly 
2357
2358         * System.Data/IDbCommand.cs: modified - commented
2359           overloaded method ExecuteReader 
2360           so System.Data.SqlClient.SqlCommand can compile
2361           
2362         * System.Data/IDbCommand.cs: modified
2363         * System.Data/IDbConnection.cs: modified - added using System;
2364         * System.Data/IDataParameter.cs
2365         
2366         * System.Data.build: modified - build classes
2367           in System.Data.SqlClient and exclude others in System.Data
2368         
2369         * System.Data.SqlClient/PostgresLibrary.cs: modified - change
2370           parameter data type from IntPtr to enum ExecStatusType
2371         
2372         * ChangeLog: modified - corrected previous entries in log
2373
2374 2002-04-16  Rodrigo Moya <rodrigo@ximian.com>
2375
2376         * System.Data.Common/DataColumnMappingCollection.cs: added basic
2377         implementation. Still missing some stuff.
2378
2379 2002-04-16  Daniel Morgan <danmorg@sc.rr.com>
2380
2381         * System.Data.SqlClient/SqlConnection.cs: modified - got 
2382       to compile, run, and connect to PostgreSQL database
2383       
2384         * System.Data.SqlClient/SqlCommand.cs: modified - got 
2385       to compile, run, and execute a SQL INSERT command 
2386       which successfully inserted a row 
2387       into the PostgreSQL database
2388
2389         * System.Data.SqlClient/SqlTransaction.cs: modified
2390         * System.Data.SqlClient/SqlParameter.cs: modified
2391         * System.Data.SqlClient/SqlParameterCollection.cs: modified
2392         * System.Data.SqlClient/SqlError.cs: modified
2393         * System.Data.SqlClient/SqlErrorCollection.cs: modified
2394         * System.Data.SqlClient/SqlException.cs: modified
2395         * System.Data.SqlClient/PostgresLibrary.cs: modified - to compile
2396
2397         * System.Data.SqlClient/SqlAdapter: modified
2398         * System.Data.SqlClient/SqlReader: modified - add more stubs
2399         
2400 2002-04-16  Daniel Morgan <danmorg@sc.rr.com>
2401
2402         * Test/TestSqlInsert.cs: added 
2403
2404 2002-04-15  Daniel Morgan <danmorg@sc.rr.com>
2405
2406         * System.Data.SqlClient/SqlInfoMessageEventArgs.cs: added - using in
2407           class SqlConnecition
2408         * System.Data.SqlClient/SqlErrorCollection.cs: added
2409         * System.Data.SqlClient/SqlErrors.cs: removed - no such class SqlErrors
2410
2411 2002-04-15  Christopher Podurgiel <cpodurgiel@msn.com>
2412         
2413         * System.Data.IDbDataParameter: Added Interface to IDataParameter.
2414         * System.Data.IDbTransaction: Added Interface to IDisposable.
2415         * System.Data.IDbCommand: Fixed Capitalization of class name.
2416         * System.Data.IDbConnection: Fixed Capitalization of class name.
2417
2418 2002-04-15  Rodrigo Moya <rodrigo@ximian.com>
2419
2420         * System.Data.Common/DbDataPermissionAttribute.cs:
2421         * System.Data.Common/DataAdapter.cs:
2422         * System.Data.Common/DataColumnMapping.cs:
2423         * System.Data.Common/DbDataPermission.cs: added some implementation.
2424
2425 2002-04-15  Rodrigo Moya <rodrigo@ximian.com>
2426
2427         * System.Data.SqlClient/SqlConnection.cs: fixed constructor chaining
2428         syntax, as pointed out by Levent Camlibel.
2429
2430 2002-04-14  Rodrigo Moya <rodrigo@ximian.com>
2431
2432         * System.Data.SqlTypes/SqlBinary.cs:
2433         * System.Data.SqlTypes/INullable.cs: new skeletons.
2434
2435 2002-04-14  Daniel Morgan <danmorg@sc.rr.com>
2436
2437         * System.Data.SqlClient/PostgresLibrary.cs: new internal class, which
2438         contains all calls the the PostgreSQL client library, to be used
2439         everywhere in System.Data.SqlClient.
2440
2441 2002-03-30  Rodrigo Moya <rodrigo@ximian.com>
2442
2443         * System.Data.SqlClient/SqlConnection.cs: implemented basic
2444         constructors.
2445
2446         * System.Data.SqlTypes/SqlNullValueException.cs: new skeletons.
2447
2448 2002-03-29  Rodrigo Moya <rodrigo@ximian.com>
2449
2450         * System.Data.Common/DbDataRecord.cs:
2451         * System.Data.Common/DbEnumerator.cs:
2452         * System.Data.Common/RowUpdatedEventArgs.cs:
2453         * System.Data.Common/RowUpdatingEventArgs.cs:
2454         * System.Data.Common/DbDataPermissionAttribute.cs: new skeletons.
2455
2456 2002-03-28  Rodrigo Moya <rodrigo@ximian.com>
2457
2458         * System.Data.Common/DataTableMappingCollection.cs:
2459         * System.Data.Common/DbDataAdapter.cs:
2460         * System.Data.Common/DbDataPermission.cs:
2461         * System.Data.Common/DataTableMapping.cs: new skeletons.
2462
2463         * System.Data.SqlClient/SqlDataAdapter.cs:
2464         * System.Data.SqlClient/SqlDataReader.cs:
2465         * System.Data.SqlClient/SqlErrors.cs:
2466         * System.Data.SqlClient/SqlError.cs:
2467         * System.Data.SqlClient/SqlException.cs:
2468         * System.Data.SqlClient/SqlParameter.cs:
2469         * System.Data.SqlClient/SqlParameterCollection.cs:
2470         * System.Data.SqlClient/SqlTransaction.cs:
2471         * System.Data.SqlClient/SqlCommand.cs: fixed skeletons.
2472
2473 2002-03-27  Rodrigo Moya <rodrigo@ximian.com>
2474
2475         * System.Data.Common/DataColumnMapping.cs:
2476         * System.Data.Common/DataColumnMappingCollection.cs:
2477         * System.Data.Common/DataAdapter.cs: created skeletons.
2478
2479         * System.Data.build: exclude new directories from build.
2480
2481 2002-03-27  Rodrigo Moya <rodrigo@ximian.com>
2482
2483         * System.Data.SqlClient/SqlTransaction.cs: started implementation.
2484         
2485         * System.Data.SqlClient/SqlConnection.cs (BeginTransaction):
2486         implemented (2 methods).
2487
2488 2002-03-24  Duncan Mak  <duncan@ximian.com>
2489
2490         * System.Data.build: Excluded System.Data.SqlClient from the build.
2491         The stubs are incomplete and they are stopping the build.
2492
2493         * System.Data.SqlClient/SqlCommand.cs: Replaced 'implements' with ':'.
2494
2495 2002-03-24  Rodrigo Moya <rodrigo@ximian.com>
2496
2497         * System.Data.SqlClient/*: added skeletons for the SQL managed
2498         provider for ADO.Net, to be based initially in PostgreSQL.
2499
2500 2002-03-15  Christopher Podurgiel <cpodurgiel@msn.com>
2501         
2502         Changed the Namespace on some Enums from mono.System.Data to System.Data
2503
2504 2002-03-01  Christopher Podurgiel <cpodurgiel@msn.com>
2505
2506         * DataColumnCollection.cs : When an existing DataColumn is added, will now Assign a 
2507                 default name if the ColumnName is null.
2508         * DataSet.cs : Added
2509         * DataTable.cs : Added
2510         * DataRelationCollection.cs : Added
2511         * DataTableRelationCollection.cs : Added
2512         * DataColumn : Added
2513
2514 2002-02-11  Christopher Podurgiel <cpodurgiel@msn.com>
2515
2516         * DataColumnChangeEventArgs.cs : Added
2517         * DataColumnCollection.cs : Added
2518
2519 2002-02-10  Christopher Podurgiel <cpodurgiel@msn.com>
2520         
2521         * Removed *.cs from System.Data as the correct files are in mcs/class/System.Data/System.Data
2522         * Updated all Enums, Interfaces, and Delegates in System.Data