2002-04-21 Daniel Morgan <danmorg@sc.rr.com>
[mono.git] / mcs / class / System.Data / ChangeLog
index 432dab4faf618728555f037769cc5d68f96e8f54..b39b6b1decfde50a7126275d101a6a0a98185a1b 100644 (file)
@@ -1,3 +1,186 @@
+2002-04-21  Daniel Morgan <danmorg@sc.rr.com>
+
+* System.Data.SqlClient/SqlCommand.cs: modified - to 
+compile using mcs.  This problem is
+returning a stronger type in csc vs. msc
+
+* System.Data.SqlClient/SqlConnection.cs: modified - msc
+can not do a using PGconn = IntPtr; and then declare
+with PGconn pgConn = IntPtr.Zero;
+Thiw works under csc though.  Had to comment using and
+changed declaration to IntPtr pgConn = IntPtr.Zero;
+Also, got rid of compile warnings for hostaddr and port.
+
+* System.Data.SqlClient/SqlErrorCollection.cs: modified - got
+rid of compile warnings.  Commented MonoTODO attribute because mcs
+doesn't seem to work with C# array property indexer (Item)
+this[int index]
+
+* System.Data.SqlClient/SqlParameterCollection.cs: modified -
+commented MonoTODO attribute for indexer for mcs compiling
+
+* Test/TestSqlIsolationLevel.cs:
+* Test/TestSqlInsert.cs:
+* Test/TestSqlException.cs: modified -
+removed extra ExecuteNonQuery which caused two inserted rows
+
+2002-04-20  Daniel Morgan <danmorg@sc.rr.com>
+
+* System.Data/StateChangeEventArgs.cs - added
+needed to compile System.Data.dll with mcs.  
+
+2002-04-20  Daniel Morgan <danmorg@sc.rr.com>
+
+* System.Data.OleDb: added directory - for OleDb database 
+provider classes
+
+* System.Data.SqlClient/SqlClientPermission.cs
+* System.Data.SqlClient/SqlClientPermissionAttribute.cs
+* System.Data.SqlClient/SqlCommandBuilder.cs
+* System.Data.SqlClient/SqlInfoMessageEventHandler.cs
+* System.Data.SqlClient/SqlRowUpdatedEventArgs.cs
+* System.Data.SqlClient/SqlRowUpdatedEventHandler.cs
+* System.Data.SqlClient/SqlRowUpdatingEventArgs.cs
+* System.Data.SqlClient/SqlRowUpdatingEventHandler.cs
+* Test/TestSqlException.cs
+* Test/TestSqlIsolationLevel.cs: added - more tests
+
+* System.Data.build: modified - added new files - excludes these too
+
+* System.Data.SqlClient/PostgresLibrary.cs - modified - comment
+
+* System.Data.SqlClient/SqlConnection.cs 
+* System.Data.SqlClient/SqlCommand.cs
+* System.Data.SqlClient/SqlTransaction.cs
+* System.Data.SqlClient/SqlException.cs
+* System.Data.SqlClient/SqlErrorCollection.cs
+* System.Data.SqlClient/SqlError.cs: modified - transaction and
+  exception/error handling. SqlConnection(connectionString) 
+  constructor should not automatically connect.
+  
+* System.Data.SqlClient/SqlDataReader.cs
+* System.Data.SqlClient/SqlDataAdapter.cs
+* System.Data.SqlClient/SqlParameter.cs
+* System.Data.SqlClient/SqlParameterCollection.cs: modified - 
+added using System.ComponentModel;
+  
+* Test/TestSqlInsert.cs: modified - to use transaction
+
+2002-04-17  Rodrigo Moya <rodrigo@ximian.com>
+
+       * System.Data/DataRow.cs: new skeletons.
+
+       * System.Data.Common/DataAdapter.cs:
+       * System.Data.Common/DataColumnMapping.cs:
+       * System.Data.Common/DataColumnMappingCollection.cs:
+       * System.Data.Common/DataTableMapping.cs:
+       * System.Data.Common/DataTableMappingCollection.cs:
+       * System.Data.Common/DbDataAdapter.cs:
+       * System.Data.Common/RowUpdatedEventArgs.cs:
+       * System.Data.SqlClient/SqlDataAdapter.cs:
+       * System.Data.SqlClient/SqlInfoMessageEventArgs.cs: compilation
+       fixes for Linux.
+
+       * System.Data.Common/DbDataRecord.cs:
+       * System.Data.Common/DbEnumerator.cs: removed MS implementation
+       internal classes.
+
+2002-04-17  Daniel Morgan <danmorg@sc.rr.com>
+
+       * Test/TestSqlInsert.cs: modified - do
+         a SQL DELETE before SQL INSERT of row so you can use this
+         test over and over.
+       
+       * System.Data.SqlClient/SqlTransaction.cs: modified - default
+         IsolationLevel for PostgreSQL is ReadCommitted.  However,
+         PostgreSQL allows Serializable as well. 
+      (Thanks to Gonzalo for that!)
+       
+       * System.Data.SqlClient/SqlConnection.cs: modified
+       * System.Data.SqlClient/SqlCommand.cs: modified
+       * System.Data.SqlClient/SqlTransaction.cs: modified - got transactions
+         working; however, we still need to implement SQL errors
+         and exceptions to properly handle transactions.  Also, added
+         status and error message support from the PostgreSQL database.
+         Currently, this does a Console.WriteLine() to display the
+         status and error messages, but this is a TODO 
+         for SQL errors and exceptions.
+       
+       * System.Data/TODOAttribute.cs: added - needed MonoTODO
+      attribute for System.Data.dll assembly 
+
+       * System.Data/IDbCommand.cs: modified - commented
+         overloaded method ExecuteReader 
+         so System.Data.SqlClient.SqlCommand can compile
+         
+       * System.Data/IDbCommand.cs: modified
+       * System.Data/IDbConnection.cs: modified - added using System;
+       * System.Data/IDataParameter.cs
+       
+       * System.Data.build: modified - build classes
+         in System.Data.SqlClient and exclude others in System.Data
+       
+       * System.Data.SqlClient/PostgresLibrary.cs: modified - change
+         parameter data type from IntPtr to enum ExecStatusType
+       
+       * ChangeLog: modified - corrected previous entries in log
+
+2002-04-16  Rodrigo Moya <rodrigo@ximian.com>
+
+       * System.Data.Common/DataColumnMappingCollection.cs: added basic
+       implementation. Still missing some stuff.
+
+2002-04-16  Daniel Morgan <danmorg@sc.rr.com>
+
+       * System.Data.SqlClient/SqlConnection.cs: modified - got 
+      to compile, run, and connect to PostgreSQL database
+      
+       * System.Data.SqlClient/SqlCommand.cs: modified - got 
+      to compile, run, and execute a SQL INSERT command 
+      which successfully inserted a row 
+      into the PostgreSQL database
+
+       * System.Data.SqlClient/SqlTransaction.cs: modified
+       * System.Data.SqlClient/SqlParameter.cs: modified
+       * System.Data.SqlClient/SqlParameterCollection.cs: modified
+       * System.Data.SqlClient/SqlError.cs: modified
+       * System.Data.SqlClient/SqlErrorCollection.cs: modified
+       * System.Data.SqlClient/SqlException.cs: modified
+       * System.Data.SqlClient/PostgresLibrary.cs: modified - to compile
+
+       * System.Data.SqlClient/SqlAdapter: modified
+       * System.Data.SqlClient/SqlReader: modified - add more stubs
+       
+2002-04-16  Daniel Morgan <danmorg@sc.rr.com>
+
+       * Test/TestSqlInsert.cs: added 
+
+2002-04-15  Daniel Morgan <danmorg@sc.rr.com>
+
+       * System.Data.SqlClient/SqlInfoMessageEventArgs.cs: added - using in
+         class SqlConnecition
+       * System.Data.SqlClient/SqlErrorCollection.cs: added
+       * System.Data.SqlClient/SqlErrors.cs: removed - no such class SqlErrors
+
+2002-04-15  Christopher Podurgiel <cpodurgiel@msn.com>
+       
+       * System.Data.IDbDataParameter: Added Interface to IDataParameter.
+       * System.Data.IDbTransaction: Added Interface to IDisposable.
+       * System.Data.IDbCommand: Fixed Capitalization of class name.
+       * System.Data.IDbConnection: Fixed Capitalization of class name.
+
+2002-04-15  Rodrigo Moya <rodrigo@ximian.com>
+
+       * System.Data.Common/DbDataPermissionAttribute.cs:
+       * System.Data.Common/DataAdapter.cs:
+       * System.Data.Common/DataColumnMapping.cs:
+       * System.Data.Common/DbDataPermission.cs: added some implementation.
+
+2002-04-15  Rodrigo Moya <rodrigo@ximian.com>
+
+       * System.Data.SqlClient/SqlConnection.cs: fixed constructor chaining
+       syntax, as pointed out by Levent Camlibel.
+
 2002-04-14  Rodrigo Moya <rodrigo@ximian.com>
 
        * System.Data.SqlTypes/SqlBinary.cs:
        * System.Data.SqlClient/*: added skeletons for the SQL managed
        provider for ADO.Net, to be based initially in PostgreSQL.
 
-2002-02-10  Christopher Podurgiel <cpodurgiel@msn.com>
+2002-03-15  Christopher Podurgiel <cpodurgiel@msn.com>
        
-       * Removed *.cs from System.Data as the correct files are in mcs/class/System.Data/System.Data
-       * Updated all Enums, Interfaces, and Delegates in System.Data
-
-2002-02-11  Christopher Podurgiel <cpodurgiel@msn.com>
-
-       * DataColumnChangeEventArgs.cs : Added
-       * DataColumnCollection.cs : Added
+       Changed the Namespace on some Enums from mono.System.Data to System.Data
 
 2002-03-01  Christopher Podurgiel <cpodurgiel@msn.com>
 
        * DataRelationCollection.cs : Added
        * DataTableRelationCollection.cs : Added
        * DataColumn : Added
-2002-03-15  Christopher Podurgiel <cpodurgiel@msn.com>
+
+2002-02-11  Christopher Podurgiel <cpodurgiel@msn.com>
+
+       * DataColumnChangeEventArgs.cs : Added
+       * DataColumnCollection.cs : Added
+
+2002-02-10  Christopher Podurgiel <cpodurgiel@msn.com>
        
-       Changed the Namespace on some Enums from mono.System.Data to System.Data
+       * Removed *.cs from System.Data as the correct files are in mcs/class/System.Data/System.Data
+       * Updated all Enums, Interfaces, and Delegates in System.Data