1 2004-03-04 Eran Domb <erand@mainsoft.com>
3 * System.Data.dll.sources : added Node.cs, ComparerFactory.cs.
5 2004-03-03 Atsushi Enomoto <atsushi@ximian.com>
7 * System.Data.dll.sources : added Index.cs.
9 2004-01-21 Atsushi Enomoto <atsushi@ximian.com>
11 * System.Data_test.dll.sources : Added TypedDataSetGeneratorTest.cs.
13 2004-01-20 Atsushi Enomoto <atsushi@ximian.com>
15 * System.Data.dll.sources: Added missing TypedDataSetGenerator.cs.
17 2003-12-28 Tim Coleman <tim@timcoleman.com>
18 * System.Data.dll.sources:
19 Add new .NET 1.2 sources.
21 2003-12-21 Tim Coleman <tim@timcoleman.com>
22 * System.Data.dll.sources:
23 Add new .NET 1.2 sources.
25 2003-12-19 Tim Coleman <tim@timcoleman.com>
26 * System.Data.dll.sources:
27 Add new .NET 1.2 sources.
29 2003-12-16 Tim Coleman <tim@timcoleman.com>
30 * System.Data.dll.sources:
31 Add new .NET 1.2 sources.
33 2003-11-26 Tim Coleman <tim@timcoleman.com>
34 * System.Data.dll.sources:
35 Add many new System.Data classes for NET_1_2 build.
37 2003-11-25 Tim Coleman <tim@timcoleman.com>
38 * System.Data.dll.sources:
39 Add System.Data/IDataSources.cs to build
41 2003-07-18 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
43 * System.Data.dll.sources: Assembly/Locale.cs added, Assembly/AssemblyInfo.cs added
45 2003-07-18 Peter Williams <peter@newton.cx>
47 * Makefile (EXTRA_DISTFILES): NUnit.Prefs is not
50 2003-07-16 Peter Williams <peter@newton.cx>
52 * Makefile: Flip around for the new default build
55 2003-06-16 Tim Coleman <tim@timcoleman.com>
56 * System.Data.Common/DbDataAdapter.cs:
57 Add the DataTable to the result set even if it contains
58 no rows. Based on report by Krieg Andreas.
60 2003-03-17 Daniel Morgan <danmorg@sc.rr.com>
62 * System.Data.build: on windows build, ignore
63 warnings CS0219: "The variable xxx is assigned but its value is
64 never used" and CS0168: "The variable xxx
65 is declared but never used"
67 * System.Data/DataRow.cs: flush
69 * System.Data/DataSet.cs: start implementation on Clear(),
70 and WriteXml() should write the start element <?xml ... ?> at the top
73 * System.Data/DataTable.cs: TODO/FIXME notes. Start implementation
74 of Compute() - still not working
76 2003-03-16 Daniel Morgan <danmorg@sc.rr.com>
78 * System.Data/DataRowView.cs: in the constructor pass
79 DataRow in instead of int index of the DataRow
82 * System.Data/DataTable.cs: implement sorting
83 for method Select(filterExpression,sort)
85 * System.Data/DataView.cs: more implementation -
86 Now, If Sort, RowFilter, or RowStateFilter is set, an
87 enumerated DataRowViews will be a view with those
88 properties applied. Still need to implement event handling
91 2003-03-13 Tim Coleman <tim@timcoleman.com>
92 * System.Data.SqlClient/SqlCommandBuilder.cs:
93 Change "where" variable name to "whereClause" at the
94 request of Rhys Weatherley <rweather@zip.com.au>
96 2003-03-10 Daniel Morgan <danmorg@sc.rr.com>
98 * System.Data.SqlClient/SqlDataReader.cs: when
99 the data reader is closed, this SqlDataReader referenced
100 in SqlConnection needs to be null
102 * System.Data.Common/DbDataAdapter.cs: for SelectCommands executed that
103 have no result set, such as, DDL like CREATE TABLE or DML like INSERT,
104 the data reader needs to be immediately closed, and 0 returned
105 as the number of rows added or refreshed
107 2003-02-18 Daniel Morgan <danmorg@sc.rr.com>
109 * DataTableRelationCollection.cs: removed file
110 because its internally in file DataRelationCollection.cs
112 2003-02-18 Alan Tam <Tam@SiuLung.com>
114 * DataRelation.cs: Added storage required to hold the relations.
\r
115 Checking of constraints are not implemented yet.
\r
116 * DataRelationCollection.cs: Implemented DataSetRelationCollection
\r
117 and DataTableRelationCollection, both as inner class of the abstract class
\r
118 DataRelationCollection (like Microsoft although not documented in ECMA).
\r
119 * DataRow.cs: Implemented GetChildRows in a extremely slow way.
\r
120 Need to implement caching like Microsoft later.
\r
121 * DataSet.cs: Uncomment DataRelation related members. Uncomment
\r
122 code for Nested XML. Implemented WriteTable(XmlWriter, DataRow[],
\r
123 XmlWriteMode) for use of Nested XML. Fixed a wrong modifier in
\r
124 GetSerializationData.
\r
125 * DataTable.cs: Uncomment DataRelation related members.
\r
127 2003-02-11 Tim Coleman <tim@timcoleman.com>
128 * System.Data.SqlClient/SqlConnection.cs:
129 Close the data reader properly, and be sure
130 to close the data reader when the connection
133 2003-02-10 Nick Drochak <ndrochak@gol.com>
135 * System.Data.build: Keep the standalone tests out of the dll.
137 2003-02-09 Rodrigo Moya <rodrigo@ximian.com>
139 * System.Data.OleDb/OleDbConnection.cs:
140 * System.Data.OleDb/libgda.cs: upgraded to libgda 0.10.
142 2003-01-30 Ville Palo <vi64pa@koti.soon.fi>
144 * list: Added new file ExpressionElement.cs
146 2003-01-26 Daniel Morgan <danmorg@sc.rr.com>
148 * System.Data/DataColumn.cs: fix to not check for DataType being set
150 * System.Data/DataRow.cs: misc fixes
152 * Test/SqlTest.cs: accept connection parameters from
153 command line instead of being hard coded
155 * Test/System.Data_test.build: exclude building SqlTest.cs
157 * Test/System.Data/DataRowTest.cs
158 * Test/System.Data/DataColumnTest.cs: added new tests and numbered
159 all the tests so they can be easily identified
161 * Test/System.Data/DataRelationTest.cs: commented code that calls
162 DataSet's BeginEdit() and EndEdit() which causes a compile error
164 2003-01-24 Daniel Morgan <danmorg@sc.rr.com>
166 * System.Data/DataColumn.cs: fixes to be like .NET -
167 when setting AllowDBNull to false, determine if there is
168 any data that has DBNull.Value, implement AutoIncrement, do not
169 allow changing the DataType of the column if data has already been
170 set, check if the DataType is supported,
172 * System.Data/DataColumnCollection.cs: handle default ColumnName
175 * System.Data/DataRow.cs: fixes to be like .NET - a
176 data column gets initialized to all DBNull.Values not null,
177 implement AutoIncrement, when setting ItemArray if the item array being
178 set has less items than the number of columns in the table set those last
179 columns to DBNull.Value, after setting ItemArray values do an EndEdit(),
180 both a null and DBNull.Value get set to a DBNull.Value, only use DefaultValue
181 and AutoIncrement if the value is set to null while DBNull.Value only gets set
184 2003-01-17 Daniel Morgan <danmorg@sc.rr.com>
186 * System.Data.SqlClient.SqlConnection.cs: add connection
187 parameter UID which is the same thing as User ID
189 2003-01-13 Ville Palo <vi64pa@koti.soon.fi>
191 * System.Xml/XmlDataDocument.cs: lots of bugfixes and more implemented
194 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
196 * list: added System.Data/DataTablePropertyDescriptor.cs
198 2002-12-27 Ville Palo <vi64pa@koti.soon.fi>
200 * list: Added System.Data/XmlDataLoader.cs
202 2002-12-16 Ville Palo <vi64pa@koti.soon.fi>
204 * System.Xml/XmlDataDocument.cs: Now rollback works. It means all
205 types of transactions works, i guess ;)
207 2002-12-14 Ville Palo <vi64pa@koti.soon.fi>
209 * System.Xml/XmlDataDocument.cs: Adding row via XmlDataDocument to
210 DataSet's datatable is now possible.
212 2002-12-11 Ville Palo <vi64pa@koti.soon.fi>
214 * System.Xml/XmlDataDocument.cs: Implemented GetRowFromElement() and
215 GetElementFromRowElement () -methods. Somefixed and little clean up.
217 2002-12-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
219 * System.Data.SqlClient/SqlCommand.cs:
220 (CloseReader): don't get the output parameters here.
221 (GetOutputParameters): don't skip the stream. The parameters will be
224 * System.Data.SqlClient/SqlConnection.cs: don't try to execute
225 'sp_reset_connection'.
227 * System.Data.SqlClient/SqlDataReader.cs: get the output parameters
228 after the end of the results.
230 2002-12-04 Ville Palo <vi64pa@koti.soon.fi>
232 * System.Xml/XmlDataDocument.cs: Now this works in both ways,
233 DataSet <--> XmlDataDocument.cs at some level at least.
235 2002-12-02 Ville Palo <vi64pa@koti.soon.fi>
237 * System.Xml/XmlDataDocument.cs : some fixes and some imlemented
240 2002-12-01 Tim Coleman <tim@timcoleman.com>
241 * System.Data.SqlClient/SqlDataReader.cs:
242 Change to reflect TdsSchemaInfo -> TdsDataColumnCollection
245 2002-12-01 Ville Palo <vi64pa@koti.soon.fi>
247 * list: Added XmlDataDocument.cs
248 * System.Xml/XmlDataDocument.cs: more implementation.
250 2002-11-30 Daniel Morgan <danmorg@sc.rr.com>
252 * System.Data.Odbc/OdbcDataReader.cs: implemented GetValues() method
253 needed by OdbcDataAdapter
255 * System.Data.Odbc/OdbcDataAdapter.cs
\r
256 * System.Data.Odbc/OdbcRowUpdatedEventArgs.cs
\r
257 * System.Data.Odbc/OdbcRowUpdatedEventHandler.cs
\r
258 * System.Data.Odbc/OdbcRowUpdatingEventArgs.cs
\r
259 * System.Data.Odbc/OdbcRowUpdatingEventHandler.cs: added files for an
262 * list: added new files to linux build
263 in namespace System.Data.Odbc for the ODBC Data Adapter
265 * System.Xml/XmlDataDocument.cs: commented method
266 protected internal override XPathNavigator CreateNavigator(XmlNode node)
267 because it would not compile on .NET Framework. Added
268 a FIXME comment there
270 2002-11-29 Ville Palo <vi64pa@koti.soon.fi>
272 * System.Xml/XmlDataDocument.cs: Started to implement.
274 2002-11-26 Tim Coleman <tim@timcoleman.com>
275 * System.Data.SqlClient/SqlCommand.cs:
276 * System.Data.SqlClient/SqlConnection.cs:
277 * System.Data.SqlClient/SqlDataReader.cs:
278 * System.Data.SqlClient/SqlParameter.cs:
279 * System.Data.SqlClient/SqlParameterCollection.cs:
280 * System.Data.SqlClient/SqlTransaction.cs:
281 Many changes around restructuring of parameter
282 information so that the Sybase provider supports
285 2002-11-25 Ville Palo <vi64pa@koti.soon.fi>
287 * System.Data/DataSet.cs : Started to implement ReadXmlSchema -method
289 2002-11-21 Tim Coleman <tim@timcoleman.com>
291 * System.Data.SqlClient/SqlCommand.cs:
292 * System.Data.SqlClient/SqlConnection.cs:
293 * System.Data.SqlClient/SqlConnectionPool.cs:
294 * System.Data.SqlClient/SqlDataReader.cs:
295 * System.Data.SqlClient/SqlException.cs:
296 * System.Data.SqlClient/SqlInfoMessageEventArgs.cs:
297 * System.Data.SqlClient/SqlParameter.cs:
298 * System.Data.SqlClient/SqlTransaction.cs:
299 * System.Data.SqlClient/SqlXmlTextReader.cs:
300 * System.Data.SqlTypes/SqlDecimal.cs:
301 Modify to accept new Mono.Data.Tds.Protocol
302 namespace in Mono.Data.Tds assembly, replacing
303 Mono.Data.TdsClient.Internal
305 2002-11-20 Ville Palo <vi64pa@koti.soon.fi>
307 * System.Data.SqlTypes/SqlDecimal.cs: Ported some divide-stuff from
308 decimal.c file. Does not work correctly yet.
310 2002-11-18 Tim Coleman <tim@timcoleman.com>
311 * System.Data.SqlClient/SqlConnection.cs:
312 BeginTransaction bug.
313 * System.Data.SqlClient/SqlParameter.cs:
314 Add some comments to describe what is going on.
315 * System.Data.SqlClient/SqlCommand.cs:
317 * System.Data.SqlClient/SqlDataReader.cs:
318 Add support to get SQL Types
320 2002-11-16 Daniel Morgan <danmorg@sc.rr.com>
322 * System.Data/DataView.cs: fix bug
323 with DataViewEnumerator causing InvalidOperationException
326 2002-11-15 Tim Coleman <tim@timcoleman.com>
327 * System.Data.Common/DbDataPermission.cs:
328 * System.Data.SqlClient/SqlClientPermission.cs:
329 Make these agree on the class status page.
330 * System.Data.SqlClient/SqlCommand.cs:
331 - Fix up handling of GUID and [Var]Binary, and Image types
332 * System.Data.SqlClient/SqlParameter.cs:
333 - Provide support for conversion between Type,
334 DbType, SqlDbType, and the SQL server type names.
335 - Fix up handling of GUID and [Var]Binary types
336 * System.Data.SqlClient/SqlParameterCollection.cs:
337 Correct all of the Add methods.
339 - Add more types to test: unique identifier, binary,
340 image, smalldatetime, money, smallmoney, timestamp
342 2002-11-14 Daniel Morgan <danmorg@sc.rr.com>
344 * System.Data/DataColumnPropertyDescriptor.cs
345 * System.Data/DataRowView.cs
346 * System.Data/DataView.cs
347 * System.Data.Common/DbDataRecord.cs: a little bit more
348 implementation for data binding purposes
350 * Test/PostgresTest.cs
351 * Test/TestSqlDataAdapter.cs
352 * Test/TestSqlException.cs
353 * TestSqlParameters.cs: fixed test for PostgreSQL's new home
354 at Mono.Data.PostgreSqlClient
356 2002-11-14 Tim Coleman <tim@timcoleman.com>
357 * System.Data.SqlClient/SqlCommand.cs:
358 Slight reformatting of Bit values and sql statements
359 * System.Data.SqlClient/SqlDataReader.cs:
360 Implement RecordsAffected
362 * System.Data.SqlClient/SqlParameter.cs:
363 Propertly support Char/NChar
364 * System.Data.SqlClient/SqlXmlTextReader.cs:
365 Add Close () to the Dispose () method
367 2002-11-13 Tim Coleman <tim@timcoleman.com>
369 New class added for testing SqlClient
370 * System.Data.SqlClient/SqlCommand.cs:
371 Add handling for SqlDbType.Bit
372 * System.Data.SqlClient/SqlConnection.cs:
373 Implement Dispose () methods.
374 Change ConnectionString setter
375 * System.Data.SqlClient/SqlDataReader.cs:
376 Implement Dispose () methods.
377 Set RecordsAffected to -1 by default. Need to
378 set this correctly in the future.
379 * System.Data.SqlClient/SqlCommandBuilder.cs:
380 * System.Data.SqlClient/SqlDataAdapter.cs:
381 * System.Data.SqlClient/SqlTransaction.cs:
382 * System.Data.SqlClient/SqlXmlTextReader.cs:
383 Implement Dispose () methods.
385 2002-11-12 Tim Coleman <tim@timcoleman.com>
387 Remove Mono.Data.TdsClient.Internal/TdsContext.cs
388 * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs:
389 * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs:
390 Complete these classes
391 * System.Data.Common/DbDataAdapter.cs:
392 Experimental support for FillSchema ()
394 2002-11-11 Tim Coleman <tim@timcoleman.com>
395 * System.Data/ResDescriptionAttribute.cs:
397 New internal class added
398 * System.Data/Constraint.cs:
399 * System.Data/ConstraintCollection.cs:
400 * System.Data/DBConcurrencyException.cs:
401 * System.Data/DataColumn.cs:
402 * System.Data/DataColumnCollection.cs:
403 * System.Data/DataRelation.cs:
404 * System.Data/DataRelationCollection.cs:
405 * System.Data/DataRow.cs:
406 * System.Data/DataRowBuilder.cs:
407 * System.Data/DataRowBuilder.cs:
408 * System.Data/DataRowCollection.cs:
409 * System.Data/DataSet.cs:
410 * System.Data/DataTable.cs:
411 * System.Data/DataTableCollection.cs:
412 * System.Data/DataView.cs:
413 * System.Data/DataViewManager.cs:
414 * System.Data/DataViewSetting.cs:
415 * System.Data/DataViewSettingCollection.cs:
416 * System.Data/ForeignKeyConstraint.cs:
417 * System.Data/ForeignKeyConstraint.cs:
418 * System.Data/InternalDataCollectionBase.cs:
419 * System.Data/MergeFailedEventArgs.cs:
420 * System.Data/StrongTypingException.cs:
421 * System.Data/TypeDataSetGeneratorException.cs:
422 * System.Data/UniqueConstraint.cs:
423 * System.Data.Common/DataAdapter.cs:
424 * System.Data.Common/DataColumnMapping.cs:
425 * System.Data.Common/DataColumnMappingCollection.cs:
426 * System.Data.Common/DataTableMapping.cs:
427 * System.Data.Common/DataTableMappingCollection.cs:
428 * System.Data.Common/DbDataAdapter.cs:
429 * System.Data.Common/DbDataPermission.cs:
430 * System.Data.Common/DbDataPermissionAttribute.cs:
431 * System.Data.Common/DbEnumerator.cs:
432 * System.Data.SqlClient/SqlCommand.cs:
433 * System.Data.SqlClient/SqlCommandBuilder.cs:
434 * System.Data.SqlClient/SqlConnection.cs:
435 * System.Data.SqlClient/SqlDataAdapter.cs:
436 * System.Data.SqlClient/SqlParameter.cs:
437 Add missing attributes, methods, properties based on information
438 from System.Data class status page on go-mono.com.
441 2002-11-10 Ville Palo <vi64pa@koti.soon.fi>
443 * System.Data.SqlTypes/SqlString.cs: Now all methods are implemented
445 2002-11-09 Tim Coleman <tim@timcoleman.com>
447 * System.Data/DataCategoryAttribute.cs:
448 Add new attribute based on corcompare
450 2002-11-09 Rodrigo Moya <rodrigo@ximian.com>
452 * System.Data.OleDb/OleDbDataAdapter.cs: cleaned up implementation,
453 based on the PgSql/SqlClient data adapter classes.
455 2002-11-09 Tim Coleman <tim@timcoleman.com>
457 Add new internal tds classes
458 * System.Data.Common/DbDataAdapter.cs:
459 * System.Data.SqlClient/SqlDataAdapter.cs:
460 Change event calling system
461 * System.Data.SqlClient/SqlClientPermission.cs:
462 * System.Data.SqlClient/SqlClientPermissionAttribute.cs:
463 * System.Data.SqlClient/SqlDataReader.cs:
465 * System.Data.SqlClient/SqlCommand.cs:
466 Some changes to make consistent with .NET based on Sql server traces
467 Implement command timeout
468 * System.Data.SqlClient/SqlCommandBuilder.cs:
469 Make sure that we only build a command if key info found
470 * System.Data.SqlClient/SqlConnection.cs:
471 Change event calling system
472 Some changes to make consistent with .NET based on Sql server traces
473 Implement connection timeout
474 * System.Data.SqlClient/SqlConnectionPool.cs:
475 Implement connection timeout
476 * System.Data.SqlClient/SqlError.cs:
477 Implement ToString ()
478 * System.Data.SqlClient/SqlException.cs:
479 Mucho implementation and cleanup
480 * System.Data.SqlClient/SqlParameter.cs:
482 * System.Data.SqlClient/SqlParameterCollection.cs:
484 * System.Data.SqlClient/SqlTransaction.cs:
485 Move some of the transaction creation to SqlConnection to be consistent
488 2002-11-08 Tim Coleman <tim@timcoleman.com>
489 * System.Data/DataRow.cs:
490 * System.Data/DataTable.cs:
491 Some fix-ups related to the DbDataAdapter to make it work.
492 * System.Data.Common/DbDataAdapter.cs:
493 Fix the Fill () and Update () methods. These now work
494 fairly well. Need mucho testing.
495 * System.Data.SqlClient/SqlCommandBuilder.cs:
496 Support table mappings and parameter source versions now.
497 * System.Data.SqlClient/SqlConnection.cs:
498 * System.Data.SqlClient/SqlTransaction.cs:
499 Add set accessor for transaction so that SqlTransaction.Commit ()
500 will remove itself from the connection.
501 * System.Data.SqlClient/SqlDataAdapter.cs:
502 Update/Insert/Delete command should be null by default.
503 * System.Data.SqlClient/SqlException.cs:
504 Remove a TODO attribute
505 * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs:
506 Properly handle the SqlCommand object
508 2002-11-08 Ville Palo <vi64pa@koti.soon.fi>
510 * System.Data.SqlTypes/SqlDateTime.cs: Now the all methods are
513 2002-11-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
515 * System.Data.SqlTypes/SqlDecimal.cs: fixed build. Someone should check
516 my comments and do something more appropiate.
518 2002-11-07 Ville Palo <vi64pa@koti.soon.fi>
520 * System.Data.SqlTypes/SqlBinary.cs:
521 * System.Data.SqlTypes/SqlBoolean.cs:
522 * System.Data.SqlTypes/SqlByte.cs:
523 * System.Data.SqlTypes/SqlDateTime.cs:
524 * System.Data.SqlTypes/SqlDecimal.cs:
525 * System.Data.SqlTypes/SqlDouble.cs:
526 * System.Data.SqlTypes/SqlDecimal.cs:
527 * System.Data.SqlTypes/SqlGuid.cs:
528 * System.Data.SqlTypes/SqlInt16.cs:
529 * System.Data.SqlTypes/SqlInt32.cs:
530 * System.Data.SqlTypes/SqlInt64.cs:
531 * System.Data.SqlTypes/SqlMoney.cs:
532 * System.Data.SqlTypes/SqlSingle.cs:
533 * System.Data.SqlTypes/SqlString.cs: Implemented more methods and
534 fixed some. SqlBoolean Equals (object value) -method improvements to
537 2002-11-07 Tim Coleman <tim@timcoleman.com>
538 * System.Data.Common/DbDataAdapter.cs:
539 Remove NotImplementedException in Dispose
540 * System.Data.Common/FieldNameLookup.cs:
542 * System.Data.SqlClient/SqlCommand.cs:
543 Fix CommandText accessor (stack overflow)
544 Implement DeriveParameters method
545 * System.Data.SqlClient/SqlCommandBuilder.cs:
547 * System.Data.SqlClient/SqlConnection.cs:
548 Change application name to "Mono SqlClient Data Provider"
549 * System.Data.SqlClient/SqlDataReader.cs:
550 Add new schema information
551 * System.Data.SqlClient/SqlError.cs:
552 * System.Data.SqlClient/SqlErrorCollection.cs:
553 Remove internal methods, TODO attributes
554 * System.Data.SqlClient/SqlParameter.cs:
555 Add new internal constructor for DeriveParameters use
556 * System.Data.SqlClient/SqlParameterConverter.cs:
557 Add missing methods based on class status
559 2002-11-07 Nick Drochak <ndrochak@gol.com>
560 * list: add System.Data/ColumnDataPropertyDescriptor.cs
562 2002-11-04 Tim Coleman <tim@timcoleman.com>
564 Add Mono.Data.TdsClient.Internal.TdsInternalError
565 Add Mono.Data.TdsClient.Internal.TdsInternalErrorCollection
566 Add Mono.Data.TdsClient.Internal.TdsInternalErrorMessageEventHandler
567 Add Mono.Data.TdsClient.Internal.TdsInternalErrorMessageEventArgs
568 Add Mono.Data.TdsClient.Internal.TdsInternalInfoMessageEventHandler
569 Add Mono.Data.TdsClient.Internal.TdsInternalInfoMessageEventArgs
570 Remove Mono.Data.TdsClient.Internal.TdsPacketErrorResult
571 Remove Mono.Data.TdsClient.Internal.TdsPacketErrorResultCollection
572 Remove Mono.Data.TdsClient.Internal.TdsPacketMessageResult
573 * System.Data.Common/RowUpdatedEventArgs.cs:
574 * System.Data.Common/RowUpdatingEventArgs.cs:
576 * System.Data.SqlClient/SqlCommand.cs:
577 * System.Data.SqlClient/SqlDataReader.cs:
578 Remove checks for errors. These are now handled by events
579 * System.Data.SqlClient/SqlConnection.cs:
580 * System.Data.SqlClient/SqlError.cs:
581 * System.Data.SqlClient/SqlException.cs:
582 * System.Data.SqlClient/SqlInfoMessageEventArgs.cs:
583 Add event handlers and triggers for errors, messages, state change
584 * System.Data.SqlClient/SqlParameter.cs:
585 Re-add refreshproperties
586 * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs:
587 * System.Data.SqlClient/SqlRowUpdatedEventHandler.cs:
588 * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs:
589 * System.Data.SqlClient/SqlRowUpdatingEventHandler.cs:
592 2002-11-04 Tim Coleman <tim@timcoleman.com>
594 Add Mono.Data.TdsClient.Internal.TdsBigDecimal
595 Add System.Data.SqlClient.SqlParameterConverter
596 Add System.Data.DataSysDescriptionAttribute
597 * System.Data/DataSysDescriptionAttribute.cs:
599 * System.Data.Common/DbDataPermission.cs:
600 Add CreateInstance method
601 * System.Data.SqlClient/SqlClientPermission.cs:
602 * System.Data.SqlClient/SqlError.cs:
603 Add Serializable attribute
604 * System.Data.SqlClient/SqlCommand.cs:
605 * System.Data.SqlClient/SqlConnection.cs:
606 * System.Data.SqlClient/SqlDataAdapter.cs:
607 * System.Data.SqlClient/SqlParameter.cs:
608 Add some missing property attributes
609 * System.Data.SqlClient/SqlCommandBuilder.cs:
610 Add some missing property attributes
612 * System.Data.SqlClient/SqlDataReader.cs:
613 Implement missing methods
614 * System.Data.SqlClient/SqlErrorCollection.cs:
615 Implement the properties
616 * System.Data.SqlClient/SqlException.cs:
617 Remove extra property accessors
618 * System.Data.SqlClient/SqlInfoMessageEventArgs.cs:
619 Add internal constructor
620 * System.Data.SqlClient/SqlParameterCollection.cs:
621 Add internal constructor
622 Add property attributes
623 * System.Data.SqlClient/SqlParameterConverter.cs:
624 New internal class added
625 * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs:
626 * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs:
628 * System.Data.SqlTypes/SqlDecimal.cs:
629 Add implicit conversion from TdsBigDecimal to SqlDecimal
630 * System.Data.SqlTypes/SqlString.cs:
631 * System.Data.SqlTypes/SqlInt16.cs:
632 * System.Data.SqlTypes/SqlDateTime.cs:
633 Change code to remove compiler warnings
635 2002-11-04 Stuart Caborn <stuart.caborn@clearswift.com>
637 * list: added System.Data/XmlConstants.cs to
640 * System.Data/XmlConstants.cs: added -
641 * System.Data/DataTable.cs
642 * System.Data/DataSet.cs
643 * System.Data/DataColumn.cs
644 * System.Data/DataColumnCollection.cs
645 * System.Data/DataRelation.cs: modified -
646 Began initial implementation of WriteXml
\r
647 and WriteXmlSchema. There is no support for DiffGrams
\r
648 yet. In WriteSchema mode, relationships are missing,
\r
649 all types are xs:string and the namespacing is not
\r
650 working properly. Added support for Ordinals in the
\r
651 DataColumnCollection and added support for
\r
652 namespaces and prefixes.
\r
654 2002-11-03 Ville Palo <vi64pa@koti.soon.fi>
656 * System.Data.SqlTypes/SqlBinary.cs: Finished and no errors generated
657 by NUnitConsole_mono.exe
659 2002-11-03 Tim Coleman (tim@timcoleman.com)
660 * System.Data.SqlClient/SqlCommand.cs:
661 Use SET NO_BROWSETABLE ON when CommandBehavior is KeyInfo
662 * System.Data.SqlClient/SqlDataReader.cs:
663 Get more schema info if available
665 Add Mono.Data.TdsClient.Internal.TdsColumnStatus
667 2002-11-02 Tim Coleman (tim@timcoleman.com)
668 * System.Data.SqlClient/SqlCommand.cs:
669 Change to use sp_executesql to run regular text queries.
670 Now, sp_executesql for text, sp_execute for prepared,
671 and execute for SPs means everything runs a procedure.
672 * System.Data.SqlClient/SqlParameter.cs:
673 Allow client to set parameter name in Prepare ()
674 * System.Data.SqlClient/SqlParameterCollection.cs:
675 Implement some methods
676 * System.Data.SqlClient/SqlDataReader.cs:
677 Since everything is an SP now, we know that when
678 we see DoneProc, that we are really done.
680 2002-11-01 Tim Coleman (tim@timcoleman.com) :
681 * System.Data.Common/DbEnumerator.cs :
682 Throw correct exception on Reset ()
683 Add ColumnSize to schema table.
684 * System.Data.SqlClient/SqlDataReader.cs :
685 Add ColumnSize to schema table.
686 * System.Data.SqlClient/SqlCommand.cs :
687 Change the way that preparing is handled.
688 Now uses sp_prepare on the server instead of temp
689 stored procedures because it's the Right Thing[tm] to do.
690 * System.Data.SqlClient/SqlConnection.cs :
691 Store data readers here rather than in command
692 * System.Data.SqlClient/SqlDataReader.cs :
693 More implementation, including binary types
694 * System.Data.SqlClient/SqlParameter.cs :
697 2002-10-31 Tim Coleman (tim@timcoleman.com)
698 * System.Data.Common/DbDataAdapter.cs :
699 Fix handling of nulls
700 * System.Data.Common/DbDataRecord.cs :
701 Change GetFieldType ()
702 * System.Data.Common/DbEnumerator.cs :
703 Add new schema information
704 * System.Data.Common/FieldNameLookup.cs :
705 Change definition of schema
706 * System.Data.Common/SchemaInfo.cs :
708 * System.Data.SqlClient/SqlDataReader.cs :
709 get more schema table data
711 Add Mono.Data.TdsClient.Internal.TdsSchemaInfo
713 2002-10-31 Ville Palo <vi64pa@koti.soon.fi>
722 * SqlString.cs: Some bugfixes and some TODOs but so much
725 2002-10-30 Tim Coleman (tim@timcoleman.com)
726 * System.Data.Common/FieldNameLookup.cs:
727 * System.Data.Common/SchemaInfo.cs:
728 * System.Data.SqlClient/SqlXmlTextReader.cs:
731 Class list changed in build
732 * System.Data.SqlClient/SqlCommand.cs:
733 Added support for command behaviors
734 Refactored a bunch of code
735 Implement ExecuteScalar
736 Implement ExecuteXmlReader
737 * System.Data.SqlClient/SqlConnection.cs:
738 Moved CheckForErrors here
739 * System.Data.SqlClient/SqlDataAdapter.cs:
741 * System.Data.SqlClient/SqlDataReader.cs:
742 Implement GetEnumerator
744 Add SqlDataReaderEnumerator private class
745 * System.Data.SqlClient/SqlParameter.cs:
746 Move some of the Prepare code from SqlCommand to here
747 * System.Data.SqlClient/SqlTransaction.cs:
748 Move error checking to SqlConnection
750 2002-10-29 Tim Coleman (tim@timcoleman.com)
751 * System.Data.SqlClient/SqlCommand.cs:
752 Added code to handle parameters for queries
753 * System.Data.SqlClient/SqlConnection.cs:
754 Properly handle resetting SqlConnections
755 * System.Data.SqlClient/SqlDataReader.cs:
756 Properly handle the case where no results are returned
757 * System.Data.SqlClient/SqlParameter.cs:
758 Default direction to Input
759 * System.Data.SqlClient/SqlParameterCollection.cs:
760 Implement GetEnumerator
762 2002-10-29 Rodrigo Moya <rodrigo@ximian.com>
764 * makefile.gnu: added Test directory.
766 2002-10-29 Ville Palo <vi64pa@koti.soon.fi>
768 * System.Data.SqlTypes/SqlGuid.cs: Fixed some bugs and finished
771 2002-10-28 Tim Coleman (tim@timcoleman.com)
772 * System.Data.SqlClient/SqlCommand.cs:
773 Add some error handling
774 * System.Data.SqlClient/SqlDataReader.cs:
775 Add some error handling
776 Add precision/scale to schema table
777 * System.Data.SqlClient/SqlException.cs:
778 Generate a SqlException from TDS error
780 * System.Data.SqlClient/SqlTransaction.cs:
781 Add some error handling
784 2002-10-28 Ville Palo <vi64pa@koti.soon.fi>
786 * System.Data.SqlTypes/SqlBinary.cs:
787 * System.Data.SqlTypes/SqlBoolean.cs:
788 * System.Data.SqlTypes/SqlByte.cs:
789 * System.Data.SqlTypes/SqlDateTime.cs:
790 * System.Data.SqlTypes/SqlDecimal.cs:
791 * System.Data.SqlTypes/SqlDouble.cs:
792 * System.Data.SqlTypes/SqlDecimal.cs:
793 * System.Data.SqlTypes/SqlDouble.cs:
794 * System.Data.SqlTypes/SqlGuid.cs:
795 * System.Data.SqlTypes/SqlInt16.cs:
796 * System.Data.SqlTypes/SqlInt32.cs:
797 * System.Data.SqlTypes/SqlInt64.cs:
798 * System.Data.SqlTypes/Money.cs:
799 * System.Data.SqlTypes/SqlSingle.cs:
800 * System.Data.SqlTypes/SqlString.cs:
801 * System.Data.SqlTypes/SqlSingle.cs: Fixed internal loop bugs and
802 some other minor fixes.
804 2002-10-27 Rodrigo Moya <rodrigo@ximian.com>
806 * System.Data.OleDb/OleDbDataAdapter.cs (Fill, FillSchema,
807 GetFillParameters, Update): added overloaded methods.
809 * System.Data.OleDb/OleDbCommand.cs:
810 * System.Data.OleDb/OleDbDataReader.cs:
811 * System.Data.OleDb/OleDbConnection.cs: removed limitation of one
812 data adapter at a time. Mono's version can open as many as you want,
815 2002-10-25 Tim Coleman (tim@timcoleman.com)
816 * System.Data.SqlClient/SqlConnectionPool.cs:
818 * System.Data.SqlClient/SqlClientPermission.cs:
819 * System.Data.SqlClient/SqlClientPermissionAttribute.cs:
820 * System.Data.SqlClient/SqlInfoMessageEventArgs.cs:
821 * System.Data.SqlClient/SqlInfoMessageEventHandler.cs:
822 * System.Data.SqlClient/SqlParameter.cs:
823 * System.Data.SqlClient/SqlParameterCollection.cs:
825 * System.Data.SqlClient/SqlCommand.cs:
826 * System.Data.SqlClient/SqlConnection.cs:
827 * System.Data.SqlClient/SqlException.cs:
828 * System.Data.SqlClient/SqlTransaction.cs:
829 New code based on work in TDS Client
831 New files added for SqlClient, and TdsClient.Internal
833 Added reference to System.EnterpriseServices.dll
834 Still leave SqlClient out of build until danmorg
837 2002-10-23 Ville Palo <vi64pa@koti.soon.fi>
839 * System.Data.SqlTypes/SqlDouble.cs:
840 * System.Data.SqlTypes/SqlSingle.cs: Finished
842 2002-10-23 Ville Palo <vi64pa@koti.soon.fi>
844 * System.Data.SqlTypes/SqlByte.cs:
845 * System.Data.SqlTypes/SqlBoolean.cs:
846 * System.Data.SqlTypes/SqlInt16.cs:
847 * System.Data.SqlTypes/SqlInt32.cs:
848 * System.Data.SqlTypes/SqlInt64.cs: Finished.
850 2002-10-21 Rodrigo Moya <rodrigo@ximian.com>
852 * list: removed libodbchelper.cs file, which has been removed.
854 2002-10-16 Tim Coleamn <tim@timcoleman.com>
857 Exclude compiling of System.Data.SqlClient in
858 preparation for overhauls of that system.
860 2002-10-16 Daniel Morgan <danmorg@sc.rr.com>
\r
863 * PostgresLibrary.cs
\r
865 * SqlClientPermission.cs
\r
866 * SqlClientPermissionAttribute.cs
\r
868 * SqlCommandBuilder.cs
\r
870 * SqlDataAdapter.cs
\r
873 * SqlErrorCollection.cs
\r
875 * SqlInfoMessageEventArgs.cs
\r
876 * SqlInfoMessageEventHandler.cs
\r
878 * SqlParameterCollection.cs
\r
879 * SqlRowUpdatedEventArgs.cs
\r
880 * SqlRowUpdatedEventHandler.cs
\r
881 * SqlRowUpdatingEventArgs.cs
\r
882 * SqlRowUpdatingEventHandler.cs
\r
883 * SqlTransaction.cs: thanks to Miguel de Icaza, he
\r
884 copied files on the mono cvs server
\r
885 from mcs/class/System.Data/System.Data.SqlClient
\r
886 for the PostgreSQL provider
\r
887 to mcs/class/Mono.Data.PostgreSqlClient.
\r
889 mcs/class/System.Data/System.Data.SqlClient for
\r
890 the Microsoft SQL Server provider.
\r
891 Any Mono.Data.PostgreSqlClient/Sql*.cs files
\r
892 were copied on the cvs server
\r
893 to Mono.Data.PostgreSqlClient/PgSql*.cs files
\r
894 and the old Mono.Data.PostgreSqlClient/Sql*.cs
\r
895 files were removed. Copying, renaming, and removing
\r
896 was done on the cvs server so we could keep
\r
897 the cvs change history.
\r
899 2002-10-15 Daniel Morgan <danmorg@sc.rr.com>
901 * System.Data.OleDb/libgda.cs: added more functions
902 to platfrom invoke into shared library libgda
904 * System.Data.OleDb/OleDbDataReader.cs: implemented
905 GetSchemaTable() and GetFieldType()
907 2002-10-13 Daniel Morgan <danmorg@sc.rr.com>
909 * System.Data/DataRow.cs: don't throw exception
910 if DBNull is false. Had to do comment this line
911 to allow a typeof(Type).
913 * System.Data.SqlClient/SqlCommand.cs: the "DataType"
914 DataColumn and DataRows in a DataTable for a schema should
915 be typeof Type, not string. This is to make it
916 compatible with MS.NET
918 * System.Data.SqlClient/SqlConnection.cs: the
919 isolation level should be set before
920 beginning the transaction
922 * Test/SqlSharpCli.cs: change string to Type for
923 "DataType" from a DataRow in a DataTable
924 that contains a schema.
926 2002-10-14 Rodrigo Moya <rodrigo@ximian.com>
928 * list: added missing Odbc files.
930 2002-10-09 Rodrigo Moya <rodrigo@ximian.com>
932 * list: added System.Data.Odbc files.
934 2002-10-09 Brian Ritchie <brianlritchie@hotmail.com>
936 * System.Data.Odbc/*: added first version of ODBC managed provider.
938 2002-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
940 * System.Data/ConstraintCollection.cs:
941 * System.Data/DataColumnCollection.cs:
942 * System.Data/DataRowCollection.cs:
943 * System.Data/DataTableCollection.cs:
944 * System.Data/InternalDataCollectionBase.cs: made List internal to fix
945 the build with csc. It must be a mcs bug. I will try to get a test case.
947 2002-10-06 Luis Fernandez <luifer@onetel.net.uk>
949 * System.Data/Constraint.cs (AssertConstraint): added overloaded
952 * System.Data/DataColumnCollection.cs: added constraints when needed.
954 * System.Data/DataRow.cs: validate UniqueConstraint's.
956 * System.Data/DataRowCollection.cs (ValidateDataRowInternal): new
957 internal method to validate a given DataRow with respect to the
960 * System.Data/ForeignKeyConstraint.cs (AssertConstraint): stubs for
961 new overloaded method.
963 * System.Data/UniqueConstraint.cs: added implementation.
964 (AseertConstraint): implemented new overloaded method.
966 2002-10-01 Rodrigo Moya <rodrigo@ximian.com>
968 * System.Data.OleDb/OleDbConnection.cs (Open): commented code from
969 last commit, which wasn't supposed to be in CVS yet.
971 2002-10-01 Luis Fernandez <luifer@onetel.net.uk>
973 * System.Data/DataColumn.cs:
974 * System.Data/DataRow.cs:
975 * System.Data/DataRowCollection.cs:
976 * System.Data/DataTable.cs: some fixes and implementation.
978 2002-09-28 Vladimir Vukicevic <vladimir@pobox.com>
980 * System.Data.OleDb/OleDbConnection.cs: Close
981 reader properly in call to ExecuteScalar().
983 2002-09-07 Rodrigo Moya <rodrigo@ximian.com>
985 * System.Data.OleDb/OleDbConnection.cs (Open): changed to use OleDb
986 connection strings, which are then converted to GDA connection
987 strings, instead of using directly GDA data source names.
989 * System.Data.OleDb/libgda.cs: added more needed functions.
991 2002-09-06 Franklin Wise <gracenote@earthlink.net>
993 * System.Data/DataColumn.cs: More flushing out.
995 * System.Data/ForeignKeyConstraint.cs: Implemented GetHashCode()
997 * System.Data/UniqueKeyConstraint.cs: Implemented GetHashCode()
999 * Tests: See Changelog for System.Data/Test
1001 2002-09-04 Franklin Wise <gracenote@earthlink.net>
1003 * Tests: See Changelog for System.Data/Test
1006 System.Data/DataColumnCollectionTest.cs
1007 System.Data/DataRowCollectionTest.cs
1008 System.Data/DataRowTest.cs
1010 * System.Data/DataColumn.cs: Flushing out validation, type conversion for
1011 autoincrement. Added lots of TODO's.
1012 * System.Data/DataColumnCollection.cs: Wrote out add logic as a comment.
1013 Tagged implementation with FIXME tags. Lot's more validation
1014 and setup needs to be done, much of which is now tagged as todo's
1017 * System.Data/DataRow.cs: Lot's of fixme's added.
1019 * System.Data/DataRowCollection.cs: TODO's added.
1021 * System.Data/DataTable.cs: Implemented PrimaryKey.
1023 * System.Data/UniqueConstraint.cs: Implemented related PrimaryKey
1026 2002-08-25 Rodrigo Moya <rodrigo@ximian.com>
1028 * System.Data.OleDb/OleDbTransaction.cs (OleDbTransaction): manage
1029 correctly the isolation level.
1030 (IsolationLevel): likewise.
1031 (~OleDbTransaction): implemented.
1033 * System.Data.OleDb/libgda.cs: added more needed stuff.
1035 2002-08-22 Daniel Morgan <danmorg@sc.rr.com>
1037 * System.Data.SqlClient/SqlParameter.cs: flush
1039 * System.Data.SqlClient/SqlParameterCollection.cs: fixes
1040 for the Item property, IndexOf, and Contains.
1042 * Test/SqlSharpCli.cs: added input parameters support.
1043 when a query is executed, if a parameter name matches
1044 a SQL# internal variable name, it uses that value for the parameter; otherwise,
1045 the user is prompted for the parameter value. Currently, it only supports
1048 2002-08-21 Rodrigo Moya <rodrigo@ximian.com>
1050 * System.Data.OleDb/libgda.cs: adapted to changes in libgda (get_vtype
1051 and get_type for GdaValue).
1053 * System.Data.OleDb/OleDbDataReader.cs: adapted to changes in
1056 2002-08-20 Rodrigo Moya <rodrigo@ximian.com>
1058 * System.Data.OleDb/OleDbConnection.cs (DataReader): new internal
1060 (Close): set the dataReader to null.
1062 * System.Data.OleDb/OleDbDataReader.cs (OleDbDataReader): set the
1063 connection's DataReader property to this object.
1064 (Close): set it to null here.
1065 (Depth, IsDbNull): implemented.
1066 (this): implemented the Item property with a string indexer.
1068 * System.Data.OleDb/OleDbCommand.cs (ExecuteNonQuery, ExecuteReader,
1069 ExecuteScalar): do nothing if there's already an open data reader.
1071 * System.Data.OleDb/libgda.cs: more API functions.
1073 * System.Data.OleDb/TestOleDb.cs (TestDataReader): close the data
1074 reader before continuing.
1076 2002-08-20 Franklin Wise <gracenote@earthlink.net>
1078 * System.Data/System.Data.build: added nowarn:0679
1080 * System.Data/System.DataTable: cleaned up class, added MonoTODO tags
1081 setup to begin implementing. Implemented ctor().
1083 * Tests: See System.Data\Test\ChangeLog
1086 2002-08-19 Rodrigo Moya <rodrigo@ximian.com>
1088 * System.Data.OleDb/OleDbSchemaGuid.cs: initialize static members.
1090 2002-08-19 Franklin Wise <gracenote@earthlink.net>
1092 * Tests: See System.Data\Test\ChangeLog
1094 * System.Data/UniqueConstraint.cs: More validation.
1096 * System.Data/ForeignKeyConstraint.cs: Added more validation rules.
1097 Another LAMESPEC tag. Implemented more of Add/Remove Setup/Cleanup
1100 * System.Data/DataTable.cs: Added more MonoTODO tags
1102 * class/System.Data/.cvsignore: added tmp & Temp
1104 * System.Data/Constraint.cs: Changed abstract helpers to virtual and
1107 * System.Data/ConstraintCollection.cs: Commented out unused line.
1109 2002-08-18 Rodrigo Moya <rodrigo@ximian.com>
1111 * System.Data.OleDb/OleDbConnection.cs (ChangeDatabase): implemented.
1113 * System.Data.OleDb/OleDbException.cs (OleDbException): added internal
1115 (ErrorCode, Message, Source, Errors): implemented.
1117 * System.Data.OleDb/OleDbError.cs: implemented the full class.
1119 * System.Data.OleDb/libgda.cs: added more libgda functions.
1121 * System.Data.OleDb/TestOleDb.cs (TestOleDb): display properties for
1122 the opened connection.
1124 2002-08-18 Rodrigo Moya <rodrigo@ximian.com>
1126 * System.Data.OleDb/OleDbConnection.cs (ServerVersion): implemented.
1128 * System.Data.OleDb/OleDbDataReader.cs (Close): clear the results
1129 ArrayList after releasing the items.
1130 (GetName, GetDateTime, GetDouble, GetSingle, GetInt16, GetInt32,
1131 GetOrdinal, GetString): implemented.
1132 (GetDataTypeName): made it get the type from the data model, not from
1133 the current value, which could not have been retrieved yet.
1134 (GetValue): call the Get* method corresponding with the data type of
1135 the requested column.
1137 * System.Data.OleDb/libgda.cs: added more libgda functions.
1138 (GdaTimestamp, GdaDate, GdaTime): new marshalled structures.
1140 * System.Data.OleDb/TestOleDb.cs (TestDateReader): display column
1141 titles via OleDbDataReader.GetName ().
1142 (TestOleDb): create temporary table with a date field.
1143 (InsertRow): set current date for the date field.
1145 2002-08-18 Rodrigo Moya <rodrigo@ximian.com>
1147 * System.Data.OleDb/OleDbDataReader.cs (this[]): made it just call
1148 GetValue, which will take care of all the work needed.
1149 (Close): implemented basic stuff.
1150 (~OleDbDataReader): implemented.
1152 * System.Data.OleDb/libgda.cs: added more needed functions.
1154 2002-08-16 Rodrigo Moya <rodrigo@ximian.com>
1156 * System.Data.OleDb/TestOleDb.cs: made it work with a temporary table
1158 (TestTransaction): added test for transactions.
1160 2002-08-16 Rodrigo Moya <rodrigo@ximian.com>
1162 * System.Data.OleDb/libgda.cs: added new needed libgda functions.
1164 * System.Data.OleDb/OleDbDataReader.cs (GetBoolean): throw exceptions
1165 when there are errors.
1166 (GetByte, GetChar, GetDataTypeName, GetValue, Read): implemented.
1168 * System.Data.OleDb/TestOleDb.cs: added more testing code for data
1171 2002-08-15 Rodrigo Moya <rodrigo@ximian.com>
1173 * System.Data.OleDb/libgda.cs: added new needed libgda functions.
1175 * System.Data.OleDb/OleDbParameterCollection.cs (GdaParameterList):
1176 create an empty GdaParameterList.
1178 * System.Data.OleDb/OleDbCommand.cs (ExecuteReader): check values
1179 for NULL before passing them to Marshal.PtrToStructure, which issues
1180 an exception if the value is NULL.
1182 2002-08-15 Rodrigo Moya <rodrigo@ximian.com>
1184 * System.Data/UniqueConstraint.cs (UniqueConstraint): commented
1185 unreachable code to avoid compiler warning.
1187 * System.Data.OleDb/libgda.cs (GdaList): added new internal class.
1189 * System.Data.OleDb/OleDbConnection.cs (DataSource): implemented.
1190 (OpenReader): removed internal method.
1192 * System.Data.OleDb/OleDbCommand.cs (ExecuteReader): split correctly
1193 the list of returned data models.
1195 2002-08-15 Franklin Wise <gracenote@earthlink.net>
1197 * System.Data/Constraint.cs: Added helper virtual functions
1199 * System.Data/ConstraintCollection.cs: Improved constraint removal,
1200 validation. Removed specific knowledge of subclasses of
1203 * System.Data/DataColumn.cs: Added static helper function to compare
1204 if two DataColumn arrays are the same.
1206 * System.Data/ForeignKeyConstraint.cs: Continued to flush out.
1208 * System.Data/UniqueConstraint.cs: Implemented. Still some constraint
1211 2002-08-13 Franklin Wise <gracenote@earthlink.net>
1213 * System.Data/DataRow.cs: Added several fixme tags.
1215 2002-08-13 Rodrigo Moya <rodrigo@ximian.com>
1217 * System.Data.SqlClient/SqlDataAdapter.cs (DeleteCommand,
1218 InsertCommand, SelectCommand, UpdateCommand): removed 'new' keyword
1219 to avoid compiler warnings.
1221 2002-08-12 Franklin Wise <gracenote@earthlink.net>
1223 * System.Data/Constraint.cs: Implemented
1225 * System.Data/UniqueConstraint.cs: GetHashCode() &
1226 special case Ctor. Still need to be implemented. LAMESPEC tags
1229 * System.Data/ConstraintCollection.cs: Clear() &
1230 AddRange() need to be finished. Several LAMESPEC tags.
1232 * Allow Constraint collection to be created in DataTable.
1234 * System.Data/ForeignKeyConstraint: Added a couple of
1237 * System.Data/DataColumnCollection New/Added DataColumns now have
1240 2002-08-11 Rodrigo Moya <rodrigo@ximian.com>
1242 * System.Data.OleDb/libgda.cs: added some GdaValue functions.
1244 * System.Data.OleDb/OleDbCommand.cs (OpenReader): removed this
1245 internal method, since we don't need it.
1246 (ExecuteReader): call SetupGdaCommand before executing the command
1247 via libgda functions.
1248 (ExecuteScalar): implemented.
1250 * System.Data.OleDb/OleDbDateReader.cs (OleDbDataReader): removed call
1251 to OleDbCommand.OpenReader.
1252 (GetBoolean): implemented.
1254 2002-08-08 Franklin Wise <gracenote@earthlink.net>
1256 * System.Data/IDbComand.cs: IDbCommand now inherits IDisposable
1258 * System.Data/IDbConnection.cs: IDbConnection now inherits IDisposable
1260 * System.Data.SqlTypes/SqlCompareOptions.cs: Enum now set to correct
1263 2002-08-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1265 * System.Data.OleDb/OleDbConnection.cs: little fixes to make it work
1266 and don't show a warning in Open.
1268 * System.Data.OleDb/TestOleDb.cs: added Close.
1270 2002-08-05 Rodrigo Moya <rodrigo@ximian.com>
1272 * System.Data.OleDb/OleDbConnection.cs (ConnectionString,
1273 ConnectionTimeout, ServerVersion, GdaConnection):
1275 (OleDbConnection): call libgda.gda_init on constructor.
1277 * System.Data.OleDb/libgda.cs (libgda): removed static constructor,
1278 which wasn't been called.
1280 * System.Data.OleDb/TestOleDb.cs (TestOleDb): updated to really
1283 2002-08-04 Rodrigo Moya <rodrigo@ximian.com>
1285 * list: added missing System.Data.OleDb and
1286 System.Data.Common files.
1288 * System.Data.OleDb/ChangeLog: removed and merged with
1289 System.Data's ChangeLog.
1291 * System.Data.OleDb/OleDbDataAdapter.cs:
1292 * System.Data.OleDb/OleDbPermission.cs: compilation fixes.
1294 2002-07-30 Rodrigo Moya <rodrigo@ximian.com>
1296 * System.Data.OleDb/OleDbDataReader.cs (FieldCount): implemented.
1297 (IsClosed, Item, RecordsAffected): implemented some properties.
1299 * libgda.cs: added GdaDataModel methods.
1301 2002-07-29 Rodrigo Moya <rodrigo@ximian.com>
1303 * System.Data.OleDb/OleDbDataReader.cs (OleDbDataReader constructor): changed to receive
1304 a second argument (ArrayList results).
1305 (NextResult): implemented.
1307 * System.Data.OleDb/OleDbCommand.cs: don't store the ArrayList of results, since we'll
1308 pass that to the OleDbDataReader.
1309 (OleDbCommand constructor): don't create the ArrayList of results.
1310 (GdaResults): removed property.
1311 (ExecuteReader): create a temporary ArrayList and pass that to the
1312 OleDbDataReader constructor.
1314 2002-07-28 Rodrigo Moya <rodrigo@ximian.com>
1316 * System.Data.OleDb/OleDbCommand.cs (ExecuteReader):
1317 (CreateParameter): implemented IDbCommand methods.
1318 (CommandText): don't create many GdaCommand's, only one is needed.
1319 (ExecuteNonQuery): set up the internal GDA command object.
1320 (ExecuteReader): use correctly the unique GDA command object.
1322 * System.Data.OleDb/libgda.cs: added new libgda calls.
1324 2002-07-27 Rodrigo Moya <rodrigo@ximian.com>
1326 * System.Data.OleDb/OleDbConnection.cs (CreateCommand):
1327 (BeginTransaction): implemented IDbConnection methods.
1329 2002-07-12 Rodrigo Moya <rodrigo@ximian.com>
1331 * list: added System.Data.OleDb files to file list.
1333 2002-07-11 Rodrigo Moya <rodrigo@ximian.com>
1335 * System.Data.OleDb/libgda.cs: added new libgda functions and some enumerations.
1337 * System.Data.OleDb/OleDbParameter.cs (IsNullable): removed explicit implementation
1338 of the set method for this property.
1340 * System.Data.OleDb/OleDbDataAdapter.cs (MissingMappingAction): implemented.
1341 (MissingSchemaAction): implemented.
1343 2002-07-10 Tim Coleman <tim@timcoleman.com>
1345 * System.Data.OleDb/OleDbCommandBuilder.cs: Added new methods, properties
1346 * System.Data.OleDb/OleDbConnection.cs: Modified constructor
1347 * System.Data.OleDb/OleDbError.cs: Added stubbs
1348 * System.Data.OleDb/OleDbException.cs: Added stubbs
1349 * System.Data.OleDb/OleDbInfoMessageEventArgs.cs: Added stubbs
1350 * System.Data.OleDb/OleDbInfoMessageEventHandler.cs: style change
1351 * System.Data.OleDb/OleDbParameter.cs: Added conversion from type to OleDbType
1352 * System.Data.OleDb/OleDbPermission.cs: Added stubbs
1353 * System.Data.OleDb/OleDbSchemaGuid.cs: Added stubbs
1354 * System.Data.OleDb/OleDbTransaction.cs: New constructors, changes to methods to
1355 support transaction nesting
1356 * System.Data.OleDb/libgda.cs: Added my name to this file
1358 2002-07-09 Tim Coleman <tim@timcoleman.com>
1360 * System.Data.OleDb/OleDbCommand.cs: Style changes, added new methods
1361 * System.Data.OleDb/OleDbConnection.cs: Style changes, added new methods
1362 * System.Data.OleDb/OleDbDataAdapter.cs: Implementation
1363 * System.Data.OleDb/OleDbDataReader.cs: Added stubbs
1364 * System.Data.OleDb/OleDbErrorCollection.cs: Added stubbs, some implementation
1365 * System.Data.OleDb/OleDbParameter.cs: Style changes, added new methods
1366 * System.Data.OleDb/OleDbParameterCollection.cs: Style changes, added new methods
1367 * System.Data.OleDb/OleDbPermissionAttribute.cs: Style changes, added new methods
1368 * System.Data.OleDb/OleDbRowUpdatedEventArgs.cs: Added stubbs
1369 * System.Data.OleDb/OleDbRowUpdatingEventArgs.cs: Added stubbs
1370 * System.Data.OleDb/OleDbTransaction.cs: Style changes, added new methods
1371 * System.Data.OleDb/OleDbType.cs: Fixed two typos
1372 * System.Data.OleDb/libgda.cs: Style changes, added new methods
1374 2002-07-09 Tim Coleman <tim@timcoleman.com>
1376 * System.Data.build: remove restriction on System.Data.OleDb build
1378 2002-06-03 Rodrigo Moya <rodrigo@ximian.com>
1380 * System.Data.OleDb/OleDbParameterCollection.cs (GetEnumerator, SyncRoot,
1381 IsSynchronized): implemented.
1383 2002-06-02 Rodrigo Moya <rodrigo@ximian.com>
1385 * System.Data.OleDb/OleDbTransaction.cs (Dispose): added missing method.
1387 * System.Data.OleDb/OleDbCommand.cs (Clone): added missing methods.
1388 (Parameters, Transaction, Connection): made these overload
1391 * System.Data.OleDb/OleDbParameterCollection.cs (IndexOf, Remove, RemoveAt):
1392 call m_list methods, not own ones.
1394 * System.Data.OleDb/OleDbParameter.cs: more implementation.
1396 2002-06-02 Rodrigo Moya <rodrigo@ximian.com>
1398 * System.Data.OleDb/OleDbTransaction.cs (Connection, IsolationLevel, Begin,
1399 Commit, Rollback): implemented.
1400 (GdaConnection): added new internal property.
1402 * System.Data.OleDb/OleDbParameter.cs:
1403 * System.Data.OleDb/OleDbParameterCollection.cs: implemented some methods and
1406 * System.Data.OleDb/libgda.cs: added yet more libgda API functions.
1408 2002-06-01 Rodrigo Moya <rodrigo@ximian.com>
1410 * System.Data.OleDb/libgda.cs: added new libgda API functions.
1412 * System.Data.OleDb/OleDbConnection.cs (Provider): implemented.
1413 (BeginTransaction): made it overload IDbConnection methods.
1414 (ChangeDatabase): new stub, needs some work on libgda for being
1417 (Close): implemented.
1418 (CreateCommand): implemented.
1419 (GetOleDbSchemaTable): new stub, until I understand what to do here.
1420 (Open): implemented basic stuff, which is just supporting connection
1421 strings that represent a GDA data source name. More to come.
1422 (InfoMessage, StateChange): added events.
1424 * System.Data.OleDb/TestOleDb.cs: test program for System.Data.OleDb.
1426 2002-05-29 Rodrigo Moya <rodrigo@ximian.com>
1428 * System.Data.OleDb/libgda.cs: added static constructor.
1429 (GdaClient): new static property to get the underlying GdaClient
1432 * System.Data.OleDb/OleDbConnection.cs: removed GDA initialization, which belongs to
1433 the static 'libgda' class.
1435 2002-05-29 Rodrigo Moya <rodrigo@ximian.com>
1437 * System.Data.OleDb/libgda.cs: static class for libgda API calls.
1439 * System.Data.OleDb/OleDbConnection.cs: implemented constructors.
1440 (ConnectionString, Connectiontimeout, Database, State):
1441 implemented class properties.
1442 (BeginTransaction): implemented.
1444 * System.Data.OleDb/OleDbTransaction.cs: implemented protected constructors.
1446 * System.Data.OleDb/TestGDA.cs: simple test for libgda API.
1448 2002-05-27 Rodrigo Moya <rodrigo@ximian.com>
1450 * System.Data.OleDb/*: started System.Data.OleDb provider, based on libgda.
1452 2002-06-06 Rodrigo Moya <rodrigo@ximian.com>
1454 * list: added missing PostgresTypes.cs file.
1456 2002-06-02 Francisco Jr. <fxjrlists@yahoo.com.br>
1458 * System.Data.SqlClient/SqlParameterCollection.cs: implemented missing
1461 2002-05-30 Daniel Morgan <danmorg@sc.rr.com>
1463 * System.Data.SqlClient/SqlConnection.cs: modifed -
1464 start to implement the interfaces properly and
1465 properly doing a Close(), Dispose(), and
1468 * Test/SqlSharpCli.cs: modified -
1469 add support for MySQL in Mono.Data.MySql
1470 and OleDb support in System.Data.OleDb. However,
1471 the OleDb support is commented right now.
1472 When the program starts up, a shorter help menu should
1473 display the most important commands: help and quit
1475 2002-05-28 Rodrigo Moya <rodrigo@ximian.com>
1477 * System.Data.build: exclude System.Data.OleDb files.
1479 2002-05-27 Daniel Morgan <danmorg@sc.rr.com>
1481 * System.Data.SqlClient/SqlCommand.cs: typo
1482 should be CommandBehavior.KeyInfo
1484 * Test/SqlSharpCli.cs: refactored and added a few more
1487 2002-05-27 Tim Coleman <tim@timcoleman.com>
1488 * list: update to compile properly (add missing
1489 files and switch path delimiter from '\' to '/').
1491 2002-05-26 Daniel Morgan <danmorg@sc.rr.com>
1493 * System.Data/DataRow.cs
1494 * System.Data.Common/DbDataAdapter.cs: fix to
1495 get Test/TestSqlDataAdapter.cs to work again
1497 * Test/TestSqlDataAdapter.cs: removed comment
1498 about SqlDataReader:NextResult() not being implemented; it
1499 bas been implemented
1501 2002-05-26 Daniel Morgan <danmorg@sc.rr.com>
1503 * System.Data/DataRow.cs: modified
1504 support setting of DBNull.Value
1505 using the Item indexer this[DataColumn]
1507 * System.Data.SqlClient/SqlCommand.cs: modified
1508 tweaks to show TODO's for other CommandBehavior.
1509 Set AllowDBNull column to true for IsKey row
1510 in schema DataTable.
1512 * System.Data.SqlClient/SqlConnection.cs: modified
1513 if transaction is in progress when a Close() is called,
1514 do a transaction Rollback.
1516 2002-05-26 Daniel Morgan <danmorg@sc.rr.com>
1518 * Test/SqlSharpCli.cs: added file
1519 My new toy. SQL# is a command-line tool to enter
1520 SQL commands and queries using Mono System.Data.
1521 It also serves as a test for Mono System.Data.
1523 * System.Data.SqlClient/SqlCommand.cs: modified
1524 - ExecuteNonQuery(), ExecuteScalar(), and ExecuteReader()
1525 should handle the results from SQL Commands and Queries.
1526 - Internal class SqlResult should not create schema Table
1527 for the result from a SQL Command. Also, set the RecordsRetrieved
1528 property for SqlDataReader.
1529 - Closing the SqlDataReader should Close() the SqlConnection for
1530 a CommandBehavior.CloseConnection.
1531 - Set defaults for SqlResult
1533 * System.Data.SqlClient/SqlConnection.cs: modified -
1534 when SqlDataReader is Close()
1535 should Close() the SqlConnection for
1536 a CommandBehavior.CloseConnection. Changed internal Property
1537 from OpenReader get/set to IsReaderOpen get and created
1538 internal methods OpenReader()/CloseReader() for SqlCommand to call.
1539 SqlConnection needs to be prevented from doing while SqlDataReader
1542 * System.Data.SqlClient/SqlDataReader.cs: modified -
1543 call SqlCommand's OpenReader() internal method. get
1544 RecordsRetrieved from SqlResult. set/reset default
1545 values for SqlDataReader.
1547 * Test/PostgresTest.cs
1548 * Test/TestExecuteScalar.cs
1549 * Test/TestSqlDataReader.cs: modified
1550 for the Execute...() methods in SqlCommand
1551 to test SQL Queries and Commands
1553 * Test/System.Data_test.build: modified
1554 exclude new file Test/SqlSharpCli.cs from
1557 2002-05-24 Tim Coleman <tim@timcoleman.com>
1558 * System.Data.Common/DbDataAdapter.cs: remove IDbCommands, except
1559 for get accessors. These should be implemented in derived classes. See
1560 SqlDataAdapter for clues.
1561 * System.Data.SqlClient/SqlDataAdapter.cs: implement IDbDataAdapter
1562 * System.Data.Common/DataAdapter.cs:
1563 * System.Data.Common/DataTableMappingCollection.cs:
1564 * System.Data.Common/DataTableMapping.cs:
1565 * System.Data.Common/DataColumnMappingCollection.cs:
1566 * System.Data.Common/DataColumnMapping.cs:
1567 Properly (I hope!) implement all of the appropriate interfaces
1571 2002-05-23 Tim Coleman <tim@timcoleman.com>
1572 * System.Data.SqlClient/SqlCommand.cs: include
1573 the BaseColumnName in the schema table. Was missed before.
1574 * System.Data.Common/DbDataAdapter.cs: Use DataTable
1575 mappings so that the DataSet and DataTable are more closely tied.
1576 Get schema information from the DataTable using GetSchemaTable ()
1577 Various other little fixes
1578 * System.Data.Common/DataColumnMappingCollection.cs:
1579 * System.Data.Common/DataTableMapping.cs:
1580 * System.Data.Common/DataTableMappingCollection.cs: Some
1581 implementation, enough to be used by DbDataAdapter.
1583 2002-05-23 Daniel Morgan <danmorg@sc.rr.com>
1585 * System.Data.SqlClient/SqlCommand.cs: set
1586 the "ProviderType" to the PostgreSQL type oid
1588 * System.Data.SqlClient/SqlDataReader.cs: fix
1589 for various properties and methods that
1590 return meta data: Item indexers this[name] and this[index],
1591 GetFieldType, GetName, and GetOrdinal. SqlDataAdapter
1594 2002-05-22 Daniel Morgan <danmorg@sc.rr.com>
1596 * System.Data/DataRow.cs: change suggested
1597 by tim: in Item indexer, do an EndEdit()
1599 * System.Data.SqlClient/SqlCommand.cs: more
1600 fixes to SqlResult. After setting each item in
1601 the DataRow, do an AcceptChanges() to commit
1602 the changes in the DataRow. For DataType, use a Type
1603 of System.String since System.Type nor System.Object
1606 * Test/TestSqlDataReader.cs
1607 * Test/PostgresTest.cs: updated to to be on
1608 the way schema table is suppose to work
1610 2002-05-22 Daniel Morgan <danmorg@sc.rr.com>
1612 * System.Data.SqlClient/SqlCommand.cs: more work on
1613 building the schema table
1615 2002-05-22 Tim Coleman <tim@timcoleman.com>
1616 * System.Data.SqlClient/SqlCommand.cs: preliminary work
1617 on getting the schema table correctly built.
1619 2002-05-21 Daniel Morgan <danmorg@sc.rr.com>
1621 * System.Data.SqlClient/ParmUtil.cs: added file - to
1622 provide utility for conversion of input parameters
1624 * System.Data.SqlClient/PostgresTypes.cs: added file -
1625 moved the PostgreHelper class to here. May eventually
1626 move the internal class PostgresTypes that's inside the
1627 SqlConnection to here as well.
1628 Handling of PostgreSQL <-> .NET types need to be though
1629 out more. Also, the PostgreHelper has a method to convert
1630 from .NET types to a string which can be put into used in
1631 an SQL statement to execute against a PostgreSQL database.
1632 This is the beginnings of parameters support. It currently
1633 only supports input parameters. Still need to do output,
1634 input/output, and return parameters.
1636 * Test/TestSqlParameters.cs: new test to test the input
1637 parameters in System.Data.SqlClient against a
1640 * System.Data.SqlClient/PostgresLibrary.cs: moved
1641 PostgresHelper class to file PostgresTypes.cs. Also
1642 moved struct PostgresType there too.
1644 * System.Data.SqlClient/SqlCommand.cs: added input
1647 * System.Data.SqlClient/SqlParameter.cs: got
1648 SqlParameter to work
1650 * System.Data.SqlClient/SqlParameterCollection.cs: got
1651 SqlParameterCollection to work
1653 * Test/System.Data_test.build: added files to exclude
1656 * System.Data.SqlClient/SqlConnection.cs: release resources
1659 2002-05-18 Daniel Morgan <danmorg@sc.rr.com>
1661 * System.Xml: added directory for classes with namespace
1662 System.Xml to go into the System.Data.dll assembly
1664 * System.Xml/XmlDataDocument: added file
1665 for stubbed concrete class XmlDataDocument which
1666 inherits from XmlDocument. Its purpose is to provide
1667 a W3C XML DOM Document for relational data and interacting
1670 2002-05-18 Daniel Morgan <danmorg@sc.rr.com>
1672 * System.Data.SqlClient/SqlCommand.cs: handle CommandTypes
1673 Text, TableDirect, and StoredProcedure
1675 * Test/PostgresTest.cs: changed call to version()
1676 stored procedure to use the CommandType of StoredProcedure
1678 * Test/TestSqlDataReader.cs: test all the CommandTypes
1680 2002-05-18 Daniel Morgan <danmorg@sc.rr.com>
1682 * System.Data.build: took out all excluded
1683 files except the ones in the Test directory
1684 because all files compile now. It does not
1685 mean they all work or have implementations
1688 * System.Data/DataRelationCollection.cs
1689 * System.Data/DataTableRelationCollection.cs
1690 * System.Data/InternalDataCollectionBase.cs
1691 * System.Data.Common/DbDataPermission.cs
1692 * System.Data.SqlClient/SqlInfoMessageEventArgs.cs
1693 * System.Data.SqlClient/SqlClientPermission.cs
1694 * System.Data.SqlClient/SqlClientPermissionAttribute.cs: changes
1695 to get all System.Data* files to compile.
1697 * System.Data.SqlClient/SqlCommand.cs: started coding
1698 to prevent SqlConnection and SqlCommand from doing
1699 anyting while fetching data using SqlDataReader. Also,
1700 started coding to undo this prevention once the
1701 SqlDataReader is closed.
1703 * System.Data.SqlClient/SqlConnection.cs: get database server
1704 version. Started coding to prevent connection from
1705 doing anything while fetching data and undo once the reader
1706 is closed. Include events SqlInfoMessage and StateChange.
1708 * System.Data.SqlClient/SqlDataReader.cs: start coding to
1709 prevent connection and command from doing anything while
1710 fetching data, and undo when closed.
1712 * Test/PostgresTest.cs: added test to get ServerVersion
1713 property from SqlConnection
1715 2002-05-18 Tim Coleman <tim@timcoleman.com>
1716 * System.Data/DataRow.cs: More implementation,
1717 as well as boundary checks and small semantic
1720 2002-05-18 Tim Coleman <tim@timcoleman.com>
1721 * System.Data/DataRow.cs: Try to reduce memory
1722 usage by only creating the original and proposed
1723 arrays as required in BeginEdit, and then destroying
1724 proposed during EndEdit, and original during AcceptChanges.
1725 * System.Data.Common/DbDataAdapter.cs: Make the
1726 startRecord and maxRecords parameters work correctly.
1728 2002-05-18 Tim Coleman <tim@timcoleman.com>
1729 * System.Data/DataRow.cs: Move the null check in
1730 ItemArray set to above the Invalid Cast check, so
1731 that we don't get null reference exceptions.
1733 2002-05-17 Daniel Morgan <danmorg@sc.rr.com>
1735 * System.Data.SqlClient/PostgresLibrary.cs: handle
1736 data value from database being NULL
1738 * System.Data.SqlClient/SqlCommand.cs: for ExecuteReader,
1739 allow multiple result sets. Added new internal class
1740 SqlResult to pass result set data from SqlCommand
1743 * System.Data.SqlClient/SqlDataReader.cs: allow
1744 multiple result sets.
1746 * System.Data.SqlClient/SqlConnection.cs: moved
1747 things around. Implement IDisposable.
1749 * Test/TestSqlDataReader.cs: test for execution
1750 of multiple result sets and display the results
1751 of these multiple results sets
1753 * Test/TestSqlDataAdapter.cs: tweaks
1755 2002-05-17 Tim Coleman <tim@timcoleman.com>
1756 * System.Data.Common/DbDataAdapter.cs:
1757 - More implementation of Fill methods
1758 - Get rid of isDirty flag, because we can just check
1760 - Do *not* remove DataTables before Filling them
1761 - Implicitly open the connection before doing a Fill
1762 if it does not exist.
1763 * System.Data.SqlClient/SqlDataAdapter.cs:
1765 * System.Data/DataTableCollection.cs:
1766 - Add DataSet to internal, undocumented constructor
1767 - When a table is created, set its DataSet property
1768 - Default table name for creation is "Table1" (see .NET)
1769 - Inherit the ArrayList list from InternalDataCollecitonBase
1770 and maintain a hashtable between table names and
1772 * System.Data/DataTable.cs:
1773 - Add internal dataSet field. This is used by
1774 DataTableCollection when the DataTable is constructed.
1775 * System.Data/DataSet.cs:
1776 - Pass a reference to the DataSet when constructing the
1777 DataTableCollection.
1779 2002-05-16 Tim Coleman <tim@timcoleman.com>
1780 * System.Data.Common/DbDataAdapter.cs:
1781 Use table.Rows.Add (itemArray) instead of
1782 table.Rows.Add (thisRow) to provide better
1784 * System.Data/DataRowCollection.cs:
1785 Some implementation of this class.
1786 * System.Data/InternalDataCollectionBase.cs:
1787 Some implementation. Most notably, this now
1788 has an enumerator so we can use foreach (DataRow row in table.Rows)
1789 in the test classes.
1790 * System.Data/DataTable.cs:
1791 Since DataRowCollection now accepts a DataTable in
1792 its internal constructor, we must pass one in.
1794 2002-05-16 Daniel Morgan <danmorg@sc.rr.com>
1796 * Test/TestSqlDataAdapter.cs: added new test
1797 for SqlDataAdapter, DataSet, DataTableCollection, DataTable,
1798 DataRowCollection, and DataRow. It tests retrieving data
1799 based on a SQL SELECT query. This test is based on Tim Coleman's
1802 2002-05-16 Tim Coleman <tim@timcoleman.com>
1803 * System.Data.Common/DbDataAdapter.cs:
1804 Use table.Rows.Add (thisRow) instead of
1805 table.ImportRow (thisRow)
1806 * System.Data/DataRowCollection.cs:
1807 Construct the ArrayList before using it
1809 2002-05-16 Tim Coleman <tim@timcoleman.com>
1810 * System.Data/DataTable.cs:
1811 Construct the DataRowCollection in the DataTable
1812 constructor. Otherwise, it's a null reference.
1814 2002-05-16 Tim Coleman <tim@timcoleman.com>
1815 * System.Data.SqlClient/SqlDataReader.cs:
1816 Modify GetValues to use Array.Copy() to copy
1817 the results from fields to values, rather than
1818 an assignment, which results in loss of data.
1820 2002-05-16 Tim Coleman <tim@timcoleman.com>
1821 * System.Data/DataRow.cs:
1822 More implementation and documentation. It should
1823 work more like expected, although there is no way
1824 to demonstrate this well yet. DataTable requires
1827 2002-05-15 Tim Coleman <tim@timcoleman.com>
1828 * System.Data/DataRow.cs:
1829 Minor tweaks as I determine exactly how to
1830 implement this class.
1833 2002-05-14 Duncan Mak <duncan@ximian.com>
1835 * System.Data/DataTable.cs (NewRow): Added missing paren to fix build.
1837 2002-05-14 Tim Coleman
1838 * System.Data/DataRow.cs:
1839 * System.Data/DataRowBuilder.cs:
1840 * System.Data/DataTable.cs:
1841 More implementation of these classes. DataRow
1842 can now (possibly) do some useful things.
1843 Still not sure what DataRowBuilder is all about,
1844 other than passing a DataTable in.
1846 2002-05-14 Tim Coleman
1847 * System.Data/DataRowBuilder.cs:
1848 Add stubb for this internal class.
1850 2002-05-13 Tim Coleman
1851 * System.Data.Common/DbDataAdapter.cs:
1852 The maxRecords check was not correct.
1854 2002-05-13 Tim Coleman
1855 * System.Data/DataTableCollection.cs:
1856 Fix an issue when adding a DataTable and size == 0.
1857 Now explicitly checks if size > 0 before doing Array.Copy ()
1858 * System.Data.Common/DbDataAdapter.cs:
1859 Move closer to a working implementation.
1860 Make the IDbCommand fields protected so that they can
1862 * System.Data.SqlClient/SqlDataAdapter.cs:
1863 This should inherit the IDbCommands instead of having its
1864 own. An explicit cast is used to force conversion between
1865 IDbCommand and SqlCommand
1867 2002-05-13 Tim Coleman
1868 * System.Data.Common/DataTableMappingCollection.cs:
1869 Some implementation to allow progress with DbDataAdapter
1871 2002-05-13 Tim Coleman
1872 * System.Data.Common/DbDataAdapter.cs:
1873 Modify to not break compile.
1875 2002-05-13 Tim Coleman
1876 * System.Data.build:
1877 include SqlDataAdapter, SqlRowUpdatedEventArgs,
1878 SqlRowUpdatingEventArgs, SqlRowUpdatedEventHandler,
1879 SqlRowUpdatingEventHandler in the build.
1881 2002-05-13 Tim Coleman
1882 * System.Data.Common/DbDataAdapter.cs:
1883 More implementation.
1884 * System.Data.Common/DataAdapter.cs:
1885 Correction of some of the stubbing, as well as a
1886 little bit more implementation
1888 2002-05-11 Tim Coleman
1889 * System.Data.SqlClient/SqlDataAdapter.cs:
1890 * System.Data.Common/DbDataAdapter.cs:
1891 Moved methods that weren't supposed to
1892 be in SqlDataAdapter out. They should be implemented
1896 2002-05-11 Tim Coleman
1897 * System.Data.SqlClient/SqlDataAdapter.cs:
1898 some implementation of this class. Note
1899 that none of the functionality has been
1900 tested yet, but I felt it should be checked
1901 in at this point as it compiles.
1902 * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs:
1903 * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs:
1904 Modified so that they will compile properly.
1905 Needed to include SqlDataAdapter in the build.
1907 2002-05-11 Rodrigo Moya <rodrigo@ximian.com>
1909 * System.Data/DataTable.cs (Clear): implemented.
1910 (DataTable): removed repeated code in constructors, and call the
1911 basic constructor from the others.
1913 * System.Data/DataColumn.cs: some tweaks.
1915 * System.Data/DataRow.cs (RowState): implemented.
1916 (CancelEdit): set rowState property back to Unchanged.
1917 (RejectChanges): call CancelEdit.
1918 (Delete): set rowState to Deleted.
1920 2002-05-11 Daniel Morgan <danmorg@sc.rr.com>
1922 * System.Data.build: added copy of System.Data.dll to Test directory
1923 for easy testing. Also, added clean for it too.
1925 * System.Data.SqlClient/PostgresLibrary.cs: changed setting of boolean
1926 from PostgreSQL data type to .NET type.
1928 * System.Data.SqlClient/SqlDataReader.cs: beginnings
1929 handling of a NULL value from the database
1931 * Test/PostgresTest.cs: added tests for NULL values retrieved
1934 * Test/ReadPostgresData.cs
1935 * Test/TestExecuteScalar.cs
1936 * Test/TestSqlDataReader.cs
1937 * Test/TestSqlException.cs
1938 * Test/TestSqlIsolationLevel.cs: updated tests to use databas user
1939 "postgres". These tests may eventually be removed since they
1942 2002-05-10 Rodrigo Moya <rodrigo@ximian.com>
1944 * System.Data.build: removed reference to non-existant
1945 TestDataColumn.cs file.
1947 * System.Data/DataSet.cs: added some implementation.
1949 2002-05-09 Daniel Morgan <danmorg@sc.rr.com>
1951 * System.Data.SqlClient/PostgresLibrary.cs: got
1952 PostgreSQL data types time, date, timestamp (DateTime like)
1953 mapped to .NET System.DateTime working based
1954 on ISO DateTime formatting "YYYY-MM-DD hh:mi:ss.ms"
1955 Also mapped pg type boolean to .net Boolean
1957 * SqlClient/SqlConnection.cs: run SQL command to set
1960 * Test/PostgresTest.cs: added test for an UPDATE SQL command,
1961 added tests for aggregates min(), max(), sum(), count(). could
1962 not get avg() to work due to some formatting error; someone claimed
1963 that it was my locale settings. added tests for SELECT of columns
1964 of type boolean, float, double, date, time, and timestamp. They
1965 have not been fully tested, but its a start.
1967 2002-05-09 Tim Coleman <tim@timcoleman.com>
1968 * System.Data.SqlTypes/SqlDecimal.cs: Implementations of
1969 addition, subtraction, and multiplication for the
1970 SqlDecimal type, as well as modification of some other
1971 operations. More to come on this one.
1973 2002-05-08 Rodrigo Moya <rodrigo@ximian.com>
1975 * Test/System.Data_test.build: excluded TestDataColumn, which
1976 should be replaced with a nunit test.
1978 * Test/TestDataColumn.cs: added basic test for DataColumn.cs.
1980 2002-05-07 Tim Coleman <tim@timcoleman.com>
1994 Fix the broken build I made before. Bad
1997 2002-05-07 Tim Coleman <tim@timcoleman.com>
1999 Fix a symantic error I made in SqlString
2000 Equals where I copied and pasted wrongly
2002 2002-05-07 Tim Coleman <tim@timcoleman.com>
2007 * SqlCompareOptions.cs:
2018 Implement CompareTo, Equals, and String conversions
2021 2002-05-05 Daniel Morgan <danmorg@sc.rr.com>
2023 * Test/PostgresTest.cs: modified to run completely. There
2024 are many TODOs in System.Data, so not all data types are
2025 included in the SELECT SQL query. Also, I made it to where
2027 using "host=localhost;dbname=test;user=postgres"
2028 instead of my userid and password. When more types are included,
2031 2002-05-05 Daniel Morgan <danmorg@sc.rr.com>
2033 * Test/PostgresTest.cs: added - ported
2034 libgda postgres-test.c originally by
2035 Gonzalo Paniagua Javier <gonzalo@gnome-db.org>
2038 2002-05-05 Tim Coleman <tim@timcoleman.com>
2039 * System.Data.SqlTypes/SqlBinary.cs:
2040 * System.Data.SqlTypes/SqlBoolean.cs:
2041 * System.Data.SqlTypes/SqlByte.cs:
2042 * System.Data.SqlTypes/SqlDateTime.cs:
2043 * System.Data.SqlTypes/SqlDecimal.cs:
2044 * System.Data.SqlTypes/SqlDouble.cs:
2045 * System.Data.SqlTypes/SqlGuid.cs:
2046 * System.Data.SqlTypes/SqlInt16.cs:
2047 * System.Data.SqlTypes/SqlInt32.cs:
2048 * System.Data.SqlTypes/SqlInt64.cs:
2049 * System.Data.SqlTypes/SqlMoney.cs:
2050 * System.Data.SqlTypes/SqlSingle.cs:
2051 * System.Data.SqlTypes/SqlString.cs:
2052 More implementation, and code clean-up for consistency.
2053 Also, I had implemented many conversions as explicit
2054 that should have been implicit. This should remove
2055 many of the red X's and green pluses from the
2056 System.Data.SqlTypes namespace.
2058 2002-05-05 Miguel de Icaza <miguel@ximian.com>
2060 * System.Data/DataSet.cs: Remove [Serializable] attributes from
2061 methods, those only apply to structs or classes.
2063 Stub out ISerializable, ISupportInitialize, and IListSource methods
2065 * System.Data/DataRowView.cs: Stub out interface methods for
2066 IEditableObject, ICustomTypeDescriptor and IDataErrorInfo
2068 * System.Data/DataView.cs: Comment out non-implemented
2071 * System.Data/DataViewSettingsCollection.cs: Type cast variables
2072 to the correct type to make it compile.
2074 * System.Data/DataViewSettings.cs: remove reference to
2075 non-existance type ApplyDefaultSort, it is a boolean.
2078 2002-05-05 Tim Coleman <tim@timcoleman.com>
2079 * System.Data.SqlTypes/SqlBinary.cs:
2080 * System.Data.SqlTypes/SqlBoolean.cs:
2081 * System.Data.SqlTypes/SqlByte.cs:
2082 * System.Data.SqlTypes/SqlDecimal.cs:
2083 * System.Data.SqlTypes/SqlDouble.cs:
2084 * System.Data.SqlTypes/SqlGuid.cs:
2085 * System.Data.SqlTypes/SqlInt16.cs:
2086 * System.Data.SqlTypes/SqlInt32.cs:
2087 * System.Data.SqlTypes/SqlInt64.cs:
2088 * System.Data.SqlTypes/SqlMoney.cs:
2089 * System.Data.SqlTypes/SqlSingle.cs:
2090 * System.Data.SqlTypes/SqlString.cs:
2091 Various fixes, including adding the SqlNullValueException
2092 when trying to retrieve the value of a null SqlType,
2093 and when casting values, a Null of type A converts to a
2096 2002-05-04 Daniel Morgan <danmorg@sc.rr.com>
2098 * System.Data.SqlClient/PostgresLibrary.cs
2099 * System.Data.SqlClient/SqlCommand.cs
2100 * System.Data.SqlClient/SqlConnection.cs
2101 * System.Data.SqlClient/SqlDataReader.cs
2102 oid should not be hard coded because they
2103 can change from one version of PostgreSQL
2104 to the next. Use the typname's instead.
2105 The PostgreSQL type data retrieves
2106 at database connection time. Any unimplemented
2107 types just default to string. These were things
2108 suggested by Gonzalo.
2110 * Test/ReadPostgresData.cs - stuff
2111 * Test/TestSqlDataReader.cs - stuff
2113 * System.Data.SqlTypes/SqlInt32.cs - added a using
2115 2002-05-03 Tim Coleman <tim@timcoleman.com>
2116 * System.Data.build: Fix the build so that test depends on build
2118 2002-05-03 Tim Coleman <tim@timcoleman.com>
2119 * System.Data.SqlTypes/SqlByte.cs:
2120 * System.Data.SqlTypes/SqlDateTime.cs:
2121 * System.Data.SqlTypes/SqlDecimal.cs:
2122 * System.Data.SqlTypes/SqlDouble.cs:
2123 * System.Data.SqlTypes/SqlGuid.cs:
2124 * System.Data.SqlTypes/SqlInt16.cs:
2125 * System.Data.SqlTypes/SqlInt64.cs:
2126 * System.Data.SqlTypes/SqlMoney.cs:
2127 * System.Data.SqlTypes/SqlSingle.cs:
2128 These files were mysteriously excluded from the last
2129 patch I made and sent to Rodrigo
2130 * System.Data.build: include the System.Data.SqlTypes in the build
2132 2002-05-03 Daniel Morgan <danmorg@sc.rr.com>
2134 * System.Data.build: removed comments
2136 * System.Data.SqlClient/PostgresLibrary.cs: changed
2137 the hard-coded PostgreSQL oid type int's to using an
2138 enum. Also, added PostgreSQL bpchar (character) type.
2140 * Test/TestSqlDataReader.cs: updated test
2141 to include new bpchar PostgreSQL type
2143 2002-05-03 Rodrigo Moya <rodrigo@ximian.com>
2145 * System.Data.SqlTypes/SqlBinary.cs:
2146 * System.Data.SqlTypes/SqlBoolean.cs:
2147 * System.Data.SqlTypes/SqlInt32.cs:
2148 * System.Data.SqlTypes/SqlString.cs: more implementation, by
2149 Tim Coleman <tcoleman@opentext.com>.
2151 2002-05-03 Daniel Morgan <danmorg@sc.rr.com>
2153 * Test/TestExecuteScalar.cs: added test for
2154 method ExecuteScalar in class SqlCommand.
2156 * System.Data/DataColumnCollection.cs - it should
2157 inherit properties from base InternalDataCollectionBase
2158 and use them instead of overriding them, such as, List.
2160 * System.Data/DataColumn.cs
2161 * System.Data/DataTable.cs: tweaks to retrieve
2162 meta data from the database
2164 * System.Data.SqlClient/PostgresLibrary.cs -
2165 added method OidToType to convert PostgreSQL oid type
2166 to System.Type. Renamed method OidTypeToSystem
2167 to ConvertPgTypeToSystem for converting the data value
2168 from a PostgreSQL type to a .NET System type.
2170 * System.Data.SqlClient/SqlCommand.cs: implemented
2171 method ExecuteReader which returns a SqlDataReader
2172 for a light forward only read only result set.
2173 It works on types int4 ==> Int32 and
2174 varchar ==> String. Other types
2177 * System.Data.SqlClient/SqlConnection.cs: added comment
2179 * System.Data.SqlClient/SqlDataReader.cs: implemented
2180 class. It works, but still lots to do.
2182 * Test/ReadPostgresData.cs: stuff
2184 * Test/TestSqlDataReader.cs: updated test for SqlDataReader
2185 to display meta data and the data
2187 2002-05-03 Duncan Mak <duncan@ximian.com>
2189 * TODO: Took out all the Exceptions. They should be all done now.
2191 * System.Data/ConstraintException.cs:
2192 * System.Data/DBConcurrencyException.cs:
2193 * System.Data/DataException.cs:
2194 * System.Data/DeletedRowInaccessibleException.cs:
2195 * System.Data/DuplicateNameException.cs:
2196 * System.Data/EvaluateException.cs:
2197 * System.Data/InRowChangingEventException.cs:
2198 * System.Data/InvalidConstraintException.cs:
2199 * System.Data/InvalidExpressionException.cs:
2200 * System.Data/MissingPrimaryKeyException.cs:
2201 * System.Data/NoNullAllowedException.cs:
2202 * System.Data/ReadOnlyException.cs:
2203 * System.Data/RowNotInTableException.cs:
2204 * System.Data/StrongTypingException.cs:
2205 * System.Data/SyntaxErrorException.cs:
2206 * System.Data/TypeDataSetGeneratorException.cs:
2207 * System.Data/VersionNotFoundException.cs: Added to CVS.
2209 * System.Data.SqlTypes/SqlNullValueException.cs:
2210 * System.Data.SqlTypes/SqlTruncateException.cs:
2211 * System.Data.SqlTypes/SqlTypeException.cs: Added to CVS.
2213 2002-05-02 Rodrigo Moya <rodrigo@ximian.com>
2215 * System.Data/DataViewSettingCollection.cs: implemented.
2217 * System.Data/DataRowView.cs: new stubs.
2219 * System.Data.SqlTypes/SqlByte.cs:
2220 * System.Data.SqlTypes/SqlDateTime.cs:
2221 * System.Data.SqlTypes/SqlDecimal.cs:
2222 * System.Data.SqlTypes/SqlDouble.cs:
2223 * System.Data.SqlTypes/SqlGuid.cs:
2224 * System.Data.SqlTypes/SqlInt16.cs:
2225 * System.Data.SqlTypes/SqlInt64.cs:
2226 * System.Data.SqlTypes/SqlMoney.cs:
2227 * System.Data.SqlTypes/SqlSingle.cs: new stubs, contributed
2228 by Tim Coleman <tcoleman@opentext.com>
2230 * System.Data.build: excluded newly-added files.
2232 2002-05-02 Daniel Morgan <danmorg@sc.rr.com>
2234 * System.Data.SqlClient/PostgresLibrary.cs: included new
2235 internal class that will be a helper class in using
2236 PostgreSQL. PostgresLibrary is used for the
2237 pinvoke methods to the PostgreSQL Client
2238 native C library libpq while the class PostgresHelper
2239 is used for wrapper or helper methods. It currently only
2240 has one static method OidTypeToSystem in converting
2241 PostgreSQL types to .NET System.<type>s, such as,
2242 a PostgreSQL int8 becomes a .NET System.Int64.
2243 Only a few types have been added, such as, int2,
2244 int4, int8, varchar, text, bool, and char. Other types
2247 * System.Data.SqlClient/SqlCommand.cs: implemented
2248 method ExecuteScalar which allows us to do aggregate
2249 functions, such as, count, avg, min, max, and sum. We
2250 also are able to retrieve the result, convert it to the .NET type
2251 as an object. The user of the returned object must explicitly cast.
2253 * Test/ReadPostgresData.cs: updated sample
2254 to help us learn to retrieve data in System.Data.SqlClient
2257 2002-05-01 Daniel Morgan <danmorg@sc.rr.com>
2259 * System.Data.build: added /nowarn: nnnn arguments
2260 so you will not get a ton of warnings. The warnings
2261 being excluded are: 1595, 0067, 0109, 0169, and 0649
2263 2002-05-01 Daniel Morgan <danmorg@sc.rr.com>
2265 * System.Data.build: modified to exclude more
2266 files from the build
2268 2002-05-01 Rodrigo Moya <rodrigo@ximian.com>
2270 * System.Data.SqlClient/SqlClientPermission.cs: added missing
2273 * System.Data/MergeFailedEventArgs.cs: new class, contributed
2274 by John Dugaw <jdugaw@unizenconsulting.com>.
2276 * System.Data.build: excluded new files from build.
2278 2002-04-29 Daniel Morgan <danmorg@sc.rr.com>
2280 * Test/ReadPostgresData.cs: added - Uses the
2281 PostgresLibrary to retrieve a recordset.
2282 This is not meant to be used in Production, but as a
2283 learning aid in coding
2284 class System.Data.SqlClient.SqlDataReader.
2285 This sample does work.
2287 * Test/TestSqlDataReader.cs: added - used
2288 to test SqlDataReader (does not work yet)
2289 Forgot to add to ChangeLog on last commit.
2291 2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
2293 * System.Data/DataViewSetting.cs: new class.
2295 2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
2297 * System.Data/DataViewManager.cs: new class.
2299 * System.Data.SqlTypes/INullable.cs: properties for interfaces
2300 don't have implementation.
2302 * System.Data.SqlTypes/SqlInt32.cs:
2303 * System.Data.SqlTypes/SqlString.cs:
2304 * System.Data.SqlTypes/SqlBoolean.cs: removed destructor, since
2305 these are strctures.
2307 * System.Data.SqlClient/SqlClientPermissionAttribute.cs: added
2310 2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
2312 * System.Data/DataTableRelationCollection.cs: use 'new' keyword
2313 for correctly hiding parent class' members.
2314 (AddRange): use 'override' keyword on overriden method.
2316 (Contains): likewise.
2317 (IndexOf): likewise.
2318 (OnCollectionChanged): likewise.
2319 (OnCollectionChanging): likewise.
2320 (RemoveCore): likewise.
2322 * System.Data/DataColumnCollection.cs: use 'new' keyword.
2324 * System.Data/DataSet.cs: added missing 'using's.
2326 2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
2328 * System.Data/DataSet.cs:
2329 * System.Data/DataTableCollection.cs:
2330 * System.Data/DataView.cs: compilation fixes on Linux.
2332 2002-04-28 Daniel Morgan <danmorg@sc.rr.com>
2334 * System.Data/DataRelation.cs
2335 * System.Data/ForeignKeyConstraint.cs
2336 * System.Data/UniqueConstraint.cs: added more stubs
2338 * System.Data/DataTableRelationCollection.cs: added back to cvs
2339 and modified for compile errors. DataRelationCollection is an
2340 abstract class and there must be a class that implements for
2341 DataTable/DataSet. DataTableRelationCollection was changed
2342 to an internal class.
2344 * System.Data.build: modified - new files added
2345 also wanted to include files/classes in the build
2346 so we can get a compilable forward read only result set.
2347 It compiles now using csc/nant with warnings, but this
2348 is a start for adding functionality for the result set.
2349 Classes associated with/and DataSet are still excluded.
2351 * TODO: modified - updated to do list for System.Data
2353 * System.Data/Constraint.cs
2354 * System.Data/ConstraintCollection.cs
2355 * System.Data/DataRelationCollection.cs
2356 * System.Data/DataRow.cs
2357 * System.Data/DataRowChangeEventArgs.cs
2358 * System.Data/DataRowCollection.cs
2359 * System.Data/DataTable.cs
2360 * System.Data/DataTableCollection.cs
2361 * System.Data/InternalDataCollectionBase.cs
2362 * System.Data/PropertyCollection.cs: modified -
2363 changes to compile SqlDataReader/DataTable and
2366 * System.Data/IDbCommand.cs
2367 * System.Data.SqlClient/SqlCommand.cs: modified -
2368 un-commented overloaded methods ExecuteReader
2369 which returns a SqlDataReader
2371 2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
2373 * System.Data/DataTableCollection.cs: more implementation.
2374 (Count): added 'override' keyword, as pointer out by Martin.
2376 * System.Data.Common/DataColumnMappingCollection.cs (Add, AddRange):
2377 only call Array.Copy when there is really stuff to be copied.
2378 (CopyTo): don't create the temporary array, it's not needed.
2380 * System.Data.build: excluded newly added file from build.
2382 2002-04-27 Rodrigo Moya <rodrigo@ximian.com>
2384 * System.Data/DataTableRelationCollection.cs: removed, it's not
2385 on MS SDK documentation.
2387 * System.Data/DataTableCollection.cs: new class.
2389 2002-04-27 Daniel Morgan <danmorg@sc.rr.com>
2391 * System.Data/DataRowChangeEventArgs.cs
2392 * System.Data/DataRowCollection.cs
2393 * System.Data/DataView.cs
2394 * System.Data/PropertyCollection.cs: added new stubs
2396 * System.Data.build: modified - added new files to exclude
2399 * TODO: modified - removed files from TODO list
2400 that were stubbed above
2402 * System.Data/DataColumn.cs
2403 * System.Data/DataRow.cs: modified - various tweaks
2404 and added internal method SetTable to set the reference
2407 * System.Data/DataSet.cs: modified - class was not
2410 * System.Data/DataTable.cs: modified - temporarily commented
2411 DataSet and DataView references - trying to compile a SqlDataReader,
2412 DataTable, and dependencies for a forward read-only result set.
2413 SqlDataAdapter, DataSet, and DataView will come later once we can get
2414 a forward read only result set working.
2416 * System.Data/IDataRecord.cs: modified - source code lines should
2419 * System.Data/InternalDataCollectionBase.cs: modified - started
2420 implementing this base class for collection of data rows,
2421 columns, tables, relations, and constraints
2423 * System.Data.SqlClient/SqlException.cs: modified -
2424 call base(message) so a unhandled exception displays
2425 the message of a SQL error instead of the
2426 default SystemException message
2428 * Test/TestSqlException.cs: modified -
2429 handle the rollback properly for a SqlException on a
2432 2002-04-23 Daniel Morgan <danmorg@sc.rr.com>
2434 * System.Data.build: modified - added new
2435 files to exclude from build
2437 * System.Data/Constraint.cs
2438 * System.Data/ConstraintCollection.cs
2439 * System.Data/InternalDataCollectionBase.cs: added -
2440 stubs which are needed to build DataTable.cs
2442 * TODO: modified - added more classes TODO and
2443 added more stuff TODO, such as, create script
2444 to create test database monotestdb for testing
2445 classes in System.Data
2447 2002-04-23 Rodrigo Moya <rodrigo@ximian.com>
2449 * System.Data.Common/DataAdapter.cs:
2450 * System.Data.Common/DataColumnMappingCollection.cs:
2451 * System.Data.Common/DataTableMappingCollection.cs:
2452 * System.Data.Common/DbDataPermission.cs:
2453 * System.Data.Common/DbDataPermissionAttribute.cs: some
2454 compilation errors fixed.
2456 2002-04-23 Daniel Morgan <danmorg@sc.rr.com>
2458 * TODO: modified - added classes TODO, and
2459 a poor attempt at System.Data plan
2461 2002-04-23 Daniel Morgan <danmorg@sc.rr.com>
2463 * ChangeLog: modified - put tabs where they belong
2465 * System.Data.SqlClient/SqlDataReader.cs
2466 * System.Data/DataColumn.cs: modified - compile errors
2467 trying to compile SqlDataAdapter and dependencies
2469 2002-04-23 Daniel Morgan <danmorg@sc.rr.com>
2471 * System.Data.SqlTypes/SqlBoolean.cs
2472 * System.Data.SqlTypes/SqlCompareOptions.cs
2473 * System.Data.SqlTypes/SqlInt32.cs
2474 * System.Data.SqlTypes/SqlString.cs: added - new stubs
2476 * System.Data/DataTable.cs
2477 * System.Data.SqlClient/SqlCommand.cs
2478 * System.Data.SqlClient/SqlConnection.cs
2479 * System.Data.SqlClient/SqlError.cs
2480 * System.Data.SqlClient/SqlTransaction.cs: modified -
2483 * System.Data.SqlClient/SqlException.cs: modified -
2484 missing Message on indexer for Message property
2486 2002-04-21 Daniel Morgan <danmorg@sc.rr.com>
2488 * System.Data.SqlClient/SqlCommand.cs: modified - to
2489 compile using mcs. This problem is
2490 returning a stronger type in csc vs. msc
2492 * System.Data.SqlClient/SqlConnection.cs: modified - msc
2493 can not do a using PGconn = IntPtr; and then declare
2494 with PGconn pgConn = IntPtr.Zero;
2495 Thiw works under csc though. Had to comment using and
2496 changed declaration to IntPtr pgConn = IntPtr.Zero;
2497 Also, got rid of compile warnings for hostaddr and port.
2499 * System.Data.SqlClient/SqlErrorCollection.cs: modified - got
2500 rid of compile warnings. Commented MonoTODO attribute because mcs
2501 doesn't seem to work with C# array property indexer (Item)
2504 * System.Data.SqlClient/SqlParameterCollection.cs: modified -
2505 commented MonoTODO attribute for indexer for mcs compiling
2507 * Test/TestSqlIsolationLevel.cs:
2508 * Test/TestSqlInsert.cs:
2509 * Test/TestSqlException.cs: modified -
2510 removed extra ExecuteNonQuery which caused two inserted rows
2512 2002-04-20 Daniel Morgan <danmorg@sc.rr.com>
2514 * System.Data/StateChangeEventArgs.cs - added
2515 needed to compile System.Data.dll with mcs.
2517 2002-04-20 Daniel Morgan <danmorg@sc.rr.com>
2519 * System.Data.OleDb: added directory - for OleDb database
2522 * System.Data.SqlClient/SqlClientPermission.cs
2523 * System.Data.SqlClient/SqlClientPermissionAttribute.cs
2524 * System.Data.SqlClient/SqlCommandBuilder.cs
2525 * System.Data.SqlClient/SqlInfoMessageEventHandler.cs
2526 * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs
2527 * System.Data.SqlClient/SqlRowUpdatedEventHandler.cs
2528 * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs
2529 * System.Data.SqlClient/SqlRowUpdatingEventHandler.cs
2530 * Test/TestSqlException.cs
2531 * Test/TestSqlIsolationLevel.cs: added - more tests
2533 * System.Data.build: modified - added new files - excludes these too
2535 * System.Data.SqlClient/PostgresLibrary.cs - modified - comment
2537 * System.Data.SqlClient/SqlConnection.cs
2538 * System.Data.SqlClient/SqlCommand.cs
2539 * System.Data.SqlClient/SqlTransaction.cs
2540 * System.Data.SqlClient/SqlException.cs
2541 * System.Data.SqlClient/SqlErrorCollection.cs
2542 * System.Data.SqlClient/SqlError.cs: modified - transaction and
2543 exception/error handling. SqlConnection(connectionString)
2544 constructor should not automatically connect.
2546 * System.Data.SqlClient/SqlDataReader.cs
2547 * System.Data.SqlClient/SqlDataAdapter.cs
2548 * System.Data.SqlClient/SqlParameter.cs
2549 * System.Data.SqlClient/SqlParameterCollection.cs: modified -
2550 added using System.ComponentModel;
2552 * Test/TestSqlInsert.cs: modified - to use transaction
2554 2002-04-17 Rodrigo Moya <rodrigo@ximian.com>
2556 * System.Data/DataRow.cs: new skeletons.
2558 * System.Data.Common/DataAdapter.cs:
2559 * System.Data.Common/DataColumnMapping.cs:
2560 * System.Data.Common/DataColumnMappingCollection.cs:
2561 * System.Data.Common/DataTableMapping.cs:
2562 * System.Data.Common/DataTableMappingCollection.cs:
2563 * System.Data.Common/DbDataAdapter.cs:
2564 * System.Data.Common/RowUpdatedEventArgs.cs:
2565 * System.Data.SqlClient/SqlDataAdapter.cs:
2566 * System.Data.SqlClient/SqlInfoMessageEventArgs.cs: compilation
2569 * System.Data.Common/DbDataRecord.cs:
2570 * System.Data.Common/DbEnumerator.cs: removed MS implementation
2573 2002-04-17 Daniel Morgan <danmorg@sc.rr.com>
2575 * Test/TestSqlInsert.cs: modified - do
2576 a SQL DELETE before SQL INSERT of row so you can use this
2579 * System.Data.SqlClient/SqlTransaction.cs: modified - default
2580 IsolationLevel for PostgreSQL is ReadCommitted. However,
2581 PostgreSQL allows Serializable as well.
2582 (Thanks to Gonzalo for that!)
2584 * System.Data.SqlClient/SqlConnection.cs: modified
2585 * System.Data.SqlClient/SqlCommand.cs: modified
2586 * System.Data.SqlClient/SqlTransaction.cs: modified - got transactions
2587 working; however, we still need to implement SQL errors
2588 and exceptions to properly handle transactions. Also, added
2589 status and error message support from the PostgreSQL database.
2590 Currently, this does a Console.WriteLine() to display the
2591 status and error messages, but this is a TODO
2592 for SQL errors and exceptions.
2594 * System.Data/TODOAttribute.cs: added - needed MonoTODO
2595 attribute for System.Data.dll assembly
2597 * System.Data/IDbCommand.cs: modified - commented
2598 overloaded method ExecuteReader
2599 so System.Data.SqlClient.SqlCommand can compile
2601 * System.Data/IDbCommand.cs: modified
2602 * System.Data/IDbConnection.cs: modified - added using System;
2603 * System.Data/IDataParameter.cs
2605 * System.Data.build: modified - build classes
2606 in System.Data.SqlClient and exclude others in System.Data
2608 * System.Data.SqlClient/PostgresLibrary.cs: modified - change
2609 parameter data type from IntPtr to enum ExecStatusType
2611 * ChangeLog: modified - corrected previous entries in log
2613 2002-04-16 Rodrigo Moya <rodrigo@ximian.com>
2615 * System.Data.Common/DataColumnMappingCollection.cs: added basic
2616 implementation. Still missing some stuff.
2618 2002-04-16 Daniel Morgan <danmorg@sc.rr.com>
2620 * System.Data.SqlClient/SqlConnection.cs: modified - got
2621 to compile, run, and connect to PostgreSQL database
2623 * System.Data.SqlClient/SqlCommand.cs: modified - got
2624 to compile, run, and execute a SQL INSERT command
2625 which successfully inserted a row
2626 into the PostgreSQL database
2628 * System.Data.SqlClient/SqlTransaction.cs: modified
2629 * System.Data.SqlClient/SqlParameter.cs: modified
2630 * System.Data.SqlClient/SqlParameterCollection.cs: modified
2631 * System.Data.SqlClient/SqlError.cs: modified
2632 * System.Data.SqlClient/SqlErrorCollection.cs: modified
2633 * System.Data.SqlClient/SqlException.cs: modified
2634 * System.Data.SqlClient/PostgresLibrary.cs: modified - to compile
2636 * System.Data.SqlClient/SqlAdapter: modified
2637 * System.Data.SqlClient/SqlReader: modified - add more stubs
2639 2002-04-16 Daniel Morgan <danmorg@sc.rr.com>
2641 * Test/TestSqlInsert.cs: added
2643 2002-04-15 Daniel Morgan <danmorg@sc.rr.com>
2645 * System.Data.SqlClient/SqlInfoMessageEventArgs.cs: added - using in
2646 class SqlConnecition
2647 * System.Data.SqlClient/SqlErrorCollection.cs: added
2648 * System.Data.SqlClient/SqlErrors.cs: removed - no such class SqlErrors
2650 2002-04-15 Christopher Podurgiel <cpodurgiel@msn.com>
2652 * System.Data.IDbDataParameter: Added Interface to IDataParameter.
2653 * System.Data.IDbTransaction: Added Interface to IDisposable.
2654 * System.Data.IDbCommand: Fixed Capitalization of class name.
2655 * System.Data.IDbConnection: Fixed Capitalization of class name.
2657 2002-04-15 Rodrigo Moya <rodrigo@ximian.com>
2659 * System.Data.Common/DbDataPermissionAttribute.cs:
2660 * System.Data.Common/DataAdapter.cs:
2661 * System.Data.Common/DataColumnMapping.cs:
2662 * System.Data.Common/DbDataPermission.cs: added some implementation.
2664 2002-04-15 Rodrigo Moya <rodrigo@ximian.com>
2666 * System.Data.SqlClient/SqlConnection.cs: fixed constructor chaining
2667 syntax, as pointed out by Levent Camlibel.
2669 2002-04-14 Rodrigo Moya <rodrigo@ximian.com>
2671 * System.Data.SqlTypes/SqlBinary.cs:
2672 * System.Data.SqlTypes/INullable.cs: new skeletons.
2674 2002-04-14 Daniel Morgan <danmorg@sc.rr.com>
2676 * System.Data.SqlClient/PostgresLibrary.cs: new internal class, which
2677 contains all calls the the PostgreSQL client library, to be used
2678 everywhere in System.Data.SqlClient.
2680 2002-03-30 Rodrigo Moya <rodrigo@ximian.com>
2682 * System.Data.SqlClient/SqlConnection.cs: implemented basic
2685 * System.Data.SqlTypes/SqlNullValueException.cs: new skeletons.
2687 2002-03-29 Rodrigo Moya <rodrigo@ximian.com>
2689 * System.Data.Common/DbDataRecord.cs:
2690 * System.Data.Common/DbEnumerator.cs:
2691 * System.Data.Common/RowUpdatedEventArgs.cs:
2692 * System.Data.Common/RowUpdatingEventArgs.cs:
2693 * System.Data.Common/DbDataPermissionAttribute.cs: new skeletons.
2695 2002-03-28 Rodrigo Moya <rodrigo@ximian.com>
2697 * System.Data.Common/DataTableMappingCollection.cs:
2698 * System.Data.Common/DbDataAdapter.cs:
2699 * System.Data.Common/DbDataPermission.cs:
2700 * System.Data.Common/DataTableMapping.cs: new skeletons.
2702 * System.Data.SqlClient/SqlDataAdapter.cs:
2703 * System.Data.SqlClient/SqlDataReader.cs:
2704 * System.Data.SqlClient/SqlErrors.cs:
2705 * System.Data.SqlClient/SqlError.cs:
2706 * System.Data.SqlClient/SqlException.cs:
2707 * System.Data.SqlClient/SqlParameter.cs:
2708 * System.Data.SqlClient/SqlParameterCollection.cs:
2709 * System.Data.SqlClient/SqlTransaction.cs:
2710 * System.Data.SqlClient/SqlCommand.cs: fixed skeletons.
2712 2002-03-27 Rodrigo Moya <rodrigo@ximian.com>
2714 * System.Data.Common/DataColumnMapping.cs:
2715 * System.Data.Common/DataColumnMappingCollection.cs:
2716 * System.Data.Common/DataAdapter.cs: created skeletons.
2718 * System.Data.build: exclude new directories from build.
2720 2002-03-27 Rodrigo Moya <rodrigo@ximian.com>
2722 * System.Data.SqlClient/SqlTransaction.cs: started implementation.
2724 * System.Data.SqlClient/SqlConnection.cs (BeginTransaction):
2725 implemented (2 methods).
2727 2002-03-24 Duncan Mak <duncan@ximian.com>
2729 * System.Data.build: Excluded System.Data.SqlClient from the build.
2730 The stubs are incomplete and they are stopping the build.
2732 * System.Data.SqlClient/SqlCommand.cs: Replaced 'implements' with ':'.
2734 2002-03-24 Rodrigo Moya <rodrigo@ximian.com>
2736 * System.Data.SqlClient/*: added skeletons for the SQL managed
2737 provider for ADO.Net, to be based initially in PostgreSQL.
2739 2002-03-15 Christopher Podurgiel <cpodurgiel@msn.com>
2741 Changed the Namespace on some Enums from mono.System.Data to System.Data
2743 2002-03-01 Christopher Podurgiel <cpodurgiel@msn.com>
2745 * DataColumnCollection.cs : When an existing DataColumn is added, will now Assign a
2746 default name if the ColumnName is null.
2747 * DataSet.cs : Added
2748 * DataTable.cs : Added
2749 * DataRelationCollection.cs : Added
2750 * DataTableRelationCollection.cs : Added
2751 * DataColumn : Added
2753 2002-02-11 Christopher Podurgiel <cpodurgiel@msn.com>
2755 * DataColumnChangeEventArgs.cs : Added
2756 * DataColumnCollection.cs : Added
2758 2002-02-10 Christopher Podurgiel <cpodurgiel@msn.com>
2760 * Removed *.cs from System.Data as the correct files are in mcs/class/System.Data/System.Data
2761 * Updated all Enums, Interfaces, and Delegates in System.Data