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