Commit Graph
366 Commits
Author SHA1 Message Date
Daniel Morgan cf9e881c47 2002-04-23 Daniel Morgan <[email protected]>
* System.Data.SqlTypes/SqlBoolean.cs
* System.Data.SqlTypes/SqlCompareOptions.cs
* System.Data.SqlTypes/SqlInt32.cs
* System.Data.SqlTypes/SqlString.cs: added - new stubs

* System.Data/DataTable.cs
* System.Data.SqlClient/SqlCommand.cs
* System.Data.SqlClient/SqlConnection.cs
* System.Data.SqlClient/SqlError.cs
* System.Data.SqlClient/SqlTransaction.cs: modified -
misc. tweaks

* System.Data.SqlClient/SqlException.cs: modified -
missing Message on indexer for Message property

svn path=/trunk/mcs/; revision=3978
2002-04-23 01:34:29 +00:00
Daniel Morgan a459b5d2cc 2002-04-21 Daniel Morgan <[email protected]>
* 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

svn path=/trunk/mcs/; revision=3938
2002-04-21 12:18:20 +00:00
Daniel Morgan a9c683d500 2002-04-20 Daniel Morgan <[email protected]>
* 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

svn path=/trunk/mcs/; revision=3933
2002-04-20 20:58:45 +00:00
Rodrigo Moya 7fe84924f8 2002-04-17 Rodrigo Moya <[email protected]>
* 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.

svn path=/trunk/mcs/; revision=3885
2002-04-17 22:20:22 +00:00
Daniel Morgan 890650fbb5 2002-04-17 Daniel Morgan <[email protected]>
* 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

svn path=/trunk/mcs/; revision=3874
2002-04-17 10:57:14 +00:00
Daniel Morgan c1446e2b8d 2002-04-16 Daniel Morgan <[email protected]>
svn path=/trunk/mcs/; revision=3860
2002-04-16 13:02:57 +00:00
Daniel Morgan 4c23dee643 *** empty log message ***
svn path=/trunk/mcs/; revision=3841
2002-04-15 23:07:23 +00:00
Daniel Morgan 14b4926a06 does
svn path=/trunk/mcs/; revision=3840
2002-04-15 22:58:50 +00:00
Rodrigo Moya 246f9d81c1 2002-04-15 Rodrigo Moya <[email protected]>
* System.Data.SqlClient/SqlConnection.cs: fixed constructor chaining
	syntax, as pointed out by Levent Camlibel.

svn path=/trunk/mcs/; revision=3835
2002-04-15 16:30:06 +00:00
Rodrigo Moya 6e7bbf106d 2002-04-14 Rodrigo Moya <[email protected]>
* System.Data.SqlTypes/SqlBinary.cs:
	* System.Data.SqlTypes/INullable.cs: new skeletons.

svn path=/trunk/mcs/; revision=3809
2002-04-14 18:06:00 +00:00
Rodrigo Moya 011da1207d 2002-04-14 Daniel Morgan <[email protected]>
* System.Data.SqlClient/PostgresLibrary.cs: new internal class, which
	contains all calls the the PostgreSQL client library, to be used
	everywhere in System.Data.SqlClient.

svn path=/trunk/mcs/; revision=3804
2002-04-14 12:12:45 +00:00
Rodrigo Moya d11d2324e5 2002-03-28 Rodrigo Moya <[email protected]>
* System.Data.Common/DataTableMappingCollection.cs:
	* System.Data.Common/DbDataAdapter.cs:
	* System.Data.Common/DbDataPermission.cs:
	* System.Data.Common/DataTableMapping.cs: new skeletons.

	* System.Data.SqlClient/SqlDataAdapter.cs:
	* System.Data.SqlClient/SqlDataReader.cs:
	* System.Data.SqlClient/SqlErrors.cs:
	* System.Data.SqlClient/SqlError.cs:
	* System.Data.SqlClient/SqlException.cs:
	* System.Data.SqlClient/SqlParameter.cs:
	* System.Data.SqlClient/SqlParameterCollection.cs:
	* System.Data.SqlClient/SqlTransaction.cs:
	* System.Data.SqlClient/SqlCommand.cs: fixed skeletons.

svn path=/trunk/mcs/; revision=3461
2002-03-28 19:55:41 +00:00
Rodrigo Moya 7db99d9dba 2002-03-27 Rodrigo Moya <[email protected]>
* System.Data.Common/DataColumnMapping.cs:
	* System.Data.Common/DataColumnMappingCollection.cs:
	* System.Data.Common/DataAdapter.cs: created skeletons.

	* System.Data.build: exclude new directories from build.

svn path=/trunk/mcs/; revision=3407
2002-03-27 21:10:03 +00:00
Rodrigo Moya 71a5a1158b 2002-03-27 Rodrigo Moya <[email protected]>
* System.Data.SqlClient/SqlTransaction.cs: started implementation.

	* System.Data.SqlClient/SqlConnection.cs (BeginTransaction):
	implemented (2 methods).

svn path=/trunk/mcs/; revision=3397
2002-03-27 14:51:07 +00:00
Duncan Mak 07ffd98f20 2002-03-24 Duncan Mak <[email protected]>
* System.Data.build: Excluded System.Data.SqlClient from the build.
	The stubs are incomplete and they are stopping the build.

	* System.Data.SqlClient/SqlCommand.cs: Replaced 'implements' with ':'.

	* SortedList.cs (Synchronized): Stubbed out a missing method
	pointed out by Jakk Simm's test suite.

	* SortedListTest.cs: Committed to CVS for Jaak Simm <[email protected]>.

svn path=/trunk/mcs/; revision=3314
2002-03-24 21:45:29 +00:00
Rodrigo Moya 9e54799ed6 2002-03-24 Rodrigo Moya <[email protected]>
* System.Data.SqlClient/*: added skeletons for the SQL managed
	provider for ADO.Net, to be based initially in PostgreSQL.

svn path=/trunk/mcs/; revision=3300
2002-03-24 13:39:41 +00:00