2002-04-27 Daniel Morgan <danmorg@sc.rr.com>
[mono.git] / mcs / class / System.Data / ChangeLog
1 2002-04-27  Daniel Morgan <danmorg@sc.rr.com>
2
3         * System.Data/DataRowChangeEventArgs.cs
4         * System.Data/DataRowCollection.cs
5         * System.Data/DataView.cs
6         * System.Data/PropertyCollection.cs: added new stubs
7
8         * System.Data.build: modified - added new files to exclude
9         from build
10         
11         * TODO: modified - removed files from TODO list 
12         that were stubbed above
13         
14         * System.Data/DataColumn.cs
15         * System.Data/DataRow.cs: modified - various tweaks
16         and added internal method SetTable to set the reference
17         to a DataTable
18         
19         * System.Data/DataSet.cs: modified - class was not
20         completely stubbed.
21         
22         * System.Data/DataTable.cs: modified - temporarily commented
23         DataSet and DataView references - trying to compile a SqlDataReader,
24         DataTable, and dependencies for a forward read-only result set.
25         SqlDataAdapter, DataSet, and DataView will come later once we can get
26         a forward read only result set working.
27         
28         * System.Data/IDataRecord.cs: modified - source code lines should
29         not be > 80
30         
31         * System.Data/InternalDataCollectionBase.cs: modified - started 
32         implementing this base class for collection of data rows,
33         columns, tables, relations, and constraints
34         
35         * System.Data.SqlClient/SqlException.cs: modified -
36         call base(message) so a unhandled exception displays
37         the message of a SQL error instead of the 
38         default SystemException message
39         
40         * Test/TestSqlException.cs: modified - 
41         handle the rollback properly for a SqlException on a
42         failure to connect
43
44 2002-04-23  Daniel Morgan <danmorg@sc.rr.com>
45
46         * System.Data.build: modified - added new
47         files to exclude from build 
48         
49         * System.Data/Constraint.cs
50         * System.Data/ConstraintCollection.cs
51         * System.Data/InternalDataCollectionBase.cs: added -
52         stubs which are needed to build DataTable.cs
53         
54         * TODO: modified - added more classes TODO and
55         added more stuff TODO, such as, create script
56         to create test database monotestdb for testing
57         classes in System.Data
58
59 2002-04-23  Rodrigo Moya <rodrigo@ximian.com>
60
61         * System.Data.Common/DataAdapter.cs:
62         * System.Data.Common/DataColumnMappingCollection.cs:
63         * System.Data.Common/DataTableMappingCollection.cs:
64         * System.Data.Common/DbDataPermission.cs:
65         * System.Data.Common/DbDataPermissionAttribute.cs: some
66         compilation errors fixed.
67
68 2002-04-23  Daniel Morgan <danmorg@sc.rr.com>
69
70         * TODO: modified - added classes TODO, and
71         a poor attempt at System.Data plan
72
73 2002-04-23  Daniel Morgan <danmorg@sc.rr.com>
74
75         * ChangeLog: modified - put tabs where they belong
76         
77         * System.Data.SqlClient/SqlDataReader.cs
78         * System.Data/DataColumn.cs: modified - compile errors
79         trying to compile SqlDataAdapter and dependencies
80
81 2002-04-23  Daniel Morgan <danmorg@sc.rr.com>
82
83         * System.Data.SqlTypes/SqlBoolean.cs
84         * System.Data.SqlTypes/SqlCompareOptions.cs
85         * System.Data.SqlTypes/SqlInt32.cs
86         * System.Data.SqlTypes/SqlString.cs: added - new stubs
87
88         * System.Data/DataTable.cs
89         * System.Data.SqlClient/SqlCommand.cs
90         * System.Data.SqlClient/SqlConnection.cs
91         * System.Data.SqlClient/SqlError.cs
92         * System.Data.SqlClient/SqlTransaction.cs: modified - 
93         misc. tweaks
94
95         * System.Data.SqlClient/SqlException.cs: modified -
96         missing Message on indexer for Message property
97
98 2002-04-21  Daniel Morgan <danmorg@sc.rr.com>
99
100         * System.Data.SqlClient/SqlCommand.cs: modified - to 
101         compile using mcs.  This problem is
102         returning a stronger type in csc vs. msc
103
104         * System.Data.SqlClient/SqlConnection.cs: modified - msc
105         can not do a using PGconn = IntPtr; and then declare
106         with PGconn pgConn = IntPtr.Zero;
107         Thiw works under csc though.  Had to comment using and
108         changed declaration to IntPtr pgConn = IntPtr.Zero;
109         Also, got rid of compile warnings for hostaddr and port.
110
111         * System.Data.SqlClient/SqlErrorCollection.cs: modified - got
112         rid of compile warnings.  Commented MonoTODO attribute because mcs
113         doesn't seem to work with C# array property indexer (Item)
114         this[int index]
115
116         * System.Data.SqlClient/SqlParameterCollection.cs: modified -
117         commented MonoTODO attribute for indexer for mcs compiling
118
119         * Test/TestSqlIsolationLevel.cs:
120         * Test/TestSqlInsert.cs:
121         * Test/TestSqlException.cs: modified -
122         removed extra ExecuteNonQuery which caused two inserted rows
123
124 2002-04-20  Daniel Morgan <danmorg@sc.rr.com>
125
126         * System.Data/StateChangeEventArgs.cs - added
127         needed to compile System.Data.dll with mcs.  
128
129 2002-04-20  Daniel Morgan <danmorg@sc.rr.com>
130
131         * System.Data.OleDb: added directory - for OleDb database 
132         provider classes
133
134         * System.Data.SqlClient/SqlClientPermission.cs
135         * System.Data.SqlClient/SqlClientPermissionAttribute.cs
136         * System.Data.SqlClient/SqlCommandBuilder.cs
137         * System.Data.SqlClient/SqlInfoMessageEventHandler.cs
138         * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs
139         * System.Data.SqlClient/SqlRowUpdatedEventHandler.cs
140         * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs
141         * System.Data.SqlClient/SqlRowUpdatingEventHandler.cs
142         * Test/TestSqlException.cs
143         * Test/TestSqlIsolationLevel.cs: added - more tests
144
145         * System.Data.build: modified - added new files - excludes these too
146
147         * System.Data.SqlClient/PostgresLibrary.cs - modified - comment
148
149         * System.Data.SqlClient/SqlConnection.cs 
150         * System.Data.SqlClient/SqlCommand.cs
151         * System.Data.SqlClient/SqlTransaction.cs
152         * System.Data.SqlClient/SqlException.cs
153         * System.Data.SqlClient/SqlErrorCollection.cs
154         * System.Data.SqlClient/SqlError.cs: modified - transaction and
155         exception/error handling. SqlConnection(connectionString) 
156         constructor should not automatically connect.
157   
158         * System.Data.SqlClient/SqlDataReader.cs
159         * System.Data.SqlClient/SqlDataAdapter.cs
160         * System.Data.SqlClient/SqlParameter.cs
161         * System.Data.SqlClient/SqlParameterCollection.cs: modified - 
162         added using System.ComponentModel;
163   
164         * Test/TestSqlInsert.cs: modified - to use transaction
165
166 2002-04-17  Rodrigo Moya <rodrigo@ximian.com>
167
168         * System.Data/DataRow.cs: new skeletons.
169
170         * System.Data.Common/DataAdapter.cs:
171         * System.Data.Common/DataColumnMapping.cs:
172         * System.Data.Common/DataColumnMappingCollection.cs:
173         * System.Data.Common/DataTableMapping.cs:
174         * System.Data.Common/DataTableMappingCollection.cs:
175         * System.Data.Common/DbDataAdapter.cs:
176         * System.Data.Common/RowUpdatedEventArgs.cs:
177         * System.Data.SqlClient/SqlDataAdapter.cs:
178         * System.Data.SqlClient/SqlInfoMessageEventArgs.cs: compilation
179         fixes for Linux.
180
181         * System.Data.Common/DbDataRecord.cs:
182         * System.Data.Common/DbEnumerator.cs: removed MS implementation
183         internal classes.
184
185 2002-04-17  Daniel Morgan <danmorg@sc.rr.com>
186
187         * Test/TestSqlInsert.cs: modified - do
188           a SQL DELETE before SQL INSERT of row so you can use this
189           test over and over.
190         
191         * System.Data.SqlClient/SqlTransaction.cs: modified - default
192           IsolationLevel for PostgreSQL is ReadCommitted.  However,
193           PostgreSQL allows Serializable as well. 
194       (Thanks to Gonzalo for that!)
195         
196         * System.Data.SqlClient/SqlConnection.cs: modified
197         * System.Data.SqlClient/SqlCommand.cs: modified
198         * System.Data.SqlClient/SqlTransaction.cs: modified - got transactions
199           working; however, we still need to implement SQL errors
200           and exceptions to properly handle transactions.  Also, added
201           status and error message support from the PostgreSQL database.
202           Currently, this does a Console.WriteLine() to display the
203           status and error messages, but this is a TODO 
204           for SQL errors and exceptions.
205         
206         * System.Data/TODOAttribute.cs: added - needed MonoTODO
207       attribute for System.Data.dll assembly 
208
209         * System.Data/IDbCommand.cs: modified - commented
210           overloaded method ExecuteReader 
211           so System.Data.SqlClient.SqlCommand can compile
212           
213         * System.Data/IDbCommand.cs: modified
214         * System.Data/IDbConnection.cs: modified - added using System;
215         * System.Data/IDataParameter.cs
216         
217         * System.Data.build: modified - build classes
218           in System.Data.SqlClient and exclude others in System.Data
219         
220         * System.Data.SqlClient/PostgresLibrary.cs: modified - change
221           parameter data type from IntPtr to enum ExecStatusType
222         
223         * ChangeLog: modified - corrected previous entries in log
224
225 2002-04-16  Rodrigo Moya <rodrigo@ximian.com>
226
227         * System.Data.Common/DataColumnMappingCollection.cs: added basic
228         implementation. Still missing some stuff.
229
230 2002-04-16  Daniel Morgan <danmorg@sc.rr.com>
231
232         * System.Data.SqlClient/SqlConnection.cs: modified - got 
233       to compile, run, and connect to PostgreSQL database
234       
235         * System.Data.SqlClient/SqlCommand.cs: modified - got 
236       to compile, run, and execute a SQL INSERT command 
237       which successfully inserted a row 
238       into the PostgreSQL database
239
240         * System.Data.SqlClient/SqlTransaction.cs: modified
241         * System.Data.SqlClient/SqlParameter.cs: modified
242         * System.Data.SqlClient/SqlParameterCollection.cs: modified
243         * System.Data.SqlClient/SqlError.cs: modified
244         * System.Data.SqlClient/SqlErrorCollection.cs: modified
245         * System.Data.SqlClient/SqlException.cs: modified
246         * System.Data.SqlClient/PostgresLibrary.cs: modified - to compile
247
248         * System.Data.SqlClient/SqlAdapter: modified
249         * System.Data.SqlClient/SqlReader: modified - add more stubs
250         
251 2002-04-16  Daniel Morgan <danmorg@sc.rr.com>
252
253         * Test/TestSqlInsert.cs: added 
254
255 2002-04-15  Daniel Morgan <danmorg@sc.rr.com>
256
257         * System.Data.SqlClient/SqlInfoMessageEventArgs.cs: added - using in
258           class SqlConnecition
259         * System.Data.SqlClient/SqlErrorCollection.cs: added
260         * System.Data.SqlClient/SqlErrors.cs: removed - no such class SqlErrors
261
262 2002-04-15  Christopher Podurgiel <cpodurgiel@msn.com>
263         
264         * System.Data.IDbDataParameter: Added Interface to IDataParameter.
265         * System.Data.IDbTransaction: Added Interface to IDisposable.
266         * System.Data.IDbCommand: Fixed Capitalization of class name.
267         * System.Data.IDbConnection: Fixed Capitalization of class name.
268
269 2002-04-15  Rodrigo Moya <rodrigo@ximian.com>
270
271         * System.Data.Common/DbDataPermissionAttribute.cs:
272         * System.Data.Common/DataAdapter.cs:
273         * System.Data.Common/DataColumnMapping.cs:
274         * System.Data.Common/DbDataPermission.cs: added some implementation.
275
276 2002-04-15  Rodrigo Moya <rodrigo@ximian.com>
277
278         * System.Data.SqlClient/SqlConnection.cs: fixed constructor chaining
279         syntax, as pointed out by Levent Camlibel.
280
281 2002-04-14  Rodrigo Moya <rodrigo@ximian.com>
282
283         * System.Data.SqlTypes/SqlBinary.cs:
284         * System.Data.SqlTypes/INullable.cs: new skeletons.
285
286 2002-04-14  Daniel Morgan <danmorg@sc.rr.com>
287
288         * System.Data.SqlClient/PostgresLibrary.cs: new internal class, which
289         contains all calls the the PostgreSQL client library, to be used
290         everywhere in System.Data.SqlClient.
291
292 2002-03-30  Rodrigo Moya <rodrigo@ximian.com>
293
294         * System.Data.SqlClient/SqlConnection.cs: implemented basic
295         constructors.
296
297         * System.Data.SqlTypes/SqlNullValueException.cs: new skeletons.
298
299 2002-03-29  Rodrigo Moya <rodrigo@ximian.com>
300
301         * System.Data.Common/DbDataRecord.cs:
302         * System.Data.Common/DbEnumerator.cs:
303         * System.Data.Common/RowUpdatedEventArgs.cs:
304         * System.Data.Common/RowUpdatingEventArgs.cs:
305         * System.Data.Common/DbDataPermissionAttribute.cs: new skeletons.
306
307 2002-03-28  Rodrigo Moya <rodrigo@ximian.com>
308
309         * System.Data.Common/DataTableMappingCollection.cs:
310         * System.Data.Common/DbDataAdapter.cs:
311         * System.Data.Common/DbDataPermission.cs:
312         * System.Data.Common/DataTableMapping.cs: new skeletons.
313
314         * System.Data.SqlClient/SqlDataAdapter.cs:
315         * System.Data.SqlClient/SqlDataReader.cs:
316         * System.Data.SqlClient/SqlErrors.cs:
317         * System.Data.SqlClient/SqlError.cs:
318         * System.Data.SqlClient/SqlException.cs:
319         * System.Data.SqlClient/SqlParameter.cs:
320         * System.Data.SqlClient/SqlParameterCollection.cs:
321         * System.Data.SqlClient/SqlTransaction.cs:
322         * System.Data.SqlClient/SqlCommand.cs: fixed skeletons.
323
324 2002-03-27  Rodrigo Moya <rodrigo@ximian.com>
325
326         * System.Data.Common/DataColumnMapping.cs:
327         * System.Data.Common/DataColumnMappingCollection.cs:
328         * System.Data.Common/DataAdapter.cs: created skeletons.
329
330         * System.Data.build: exclude new directories from build.
331
332 2002-03-27  Rodrigo Moya <rodrigo@ximian.com>
333
334         * System.Data.SqlClient/SqlTransaction.cs: started implementation.
335         
336         * System.Data.SqlClient/SqlConnection.cs (BeginTransaction):
337         implemented (2 methods).
338
339 2002-03-24  Duncan Mak  <duncan@ximian.com>
340
341         * System.Data.build: Excluded System.Data.SqlClient from the build.
342         The stubs are incomplete and they are stopping the build.
343
344         * System.Data.SqlClient/SqlCommand.cs: Replaced 'implements' with ':'.
345
346 2002-03-24  Rodrigo Moya <rodrigo@ximian.com>
347
348         * System.Data.SqlClient/*: added skeletons for the SQL managed
349         provider for ADO.Net, to be based initially in PostgreSQL.
350
351 2002-03-15  Christopher Podurgiel <cpodurgiel@msn.com>
352         
353         Changed the Namespace on some Enums from mono.System.Data to System.Data
354
355 2002-03-01  Christopher Podurgiel <cpodurgiel@msn.com>
356
357         * DataColumnCollection.cs : When an existing DataColumn is added, will now Assign a 
358                 default name if the ColumnName is null.
359         * DataSet.cs : Added
360         * DataTable.cs : Added
361         * DataRelationCollection.cs : Added
362         * DataTableRelationCollection.cs : Added
363         * DataColumn : Added
364
365 2002-02-11  Christopher Podurgiel <cpodurgiel@msn.com>
366
367         * DataColumnChangeEventArgs.cs : Added
368         * DataColumnCollection.cs : Added
369
370 2002-02-10  Christopher Podurgiel <cpodurgiel@msn.com>
371         
372         * Removed *.cs from System.Data as the correct files are in mcs/class/System.Data/System.Data
373         * Updated all Enums, Interfaces, and Delegates in System.Data