Commit Graph
220 Commits
Author SHA1 Message Date
Martin Baulig dfedf08d98 2004-04-22 Martin Baulig <[email protected]>
Renamed the `NET_1_2' conditional to `NET_2_0' in all files.

svn path=/trunk/mcs/; revision=25877
2004-04-23 02:24:02 +00:00
Lluis Sanchez 87ac7fa9d1 * SqlConnection.cs: Use connection pool implemented in Mono.Data.Tds.
svn path=/trunk/mcs/; revision=25035
2004-04-05 11:41:32 +00:00
Lluis Sanchez ee12b47161 * SqlDataReader.cs: Null values are now represented with DBNull instances.
Deal with this.

svn path=/trunk/mcs/; revision=24902
2004-04-01 14:16:59 +00:00
Tim Coleman 9958493fcd 2004-03-14 Tim Coleman <[email protected]>
* SqlCommand.cs SqlConnection.cs:
		Changes from two patches by Andres Taylor
		<[email protected]>

svn path=/trunk/mcs/; revision=24034
2004-03-15 02:54:32 +00:00
Andreas N 497ec0acb8 2004-03-12 Andreas Nahr <[email protected]>
* SqlParameter.cs: DO NOT USE the consts scheme if types can be referenced directly!

svn path=/trunk/mcs/; revision=23960
2004-03-12 16:08:54 +00:00
Atsushi Eno 7665202145 2004-01-10 Atsushi Enomoto <[email protected]>
* SqlClientPermission.cs : Fixed NET_1_2 build related to
	  obsolete attribute problem (see DbDataPermission.cs)

svn path=/trunk/mcs/; revision=21916
2004-01-10 18:39:13 +00:00
Tim Coleman 0692a21c0e 2003-12-28 Tim Coleman <[email protected]>
* SqlResultSet.cs:
                Stubbed out this class.

svn path=/trunk/mcs/; revision=21521
2003-12-28 23:30:42 +00:00
Tim Coleman 3a55293e41 2003-12-23 Tim Coleman <[email protected]>
* SqlConnection.cs:
                Improved connection string parsing.  See
                System.Data.Common.DbConnectionString for source.

svn path=/trunk/mcs/; revision=21464
2003-12-23 21:08:34 +00:00
Tim Coleman 7cd75f4218 2003-12-21 Tim Coleman <[email protected]>
* SqlConnection.cs:
                Enable Integrated Security

svn path=/trunk/mcs/; revision=21408
2003-12-21 20:40:55 +00:00
Tim Coleman 583d204983 2003-12-19 Tim Coleman <[email protected]>
* ISqlNotificationReceiver.cs SqlResultSet.cs:
                New stubs added
        * SqlClientPermission.cs:
                Fix constructor for 1.2

svn path=/trunk/mcs/; revision=21369
2003-12-19 21:21:29 +00:00
John Luke 2b593229c2 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()

svn path=/trunk/mcs/; revision=20797
2003-12-05 03:57:56 +00:00
Jackson Harper 3bf567a2dc * SqlConnection (SetDefaultConnectionParameters):
Changed default value of WORKSTATION ID to reflect real
	host name instead of "localhost".

svn path=/trunk/mcs/; revision=20276
2003-11-20 18:06:59 +00:00
Ben Maurer c9fb05e84c 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.

svn path=/trunk/mcs/; revision=20091
2003-11-16 23:30:06 +00:00
Gonzalo Paniagua Javier 92b5c16df5 Mono.Data.Tds/Mono.Data.Tds.Protocol/ChangeLog
2003-10-03  Diego Caravana  <[email protected]>

	* Tds70.cs: Now handles parameters of type ReturnValue and
	InputOutput.
	(BuildParameters): skips the ReturnValue params and builds the
	set string considering the assigned value for InputOutput ones.
	(BuildProcedureCall): like the preceding one plus adds the return
	value to the final select.


-----
System.Data/System.Data.SqlClient/ChangeLog

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().

svn path=/trunk/mcs/; revision=18782
2003-10-08 23:41:01 +00:00
Duncan Mak 1819079b83 Late night patch applying actions ...
The following two fixes bug #40315.

* Tds.cs (ProcessEndToken): RecordsAffected was not filled
correctly. I've found out that the record count was submitted for
TdsPacketSubType.Done. So I changed the behaviour to include this
(without deeper knowledge of the TDS protocol). Patch from J�rg
Rosenkranz <[email protected]>.

* SqlCommand.cs (ExecuteNonQuery): Return
Connection.Tds.RecordsAffected if it is successful.  Patch from
J�rg Rosenkranz <[email protected]>.


* ListControl.cs (DataSource): Implementation by Brian Takita
<[email protected]>.

svn path=/trunk/mcs/; revision=17498
2003-08-22 04:37:11 +00:00
Duncan Mak 7e34f3d587 (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.

svn path=/trunk/mcs/; revision=17431
2003-08-20 05:01:50 +00:00
Miguel de Icaza 70e55c5a52 2003-07-04 Miguel de Icaza <[email protected]>
* SqlDataReader.cs: Added extra information to the exceptions
	thrown by all the GetXXXX methods.

svn path=/trunk/mcs/; revision=15949
2003-07-04 22:16:31 +00:00
Daniel Morgan ad6cff4a72 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

svn path=/trunk/mcs/; revision=12521
2003-03-15 10:18:39 +00:00
Gonzalo Paniagua Javier c5fad80d07 2003-03-04 Gonzalo Paniagua Javier <[email protected]>
* SqlException.cs: implemented GetObjectData ().

svn path=/trunk/mcs/; revision=12195
2003-03-04 20:47:52 +00:00
Daniel Morgan 4af8156695 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.

svn path=/trunk/mcs/; revision=11623
2003-02-16 14:48:40 +00:00