1 2003-07-16 Peter Williams <peter@newton.cx>
3 * Makefile: Flip around for the new default build
6 2003-06-16 Tim Coleman <tim@timcoleman.com>
7 * System.Data.Common/DbDataAdapter.cs:
8 Add the DataTable to the result set even if it contains
9 no rows. Based on report by Krieg Andreas.
11 2003-03-17 Daniel Morgan <danmorg@sc.rr.com>
13 * System.Data.build: on windows build, ignore
14 warnings CS0219: "The variable xxx is assigned but its value is
15 never used" and CS0168: "The variable xxx
16 is declared but never used"
18 * System.Data/DataRow.cs: flush
20 * System.Data/DataSet.cs: start implementation on Clear(),
21 and WriteXml() should write the start element <?xml ... ?> at the top
24 * System.Data/DataTable.cs: TODO/FIXME notes. Start implementation
25 of Compute() - still not working
27 2003-03-16 Daniel Morgan <danmorg@sc.rr.com>
29 * System.Data/DataRowView.cs: in the constructor pass
30 DataRow in instead of int index of the DataRow
33 * System.Data/DataTable.cs: implement sorting
34 for method Select(filterExpression,sort)
36 * System.Data/DataView.cs: more implementation -
37 Now, If Sort, RowFilter, or RowStateFilter is set, an
38 enumerated DataRowViews will be a view with those
39 properties applied. Still need to implement event handling
42 2003-03-13 Tim Coleman <tim@timcoleman.com>
43 * System.Data.SqlClient/SqlCommandBuilder.cs:
44 Change "where" variable name to "whereClause" at the
45 request of Rhys Weatherley <rweather@zip.com.au>
47 2003-03-10 Daniel Morgan <danmorg@sc.rr.com>
49 * System.Data.SqlClient/SqlDataReader.cs: when
50 the data reader is closed, this SqlDataReader referenced
51 in SqlConnection needs to be null
53 * System.Data.Common/DbDataAdapter.cs: for SelectCommands executed that
54 have no result set, such as, DDL like CREATE TABLE or DML like INSERT,
55 the data reader needs to be immediately closed, and 0 returned
56 as the number of rows added or refreshed
58 2003-02-18 Daniel Morgan <danmorg@sc.rr.com>
60 * DataTableRelationCollection.cs: removed file
61 because its internally in file DataRelationCollection.cs
63 2003-02-18 Alan Tam <Tam@SiuLung.com>
65 * DataRelation.cs: Added storage required to hold the relations.
\r
66 Checking of constraints are not implemented yet.
\r
67 * DataRelationCollection.cs: Implemented DataSetRelationCollection
\r
68 and DataTableRelationCollection, both as inner class of the abstract class
\r
69 DataRelationCollection (like Microsoft although not documented in ECMA).
\r
70 * DataRow.cs: Implemented GetChildRows in a extremely slow way.
\r
71 Need to implement caching like Microsoft later.
\r
72 * DataSet.cs: Uncomment DataRelation related members. Uncomment
\r
73 code for Nested XML. Implemented WriteTable(XmlWriter, DataRow[],
\r
74 XmlWriteMode) for use of Nested XML. Fixed a wrong modifier in
\r
75 GetSerializationData.
\r
76 * DataTable.cs: Uncomment DataRelation related members.
\r
78 2003-02-11 Tim Coleman <tim@timcoleman.com>
79 * System.Data.SqlClient/SqlConnection.cs:
80 Close the data reader properly, and be sure
81 to close the data reader when the connection
84 2003-02-10 Nick Drochak <ndrochak@gol.com>
86 * System.Data.build: Keep the standalone tests out of the dll.
88 2003-02-09 Rodrigo Moya <rodrigo@ximian.com>
90 * System.Data.OleDb/OleDbConnection.cs:
91 * System.Data.OleDb/libgda.cs: upgraded to libgda 0.10.
93 2003-01-30 Ville Palo <vi64pa@koti.soon.fi>
95 * list: Added new file ExpressionElement.cs
97 2003-01-26 Daniel Morgan <danmorg@sc.rr.com>
99 * System.Data/DataColumn.cs: fix to not check for DataType being set
101 * System.Data/DataRow.cs: misc fixes
103 * Test/SqlTest.cs: accept connection parameters from
104 command line instead of being hard coded
106 * Test/System.Data_test.build: exclude building SqlTest.cs
108 * Test/System.Data/DataRowTest.cs
109 * Test/System.Data/DataColumnTest.cs: added new tests and numbered
110 all the tests so they can be easily identified
112 * Test/System.Data/DataRelationTest.cs: commented code that calls
113 DataSet's BeginEdit() and EndEdit() which causes a compile error
115 2003-01-24 Daniel Morgan <danmorg@sc.rr.com>
117 * System.Data/DataColumn.cs: fixes to be like .NET -
118 when setting AllowDBNull to false, determine if there is
119 any data that has DBNull.Value, implement AutoIncrement, do not
120 allow changing the DataType of the column if data has already been
121 set, check if the DataType is supported,
123 * System.Data/DataColumnCollection.cs: handle default ColumnName
126 * System.Data/DataRow.cs: fixes to be like .NET - a
127 data column gets initialized to all DBNull.Values not null,
128 implement AutoIncrement, when setting ItemArray if the item array being
129 set has less items than the number of columns in the table set those last
130 columns to DBNull.Value, after setting ItemArray values do an EndEdit(),
131 both a null and DBNull.Value get set to a DBNull.Value, only use DefaultValue
132 and AutoIncrement if the value is set to null while DBNull.Value only gets set
135 2003-01-17 Daniel Morgan <danmorg@sc.rr.com>
137 * System.Data.SqlClient.SqlConnection.cs: add connection
138 parameter UID which is the same thing as User ID
140 2003-01-13 Ville Palo <vi64pa@koti.soon.fi>
142 * System.Xml/XmlDataDocument.cs: lots of bugfixes and more implemented
145 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
147 * list: added System.Data/DataTablePropertyDescriptor.cs
149 2002-12-27 Ville Palo <vi64pa@koti.soon.fi>
151 * list: Added System.Data/XmlDataLoader.cs
153 2002-12-16 Ville Palo <vi64pa@koti.soon.fi>
155 * System.Xml/XmlDataDocument.cs: Now rollback works. It means all
156 types of transactions works, i guess ;)
158 2002-12-14 Ville Palo <vi64pa@koti.soon.fi>
160 * System.Xml/XmlDataDocument.cs: Adding row via XmlDataDocument to
161 DataSet's datatable is now possible.
163 2002-12-11 Ville Palo <vi64pa@koti.soon.fi>
165 * System.Xml/XmlDataDocument.cs: Implemented GetRowFromElement() and
166 GetElementFromRowElement () -methods. Somefixed and little clean up.
168 2002-12-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
170 * System.Data.SqlClient/SqlCommand.cs:
171 (CloseReader): don't get the output parameters here.
172 (GetOutputParameters): don't skip the stream. The parameters will be
175 * System.Data.SqlClient/SqlConnection.cs: don't try to execute
176 'sp_reset_connection'.
178 * System.Data.SqlClient/SqlDataReader.cs: get the output parameters
179 after the end of the results.
181 2002-12-04 Ville Palo <vi64pa@koti.soon.fi>
183 * System.Xml/XmlDataDocument.cs: Now this works in both ways,
184 DataSet <--> XmlDataDocument.cs at some level at least.
186 2002-12-02 Ville Palo <vi64pa@koti.soon.fi>
188 * System.Xml/XmlDataDocument.cs : some fixes and some imlemented
191 2002-12-01 Tim Coleman <tim@timcoleman.com>
192 * System.Data.SqlClient/SqlDataReader.cs:
193 Change to reflect TdsSchemaInfo -> TdsDataColumnCollection
196 2002-12-01 Ville Palo <vi64pa@koti.soon.fi>
198 * list: Added XmlDataDocument.cs
199 * System.Xml/XmlDataDocument.cs: more implementation.
201 2002-11-30 Daniel Morgan <danmorg@sc.rr.com>
203 * System.Data.Odbc/OdbcDataReader.cs: implemented GetValues() method
204 needed by OdbcDataAdapter
206 * System.Data.Odbc/OdbcDataAdapter.cs
\r
207 * System.Data.Odbc/OdbcRowUpdatedEventArgs.cs
\r
208 * System.Data.Odbc/OdbcRowUpdatedEventHandler.cs
\r
209 * System.Data.Odbc/OdbcRowUpdatingEventArgs.cs
\r
210 * System.Data.Odbc/OdbcRowUpdatingEventHandler.cs: added files for an
213 * list: added new files to linux build
214 in namespace System.Data.Odbc for the ODBC Data Adapter
216 * System.Xml/XmlDataDocument.cs: commented method
217 protected internal override XPathNavigator CreateNavigator(XmlNode node)
218 because it would not compile on .NET Framework. Added
219 a FIXME comment there
221 2002-11-29 Ville Palo <vi64pa@koti.soon.fi>
223 * System.Xml/XmlDataDocument.cs: Started to implement.
225 2002-11-26 Tim Coleman <tim@timcoleman.com>
226 * System.Data.SqlClient/SqlCommand.cs:
227 * System.Data.SqlClient/SqlConnection.cs:
228 * System.Data.SqlClient/SqlDataReader.cs:
229 * System.Data.SqlClient/SqlParameter.cs:
230 * System.Data.SqlClient/SqlParameterCollection.cs:
231 * System.Data.SqlClient/SqlTransaction.cs:
232 Many changes around restructuring of parameter
233 information so that the Sybase provider supports
236 2002-11-25 Ville Palo <vi64pa@koti.soon.fi>
238 * System.Data/DataSet.cs : Started to implement ReadXmlSchema -method
240 2002-11-21 Tim Coleman <tim@timcoleman.com>
242 * System.Data.SqlClient/SqlCommand.cs:
243 * System.Data.SqlClient/SqlConnection.cs:
244 * System.Data.SqlClient/SqlConnectionPool.cs:
245 * System.Data.SqlClient/SqlDataReader.cs:
246 * System.Data.SqlClient/SqlException.cs:
247 * System.Data.SqlClient/SqlInfoMessageEventArgs.cs:
248 * System.Data.SqlClient/SqlParameter.cs:
249 * System.Data.SqlClient/SqlTransaction.cs:
250 * System.Data.SqlClient/SqlXmlTextReader.cs:
251 * System.Data.SqlTypes/SqlDecimal.cs:
252 Modify to accept new Mono.Data.Tds.Protocol
253 namespace in Mono.Data.Tds assembly, replacing
254 Mono.Data.TdsClient.Internal
256 2002-11-20 Ville Palo <vi64pa@koti.soon.fi>
258 * System.Data.SqlTypes/SqlDecimal.cs: Ported some divide-stuff from
259 decimal.c file. Does not work correctly yet.
261 2002-11-18 Tim Coleman <tim@timcoleman.com>
262 * System.Data.SqlClient/SqlConnection.cs:
263 BeginTransaction bug.
264 * System.Data.SqlClient/SqlParameter.cs:
265 Add some comments to describe what is going on.
266 * System.Data.SqlClient/SqlCommand.cs:
268 * System.Data.SqlClient/SqlDataReader.cs:
269 Add support to get SQL Types
271 2002-11-16 Daniel Morgan <danmorg@sc.rr.com>
273 * System.Data/DataView.cs: fix bug
274 with DataViewEnumerator causing InvalidOperationException
277 2002-11-15 Tim Coleman <tim@timcoleman.com>
278 * System.Data.Common/DbDataPermission.cs:
279 * System.Data.SqlClient/SqlClientPermission.cs:
280 Make these agree on the class status page.
281 * System.Data.SqlClient/SqlCommand.cs:
282 - Fix up handling of GUID and [Var]Binary, and Image types
283 * System.Data.SqlClient/SqlParameter.cs:
284 - Provide support for conversion between Type,
285 DbType, SqlDbType, and the SQL server type names.
286 - Fix up handling of GUID and [Var]Binary types
287 * System.Data.SqlClient/SqlParameterCollection.cs:
288 Correct all of the Add methods.
290 - Add more types to test: unique identifier, binary,
291 image, smalldatetime, money, smallmoney, timestamp
293 2002-11-14 Daniel Morgan <danmorg@sc.rr.com>
295 * System.Data/DataColumnPropertyDescriptor.cs
296 * System.Data/DataRowView.cs
297 * System.Data/DataView.cs
298 * System.Data.Common/DbDataRecord.cs: a little bit more
299 implementation for data binding purposes
301 * Test/PostgresTest.cs
302 * Test/TestSqlDataAdapter.cs
303 * Test/TestSqlException.cs
304 * TestSqlParameters.cs: fixed test for PostgreSQL's new home
305 at Mono.Data.PostgreSqlClient
307 2002-11-14 Tim Coleman <tim@timcoleman.com>
308 * System.Data.SqlClient/SqlCommand.cs:
309 Slight reformatting of Bit values and sql statements
310 * System.Data.SqlClient/SqlDataReader.cs:
311 Implement RecordsAffected
313 * System.Data.SqlClient/SqlParameter.cs:
314 Propertly support Char/NChar
315 * System.Data.SqlClient/SqlXmlTextReader.cs:
316 Add Close () to the Dispose () method
318 2002-11-13 Tim Coleman <tim@timcoleman.com>
320 New class added for testing SqlClient
321 * System.Data.SqlClient/SqlCommand.cs:
322 Add handling for SqlDbType.Bit
323 * System.Data.SqlClient/SqlConnection.cs:
324 Implement Dispose () methods.
325 Change ConnectionString setter
326 * System.Data.SqlClient/SqlDataReader.cs:
327 Implement Dispose () methods.
328 Set RecordsAffected to -1 by default. Need to
329 set this correctly in the future.
330 * System.Data.SqlClient/SqlCommandBuilder.cs:
331 * System.Data.SqlClient/SqlDataAdapter.cs:
332 * System.Data.SqlClient/SqlTransaction.cs:
333 * System.Data.SqlClient/SqlXmlTextReader.cs:
334 Implement Dispose () methods.
336 2002-11-12 Tim Coleman <tim@timcoleman.com>
338 Remove Mono.Data.TdsClient.Internal/TdsContext.cs
339 * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs:
340 * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs:
341 Complete these classes
342 * System.Data.Common/DbDataAdapter.cs:
343 Experimental support for FillSchema ()
345 2002-11-11 Tim Coleman <tim@timcoleman.com>
346 * System.Data/ResDescriptionAttribute.cs:
348 New internal class added
349 * System.Data/Constraint.cs:
350 * System.Data/ConstraintCollection.cs:
351 * System.Data/DBConcurrencyException.cs:
352 * System.Data/DataColumn.cs:
353 * System.Data/DataColumnCollection.cs:
354 * System.Data/DataRelation.cs:
355 * System.Data/DataRelationCollection.cs:
356 * System.Data/DataRow.cs:
357 * System.Data/DataRowBuilder.cs:
358 * System.Data/DataRowBuilder.cs:
359 * System.Data/DataRowCollection.cs:
360 * System.Data/DataSet.cs:
361 * System.Data/DataTable.cs:
362 * System.Data/DataTableCollection.cs:
363 * System.Data/DataView.cs:
364 * System.Data/DataViewManager.cs:
365 * System.Data/DataViewSetting.cs:
366 * System.Data/DataViewSettingCollection.cs:
367 * System.Data/ForeignKeyConstraint.cs:
368 * System.Data/ForeignKeyConstraint.cs:
369 * System.Data/InternalDataCollectionBase.cs:
370 * System.Data/MergeFailedEventArgs.cs:
371 * System.Data/StrongTypingException.cs:
372 * System.Data/TypeDataSetGeneratorException.cs:
373 * System.Data/UniqueConstraint.cs:
374 * System.Data.Common/DataAdapter.cs:
375 * System.Data.Common/DataColumnMapping.cs:
376 * System.Data.Common/DataColumnMappingCollection.cs:
377 * System.Data.Common/DataTableMapping.cs:
378 * System.Data.Common/DataTableMappingCollection.cs:
379 * System.Data.Common/DbDataAdapter.cs:
380 * System.Data.Common/DbDataPermission.cs:
381 * System.Data.Common/DbDataPermissionAttribute.cs:
382 * System.Data.Common/DbEnumerator.cs:
383 * System.Data.SqlClient/SqlCommand.cs:
384 * System.Data.SqlClient/SqlCommandBuilder.cs:
385 * System.Data.SqlClient/SqlConnection.cs:
386 * System.Data.SqlClient/SqlDataAdapter.cs:
387 * System.Data.SqlClient/SqlParameter.cs:
388 Add missing attributes, methods, properties based on information
389 from System.Data class status page on go-mono.com.
392 2002-11-10 Ville Palo <vi64pa@koti.soon.fi>
394 * System.Data.SqlTypes/SqlString.cs: Now all methods are implemented
396 2002-11-09 Tim Coleman <tim@timcoleman.com>
398 * System.Data/DataCategoryAttribute.cs:
399 Add new attribute based on corcompare
401 2002-11-09 Rodrigo Moya <rodrigo@ximian.com>
403 * System.Data.OleDb/OleDbDataAdapter.cs: cleaned up implementation,
404 based on the PgSql/SqlClient data adapter classes.
406 2002-11-09 Tim Coleman <tim@timcoleman.com>
408 Add new internal tds classes
409 * System.Data.Common/DbDataAdapter.cs:
410 * System.Data.SqlClient/SqlDataAdapter.cs:
411 Change event calling system
412 * System.Data.SqlClient/SqlClientPermission.cs:
413 * System.Data.SqlClient/SqlClientPermissionAttribute.cs:
414 * System.Data.SqlClient/SqlDataReader.cs:
416 * System.Data.SqlClient/SqlCommand.cs:
417 Some changes to make consistent with .NET based on Sql server traces
418 Implement command timeout
419 * System.Data.SqlClient/SqlCommandBuilder.cs:
420 Make sure that we only build a command if key info found
421 * System.Data.SqlClient/SqlConnection.cs:
422 Change event calling system
423 Some changes to make consistent with .NET based on Sql server traces
424 Implement connection timeout
425 * System.Data.SqlClient/SqlConnectionPool.cs:
426 Implement connection timeout
427 * System.Data.SqlClient/SqlError.cs:
428 Implement ToString ()
429 * System.Data.SqlClient/SqlException.cs:
430 Mucho implementation and cleanup
431 * System.Data.SqlClient/SqlParameter.cs:
433 * System.Data.SqlClient/SqlParameterCollection.cs:
435 * System.Data.SqlClient/SqlTransaction.cs:
436 Move some of the transaction creation to SqlConnection to be consistent
439 2002-11-08 Tim Coleman <tim@timcoleman.com>
440 * System.Data/DataRow.cs:
441 * System.Data/DataTable.cs:
442 Some fix-ups related to the DbDataAdapter to make it work.
443 * System.Data.Common/DbDataAdapter.cs:
444 Fix the Fill () and Update () methods. These now work
445 fairly well. Need mucho testing.
446 * System.Data.SqlClient/SqlCommandBuilder.cs:
447 Support table mappings and parameter source versions now.
448 * System.Data.SqlClient/SqlConnection.cs:
449 * System.Data.SqlClient/SqlTransaction.cs:
450 Add set accessor for transaction so that SqlTransaction.Commit ()
451 will remove itself from the connection.
452 * System.Data.SqlClient/SqlDataAdapter.cs:
453 Update/Insert/Delete command should be null by default.
454 * System.Data.SqlClient/SqlException.cs:
455 Remove a TODO attribute
456 * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs:
457 Properly handle the SqlCommand object
459 2002-11-08 Ville Palo <vi64pa@koti.soon.fi>
461 * System.Data.SqlTypes/SqlDateTime.cs: Now the all methods are
464 2002-11-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
466 * System.Data.SqlTypes/SqlDecimal.cs: fixed build. Someone should check
467 my comments and do something more appropiate.
469 2002-11-07 Ville Palo <vi64pa@koti.soon.fi>
471 * System.Data.SqlTypes/SqlBinary.cs:
472 * System.Data.SqlTypes/SqlBoolean.cs:
473 * System.Data.SqlTypes/SqlByte.cs:
474 * System.Data.SqlTypes/SqlDateTime.cs:
475 * System.Data.SqlTypes/SqlDecimal.cs:
476 * System.Data.SqlTypes/SqlDouble.cs:
477 * System.Data.SqlTypes/SqlDecimal.cs:
478 * System.Data.SqlTypes/SqlGuid.cs:
479 * System.Data.SqlTypes/SqlInt16.cs:
480 * System.Data.SqlTypes/SqlInt32.cs:
481 * System.Data.SqlTypes/SqlInt64.cs:
482 * System.Data.SqlTypes/SqlMoney.cs:
483 * System.Data.SqlTypes/SqlSingle.cs:
484 * System.Data.SqlTypes/SqlString.cs: Implemented more methods and
485 fixed some. SqlBoolean Equals (object value) -method improvements to
488 2002-11-07 Tim Coleman <tim@timcoleman.com>
489 * System.Data.Common/DbDataAdapter.cs:
490 Remove NotImplementedException in Dispose
491 * System.Data.Common/FieldNameLookup.cs:
493 * System.Data.SqlClient/SqlCommand.cs:
494 Fix CommandText accessor (stack overflow)
495 Implement DeriveParameters method
496 * System.Data.SqlClient/SqlCommandBuilder.cs:
498 * System.Data.SqlClient/SqlConnection.cs:
499 Change application name to "Mono SqlClient Data Provider"
500 * System.Data.SqlClient/SqlDataReader.cs:
501 Add new schema information
502 * System.Data.SqlClient/SqlError.cs:
503 * System.Data.SqlClient/SqlErrorCollection.cs:
504 Remove internal methods, TODO attributes
505 * System.Data.SqlClient/SqlParameter.cs:
506 Add new internal constructor for DeriveParameters use
507 * System.Data.SqlClient/SqlParameterConverter.cs:
508 Add missing methods based on class status
510 2002-11-07 Nick Drochak <ndrochak@gol.com>
511 * list: add System.Data/ColumnDataPropertyDescriptor.cs
513 2002-11-04 Tim Coleman <tim@timcoleman.com>
515 Add Mono.Data.TdsClient.Internal.TdsInternalError
516 Add Mono.Data.TdsClient.Internal.TdsInternalErrorCollection
517 Add Mono.Data.TdsClient.Internal.TdsInternalErrorMessageEventHandler
518 Add Mono.Data.TdsClient.Internal.TdsInternalErrorMessageEventArgs
519 Add Mono.Data.TdsClient.Internal.TdsInternalInfoMessageEventHandler
520 Add Mono.Data.TdsClient.Internal.TdsInternalInfoMessageEventArgs
521 Remove Mono.Data.TdsClient.Internal.TdsPacketErrorResult
522 Remove Mono.Data.TdsClient.Internal.TdsPacketErrorResultCollection
523 Remove Mono.Data.TdsClient.Internal.TdsPacketMessageResult
524 * System.Data.Common/RowUpdatedEventArgs.cs:
525 * System.Data.Common/RowUpdatingEventArgs.cs:
527 * System.Data.SqlClient/SqlCommand.cs:
528 * System.Data.SqlClient/SqlDataReader.cs:
529 Remove checks for errors. These are now handled by events
530 * System.Data.SqlClient/SqlConnection.cs:
531 * System.Data.SqlClient/SqlError.cs:
532 * System.Data.SqlClient/SqlException.cs:
533 * System.Data.SqlClient/SqlInfoMessageEventArgs.cs:
534 Add event handlers and triggers for errors, messages, state change
535 * System.Data.SqlClient/SqlParameter.cs:
536 Re-add refreshproperties
537 * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs:
538 * System.Data.SqlClient/SqlRowUpdatedEventHandler.cs:
539 * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs:
540 * System.Data.SqlClient/SqlRowUpdatingEventHandler.cs:
543 2002-11-04 Tim Coleman <tim@timcoleman.com>
545 Add Mono.Data.TdsClient.Internal.TdsBigDecimal
546 Add System.Data.SqlClient.SqlParameterConverter
547 Add System.Data.DataSysDescriptionAttribute
548 * System.Data/DataSysDescriptionAttribute.cs:
550 * System.Data.Common/DbDataPermission.cs:
551 Add CreateInstance method
552 * System.Data.SqlClient/SqlClientPermission.cs:
553 * System.Data.SqlClient/SqlError.cs:
554 Add Serializable attribute
555 * System.Data.SqlClient/SqlCommand.cs:
556 * System.Data.SqlClient/SqlConnection.cs:
557 * System.Data.SqlClient/SqlDataAdapter.cs:
558 * System.Data.SqlClient/SqlParameter.cs:
559 Add some missing property attributes
560 * System.Data.SqlClient/SqlCommandBuilder.cs:
561 Add some missing property attributes
563 * System.Data.SqlClient/SqlDataReader.cs:
564 Implement missing methods
565 * System.Data.SqlClient/SqlErrorCollection.cs:
566 Implement the properties
567 * System.Data.SqlClient/SqlException.cs:
568 Remove extra property accessors
569 * System.Data.SqlClient/SqlInfoMessageEventArgs.cs:
570 Add internal constructor
571 * System.Data.SqlClient/SqlParameterCollection.cs:
572 Add internal constructor
573 Add property attributes
574 * System.Data.SqlClient/SqlParameterConverter.cs:
575 New internal class added
576 * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs:
577 * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs:
579 * System.Data.SqlTypes/SqlDecimal.cs:
580 Add implicit conversion from TdsBigDecimal to SqlDecimal
581 * System.Data.SqlTypes/SqlString.cs:
582 * System.Data.SqlTypes/SqlInt16.cs:
583 * System.Data.SqlTypes/SqlDateTime.cs:
584 Change code to remove compiler warnings
586 2002-11-04 Stuart Caborn <stuart.caborn@clearswift.com>
588 * list: added System.Data/XmlConstants.cs to
591 * System.Data/XmlConstants.cs: added -
592 * System.Data/DataTable.cs
593 * System.Data/DataSet.cs
594 * System.Data/DataColumn.cs
595 * System.Data/DataColumnCollection.cs
596 * System.Data/DataRelation.cs: modified -
597 Began initial implementation of WriteXml
\r
598 and WriteXmlSchema. There is no support for DiffGrams
\r
599 yet. In WriteSchema mode, relationships are missing,
\r
600 all types are xs:string and the namespacing is not
\r
601 working properly. Added support for Ordinals in the
\r
602 DataColumnCollection and added support for
\r
603 namespaces and prefixes.
\r
605 2002-11-03 Ville Palo <vi64pa@koti.soon.fi>
607 * System.Data.SqlTypes/SqlBinary.cs: Finished and no errors generated
608 by NUnitConsole_mono.exe
610 2002-11-03 Tim Coleman (tim@timcoleman.com)
611 * System.Data.SqlClient/SqlCommand.cs:
612 Use SET NO_BROWSETABLE ON when CommandBehavior is KeyInfo
613 * System.Data.SqlClient/SqlDataReader.cs:
614 Get more schema info if available
616 Add Mono.Data.TdsClient.Internal.TdsColumnStatus
618 2002-11-02 Tim Coleman (tim@timcoleman.com)
619 * System.Data.SqlClient/SqlCommand.cs:
620 Change to use sp_executesql to run regular text queries.
621 Now, sp_executesql for text, sp_execute for prepared,
622 and execute for SPs means everything runs a procedure.
623 * System.Data.SqlClient/SqlParameter.cs:
624 Allow client to set parameter name in Prepare ()
625 * System.Data.SqlClient/SqlParameterCollection.cs:
626 Implement some methods
627 * System.Data.SqlClient/SqlDataReader.cs:
628 Since everything is an SP now, we know that when
629 we see DoneProc, that we are really done.
631 2002-11-01 Tim Coleman (tim@timcoleman.com) :
632 * System.Data.Common/DbEnumerator.cs :
633 Throw correct exception on Reset ()
634 Add ColumnSize to schema table.
635 * System.Data.SqlClient/SqlDataReader.cs :
636 Add ColumnSize to schema table.
637 * System.Data.SqlClient/SqlCommand.cs :
638 Change the way that preparing is handled.
639 Now uses sp_prepare on the server instead of temp
640 stored procedures because it's the Right Thing[tm] to do.
641 * System.Data.SqlClient/SqlConnection.cs :
642 Store data readers here rather than in command
643 * System.Data.SqlClient/SqlDataReader.cs :
644 More implementation, including binary types
645 * System.Data.SqlClient/SqlParameter.cs :
648 2002-10-31 Tim Coleman (tim@timcoleman.com)
649 * System.Data.Common/DbDataAdapter.cs :
650 Fix handling of nulls
651 * System.Data.Common/DbDataRecord.cs :
652 Change GetFieldType ()
653 * System.Data.Common/DbEnumerator.cs :
654 Add new schema information
655 * System.Data.Common/FieldNameLookup.cs :
656 Change definition of schema
657 * System.Data.Common/SchemaInfo.cs :
659 * System.Data.SqlClient/SqlDataReader.cs :
660 get more schema table data
662 Add Mono.Data.TdsClient.Internal.TdsSchemaInfo
664 2002-10-31 Ville Palo <vi64pa@koti.soon.fi>
673 * SqlString.cs: Some bugfixes and some TODOs but so much
676 2002-10-30 Tim Coleman (tim@timcoleman.com)
677 * System.Data.Common/FieldNameLookup.cs:
678 * System.Data.Common/SchemaInfo.cs:
679 * System.Data.SqlClient/SqlXmlTextReader.cs:
682 Class list changed in build
683 * System.Data.SqlClient/SqlCommand.cs:
684 Added support for command behaviors
685 Refactored a bunch of code
686 Implement ExecuteScalar
687 Implement ExecuteXmlReader
688 * System.Data.SqlClient/SqlConnection.cs:
689 Moved CheckForErrors here
690 * System.Data.SqlClient/SqlDataAdapter.cs:
692 * System.Data.SqlClient/SqlDataReader.cs:
693 Implement GetEnumerator
695 Add SqlDataReaderEnumerator private class
696 * System.Data.SqlClient/SqlParameter.cs:
697 Move some of the Prepare code from SqlCommand to here
698 * System.Data.SqlClient/SqlTransaction.cs:
699 Move error checking to SqlConnection
701 2002-10-29 Tim Coleman (tim@timcoleman.com)
702 * System.Data.SqlClient/SqlCommand.cs:
703 Added code to handle parameters for queries
704 * System.Data.SqlClient/SqlConnection.cs:
705 Properly handle resetting SqlConnections
706 * System.Data.SqlClient/SqlDataReader.cs:
707 Properly handle the case where no results are returned
708 * System.Data.SqlClient/SqlParameter.cs:
709 Default direction to Input
710 * System.Data.SqlClient/SqlParameterCollection.cs:
711 Implement GetEnumerator
713 2002-10-29 Rodrigo Moya <rodrigo@ximian.com>
715 * makefile.gnu: added Test directory.
717 2002-10-29 Ville Palo <vi64pa@koti.soon.fi>
719 * System.Data.SqlTypes/SqlGuid.cs: Fixed some bugs and finished
722 2002-10-28 Tim Coleman (tim@timcoleman.com)
723 * System.Data.SqlClient/SqlCommand.cs:
724 Add some error handling
725 * System.Data.SqlClient/SqlDataReader.cs:
726 Add some error handling
727 Add precision/scale to schema table
728 * System.Data.SqlClient/SqlException.cs:
729 Generate a SqlException from TDS error
731 * System.Data.SqlClient/SqlTransaction.cs:
732 Add some error handling
735 2002-10-28 Ville Palo <vi64pa@koti.soon.fi>
737 * System.Data.SqlTypes/SqlBinary.cs:
738 * System.Data.SqlTypes/SqlBoolean.cs:
739 * System.Data.SqlTypes/SqlByte.cs:
740 * System.Data.SqlTypes/SqlDateTime.cs:
741 * System.Data.SqlTypes/SqlDecimal.cs:
742 * System.Data.SqlTypes/SqlDouble.cs:
743 * System.Data.SqlTypes/SqlDecimal.cs:
744 * System.Data.SqlTypes/SqlDouble.cs:
745 * System.Data.SqlTypes/SqlGuid.cs:
746 * System.Data.SqlTypes/SqlInt16.cs:
747 * System.Data.SqlTypes/SqlInt32.cs:
748 * System.Data.SqlTypes/SqlInt64.cs:
749 * System.Data.SqlTypes/Money.cs:
750 * System.Data.SqlTypes/SqlSingle.cs:
751 * System.Data.SqlTypes/SqlString.cs:
752 * System.Data.SqlTypes/SqlSingle.cs: Fixed internal loop bugs and
753 some other minor fixes.
755 2002-10-27 Rodrigo Moya <rodrigo@ximian.com>
757 * System.Data.OleDb/OleDbDataAdapter.cs (Fill, FillSchema,
758 GetFillParameters, Update): added overloaded methods.
760 * System.Data.OleDb/OleDbCommand.cs:
761 * System.Data.OleDb/OleDbDataReader.cs:
762 * System.Data.OleDb/OleDbConnection.cs: removed limitation of one
763 data adapter at a time. Mono's version can open as many as you want,
766 2002-10-25 Tim Coleman (tim@timcoleman.com)
767 * System.Data.SqlClient/SqlConnectionPool.cs:
769 * System.Data.SqlClient/SqlClientPermission.cs:
770 * System.Data.SqlClient/SqlClientPermissionAttribute.cs:
771 * System.Data.SqlClient/SqlInfoMessageEventArgs.cs:
772 * System.Data.SqlClient/SqlInfoMessageEventHandler.cs:
773 * System.Data.SqlClient/SqlParameter.cs:
774 * System.Data.SqlClient/SqlParameterCollection.cs:
776 * System.Data.SqlClient/SqlCommand.cs:
777 * System.Data.SqlClient/SqlConnection.cs:
778 * System.Data.SqlClient/SqlException.cs:
779 * System.Data.SqlClient/SqlTransaction.cs:
780 New code based on work in TDS Client
782 New files added for SqlClient, and TdsClient.Internal
784 Added reference to System.EnterpriseServices.dll
785 Still leave SqlClient out of build until danmorg
788 2002-10-23 Ville Palo <vi64pa@koti.soon.fi>
790 * System.Data.SqlTypes/SqlDouble.cs:
791 * System.Data.SqlTypes/SqlSingle.cs: Finished
793 2002-10-23 Ville Palo <vi64pa@koti.soon.fi>
795 * System.Data.SqlTypes/SqlByte.cs:
796 * System.Data.SqlTypes/SqlBoolean.cs:
797 * System.Data.SqlTypes/SqlInt16.cs:
798 * System.Data.SqlTypes/SqlInt32.cs:
799 * System.Data.SqlTypes/SqlInt64.cs: Finished.
801 2002-10-21 Rodrigo Moya <rodrigo@ximian.com>
803 * list: removed libodbchelper.cs file, which has been removed.
805 2002-10-16 Tim Coleamn <tim@timcoleman.com>
808 Exclude compiling of System.Data.SqlClient in
809 preparation for overhauls of that system.
811 2002-10-16 Daniel Morgan <danmorg@sc.rr.com>
\r
814 * PostgresLibrary.cs
\r
816 * SqlClientPermission.cs
\r
817 * SqlClientPermissionAttribute.cs
\r
819 * SqlCommandBuilder.cs
\r
821 * SqlDataAdapter.cs
\r
824 * SqlErrorCollection.cs
\r
826 * SqlInfoMessageEventArgs.cs
\r
827 * SqlInfoMessageEventHandler.cs
\r
829 * SqlParameterCollection.cs
\r
830 * SqlRowUpdatedEventArgs.cs
\r
831 * SqlRowUpdatedEventHandler.cs
\r
832 * SqlRowUpdatingEventArgs.cs
\r
833 * SqlRowUpdatingEventHandler.cs
\r
834 * SqlTransaction.cs: thanks to Miguel de Icaza, he
\r
835 copied files on the mono cvs server
\r
836 from mcs/class/System.Data/System.Data.SqlClient
\r
837 for the PostgreSQL provider
\r
838 to mcs/class/Mono.Data.PostgreSqlClient.
\r
840 mcs/class/System.Data/System.Data.SqlClient for
\r
841 the Microsoft SQL Server provider.
\r
842 Any Mono.Data.PostgreSqlClient/Sql*.cs files
\r
843 were copied on the cvs server
\r
844 to Mono.Data.PostgreSqlClient/PgSql*.cs files
\r
845 and the old Mono.Data.PostgreSqlClient/Sql*.cs
\r
846 files were removed. Copying, renaming, and removing
\r
847 was done on the cvs server so we could keep
\r
848 the cvs change history.
\r
850 2002-10-15 Daniel Morgan <danmorg@sc.rr.com>
852 * System.Data.OleDb/libgda.cs: added more functions
853 to platfrom invoke into shared library libgda
855 * System.Data.OleDb/OleDbDataReader.cs: implemented
856 GetSchemaTable() and GetFieldType()
858 2002-10-13 Daniel Morgan <danmorg@sc.rr.com>
860 * System.Data/DataRow.cs: don't throw exception
861 if DBNull is false. Had to do comment this line
862 to allow a typeof(Type).
864 * System.Data.SqlClient/SqlCommand.cs: the "DataType"
865 DataColumn and DataRows in a DataTable for a schema should
866 be typeof Type, not string. This is to make it
867 compatible with MS.NET
869 * System.Data.SqlClient/SqlConnection.cs: the
870 isolation level should be set before
871 beginning the transaction
873 * Test/SqlSharpCli.cs: change string to Type for
874 "DataType" from a DataRow in a DataTable
875 that contains a schema.
877 2002-10-14 Rodrigo Moya <rodrigo@ximian.com>
879 * list: added missing Odbc files.
881 2002-10-09 Rodrigo Moya <rodrigo@ximian.com>
883 * list: added System.Data.Odbc files.
885 2002-10-09 Brian Ritchie <brianlritchie@hotmail.com>
887 * System.Data.Odbc/*: added first version of ODBC managed provider.
889 2002-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
891 * System.Data/ConstraintCollection.cs:
892 * System.Data/DataColumnCollection.cs:
893 * System.Data/DataRowCollection.cs:
894 * System.Data/DataTableCollection.cs:
895 * System.Data/InternalDataCollectionBase.cs: made List internal to fix
896 the build with csc. It must be a mcs bug. I will try to get a test case.
898 2002-10-06 Luis Fernandez <luifer@onetel.net.uk>
900 * System.Data/Constraint.cs (AssertConstraint): added overloaded
903 * System.Data/DataColumnCollection.cs: added constraints when needed.
905 * System.Data/DataRow.cs: validate UniqueConstraint's.
907 * System.Data/DataRowCollection.cs (ValidateDataRowInternal): new
908 internal method to validate a given DataRow with respect to the
911 * System.Data/ForeignKeyConstraint.cs (AssertConstraint): stubs for
912 new overloaded method.
914 * System.Data/UniqueConstraint.cs: added implementation.
915 (AseertConstraint): implemented new overloaded method.
917 2002-10-01 Rodrigo Moya <rodrigo@ximian.com>
919 * System.Data.OleDb/OleDbConnection.cs (Open): commented code from
920 last commit, which wasn't supposed to be in CVS yet.
922 2002-10-01 Luis Fernandez <luifer@onetel.net.uk>
924 * System.Data/DataColumn.cs:
925 * System.Data/DataRow.cs:
926 * System.Data/DataRowCollection.cs:
927 * System.Data/DataTable.cs: some fixes and implementation.
929 2002-09-28 Vladimir Vukicevic <vladimir@pobox.com>
931 * System.Data.OleDb/OleDbConnection.cs: Close
932 reader properly in call to ExecuteScalar().
934 2002-09-07 Rodrigo Moya <rodrigo@ximian.com>
936 * System.Data.OleDb/OleDbConnection.cs (Open): changed to use OleDb
937 connection strings, which are then converted to GDA connection
938 strings, instead of using directly GDA data source names.
940 * System.Data.OleDb/libgda.cs: added more needed functions.
942 2002-09-06 Franklin Wise <gracenote@earthlink.net>
944 * System.Data/DataColumn.cs: More flushing out.
946 * System.Data/ForeignKeyConstraint.cs: Implemented GetHashCode()
948 * System.Data/UniqueKeyConstraint.cs: Implemented GetHashCode()
950 * Tests: See Changelog for System.Data/Test
952 2002-09-04 Franklin Wise <gracenote@earthlink.net>
954 * Tests: See Changelog for System.Data/Test
957 System.Data/DataColumnCollectionTest.cs
958 System.Data/DataRowCollectionTest.cs
959 System.Data/DataRowTest.cs
961 * System.Data/DataColumn.cs: Flushing out validation, type conversion for
962 autoincrement. Added lots of TODO's.
963 * System.Data/DataColumnCollection.cs: Wrote out add logic as a comment.
964 Tagged implementation with FIXME tags. Lot's more validation
965 and setup needs to be done, much of which is now tagged as todo's
968 * System.Data/DataRow.cs: Lot's of fixme's added.
970 * System.Data/DataRowCollection.cs: TODO's added.
972 * System.Data/DataTable.cs: Implemented PrimaryKey.
974 * System.Data/UniqueConstraint.cs: Implemented related PrimaryKey
977 2002-08-25 Rodrigo Moya <rodrigo@ximian.com>
979 * System.Data.OleDb/OleDbTransaction.cs (OleDbTransaction): manage
980 correctly the isolation level.
981 (IsolationLevel): likewise.
982 (~OleDbTransaction): implemented.
984 * System.Data.OleDb/libgda.cs: added more needed stuff.
986 2002-08-22 Daniel Morgan <danmorg@sc.rr.com>
988 * System.Data.SqlClient/SqlParameter.cs: flush
990 * System.Data.SqlClient/SqlParameterCollection.cs: fixes
991 for the Item property, IndexOf, and Contains.
993 * Test/SqlSharpCli.cs: added input parameters support.
994 when a query is executed, if a parameter name matches
995 a SQL# internal variable name, it uses that value for the parameter; otherwise,
996 the user is prompted for the parameter value. Currently, it only supports
999 2002-08-21 Rodrigo Moya <rodrigo@ximian.com>
1001 * System.Data.OleDb/libgda.cs: adapted to changes in libgda (get_vtype
1002 and get_type for GdaValue).
1004 * System.Data.OleDb/OleDbDataReader.cs: adapted to changes in
1007 2002-08-20 Rodrigo Moya <rodrigo@ximian.com>
1009 * System.Data.OleDb/OleDbConnection.cs (DataReader): new internal
1011 (Close): set the dataReader to null.
1013 * System.Data.OleDb/OleDbDataReader.cs (OleDbDataReader): set the
1014 connection's DataReader property to this object.
1015 (Close): set it to null here.
1016 (Depth, IsDbNull): implemented.
1017 (this): implemented the Item property with a string indexer.
1019 * System.Data.OleDb/OleDbCommand.cs (ExecuteNonQuery, ExecuteReader,
1020 ExecuteScalar): do nothing if there's already an open data reader.
1022 * System.Data.OleDb/libgda.cs: more API functions.
1024 * System.Data.OleDb/TestOleDb.cs (TestDataReader): close the data
1025 reader before continuing.
1027 2002-08-20 Franklin Wise <gracenote@earthlink.net>
1029 * System.Data/System.Data.build: added nowarn:0679
1031 * System.Data/System.DataTable: cleaned up class, added MonoTODO tags
1032 setup to begin implementing. Implemented ctor().
1034 * Tests: See System.Data\Test\ChangeLog
1037 2002-08-19 Rodrigo Moya <rodrigo@ximian.com>
1039 * System.Data.OleDb/OleDbSchemaGuid.cs: initialize static members.
1041 2002-08-19 Franklin Wise <gracenote@earthlink.net>
1043 * Tests: See System.Data\Test\ChangeLog
1045 * System.Data/UniqueConstraint.cs: More validation.
1047 * System.Data/ForeignKeyConstraint.cs: Added more validation rules.
1048 Another LAMESPEC tag. Implemented more of Add/Remove Setup/Cleanup
1051 * System.Data/DataTable.cs: Added more MonoTODO tags
1053 * class/System.Data/.cvsignore: added tmp & Temp
1055 * System.Data/Constraint.cs: Changed abstract helpers to virtual and
1058 * System.Data/ConstraintCollection.cs: Commented out unused line.
1060 2002-08-18 Rodrigo Moya <rodrigo@ximian.com>
1062 * System.Data.OleDb/OleDbConnection.cs (ChangeDatabase): implemented.
1064 * System.Data.OleDb/OleDbException.cs (OleDbException): added internal
1066 (ErrorCode, Message, Source, Errors): implemented.
1068 * System.Data.OleDb/OleDbError.cs: implemented the full class.
1070 * System.Data.OleDb/libgda.cs: added more libgda functions.
1072 * System.Data.OleDb/TestOleDb.cs (TestOleDb): display properties for
1073 the opened connection.
1075 2002-08-18 Rodrigo Moya <rodrigo@ximian.com>
1077 * System.Data.OleDb/OleDbConnection.cs (ServerVersion): implemented.
1079 * System.Data.OleDb/OleDbDataReader.cs (Close): clear the results
1080 ArrayList after releasing the items.
1081 (GetName, GetDateTime, GetDouble, GetSingle, GetInt16, GetInt32,
1082 GetOrdinal, GetString): implemented.
1083 (GetDataTypeName): made it get the type from the data model, not from
1084 the current value, which could not have been retrieved yet.
1085 (GetValue): call the Get* method corresponding with the data type of
1086 the requested column.
1088 * System.Data.OleDb/libgda.cs: added more libgda functions.
1089 (GdaTimestamp, GdaDate, GdaTime): new marshalled structures.
1091 * System.Data.OleDb/TestOleDb.cs (TestDateReader): display column
1092 titles via OleDbDataReader.GetName ().
1093 (TestOleDb): create temporary table with a date field.
1094 (InsertRow): set current date for the date field.
1096 2002-08-18 Rodrigo Moya <rodrigo@ximian.com>
1098 * System.Data.OleDb/OleDbDataReader.cs (this[]): made it just call
1099 GetValue, which will take care of all the work needed.
1100 (Close): implemented basic stuff.
1101 (~OleDbDataReader): implemented.
1103 * System.Data.OleDb/libgda.cs: added more needed functions.
1105 2002-08-16 Rodrigo Moya <rodrigo@ximian.com>
1107 * System.Data.OleDb/TestOleDb.cs: made it work with a temporary table
1109 (TestTransaction): added test for transactions.
1111 2002-08-16 Rodrigo Moya <rodrigo@ximian.com>
1113 * System.Data.OleDb/libgda.cs: added new needed libgda functions.
1115 * System.Data.OleDb/OleDbDataReader.cs (GetBoolean): throw exceptions
1116 when there are errors.
1117 (GetByte, GetChar, GetDataTypeName, GetValue, Read): implemented.
1119 * System.Data.OleDb/TestOleDb.cs: added more testing code for data
1122 2002-08-15 Rodrigo Moya <rodrigo@ximian.com>
1124 * System.Data.OleDb/libgda.cs: added new needed libgda functions.
1126 * System.Data.OleDb/OleDbParameterCollection.cs (GdaParameterList):
1127 create an empty GdaParameterList.
1129 * System.Data.OleDb/OleDbCommand.cs (ExecuteReader): check values
1130 for NULL before passing them to Marshal.PtrToStructure, which issues
1131 an exception if the value is NULL.
1133 2002-08-15 Rodrigo Moya <rodrigo@ximian.com>
1135 * System.Data/UniqueConstraint.cs (UniqueConstraint): commented
1136 unreachable code to avoid compiler warning.
1138 * System.Data.OleDb/libgda.cs (GdaList): added new internal class.
1140 * System.Data.OleDb/OleDbConnection.cs (DataSource): implemented.
1141 (OpenReader): removed internal method.
1143 * System.Data.OleDb/OleDbCommand.cs (ExecuteReader): split correctly
1144 the list of returned data models.
1146 2002-08-15 Franklin Wise <gracenote@earthlink.net>
1148 * System.Data/Constraint.cs: Added helper virtual functions
1150 * System.Data/ConstraintCollection.cs: Improved constraint removal,
1151 validation. Removed specific knowledge of subclasses of
1154 * System.Data/DataColumn.cs: Added static helper function to compare
1155 if two DataColumn arrays are the same.
1157 * System.Data/ForeignKeyConstraint.cs: Continued to flush out.
1159 * System.Data/UniqueConstraint.cs: Implemented. Still some constraint
1162 2002-08-13 Franklin Wise <gracenote@earthlink.net>
1164 * System.Data/DataRow.cs: Added several fixme tags.
1166 2002-08-13 Rodrigo Moya <rodrigo@ximian.com>
1168 * System.Data.SqlClient/SqlDataAdapter.cs (DeleteCommand,
1169 InsertCommand, SelectCommand, UpdateCommand): removed 'new' keyword
1170 to avoid compiler warnings.
1172 2002-08-12 Franklin Wise <gracenote@earthlink.net>
1174 * System.Data/Constraint.cs: Implemented
1176 * System.Data/UniqueConstraint.cs: GetHashCode() &
1177 special case Ctor. Still need to be implemented. LAMESPEC tags
1180 * System.Data/ConstraintCollection.cs: Clear() &
1181 AddRange() need to be finished. Several LAMESPEC tags.
1183 * Allow Constraint collection to be created in DataTable.
1185 * System.Data/ForeignKeyConstraint: Added a couple of
1188 * System.Data/DataColumnCollection New/Added DataColumns now have
1191 2002-08-11 Rodrigo Moya <rodrigo@ximian.com>
1193 * System.Data.OleDb/libgda.cs: added some GdaValue functions.
1195 * System.Data.OleDb/OleDbCommand.cs (OpenReader): removed this
1196 internal method, since we don't need it.
1197 (ExecuteReader): call SetupGdaCommand before executing the command
1198 via libgda functions.
1199 (ExecuteScalar): implemented.
1201 * System.Data.OleDb/OleDbDateReader.cs (OleDbDataReader): removed call
1202 to OleDbCommand.OpenReader.
1203 (GetBoolean): implemented.
1205 2002-08-08 Franklin Wise <gracenote@earthlink.net>
1207 * System.Data/IDbComand.cs: IDbCommand now inherits IDisposable
1209 * System.Data/IDbConnection.cs: IDbConnection now inherits IDisposable
1211 * System.Data.SqlTypes/SqlCompareOptions.cs: Enum now set to correct
1214 2002-08-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1216 * System.Data.OleDb/OleDbConnection.cs: little fixes to make it work
1217 and don't show a warning in Open.
1219 * System.Data.OleDb/TestOleDb.cs: added Close.
1221 2002-08-05 Rodrigo Moya <rodrigo@ximian.com>
1223 * System.Data.OleDb/OleDbConnection.cs (ConnectionString,
1224 ConnectionTimeout, ServerVersion, GdaConnection):
1226 (OleDbConnection): call libgda.gda_init on constructor.
1228 * System.Data.OleDb/libgda.cs (libgda): removed static constructor,
1229 which wasn't been called.
1231 * System.Data.OleDb/TestOleDb.cs (TestOleDb): updated to really
1234 2002-08-04 Rodrigo Moya <rodrigo@ximian.com>
1236 * list: added missing System.Data.OleDb and
1237 System.Data.Common files.
1239 * System.Data.OleDb/ChangeLog: removed and merged with
1240 System.Data's ChangeLog.
1242 * System.Data.OleDb/OleDbDataAdapter.cs:
1243 * System.Data.OleDb/OleDbPermission.cs: compilation fixes.
1245 2002-07-30 Rodrigo Moya <rodrigo@ximian.com>
1247 * System.Data.OleDb/OleDbDataReader.cs (FieldCount): implemented.
1248 (IsClosed, Item, RecordsAffected): implemented some properties.
1250 * libgda.cs: added GdaDataModel methods.
1252 2002-07-29 Rodrigo Moya <rodrigo@ximian.com>
1254 * System.Data.OleDb/OleDbDataReader.cs (OleDbDataReader constructor): changed to receive
1255 a second argument (ArrayList results).
1256 (NextResult): implemented.
1258 * System.Data.OleDb/OleDbCommand.cs: don't store the ArrayList of results, since we'll
1259 pass that to the OleDbDataReader.
1260 (OleDbCommand constructor): don't create the ArrayList of results.
1261 (GdaResults): removed property.
1262 (ExecuteReader): create a temporary ArrayList and pass that to the
1263 OleDbDataReader constructor.
1265 2002-07-28 Rodrigo Moya <rodrigo@ximian.com>
1267 * System.Data.OleDb/OleDbCommand.cs (ExecuteReader):
1268 (CreateParameter): implemented IDbCommand methods.
1269 (CommandText): don't create many GdaCommand's, only one is needed.
1270 (ExecuteNonQuery): set up the internal GDA command object.
1271 (ExecuteReader): use correctly the unique GDA command object.
1273 * System.Data.OleDb/libgda.cs: added new libgda calls.
1275 2002-07-27 Rodrigo Moya <rodrigo@ximian.com>
1277 * System.Data.OleDb/OleDbConnection.cs (CreateCommand):
1278 (BeginTransaction): implemented IDbConnection methods.
1280 2002-07-12 Rodrigo Moya <rodrigo@ximian.com>
1282 * list: added System.Data.OleDb files to file list.
1284 2002-07-11 Rodrigo Moya <rodrigo@ximian.com>
1286 * System.Data.OleDb/libgda.cs: added new libgda functions and some enumerations.
1288 * System.Data.OleDb/OleDbParameter.cs (IsNullable): removed explicit implementation
1289 of the set method for this property.
1291 * System.Data.OleDb/OleDbDataAdapter.cs (MissingMappingAction): implemented.
1292 (MissingSchemaAction): implemented.
1294 2002-07-10 Tim Coleman <tim@timcoleman.com>
1296 * System.Data.OleDb/OleDbCommandBuilder.cs: Added new methods, properties
1297 * System.Data.OleDb/OleDbConnection.cs: Modified constructor
1298 * System.Data.OleDb/OleDbError.cs: Added stubbs
1299 * System.Data.OleDb/OleDbException.cs: Added stubbs
1300 * System.Data.OleDb/OleDbInfoMessageEventArgs.cs: Added stubbs
1301 * System.Data.OleDb/OleDbInfoMessageEventHandler.cs: style change
1302 * System.Data.OleDb/OleDbParameter.cs: Added conversion from type to OleDbType
1303 * System.Data.OleDb/OleDbPermission.cs: Added stubbs
1304 * System.Data.OleDb/OleDbSchemaGuid.cs: Added stubbs
1305 * System.Data.OleDb/OleDbTransaction.cs: New constructors, changes to methods to
1306 support transaction nesting
1307 * System.Data.OleDb/libgda.cs: Added my name to this file
1309 2002-07-09 Tim Coleman <tim@timcoleman.com>
1311 * System.Data.OleDb/OleDbCommand.cs: Style changes, added new methods
1312 * System.Data.OleDb/OleDbConnection.cs: Style changes, added new methods
1313 * System.Data.OleDb/OleDbDataAdapter.cs: Implementation
1314 * System.Data.OleDb/OleDbDataReader.cs: Added stubbs
1315 * System.Data.OleDb/OleDbErrorCollection.cs: Added stubbs, some implementation
1316 * System.Data.OleDb/OleDbParameter.cs: Style changes, added new methods
1317 * System.Data.OleDb/OleDbParameterCollection.cs: Style changes, added new methods
1318 * System.Data.OleDb/OleDbPermissionAttribute.cs: Style changes, added new methods
1319 * System.Data.OleDb/OleDbRowUpdatedEventArgs.cs: Added stubbs
1320 * System.Data.OleDb/OleDbRowUpdatingEventArgs.cs: Added stubbs
1321 * System.Data.OleDb/OleDbTransaction.cs: Style changes, added new methods
1322 * System.Data.OleDb/OleDbType.cs: Fixed two typos
1323 * System.Data.OleDb/libgda.cs: Style changes, added new methods
1325 2002-07-09 Tim Coleman <tim@timcoleman.com>
1327 * System.Data.build: remove restriction on System.Data.OleDb build
1329 2002-06-03 Rodrigo Moya <rodrigo@ximian.com>
1331 * System.Data.OleDb/OleDbParameterCollection.cs (GetEnumerator, SyncRoot,
1332 IsSynchronized): implemented.
1334 2002-06-02 Rodrigo Moya <rodrigo@ximian.com>
1336 * System.Data.OleDb/OleDbTransaction.cs (Dispose): added missing method.
1338 * System.Data.OleDb/OleDbCommand.cs (Clone): added missing methods.
1339 (Parameters, Transaction, Connection): made these overload
1342 * System.Data.OleDb/OleDbParameterCollection.cs (IndexOf, Remove, RemoveAt):
1343 call m_list methods, not own ones.
1345 * System.Data.OleDb/OleDbParameter.cs: more implementation.
1347 2002-06-02 Rodrigo Moya <rodrigo@ximian.com>
1349 * System.Data.OleDb/OleDbTransaction.cs (Connection, IsolationLevel, Begin,
1350 Commit, Rollback): implemented.
1351 (GdaConnection): added new internal property.
1353 * System.Data.OleDb/OleDbParameter.cs:
1354 * System.Data.OleDb/OleDbParameterCollection.cs: implemented some methods and
1357 * System.Data.OleDb/libgda.cs: added yet more libgda API functions.
1359 2002-06-01 Rodrigo Moya <rodrigo@ximian.com>
1361 * System.Data.OleDb/libgda.cs: added new libgda API functions.
1363 * System.Data.OleDb/OleDbConnection.cs (Provider): implemented.
1364 (BeginTransaction): made it overload IDbConnection methods.
1365 (ChangeDatabase): new stub, needs some work on libgda for being
1368 (Close): implemented.
1369 (CreateCommand): implemented.
1370 (GetOleDbSchemaTable): new stub, until I understand what to do here.
1371 (Open): implemented basic stuff, which is just supporting connection
1372 strings that represent a GDA data source name. More to come.
1373 (InfoMessage, StateChange): added events.
1375 * System.Data.OleDb/TestOleDb.cs: test program for System.Data.OleDb.
1377 2002-05-29 Rodrigo Moya <rodrigo@ximian.com>
1379 * System.Data.OleDb/libgda.cs: added static constructor.
1380 (GdaClient): new static property to get the underlying GdaClient
1383 * System.Data.OleDb/OleDbConnection.cs: removed GDA initialization, which belongs to
1384 the static 'libgda' class.
1386 2002-05-29 Rodrigo Moya <rodrigo@ximian.com>
1388 * System.Data.OleDb/libgda.cs: static class for libgda API calls.
1390 * System.Data.OleDb/OleDbConnection.cs: implemented constructors.
1391 (ConnectionString, Connectiontimeout, Database, State):
1392 implemented class properties.
1393 (BeginTransaction): implemented.
1395 * System.Data.OleDb/OleDbTransaction.cs: implemented protected constructors.
1397 * System.Data.OleDb/TestGDA.cs: simple test for libgda API.
1399 2002-05-27 Rodrigo Moya <rodrigo@ximian.com>
1401 * System.Data.OleDb/*: started System.Data.OleDb provider, based on libgda.
1403 2002-06-06 Rodrigo Moya <rodrigo@ximian.com>
1405 * list: added missing PostgresTypes.cs file.
1407 2002-06-02 Francisco Jr. <fxjrlists@yahoo.com.br>
1409 * System.Data.SqlClient/SqlParameterCollection.cs: implemented missing
1412 2002-05-30 Daniel Morgan <danmorg@sc.rr.com>
1414 * System.Data.SqlClient/SqlConnection.cs: modifed -
1415 start to implement the interfaces properly and
1416 properly doing a Close(), Dispose(), and
1419 * Test/SqlSharpCli.cs: modified -
1420 add support for MySQL in Mono.Data.MySql
1421 and OleDb support in System.Data.OleDb. However,
1422 the OleDb support is commented right now.
1423 When the program starts up, a shorter help menu should
1424 display the most important commands: help and quit
1426 2002-05-28 Rodrigo Moya <rodrigo@ximian.com>
1428 * System.Data.build: exclude System.Data.OleDb files.
1430 2002-05-27 Daniel Morgan <danmorg@sc.rr.com>
1432 * System.Data.SqlClient/SqlCommand.cs: typo
1433 should be CommandBehavior.KeyInfo
1435 * Test/SqlSharpCli.cs: refactored and added a few more
1438 2002-05-27 Tim Coleman <tim@timcoleman.com>
1439 * list: update to compile properly (add missing
1440 files and switch path delimiter from '\' to '/').
1442 2002-05-26 Daniel Morgan <danmorg@sc.rr.com>
1444 * System.Data/DataRow.cs
1445 * System.Data.Common/DbDataAdapter.cs: fix to
1446 get Test/TestSqlDataAdapter.cs to work again
1448 * Test/TestSqlDataAdapter.cs: removed comment
1449 about SqlDataReader:NextResult() not being implemented; it
1450 bas been implemented
1452 2002-05-26 Daniel Morgan <danmorg@sc.rr.com>
1454 * System.Data/DataRow.cs: modified
1455 support setting of DBNull.Value
1456 using the Item indexer this[DataColumn]
1458 * System.Data.SqlClient/SqlCommand.cs: modified
1459 tweaks to show TODO's for other CommandBehavior.
1460 Set AllowDBNull column to true for IsKey row
1461 in schema DataTable.
1463 * System.Data.SqlClient/SqlConnection.cs: modified
1464 if transaction is in progress when a Close() is called,
1465 do a transaction Rollback.
1467 2002-05-26 Daniel Morgan <danmorg@sc.rr.com>
1469 * Test/SqlSharpCli.cs: added file
1470 My new toy. SQL# is a command-line tool to enter
1471 SQL commands and queries using Mono System.Data.
1472 It also serves as a test for Mono System.Data.
1474 * System.Data.SqlClient/SqlCommand.cs: modified
1475 - ExecuteNonQuery(), ExecuteScalar(), and ExecuteReader()
1476 should handle the results from SQL Commands and Queries.
1477 - Internal class SqlResult should not create schema Table
1478 for the result from a SQL Command. Also, set the RecordsRetrieved
1479 property for SqlDataReader.
1480 - Closing the SqlDataReader should Close() the SqlConnection for
1481 a CommandBehavior.CloseConnection.
1482 - Set defaults for SqlResult
1484 * System.Data.SqlClient/SqlConnection.cs: modified -
1485 when SqlDataReader is Close()
1486 should Close() the SqlConnection for
1487 a CommandBehavior.CloseConnection. Changed internal Property
1488 from OpenReader get/set to IsReaderOpen get and created
1489 internal methods OpenReader()/CloseReader() for SqlCommand to call.
1490 SqlConnection needs to be prevented from doing while SqlDataReader
1493 * System.Data.SqlClient/SqlDataReader.cs: modified -
1494 call SqlCommand's OpenReader() internal method. get
1495 RecordsRetrieved from SqlResult. set/reset default
1496 values for SqlDataReader.
1498 * Test/PostgresTest.cs
1499 * Test/TestExecuteScalar.cs
1500 * Test/TestSqlDataReader.cs: modified
1501 for the Execute...() methods in SqlCommand
1502 to test SQL Queries and Commands
1504 * Test/System.Data_test.build: modified
1505 exclude new file Test/SqlSharpCli.cs from
1508 2002-05-24 Tim Coleman <tim@timcoleman.com>
1509 * System.Data.Common/DbDataAdapter.cs: remove IDbCommands, except
1510 for get accessors. These should be implemented in derived classes. See
1511 SqlDataAdapter for clues.
1512 * System.Data.SqlClient/SqlDataAdapter.cs: implement IDbDataAdapter
1513 * System.Data.Common/DataAdapter.cs:
1514 * System.Data.Common/DataTableMappingCollection.cs:
1515 * System.Data.Common/DataTableMapping.cs:
1516 * System.Data.Common/DataColumnMappingCollection.cs:
1517 * System.Data.Common/DataColumnMapping.cs:
1518 Properly (I hope!) implement all of the appropriate interfaces
1522 2002-05-23 Tim Coleman <tim@timcoleman.com>
1523 * System.Data.SqlClient/SqlCommand.cs: include
1524 the BaseColumnName in the schema table. Was missed before.
1525 * System.Data.Common/DbDataAdapter.cs: Use DataTable
1526 mappings so that the DataSet and DataTable are more closely tied.
1527 Get schema information from the DataTable using GetSchemaTable ()
1528 Various other little fixes
1529 * System.Data.Common/DataColumnMappingCollection.cs:
1530 * System.Data.Common/DataTableMapping.cs:
1531 * System.Data.Common/DataTableMappingCollection.cs: Some
1532 implementation, enough to be used by DbDataAdapter.
1534 2002-05-23 Daniel Morgan <danmorg@sc.rr.com>
1536 * System.Data.SqlClient/SqlCommand.cs: set
1537 the "ProviderType" to the PostgreSQL type oid
1539 * System.Data.SqlClient/SqlDataReader.cs: fix
1540 for various properties and methods that
1541 return meta data: Item indexers this[name] and this[index],
1542 GetFieldType, GetName, and GetOrdinal. SqlDataAdapter
1545 2002-05-22 Daniel Morgan <danmorg@sc.rr.com>
1547 * System.Data/DataRow.cs: change suggested
1548 by tim: in Item indexer, do an EndEdit()
1550 * System.Data.SqlClient/SqlCommand.cs: more
1551 fixes to SqlResult. After setting each item in
1552 the DataRow, do an AcceptChanges() to commit
1553 the changes in the DataRow. For DataType, use a Type
1554 of System.String since System.Type nor System.Object
1557 * Test/TestSqlDataReader.cs
1558 * Test/PostgresTest.cs: updated to to be on
1559 the way schema table is suppose to work
1561 2002-05-22 Daniel Morgan <danmorg@sc.rr.com>
1563 * System.Data.SqlClient/SqlCommand.cs: more work on
1564 building the schema table
1566 2002-05-22 Tim Coleman <tim@timcoleman.com>
1567 * System.Data.SqlClient/SqlCommand.cs: preliminary work
1568 on getting the schema table correctly built.
1570 2002-05-21 Daniel Morgan <danmorg@sc.rr.com>
1572 * System.Data.SqlClient/ParmUtil.cs: added file - to
1573 provide utility for conversion of input parameters
1575 * System.Data.SqlClient/PostgresTypes.cs: added file -
1576 moved the PostgreHelper class to here. May eventually
1577 move the internal class PostgresTypes that's inside the
1578 SqlConnection to here as well.
1579 Handling of PostgreSQL <-> .NET types need to be though
1580 out more. Also, the PostgreHelper has a method to convert
1581 from .NET types to a string which can be put into used in
1582 an SQL statement to execute against a PostgreSQL database.
1583 This is the beginnings of parameters support. It currently
1584 only supports input parameters. Still need to do output,
1585 input/output, and return parameters.
1587 * Test/TestSqlParameters.cs: new test to test the input
1588 parameters in System.Data.SqlClient against a
1591 * System.Data.SqlClient/PostgresLibrary.cs: moved
1592 PostgresHelper class to file PostgresTypes.cs. Also
1593 moved struct PostgresType there too.
1595 * System.Data.SqlClient/SqlCommand.cs: added input
1598 * System.Data.SqlClient/SqlParameter.cs: got
1599 SqlParameter to work
1601 * System.Data.SqlClient/SqlParameterCollection.cs: got
1602 SqlParameterCollection to work
1604 * Test/System.Data_test.build: added files to exclude
1607 * System.Data.SqlClient/SqlConnection.cs: release resources
1610 2002-05-18 Daniel Morgan <danmorg@sc.rr.com>
1612 * System.Xml: added directory for classes with namespace
1613 System.Xml to go into the System.Data.dll assembly
1615 * System.Xml/XmlDataDocument: added file
1616 for stubbed concrete class XmlDataDocument which
1617 inherits from XmlDocument. Its purpose is to provide
1618 a W3C XML DOM Document for relational data and interacting
1621 2002-05-18 Daniel Morgan <danmorg@sc.rr.com>
1623 * System.Data.SqlClient/SqlCommand.cs: handle CommandTypes
1624 Text, TableDirect, and StoredProcedure
1626 * Test/PostgresTest.cs: changed call to version()
1627 stored procedure to use the CommandType of StoredProcedure
1629 * Test/TestSqlDataReader.cs: test all the CommandTypes
1631 2002-05-18 Daniel Morgan <danmorg@sc.rr.com>
1633 * System.Data.build: took out all excluded
1634 files except the ones in the Test directory
1635 because all files compile now. It does not
1636 mean they all work or have implementations
1639 * System.Data/DataRelationCollection.cs
1640 * System.Data/DataTableRelationCollection.cs
1641 * System.Data/InternalDataCollectionBase.cs
1642 * System.Data.Common/DbDataPermission.cs
1643 * System.Data.SqlClient/SqlInfoMessageEventArgs.cs
1644 * System.Data.SqlClient/SqlClientPermission.cs
1645 * System.Data.SqlClient/SqlClientPermissionAttribute.cs: changes
1646 to get all System.Data* files to compile.
1648 * System.Data.SqlClient/SqlCommand.cs: started coding
1649 to prevent SqlConnection and SqlCommand from doing
1650 anyting while fetching data using SqlDataReader. Also,
1651 started coding to undo this prevention once the
1652 SqlDataReader is closed.
1654 * System.Data.SqlClient/SqlConnection.cs: get database server
1655 version. Started coding to prevent connection from
1656 doing anything while fetching data and undo once the reader
1657 is closed. Include events SqlInfoMessage and StateChange.
1659 * System.Data.SqlClient/SqlDataReader.cs: start coding to
1660 prevent connection and command from doing anything while
1661 fetching data, and undo when closed.
1663 * Test/PostgresTest.cs: added test to get ServerVersion
1664 property from SqlConnection
1666 2002-05-18 Tim Coleman <tim@timcoleman.com>
1667 * System.Data/DataRow.cs: More implementation,
1668 as well as boundary checks and small semantic
1671 2002-05-18 Tim Coleman <tim@timcoleman.com>
1672 * System.Data/DataRow.cs: Try to reduce memory
1673 usage by only creating the original and proposed
1674 arrays as required in BeginEdit, and then destroying
1675 proposed during EndEdit, and original during AcceptChanges.
1676 * System.Data.Common/DbDataAdapter.cs: Make the
1677 startRecord and maxRecords parameters work correctly.
1679 2002-05-18 Tim Coleman <tim@timcoleman.com>
1680 * System.Data/DataRow.cs: Move the null check in
1681 ItemArray set to above the Invalid Cast check, so
1682 that we don't get null reference exceptions.
1684 2002-05-17 Daniel Morgan <danmorg@sc.rr.com>
1686 * System.Data.SqlClient/PostgresLibrary.cs: handle
1687 data value from database being NULL
1689 * System.Data.SqlClient/SqlCommand.cs: for ExecuteReader,
1690 allow multiple result sets. Added new internal class
1691 SqlResult to pass result set data from SqlCommand
1694 * System.Data.SqlClient/SqlDataReader.cs: allow
1695 multiple result sets.
1697 * System.Data.SqlClient/SqlConnection.cs: moved
1698 things around. Implement IDisposable.
1700 * Test/TestSqlDataReader.cs: test for execution
1701 of multiple result sets and display the results
1702 of these multiple results sets
1704 * Test/TestSqlDataAdapter.cs: tweaks
1706 2002-05-17 Tim Coleman <tim@timcoleman.com>
1707 * System.Data.Common/DbDataAdapter.cs:
1708 - More implementation of Fill methods
1709 - Get rid of isDirty flag, because we can just check
1711 - Do *not* remove DataTables before Filling them
1712 - Implicitly open the connection before doing a Fill
1713 if it does not exist.
1714 * System.Data.SqlClient/SqlDataAdapter.cs:
1716 * System.Data/DataTableCollection.cs:
1717 - Add DataSet to internal, undocumented constructor
1718 - When a table is created, set its DataSet property
1719 - Default table name for creation is "Table1" (see .NET)
1720 - Inherit the ArrayList list from InternalDataCollecitonBase
1721 and maintain a hashtable between table names and
1723 * System.Data/DataTable.cs:
1724 - Add internal dataSet field. This is used by
1725 DataTableCollection when the DataTable is constructed.
1726 * System.Data/DataSet.cs:
1727 - Pass a reference to the DataSet when constructing the
1728 DataTableCollection.
1730 2002-05-16 Tim Coleman <tim@timcoleman.com>
1731 * System.Data.Common/DbDataAdapter.cs:
1732 Use table.Rows.Add (itemArray) instead of
1733 table.Rows.Add (thisRow) to provide better
1735 * System.Data/DataRowCollection.cs:
1736 Some implementation of this class.
1737 * System.Data/InternalDataCollectionBase.cs:
1738 Some implementation. Most notably, this now
1739 has an enumerator so we can use foreach (DataRow row in table.Rows)
1740 in the test classes.
1741 * System.Data/DataTable.cs:
1742 Since DataRowCollection now accepts a DataTable in
1743 its internal constructor, we must pass one in.
1745 2002-05-16 Daniel Morgan <danmorg@sc.rr.com>
1747 * Test/TestSqlDataAdapter.cs: added new test
1748 for SqlDataAdapter, DataSet, DataTableCollection, DataTable,
1749 DataRowCollection, and DataRow. It tests retrieving data
1750 based on a SQL SELECT query. This test is based on Tim Coleman's
1753 2002-05-16 Tim Coleman <tim@timcoleman.com>
1754 * System.Data.Common/DbDataAdapter.cs:
1755 Use table.Rows.Add (thisRow) instead of
1756 table.ImportRow (thisRow)
1757 * System.Data/DataRowCollection.cs:
1758 Construct the ArrayList before using it
1760 2002-05-16 Tim Coleman <tim@timcoleman.com>
1761 * System.Data/DataTable.cs:
1762 Construct the DataRowCollection in the DataTable
1763 constructor. Otherwise, it's a null reference.
1765 2002-05-16 Tim Coleman <tim@timcoleman.com>
1766 * System.Data.SqlClient/SqlDataReader.cs:
1767 Modify GetValues to use Array.Copy() to copy
1768 the results from fields to values, rather than
1769 an assignment, which results in loss of data.
1771 2002-05-16 Tim Coleman <tim@timcoleman.com>
1772 * System.Data/DataRow.cs:
1773 More implementation and documentation. It should
1774 work more like expected, although there is no way
1775 to demonstrate this well yet. DataTable requires
1778 2002-05-15 Tim Coleman <tim@timcoleman.com>
1779 * System.Data/DataRow.cs:
1780 Minor tweaks as I determine exactly how to
1781 implement this class.
1784 2002-05-14 Duncan Mak <duncan@ximian.com>
1786 * System.Data/DataTable.cs (NewRow): Added missing paren to fix build.
1788 2002-05-14 Tim Coleman
1789 * System.Data/DataRow.cs:
1790 * System.Data/DataRowBuilder.cs:
1791 * System.Data/DataTable.cs:
1792 More implementation of these classes. DataRow
1793 can now (possibly) do some useful things.
1794 Still not sure what DataRowBuilder is all about,
1795 other than passing a DataTable in.
1797 2002-05-14 Tim Coleman
1798 * System.Data/DataRowBuilder.cs:
1799 Add stubb for this internal class.
1801 2002-05-13 Tim Coleman
1802 * System.Data.Common/DbDataAdapter.cs:
1803 The maxRecords check was not correct.
1805 2002-05-13 Tim Coleman
1806 * System.Data/DataTableCollection.cs:
1807 Fix an issue when adding a DataTable and size == 0.
1808 Now explicitly checks if size > 0 before doing Array.Copy ()
1809 * System.Data.Common/DbDataAdapter.cs:
1810 Move closer to a working implementation.
1811 Make the IDbCommand fields protected so that they can
1813 * System.Data.SqlClient/SqlDataAdapter.cs:
1814 This should inherit the IDbCommands instead of having its
1815 own. An explicit cast is used to force conversion between
1816 IDbCommand and SqlCommand
1818 2002-05-13 Tim Coleman
1819 * System.Data.Common/DataTableMappingCollection.cs:
1820 Some implementation to allow progress with DbDataAdapter
1822 2002-05-13 Tim Coleman
1823 * System.Data.Common/DbDataAdapter.cs:
1824 Modify to not break compile.
1826 2002-05-13 Tim Coleman
1827 * System.Data.build:
1828 include SqlDataAdapter, SqlRowUpdatedEventArgs,
1829 SqlRowUpdatingEventArgs, SqlRowUpdatedEventHandler,
1830 SqlRowUpdatingEventHandler in the build.
1832 2002-05-13 Tim Coleman
1833 * System.Data.Common/DbDataAdapter.cs:
1834 More implementation.
1835 * System.Data.Common/DataAdapter.cs:
1836 Correction of some of the stubbing, as well as a
1837 little bit more implementation
1839 2002-05-11 Tim Coleman
1840 * System.Data.SqlClient/SqlDataAdapter.cs:
1841 * System.Data.Common/DbDataAdapter.cs:
1842 Moved methods that weren't supposed to
1843 be in SqlDataAdapter out. They should be implemented
1847 2002-05-11 Tim Coleman
1848 * System.Data.SqlClient/SqlDataAdapter.cs:
1849 some implementation of this class. Note
1850 that none of the functionality has been
1851 tested yet, but I felt it should be checked
1852 in at this point as it compiles.
1853 * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs:
1854 * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs:
1855 Modified so that they will compile properly.
1856 Needed to include SqlDataAdapter in the build.
1858 2002-05-11 Rodrigo Moya <rodrigo@ximian.com>
1860 * System.Data/DataTable.cs (Clear): implemented.
1861 (DataTable): removed repeated code in constructors, and call the
1862 basic constructor from the others.
1864 * System.Data/DataColumn.cs: some tweaks.
1866 * System.Data/DataRow.cs (RowState): implemented.
1867 (CancelEdit): set rowState property back to Unchanged.
1868 (RejectChanges): call CancelEdit.
1869 (Delete): set rowState to Deleted.
1871 2002-05-11 Daniel Morgan <danmorg@sc.rr.com>
1873 * System.Data.build: added copy of System.Data.dll to Test directory
1874 for easy testing. Also, added clean for it too.
1876 * System.Data.SqlClient/PostgresLibrary.cs: changed setting of boolean
1877 from PostgreSQL data type to .NET type.
1879 * System.Data.SqlClient/SqlDataReader.cs: beginnings
1880 handling of a NULL value from the database
1882 * Test/PostgresTest.cs: added tests for NULL values retrieved
1885 * Test/ReadPostgresData.cs
1886 * Test/TestExecuteScalar.cs
1887 * Test/TestSqlDataReader.cs
1888 * Test/TestSqlException.cs
1889 * Test/TestSqlIsolationLevel.cs: updated tests to use databas user
1890 "postgres". These tests may eventually be removed since they
1893 2002-05-10 Rodrigo Moya <rodrigo@ximian.com>
1895 * System.Data.build: removed reference to non-existant
1896 TestDataColumn.cs file.
1898 * System.Data/DataSet.cs: added some implementation.
1900 2002-05-09 Daniel Morgan <danmorg@sc.rr.com>
1902 * System.Data.SqlClient/PostgresLibrary.cs: got
1903 PostgreSQL data types time, date, timestamp (DateTime like)
1904 mapped to .NET System.DateTime working based
1905 on ISO DateTime formatting "YYYY-MM-DD hh:mi:ss.ms"
1906 Also mapped pg type boolean to .net Boolean
1908 * SqlClient/SqlConnection.cs: run SQL command to set
1911 * Test/PostgresTest.cs: added test for an UPDATE SQL command,
1912 added tests for aggregates min(), max(), sum(), count(). could
1913 not get avg() to work due to some formatting error; someone claimed
1914 that it was my locale settings. added tests for SELECT of columns
1915 of type boolean, float, double, date, time, and timestamp. They
1916 have not been fully tested, but its a start.
1918 2002-05-09 Tim Coleman <tim@timcoleman.com>
1919 * System.Data.SqlTypes/SqlDecimal.cs: Implementations of
1920 addition, subtraction, and multiplication for the
1921 SqlDecimal type, as well as modification of some other
1922 operations. More to come on this one.
1924 2002-05-08 Rodrigo Moya <rodrigo@ximian.com>
1926 * Test/System.Data_test.build: excluded TestDataColumn, which
1927 should be replaced with a nunit test.
1929 * Test/TestDataColumn.cs: added basic test for DataColumn.cs.
1931 2002-05-07 Tim Coleman <tim@timcoleman.com>
1945 Fix the broken build I made before. Bad
1948 2002-05-07 Tim Coleman <tim@timcoleman.com>
1950 Fix a symantic error I made in SqlString
1951 Equals where I copied and pasted wrongly
1953 2002-05-07 Tim Coleman <tim@timcoleman.com>
1958 * SqlCompareOptions.cs:
1969 Implement CompareTo, Equals, and String conversions
1972 2002-05-05 Daniel Morgan <danmorg@sc.rr.com>
1974 * Test/PostgresTest.cs: modified to run completely. There
1975 are many TODOs in System.Data, so not all data types are
1976 included in the SELECT SQL query. Also, I made it to where
1978 using "host=localhost;dbname=test;user=postgres"
1979 instead of my userid and password. When more types are included,
1982 2002-05-05 Daniel Morgan <danmorg@sc.rr.com>
1984 * Test/PostgresTest.cs: added - ported
1985 libgda postgres-test.c originally by
1986 Gonzalo Paniagua Javier <gonzalo@gnome-db.org>
1989 2002-05-05 Tim Coleman <tim@timcoleman.com>
1990 * System.Data.SqlTypes/SqlBinary.cs:
1991 * System.Data.SqlTypes/SqlBoolean.cs:
1992 * System.Data.SqlTypes/SqlByte.cs:
1993 * System.Data.SqlTypes/SqlDateTime.cs:
1994 * System.Data.SqlTypes/SqlDecimal.cs:
1995 * System.Data.SqlTypes/SqlDouble.cs:
1996 * System.Data.SqlTypes/SqlGuid.cs:
1997 * System.Data.SqlTypes/SqlInt16.cs:
1998 * System.Data.SqlTypes/SqlInt32.cs:
1999 * System.Data.SqlTypes/SqlInt64.cs:
2000 * System.Data.SqlTypes/SqlMoney.cs:
2001 * System.Data.SqlTypes/SqlSingle.cs:
2002 * System.Data.SqlTypes/SqlString.cs:
2003 More implementation, and code clean-up for consistency.
2004 Also, I had implemented many conversions as explicit
2005 that should have been implicit. This should remove
2006 many of the red X's and green pluses from the
2007 System.Data.SqlTypes namespace.
2009 2002-05-05 Miguel de Icaza <miguel@ximian.com>
2011 * System.Data/DataSet.cs: Remove [Serializable] attributes from
2012 methods, those only apply to structs or classes.
2014 Stub out ISerializable, ISupportInitialize, and IListSource methods
2016 * System.Data/DataRowView.cs: Stub out interface methods for
2017 IEditableObject, ICustomTypeDescriptor and IDataErrorInfo
2019 * System.Data/DataView.cs: Comment out non-implemented
2022 * System.Data/DataViewSettingsCollection.cs: Type cast variables
2023 to the correct type to make it compile.
2025 * System.Data/DataViewSettings.cs: remove reference to
2026 non-existance type ApplyDefaultSort, it is a boolean.
2029 2002-05-05 Tim Coleman <tim@timcoleman.com>
2030 * System.Data.SqlTypes/SqlBinary.cs:
2031 * System.Data.SqlTypes/SqlBoolean.cs:
2032 * System.Data.SqlTypes/SqlByte.cs:
2033 * System.Data.SqlTypes/SqlDecimal.cs:
2034 * System.Data.SqlTypes/SqlDouble.cs:
2035 * System.Data.SqlTypes/SqlGuid.cs:
2036 * System.Data.SqlTypes/SqlInt16.cs:
2037 * System.Data.SqlTypes/SqlInt32.cs:
2038 * System.Data.SqlTypes/SqlInt64.cs:
2039 * System.Data.SqlTypes/SqlMoney.cs:
2040 * System.Data.SqlTypes/SqlSingle.cs:
2041 * System.Data.SqlTypes/SqlString.cs:
2042 Various fixes, including adding the SqlNullValueException
2043 when trying to retrieve the value of a null SqlType,
2044 and when casting values, a Null of type A converts to a
2047 2002-05-04 Daniel Morgan <danmorg@sc.rr.com>
2049 * System.Data.SqlClient/PostgresLibrary.cs
2050 * System.Data.SqlClient/SqlCommand.cs
2051 * System.Data.SqlClient/SqlConnection.cs
2052 * System.Data.SqlClient/SqlDataReader.cs
2053 oid should not be hard coded because they
2054 can change from one version of PostgreSQL
2055 to the next. Use the typname's instead.
2056 The PostgreSQL type data retrieves
2057 at database connection time. Any unimplemented
2058 types just default to string. These were things
2059 suggested by Gonzalo.
2061 * Test/ReadPostgresData.cs - stuff
2062 * Test/TestSqlDataReader.cs - stuff
2064 * System.Data.SqlTypes/SqlInt32.cs - added a using
2066 2002-05-03 Tim Coleman <tim@timcoleman.com>
2067 * System.Data.build: Fix the build so that test depends on build
2069 2002-05-03 Tim Coleman <tim@timcoleman.com>
2070 * System.Data.SqlTypes/SqlByte.cs:
2071 * System.Data.SqlTypes/SqlDateTime.cs:
2072 * System.Data.SqlTypes/SqlDecimal.cs:
2073 * System.Data.SqlTypes/SqlDouble.cs:
2074 * System.Data.SqlTypes/SqlGuid.cs:
2075 * System.Data.SqlTypes/SqlInt16.cs:
2076 * System.Data.SqlTypes/SqlInt64.cs:
2077 * System.Data.SqlTypes/SqlMoney.cs:
2078 * System.Data.SqlTypes/SqlSingle.cs:
2079 These files were mysteriously excluded from the last
2080 patch I made and sent to Rodrigo
2081 * System.Data.build: include the System.Data.SqlTypes in the build
2083 2002-05-03 Daniel Morgan <danmorg@sc.rr.com>
2085 * System.Data.build: removed comments
2087 * System.Data.SqlClient/PostgresLibrary.cs: changed
2088 the hard-coded PostgreSQL oid type int's to using an
2089 enum. Also, added PostgreSQL bpchar (character) type.
2091 * Test/TestSqlDataReader.cs: updated test
2092 to include new bpchar PostgreSQL type
2094 2002-05-03 Rodrigo Moya <rodrigo@ximian.com>
2096 * System.Data.SqlTypes/SqlBinary.cs:
2097 * System.Data.SqlTypes/SqlBoolean.cs:
2098 * System.Data.SqlTypes/SqlInt32.cs:
2099 * System.Data.SqlTypes/SqlString.cs: more implementation, by
2100 Tim Coleman <tcoleman@opentext.com>.
2102 2002-05-03 Daniel Morgan <danmorg@sc.rr.com>
2104 * Test/TestExecuteScalar.cs: added test for
2105 method ExecuteScalar in class SqlCommand.
2107 * System.Data/DataColumnCollection.cs - it should
2108 inherit properties from base InternalDataCollectionBase
2109 and use them instead of overriding them, such as, List.
2111 * System.Data/DataColumn.cs
2112 * System.Data/DataTable.cs: tweaks to retrieve
2113 meta data from the database
2115 * System.Data.SqlClient/PostgresLibrary.cs -
2116 added method OidToType to convert PostgreSQL oid type
2117 to System.Type. Renamed method OidTypeToSystem
2118 to ConvertPgTypeToSystem for converting the data value
2119 from a PostgreSQL type to a .NET System type.
2121 * System.Data.SqlClient/SqlCommand.cs: implemented
2122 method ExecuteReader which returns a SqlDataReader
2123 for a light forward only read only result set.
2124 It works on types int4 ==> Int32 and
2125 varchar ==> String. Other types
2128 * System.Data.SqlClient/SqlConnection.cs: added comment
2130 * System.Data.SqlClient/SqlDataReader.cs: implemented
2131 class. It works, but still lots to do.
2133 * Test/ReadPostgresData.cs: stuff
2135 * Test/TestSqlDataReader.cs: updated test for SqlDataReader
2136 to display meta data and the data
2138 2002-05-03 Duncan Mak <duncan@ximian.com>
2140 * TODO: Took out all the Exceptions. They should be all done now.
2142 * System.Data/ConstraintException.cs:
2143 * System.Data/DBConcurrencyException.cs:
2144 * System.Data/DataException.cs:
2145 * System.Data/DeletedRowInaccessibleException.cs:
2146 * System.Data/DuplicateNameException.cs:
2147 * System.Data/EvaluateException.cs:
2148 * System.Data/InRowChangingEventException.cs:
2149 * System.Data/InvalidConstraintException.cs:
2150 * System.Data/InvalidExpressionException.cs:
2151 * System.Data/MissingPrimaryKeyException.cs:
2152 * System.Data/NoNullAllowedException.cs:
2153 * System.Data/ReadOnlyException.cs:
2154 * System.Data/RowNotInTableException.cs:
2155 * System.Data/StrongTypingException.cs:
2156 * System.Data/SyntaxErrorException.cs:
2157 * System.Data/TypeDataSetGeneratorException.cs:
2158 * System.Data/VersionNotFoundException.cs: Added to CVS.
2160 * System.Data.SqlTypes/SqlNullValueException.cs:
2161 * System.Data.SqlTypes/SqlTruncateException.cs:
2162 * System.Data.SqlTypes/SqlTypeException.cs: Added to CVS.
2164 2002-05-02 Rodrigo Moya <rodrigo@ximian.com>
2166 * System.Data/DataViewSettingCollection.cs: implemented.
2168 * System.Data/DataRowView.cs: new stubs.
2170 * System.Data.SqlTypes/SqlByte.cs:
2171 * System.Data.SqlTypes/SqlDateTime.cs:
2172 * System.Data.SqlTypes/SqlDecimal.cs:
2173 * System.Data.SqlTypes/SqlDouble.cs:
2174 * System.Data.SqlTypes/SqlGuid.cs:
2175 * System.Data.SqlTypes/SqlInt16.cs:
2176 * System.Data.SqlTypes/SqlInt64.cs:
2177 * System.Data.SqlTypes/SqlMoney.cs:
2178 * System.Data.SqlTypes/SqlSingle.cs: new stubs, contributed
2179 by Tim Coleman <tcoleman@opentext.com>
2181 * System.Data.build: excluded newly-added files.
2183 2002-05-02 Daniel Morgan <danmorg@sc.rr.com>
2185 * System.Data.SqlClient/PostgresLibrary.cs: included new
2186 internal class that will be a helper class in using
2187 PostgreSQL. PostgresLibrary is used for the
2188 pinvoke methods to the PostgreSQL Client
2189 native C library libpq while the class PostgresHelper
2190 is used for wrapper or helper methods. It currently only
2191 has one static method OidTypeToSystem in converting
2192 PostgreSQL types to .NET System.<type>s, such as,
2193 a PostgreSQL int8 becomes a .NET System.Int64.
2194 Only a few types have been added, such as, int2,
2195 int4, int8, varchar, text, bool, and char. Other types
2198 * System.Data.SqlClient/SqlCommand.cs: implemented
2199 method ExecuteScalar which allows us to do aggregate
2200 functions, such as, count, avg, min, max, and sum. We
2201 also are able to retrieve the result, convert it to the .NET type
2202 as an object. The user of the returned object must explicitly cast.
2204 * Test/ReadPostgresData.cs: updated sample
2205 to help us learn to retrieve data in System.Data.SqlClient
2208 2002-05-01 Daniel Morgan <danmorg@sc.rr.com>
2210 * System.Data.build: added /nowarn: nnnn arguments
2211 so you will not get a ton of warnings. The warnings
2212 being excluded are: 1595, 0067, 0109, 0169, and 0649
2214 2002-05-01 Daniel Morgan <danmorg@sc.rr.com>
2216 * System.Data.build: modified to exclude more
2217 files from the build
2219 2002-05-01 Rodrigo Moya <rodrigo@ximian.com>
2221 * System.Data.SqlClient/SqlClientPermission.cs: added missing
2224 * System.Data/MergeFailedEventArgs.cs: new class, contributed
2225 by John Dugaw <jdugaw@unizenconsulting.com>.
2227 * System.Data.build: excluded new files from build.
2229 2002-04-29 Daniel Morgan <danmorg@sc.rr.com>
2231 * Test/ReadPostgresData.cs: added - Uses the
2232 PostgresLibrary to retrieve a recordset.
2233 This is not meant to be used in Production, but as a
2234 learning aid in coding
2235 class System.Data.SqlClient.SqlDataReader.
2236 This sample does work.
2238 * Test/TestSqlDataReader.cs: added - used
2239 to test SqlDataReader (does not work yet)
2240 Forgot to add to ChangeLog on last commit.
2242 2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
2244 * System.Data/DataViewSetting.cs: new class.
2246 2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
2248 * System.Data/DataViewManager.cs: new class.
2250 * System.Data.SqlTypes/INullable.cs: properties for interfaces
2251 don't have implementation.
2253 * System.Data.SqlTypes/SqlInt32.cs:
2254 * System.Data.SqlTypes/SqlString.cs:
2255 * System.Data.SqlTypes/SqlBoolean.cs: removed destructor, since
2256 these are strctures.
2258 * System.Data.SqlClient/SqlClientPermissionAttribute.cs: added
2261 2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
2263 * System.Data/DataTableRelationCollection.cs: use 'new' keyword
2264 for correctly hiding parent class' members.
2265 (AddRange): use 'override' keyword on overriden method.
2267 (Contains): likewise.
2268 (IndexOf): likewise.
2269 (OnCollectionChanged): likewise.
2270 (OnCollectionChanging): likewise.
2271 (RemoveCore): likewise.
2273 * System.Data/DataColumnCollection.cs: use 'new' keyword.
2275 * System.Data/DataSet.cs: added missing 'using's.
2277 2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
2279 * System.Data/DataSet.cs:
2280 * System.Data/DataTableCollection.cs:
2281 * System.Data/DataView.cs: compilation fixes on Linux.
2283 2002-04-28 Daniel Morgan <danmorg@sc.rr.com>
2285 * System.Data/DataRelation.cs
2286 * System.Data/ForeignKeyConstraint.cs
2287 * System.Data/UniqueConstraint.cs: added more stubs
2289 * System.Data/DataTableRelationCollection.cs: added back to cvs
2290 and modified for compile errors. DataRelationCollection is an
2291 abstract class and there must be a class that implements for
2292 DataTable/DataSet. DataTableRelationCollection was changed
2293 to an internal class.
2295 * System.Data.build: modified - new files added
2296 also wanted to include files/classes in the build
2297 so we can get a compilable forward read only result set.
2298 It compiles now using csc/nant with warnings, but this
2299 is a start for adding functionality for the result set.
2300 Classes associated with/and DataSet are still excluded.
2302 * TODO: modified - updated to do list for System.Data
2304 * System.Data/Constraint.cs
2305 * System.Data/ConstraintCollection.cs
2306 * System.Data/DataRelationCollection.cs
2307 * System.Data/DataRow.cs
2308 * System.Data/DataRowChangeEventArgs.cs
2309 * System.Data/DataRowCollection.cs
2310 * System.Data/DataTable.cs
2311 * System.Data/DataTableCollection.cs
2312 * System.Data/InternalDataCollectionBase.cs
2313 * System.Data/PropertyCollection.cs: modified -
2314 changes to compile SqlDataReader/DataTable and
2317 * System.Data/IDbCommand.cs
2318 * System.Data.SqlClient/SqlCommand.cs: modified -
2319 un-commented overloaded methods ExecuteReader
2320 which returns a SqlDataReader
2322 2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
2324 * System.Data/DataTableCollection.cs: more implementation.
2325 (Count): added 'override' keyword, as pointer out by Martin.
2327 * System.Data.Common/DataColumnMappingCollection.cs (Add, AddRange):
2328 only call Array.Copy when there is really stuff to be copied.
2329 (CopyTo): don't create the temporary array, it's not needed.
2331 * System.Data.build: excluded newly added file from build.
2333 2002-04-27 Rodrigo Moya <rodrigo@ximian.com>
2335 * System.Data/DataTableRelationCollection.cs: removed, it's not
2336 on MS SDK documentation.
2338 * System.Data/DataTableCollection.cs: new class.
2340 2002-04-27 Daniel Morgan <danmorg@sc.rr.com>
2342 * System.Data/DataRowChangeEventArgs.cs
2343 * System.Data/DataRowCollection.cs
2344 * System.Data/DataView.cs
2345 * System.Data/PropertyCollection.cs: added new stubs
2347 * System.Data.build: modified - added new files to exclude
2350 * TODO: modified - removed files from TODO list
2351 that were stubbed above
2353 * System.Data/DataColumn.cs
2354 * System.Data/DataRow.cs: modified - various tweaks
2355 and added internal method SetTable to set the reference
2358 * System.Data/DataSet.cs: modified - class was not
2361 * System.Data/DataTable.cs: modified - temporarily commented
2362 DataSet and DataView references - trying to compile a SqlDataReader,
2363 DataTable, and dependencies for a forward read-only result set.
2364 SqlDataAdapter, DataSet, and DataView will come later once we can get
2365 a forward read only result set working.
2367 * System.Data/IDataRecord.cs: modified - source code lines should
2370 * System.Data/InternalDataCollectionBase.cs: modified - started
2371 implementing this base class for collection of data rows,
2372 columns, tables, relations, and constraints
2374 * System.Data.SqlClient/SqlException.cs: modified -
2375 call base(message) so a unhandled exception displays
2376 the message of a SQL error instead of the
2377 default SystemException message
2379 * Test/TestSqlException.cs: modified -
2380 handle the rollback properly for a SqlException on a
2383 2002-04-23 Daniel Morgan <danmorg@sc.rr.com>
2385 * System.Data.build: modified - added new
2386 files to exclude from build
2388 * System.Data/Constraint.cs
2389 * System.Data/ConstraintCollection.cs
2390 * System.Data/InternalDataCollectionBase.cs: added -
2391 stubs which are needed to build DataTable.cs
2393 * TODO: modified - added more classes TODO and
2394 added more stuff TODO, such as, create script
2395 to create test database monotestdb for testing
2396 classes in System.Data
2398 2002-04-23 Rodrigo Moya <rodrigo@ximian.com>
2400 * System.Data.Common/DataAdapter.cs:
2401 * System.Data.Common/DataColumnMappingCollection.cs:
2402 * System.Data.Common/DataTableMappingCollection.cs:
2403 * System.Data.Common/DbDataPermission.cs:
2404 * System.Data.Common/DbDataPermissionAttribute.cs: some
2405 compilation errors fixed.
2407 2002-04-23 Daniel Morgan <danmorg@sc.rr.com>
2409 * TODO: modified - added classes TODO, and
2410 a poor attempt at System.Data plan
2412 2002-04-23 Daniel Morgan <danmorg@sc.rr.com>
2414 * ChangeLog: modified - put tabs where they belong
2416 * System.Data.SqlClient/SqlDataReader.cs
2417 * System.Data/DataColumn.cs: modified - compile errors
2418 trying to compile SqlDataAdapter and dependencies
2420 2002-04-23 Daniel Morgan <danmorg@sc.rr.com>
2422 * System.Data.SqlTypes/SqlBoolean.cs
2423 * System.Data.SqlTypes/SqlCompareOptions.cs
2424 * System.Data.SqlTypes/SqlInt32.cs
2425 * System.Data.SqlTypes/SqlString.cs: added - new stubs
2427 * System.Data/DataTable.cs
2428 * System.Data.SqlClient/SqlCommand.cs
2429 * System.Data.SqlClient/SqlConnection.cs
2430 * System.Data.SqlClient/SqlError.cs
2431 * System.Data.SqlClient/SqlTransaction.cs: modified -
2434 * System.Data.SqlClient/SqlException.cs: modified -
2435 missing Message on indexer for Message property
2437 2002-04-21 Daniel Morgan <danmorg@sc.rr.com>
2439 * System.Data.SqlClient/SqlCommand.cs: modified - to
2440 compile using mcs. This problem is
2441 returning a stronger type in csc vs. msc
2443 * System.Data.SqlClient/SqlConnection.cs: modified - msc
2444 can not do a using PGconn = IntPtr; and then declare
2445 with PGconn pgConn = IntPtr.Zero;
2446 Thiw works under csc though. Had to comment using and
2447 changed declaration to IntPtr pgConn = IntPtr.Zero;
2448 Also, got rid of compile warnings for hostaddr and port.
2450 * System.Data.SqlClient/SqlErrorCollection.cs: modified - got
2451 rid of compile warnings. Commented MonoTODO attribute because mcs
2452 doesn't seem to work with C# array property indexer (Item)
2455 * System.Data.SqlClient/SqlParameterCollection.cs: modified -
2456 commented MonoTODO attribute for indexer for mcs compiling
2458 * Test/TestSqlIsolationLevel.cs:
2459 * Test/TestSqlInsert.cs:
2460 * Test/TestSqlException.cs: modified -
2461 removed extra ExecuteNonQuery which caused two inserted rows
2463 2002-04-20 Daniel Morgan <danmorg@sc.rr.com>
2465 * System.Data/StateChangeEventArgs.cs - added
2466 needed to compile System.Data.dll with mcs.
2468 2002-04-20 Daniel Morgan <danmorg@sc.rr.com>
2470 * System.Data.OleDb: added directory - for OleDb database
2473 * System.Data.SqlClient/SqlClientPermission.cs
2474 * System.Data.SqlClient/SqlClientPermissionAttribute.cs
2475 * System.Data.SqlClient/SqlCommandBuilder.cs
2476 * System.Data.SqlClient/SqlInfoMessageEventHandler.cs
2477 * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs
2478 * System.Data.SqlClient/SqlRowUpdatedEventHandler.cs
2479 * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs
2480 * System.Data.SqlClient/SqlRowUpdatingEventHandler.cs
2481 * Test/TestSqlException.cs
2482 * Test/TestSqlIsolationLevel.cs: added - more tests
2484 * System.Data.build: modified - added new files - excludes these too
2486 * System.Data.SqlClient/PostgresLibrary.cs - modified - comment
2488 * System.Data.SqlClient/SqlConnection.cs
2489 * System.Data.SqlClient/SqlCommand.cs
2490 * System.Data.SqlClient/SqlTransaction.cs
2491 * System.Data.SqlClient/SqlException.cs
2492 * System.Data.SqlClient/SqlErrorCollection.cs
2493 * System.Data.SqlClient/SqlError.cs: modified - transaction and
2494 exception/error handling. SqlConnection(connectionString)
2495 constructor should not automatically connect.
2497 * System.Data.SqlClient/SqlDataReader.cs
2498 * System.Data.SqlClient/SqlDataAdapter.cs
2499 * System.Data.SqlClient/SqlParameter.cs
2500 * System.Data.SqlClient/SqlParameterCollection.cs: modified -
2501 added using System.ComponentModel;
2503 * Test/TestSqlInsert.cs: modified - to use transaction
2505 2002-04-17 Rodrigo Moya <rodrigo@ximian.com>
2507 * System.Data/DataRow.cs: new skeletons.
2509 * System.Data.Common/DataAdapter.cs:
2510 * System.Data.Common/DataColumnMapping.cs:
2511 * System.Data.Common/DataColumnMappingCollection.cs:
2512 * System.Data.Common/DataTableMapping.cs:
2513 * System.Data.Common/DataTableMappingCollection.cs:
2514 * System.Data.Common/DbDataAdapter.cs:
2515 * System.Data.Common/RowUpdatedEventArgs.cs:
2516 * System.Data.SqlClient/SqlDataAdapter.cs:
2517 * System.Data.SqlClient/SqlInfoMessageEventArgs.cs: compilation
2520 * System.Data.Common/DbDataRecord.cs:
2521 * System.Data.Common/DbEnumerator.cs: removed MS implementation
2524 2002-04-17 Daniel Morgan <danmorg@sc.rr.com>
2526 * Test/TestSqlInsert.cs: modified - do
2527 a SQL DELETE before SQL INSERT of row so you can use this
2530 * System.Data.SqlClient/SqlTransaction.cs: modified - default
2531 IsolationLevel for PostgreSQL is ReadCommitted. However,
2532 PostgreSQL allows Serializable as well.
2533 (Thanks to Gonzalo for that!)
2535 * System.Data.SqlClient/SqlConnection.cs: modified
2536 * System.Data.SqlClient/SqlCommand.cs: modified
2537 * System.Data.SqlClient/SqlTransaction.cs: modified - got transactions
2538 working; however, we still need to implement SQL errors
2539 and exceptions to properly handle transactions. Also, added
2540 status and error message support from the PostgreSQL database.
2541 Currently, this does a Console.WriteLine() to display the
2542 status and error messages, but this is a TODO
2543 for SQL errors and exceptions.
2545 * System.Data/TODOAttribute.cs: added - needed MonoTODO
2546 attribute for System.Data.dll assembly
2548 * System.Data/IDbCommand.cs: modified - commented
2549 overloaded method ExecuteReader
2550 so System.Data.SqlClient.SqlCommand can compile
2552 * System.Data/IDbCommand.cs: modified
2553 * System.Data/IDbConnection.cs: modified - added using System;
2554 * System.Data/IDataParameter.cs
2556 * System.Data.build: modified - build classes
2557 in System.Data.SqlClient and exclude others in System.Data
2559 * System.Data.SqlClient/PostgresLibrary.cs: modified - change
2560 parameter data type from IntPtr to enum ExecStatusType
2562 * ChangeLog: modified - corrected previous entries in log
2564 2002-04-16 Rodrigo Moya <rodrigo@ximian.com>
2566 * System.Data.Common/DataColumnMappingCollection.cs: added basic
2567 implementation. Still missing some stuff.
2569 2002-04-16 Daniel Morgan <danmorg@sc.rr.com>
2571 * System.Data.SqlClient/SqlConnection.cs: modified - got
2572 to compile, run, and connect to PostgreSQL database
2574 * System.Data.SqlClient/SqlCommand.cs: modified - got
2575 to compile, run, and execute a SQL INSERT command
2576 which successfully inserted a row
2577 into the PostgreSQL database
2579 * System.Data.SqlClient/SqlTransaction.cs: modified
2580 * System.Data.SqlClient/SqlParameter.cs: modified
2581 * System.Data.SqlClient/SqlParameterCollection.cs: modified
2582 * System.Data.SqlClient/SqlError.cs: modified
2583 * System.Data.SqlClient/SqlErrorCollection.cs: modified
2584 * System.Data.SqlClient/SqlException.cs: modified
2585 * System.Data.SqlClient/PostgresLibrary.cs: modified - to compile
2587 * System.Data.SqlClient/SqlAdapter: modified
2588 * System.Data.SqlClient/SqlReader: modified - add more stubs
2590 2002-04-16 Daniel Morgan <danmorg@sc.rr.com>
2592 * Test/TestSqlInsert.cs: added
2594 2002-04-15 Daniel Morgan <danmorg@sc.rr.com>
2596 * System.Data.SqlClient/SqlInfoMessageEventArgs.cs: added - using in
2597 class SqlConnecition
2598 * System.Data.SqlClient/SqlErrorCollection.cs: added
2599 * System.Data.SqlClient/SqlErrors.cs: removed - no such class SqlErrors
2601 2002-04-15 Christopher Podurgiel <cpodurgiel@msn.com>
2603 * System.Data.IDbDataParameter: Added Interface to IDataParameter.
2604 * System.Data.IDbTransaction: Added Interface to IDisposable.
2605 * System.Data.IDbCommand: Fixed Capitalization of class name.
2606 * System.Data.IDbConnection: Fixed Capitalization of class name.
2608 2002-04-15 Rodrigo Moya <rodrigo@ximian.com>
2610 * System.Data.Common/DbDataPermissionAttribute.cs:
2611 * System.Data.Common/DataAdapter.cs:
2612 * System.Data.Common/DataColumnMapping.cs:
2613 * System.Data.Common/DbDataPermission.cs: added some implementation.
2615 2002-04-15 Rodrigo Moya <rodrigo@ximian.com>
2617 * System.Data.SqlClient/SqlConnection.cs: fixed constructor chaining
2618 syntax, as pointed out by Levent Camlibel.
2620 2002-04-14 Rodrigo Moya <rodrigo@ximian.com>
2622 * System.Data.SqlTypes/SqlBinary.cs:
2623 * System.Data.SqlTypes/INullable.cs: new skeletons.
2625 2002-04-14 Daniel Morgan <danmorg@sc.rr.com>
2627 * System.Data.SqlClient/PostgresLibrary.cs: new internal class, which
2628 contains all calls the the PostgreSQL client library, to be used
2629 everywhere in System.Data.SqlClient.
2631 2002-03-30 Rodrigo Moya <rodrigo@ximian.com>
2633 * System.Data.SqlClient/SqlConnection.cs: implemented basic
2636 * System.Data.SqlTypes/SqlNullValueException.cs: new skeletons.
2638 2002-03-29 Rodrigo Moya <rodrigo@ximian.com>
2640 * System.Data.Common/DbDataRecord.cs:
2641 * System.Data.Common/DbEnumerator.cs:
2642 * System.Data.Common/RowUpdatedEventArgs.cs:
2643 * System.Data.Common/RowUpdatingEventArgs.cs:
2644 * System.Data.Common/DbDataPermissionAttribute.cs: new skeletons.
2646 2002-03-28 Rodrigo Moya <rodrigo@ximian.com>
2648 * System.Data.Common/DataTableMappingCollection.cs:
2649 * System.Data.Common/DbDataAdapter.cs:
2650 * System.Data.Common/DbDataPermission.cs:
2651 * System.Data.Common/DataTableMapping.cs: new skeletons.
2653 * System.Data.SqlClient/SqlDataAdapter.cs:
2654 * System.Data.SqlClient/SqlDataReader.cs:
2655 * System.Data.SqlClient/SqlErrors.cs:
2656 * System.Data.SqlClient/SqlError.cs:
2657 * System.Data.SqlClient/SqlException.cs:
2658 * System.Data.SqlClient/SqlParameter.cs:
2659 * System.Data.SqlClient/SqlParameterCollection.cs:
2660 * System.Data.SqlClient/SqlTransaction.cs:
2661 * System.Data.SqlClient/SqlCommand.cs: fixed skeletons.
2663 2002-03-27 Rodrigo Moya <rodrigo@ximian.com>
2665 * System.Data.Common/DataColumnMapping.cs:
2666 * System.Data.Common/DataColumnMappingCollection.cs:
2667 * System.Data.Common/DataAdapter.cs: created skeletons.
2669 * System.Data.build: exclude new directories from build.
2671 2002-03-27 Rodrigo Moya <rodrigo@ximian.com>
2673 * System.Data.SqlClient/SqlTransaction.cs: started implementation.
2675 * System.Data.SqlClient/SqlConnection.cs (BeginTransaction):
2676 implemented (2 methods).
2678 2002-03-24 Duncan Mak <duncan@ximian.com>
2680 * System.Data.build: Excluded System.Data.SqlClient from the build.
2681 The stubs are incomplete and they are stopping the build.
2683 * System.Data.SqlClient/SqlCommand.cs: Replaced 'implements' with ':'.
2685 2002-03-24 Rodrigo Moya <rodrigo@ximian.com>
2687 * System.Data.SqlClient/*: added skeletons for the SQL managed
2688 provider for ADO.Net, to be based initially in PostgreSQL.
2690 2002-03-15 Christopher Podurgiel <cpodurgiel@msn.com>
2692 Changed the Namespace on some Enums from mono.System.Data to System.Data
2694 2002-03-01 Christopher Podurgiel <cpodurgiel@msn.com>
2696 * DataColumnCollection.cs : When an existing DataColumn is added, will now Assign a
2697 default name if the ColumnName is null.
2698 * DataSet.cs : Added
2699 * DataTable.cs : Added
2700 * DataRelationCollection.cs : Added
2701 * DataTableRelationCollection.cs : Added
2702 * DataColumn : Added
2704 2002-02-11 Christopher Podurgiel <cpodurgiel@msn.com>
2706 * DataColumnChangeEventArgs.cs : Added
2707 * DataColumnCollection.cs : Added
2709 2002-02-10 Christopher Podurgiel <cpodurgiel@msn.com>
2711 * Removed *.cs from System.Data as the correct files are in mcs/class/System.Data/System.Data
2712 * Updated all Enums, Interfaces, and Delegates in System.Data