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