Files
mono/mcs/class/System.Data/System.Data.SqlClient/ChangeLog
T
Sureshkumar T c04cfcb57c In System.Data.ProviderBase:
2005-03-08  Sureshkumar T  <[email protected]>

	* DbParameterBase.cs: Implemented most of get set methods.
	* DbConnectionBase.cs: Commented ConnectionOptions creation,
	because it is not yet implemented.
	* DbCommandBase.cs: Implemented ExecuteScalar method.
	* DbParameterCollectionBase.cs: Implemented Add method.
	* DbDataReaderBase.cs: removed internal constructor DbDataReader
	(DbCommand).

In System.Data.SqlClient:
2005-03-08  Sureshkumar T  <[email protected]>

	* SqlDataReader.cs: Call base constructor with CommandBehavior
	parameter instead of passing DbCommand object. The internal base
	class with DbCommand Parameter is removed.


svn path=/trunk/mcs/; revision=41552
2005-03-08 08:38:20 +00:00

303 lines
11 KiB
Plaintext
Executable File

2005-03-08 Sureshkumar T <[email protected]>
* SqlDataReader.cs: Call base constructor with CommandBehavior
parameter instead of passing DbCommand object. The internal base
class with DbCommand Parameter is removed.
2005-03-07 Sureshkumar T <[email protected]>
* SqlCommand.cs : Set CommandBehavior on
ExecuteReader,ExecuteScalar,ExecuteNonQuery. This is used in
CloseDataReader.
This fixes bug #73252.
2005-03-03 Sureshkumar T <[email protected]>
* SqlClientFactory.cs: While creating command, create using
DbConnectionFactory as DbConnectionBase.CreateDbCommand needs to
have a connection factory.
* SqlConnection.cs: Added an internal constructor which takes
DbConnectionFactory.
* SqlConnectionFactory.cs: Added. Concrete class for abstract
factory DbConnectionFactory.
2005-02-22 Sureshkumar T <[email protected]>
* SqlDataReader.cs: GetBytes: return the length of the data if
output buffer is null. if not, copy the values to buffer and
return the bytes actually read.
2005-02-02 Sureshkumar T <[email protected]>
* SqlConnection.cs:
- Database: return db name from database if connection open,
otherwise take from connection string.
- Set default values for parameters in the constructor itself.
- Dangling else problem with Close method.
- reset values of parms (TdsConnectionParameters) rather setting
to null.
- set disposed to false in Open method
- finally call base.Dispose in Dispose (bool)
Fixes nunit regressions SqlConnectionTest:DefaultConnectionValues
and SqlConnectionTest:DatabaseSynonyms.
2005-01-27 Sureshkumar T <[email protected]>
* SqlCommand.cs (DeriveParameters): Change parameter name to
"procedure_name".
* SqlParameter.cs (SqlParameter (object [])) : call default
constructor to create Tds.Metaparameter.
fixes bug #63122.
2005-01-03 Sureshkumar T <[email protected]>
* SqlCommand.cs: Fixed bug #68973. Reset Tds.RecordsAffected to 0
for each execute statement.
2004-11-25 Sureshkumar T <[email protected]>
These changes are for 2.0 profile only. These changes implement
the generic data base access technique using Provider Factory
Implementation. These classes need to be dervided from abstract
base classes so that the corresponding factory classes are
created when calling CreateCommand, CreateParameter, etc.
* SqlClientFactory.cs: Provider Factory class Implementaion for SqlServer
* SqlParameter.cs: Change base classes and override methods.
* SqlParameterCollection.cs: Change base classes and override methods.
* SqlTransaction.cs: Change base classes and override methods.
* SqlDataSourceEnumerator.cs: DataSource Enumerator stubs.
* SqlDataReader.cs: Change base classes and override methods.
* SqlConnection.cs: Change base classes and override methods.
* SqlCommandBuilder.cs: Change base classes and override methods.
* SqlCommand.cs: Change base classes and override necessary methods.
2004-10-14 Umadevi S <[email protected]>
* SqlCommand.cs - Implemented the clone method correctly.
(fixed bug 67301)
2004-10-06 Umadevi S <[email protected]>
* ISqlNoticationReceiver.cs - changed namespace
* Added files SqlNotificationType.cs, SqlNotificationInfo.cs, SqlNotificationSource.cs
2004-09-24 Umadevi S <[email protected]>
* SqlTransaction.cs - Dispose will not call rollback incase the transaction is not open.
2004-09-14 Sebastien Pouliot <[email protected]>
* SqlClientPermission.cs: Added internal constructor accepting an Sql
ClientPermissionAttribute parameter (using base class protected ctor).
* SqlClientPermissionAttribute.cs: Copy now use the new SqlClient
Permission constructor.
2004-09-13 Sebastien Pouliot <[email protected]>
* SqlClientPermission.cs: Mostly completed (needs tests).
* SqlClientPermissionAttribute.cs: Completed.
2004-09-02 Umadevi S <[email protected]>
* SqlCommand.cs - ExecuteNonQuery to return -1 incase of executing a storedprocedure
2004-08-16 Gert Driesen <[email protected]>
* SqlConnection.cs: added TODO on ConnectionString for keywords
that are not yet implemented. check value of Integrated Security
keyword, check value of bool keywords, improve error reporting
for int keywords, added support for the following keyword
synonyms : APP, TIMEOUT, NETWORK, PERSISTSECURITYINFO, WSID,
LANGUAGE, USER. Throw NotImplementedException when encrypt keyword
is set to true, enlist keyword is set to false or attachdbfilename
keyword (or one of its synonyms) is set. Added FIXME for PERSIST
SECURITY INFO keyword, throwing a NotImplementedException here
would break lots of apps
2004-08-16 Gert Driesen <[email protected]>
* SqlConnection.cs - spaces to tabs
2004-08-12 Sureshkumar T <[email protected]>
* SqlDataReader.cs - In Close method, the remaining resultsets are drained
out, to read output parameters & to avoid stream overlap
2004-06-30 Umadevi S <[email protected]>
* SqlCommand.cs : In the Execute Method the commandbehavior parameters were ignored correct
these
2004-06-22 Atsushi Enomoto <[email protected]>
* SqlCommandBuilder.cs : Avoid cast exception caused by DbNull.
2004-06-18 Umadevi S <[email protected]>
* SqlCommand.cs - ExecuteNonQuery returns -1 in all cases except
insert,update or delete.
2004-06-18 Umadevi S <[email protected]>
* SqlConnection.cs - handled null being passed as a connectionstring
- checked for minimal set of parameters in connectionstring.
- handled unrecogonized keywords similar to MS.NET
2004-06-17 Umadevi S <[email protected]>
* SqlTransaction.cs - fixed multiple rollbacks being called causes invalidoperationexception
2004-06-04 Gert Driesen <[email protected]>
* SqlClientPermission.cs: removed extra CreateInstance
method
2004-06-02 Gert Driesen <[email protected]>
* SQLDebugging.cs: added missing attributes, marked ctor
public to match MS.NET
2004-05-22 Atsushi Enomoto <[email protected]>
* SqlClientPermission.cs : don't use chained obsolete .ctor.
2004-05-20 Gert Driesen ([email protected])
* SqlClientPermissionAttribute.cs: change AllowMultiple and
Inherited to match .NET
2004-05-20 Umadevi S <[email protected]>
* Fixed bug 58406- implemented the hasrow method, test program used
to test with the bug report
2004-05-13 Umadevi S <[email protected]>
* SqlClientPermission.cs, SqlDataReader.cs - added missing methods with TODO tags
* SqlCommand.cs, SqlDataAdapter.cs - implemented ToolboxItemAttribute
* SQLDebugging.cs - Added new file with a TODO tag
2004-04-05 Lluis Sanchez Gual <[email protected]>
* SqlConnection.cs: Use connection pool implemented in Mono.Data.Tds.
2004-04-01 Lluis Sanchez Gual <[email protected]>
* SqlDataReader.cs: Null values are now represented with DBNull instances.
Deal with this.
2004-03-14 Tim Coleman <[email protected]>
* SqlCommand.cs SqlConnection.cs:
Changes from two patches by Andres Taylor
<[email protected]>
2004-03-12 Andreas Nahr <[email protected]>
* SqlParameter.cs: DO NOT USE the consts scheme if types can be referenced directly!
2004-01-10 Atsushi Enomoto <[email protected]>
* SqlClientPermission.cs : Fixed NET_2_0 build related to
obsolete attribute problem (see DbDataPermission.cs)
2003-12-28 Tim Coleman <[email protected]>
* SqlResultSet.cs:
Stubbed out this class.
2003-12-23 Tim Coleman <[email protected]>
* SqlConnection.cs:
Improved connection string parsing. See
System.Data.Common.DbConnectionString for source.
2003-12-21 Tim Coleman <[email protected]>
* SqlConnection.cs:
Enable Integrated Security
2003-12-19 Tim Coleman <[email protected]>
* ISqlNotificationReceiver.cs SqlResultSet.cs:
New stubs added
* SqlClientPermission.cs:
Fix constructor for 1.2
2003-12-04 John Luke <[email protected]>
* SqlXmlTextReader.cs: applied patch from Chris Masters <[email protected]>
fix peek so it checks if it is at the end and also to make sure that if Read()
advances the position past the end of the localBuffer array, it makes
a call to GetNextBuffer(). fixes bug #40253 System.IndexOutOfRangeException when
using SqlCommand.ExecuteXmlReader()
2003-11-20 Joerg Rosenkranz <[email protected]>
* SqlConnection (SetDefaultConnectionParameters):
Changed default value of WORKSTATION ID to reflect real
host name instead of "localhost".
2003-11-16 Ben Maurer <[email protected]>
* SqlParameterCollection.cs (Clear): Clear needs to take
the parameter out of the collection so that it can be used
again.
(Remove):
(RemoveAt): Ditto.
2003-10-03 Diego Caravana <[email protected]>
* SqlCommand.cs: no change.
* SqlConnection.cs (Close): Added checks for null instance
variables.
* SqlParameter.cs (Direction): Now handles parameters of type
ReturnValue and InputOutput.
* SqlParameterCollection.cs (IndexOf(string)): Search for
SqlParameter object in list is done by obtaining ParameterName
attribute, not directly through list.IndexOf().
2003-08-22 Duncan Mak <[email protected]>
* SqlCommand.cs (ExecuteNonQuery): Return
Connection.Tds.RecordsAffected if it is successful. Patch from
Jörg Rosenkranz <[email protected]>.
This is part of a fix to bug #40315.
2003-08-20 Duncan Mak <[email protected]>
* SqlConnectionPool.cs (ReleaseConnection): A patch from Joerg
Rosenkranz <[email protected]>. Currently, if a connection is
closed by an external event (network problem, etc.) it is pushed
back into the connection pool. The next Open call retrieves this
invalid connection which leads to exceptions when executing
statements.
This patch fixes this problem. This closes bug #47429.
2003-07-04 Miguel de Icaza <[email protected]>
* SqlDataReader.cs: Added extra information to the exceptions
thrown by all the GetXXXX methods.
2003-03-15 Daniel Morgan <[email protected]>
* SqlConnection.cs: if Server in the ConnectionString
is set to "(local", use "localhost" as the hostname
to connect
2003-03-04 Gonzalo Paniagua Javier <[email protected]>
* SqlException.cs: implemented GetObjectData ().
2003-02-16 Daniel Morgan <[email protected]>
* ChangeLog: added this file
* SqlConnection.cs: - parse data source for 3 possible uses:
"Server=hostname",
"Server=hostname\\instancename",
"Server=hostname,port" and open the connection based on the
resulting server name and port.
- Added support for named instances
by discovery of the sql server tcp port via the sql monitor (udp port 1434)
thanks to Phillip Jerkins ([email protected]) contribution.
Also, thanks to Gonzalo and Tim for their help with timeouts.