398 Commits
Author SHA1 Message Date
Umadevi S 8de1969f14 2004-10-06 Umadevi S <[email protected]>
* ISqlNoticationReceiver.cs - changed namespace
        * Added files SqlNotificationType.cs, SqlNotificationInfo.cs, SqlNotificationSource.cs

svn path=/trunk/mcs/; revision=34744
2004-10-06 04:20:14 +00:00
Umadevi S c813754f8d 2004-09-24 Umadevi S <[email protected]>
* SqlTransaction.cs - Dispose will not call rollback incase the transaction is not open.

svn path=/trunk/mcs/; revision=34339
2004-09-24 09:56:09 +00:00
Sebastien Pouliot 51ffd060a9 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.

svn path=/trunk/mcs/; revision=33905
2004-09-14 20:02:48 +00:00
Sebastien Pouliot de76dcbb20 Fix NET_2_0 build.
svn path=/trunk/mcs/; revision=33837
2004-09-14 00:09:24 +00:00
Sebastien Pouliot c321305e8d 2004-09-13 Sebastien Pouliot <[email protected]>
* SqlClientPermission.cs: Mostly completed (needs tests).
	* SqlClientPermissionAttribute.cs: Completed.

svn path=/trunk/mcs/; revision=33832
2004-09-13 23:32:54 +00:00
Umadevi S b4fda1b3a6 2004-09-02 Umadevi S <[email protected]>
* SqlCommand.cs - ExecuteNonQuery to return -1 incase of executing a storedprocedure

svn path=/trunk/mcs/; revision=33196
2004-09-02 08:30:16 +00:00
Gert Driesen bf01809f62 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

svn path=/trunk/mcs/; revision=32516
2004-08-19 06:44:05 +00:00
Gert Driesen 8ddc1dfe83 * SqlConnection.cs - spaces to tabs
svn path=/trunk/mcs/; revision=32387
2004-08-16 15:59:04 +00:00
Sureshkumar T 10ea22496f 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

svn path=/trunk/mcs/; revision=32258
2004-08-12 09:44:48 +00:00
Umadevi S e2e9c7e803 2004-06-30 Umadevi S <[email protected]>
* SqlCommand.cs : In the Execute Method the commandbehavior parameters were ignored correct
these Fixes bugs 59946 and 59948.

svn path=/trunk/mcs/; revision=30561
2004-06-30 04:23:58 +00:00
Atsushi Eno eb17094994 2004-06-22 Atsushi Enomoto <[email protected]>
* SqlCommandBuilder.cs : Avoid cast exception caused by DbNull.

svn path=/trunk/mcs/; revision=30322
2004-06-24 16:48:11 +00:00
Umadevi S aeb993c977 2004-06-18 Umadevi S <[email protected]>
* SqlCommand.cs - ExecuteNonQuery returns -1 in all cases except
                insert,update or delete.

svn path=/trunk/mcs/; revision=29849
2004-06-18 06:01:40 +00:00
Umadevi S 46aa685e63 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

svn path=/trunk/mcs/; revision=29846
2004-06-18 04:23:08 +00:00
Umadevi S a855975ad5 2004-06-17 Umadevi S <[email protected]>
* SqlTransaction.cs - isRolledBack reset in the internal constructor

svn path=/trunk/mcs/; revision=29757
2004-06-17 10:30:55 +00:00
Umadevi S 6c50e0cd4b 2004-06-17 Umadevi S <[email protected]>
* SqlTransaction.cs - fixed  multiple rollbacks being called causes invalidoperationexception

svn path=/trunk/mcs/; revision=29755
2004-06-17 08:41:54 +00:00
Sachin Kumar ec81df777c Add license and copyright to all source files in System.Data
svn path=/trunk/mcs/; revision=29688
2004-06-16 13:52:11 +00:00
Gert Driesen 1517677e7f * SqlClientPermission.cs: removed extra CreateInstance
method

svn path=/trunk/mcs/; revision=28820
2004-06-04 05:36:15 +00:00
Umadevi S a8e6fcdf07 * SQLDebugging.cs: added missing attributes, marked ctor
public to match MS.NET

svn path=/trunk/mcs/; revision=28690
2004-06-02 08:20:21 +00:00
Martin Baulig 94abf32795 Small fix for NET_2_0.
svn path=/trunk/mcs/; revision=28488
2004-05-30 17:17:15 +00:00
Atsushi Eno 3192ef204e 2004-05-22 Atsushi Enomoto <[email protected]>
* SqlClientPermission.cs : don't use chained obsolete .ctor.

svn path=/trunk/mcs/; revision=27902
2004-05-22 19:39:00 +00:00
Gert Driesen a72f4f118c * SqlClientPermissionAttribute.cs: change AllowMultiple and
Inherited to match .NET

svn path=/trunk/mcs/; revision=27770
2004-05-20 19:13:10 +00:00
Umadevi S e3ae8dc698 2004-05-20 Umadevi S <[email protected]>
* Fixed bug 58406- implemented the hasrow method, test program used
         to test with the bug report

svn path=/trunk/mcs/; revision=27728
2004-05-20 09:51:47 +00:00
Umadevi S d788e9aec7 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

svn path=/trunk/mcs/; revision=27229
2004-05-13 05:29:56 +00:00
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 5cc78b769a Moved to Mono.Data.Tds
svn path=/trunk/mcs/; revision=25034
2004-04-05 10:55:27 +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
Umadevi S eb77b71731 2004-03-26 Umadevi S ([email protected])
* Changed SqlClientPermission Attribute to fix a build issue using csc

svn path=/trunk/mcs/; revision=24625
2004-03-26 05:05:21 +00:00
Umadevi S 9d75ea2873 2004-03-25 Umadevi S ([email protected])
* Implemented missing methods in SqlClientPermission & SqlClientPermissionAttribute

svn path=/trunk/mcs/; revision=24579
2004-03-25 10:48:50 +00:00
Umadevi S 56f7fae27d 2004-03-16 Umadevi S ([email protected])
* SqlParameterCollection.cs
			Corrected IndexOf method to return -1 if the parametername is not
			found in the collection

svn path=/trunk/mcs/; revision=24111
2004-03-16 06:22:26 +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
Umadevi S a6b79aa21b 2004-03-12 Umadevi S ([email protected])
* SqlDataReader.cs - Implemented EditorBrowsableAttribute, GetData
				   - Removed MonoTODO from GetSqlValue

svn path=/trunk/mcs/; revision=23942
2004-03-12 06:21:22 +00:00
Umadevi S 422e1aae8a 2004-03-10 Umadevi S ([email protected])
* SqlConnection.cs  - Implemented EditorAttribute for ConnectionString

svn path=/trunk/mcs/; revision=23868
2004-03-10 05:16:19 +00:00
Umadevi S 37fed03ce9 2004-03-10 Umadevi S ([email protected])
* SqlCommand.cs - Implemented EditorAttribute and DesignerAttribute

svn path=/trunk/mcs/; revision=23867
2004-03-10 05:08:39 +00:00
Umadevi S 889089975f 2004-03-10 Umadevi S ([email protected])
* SqlDataAdapter.cs  -Implemented EditorAttribute,DesignerAttribute

svn path=/trunk/mcs/; revision=23866
2004-03-10 04:47:15 +00:00
Umadevi S af01ef69bf 2004-03-08 Umadevi S ([email protected])
* SqlParameterCollection.cs - Corrected Indenting from previous checkin
	* SqlParameter.cs - Implemented TypeConverterAttribute for the class and Value method

svn path=/trunk/mcs/; revision=23795
2004-03-08 09:22:27 +00:00
Umadevi S c6d9bd18e7 2004-03-08 Umadevi S ([email protected])
* SqlParameterCollection.cs - Implemented EditorAttribute

svn path=/trunk/mcs/; revision=23794
2004-03-08 07:43:10 +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 b2a700554e 2003-12-28 Tim Coleman <[email protected]>
* SqlResultSet.cs:
		Missed a couple of includes.

svn path=/trunk/mcs/; revision=21523
2003-12-28 23:36:35 +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 2e1fafa002 2003-12-19 Tim Coleman <[email protected]>
System.Data.SqlClient/SqlClientPermission.cs:
		Minor syntax error

svn path=/trunk/mcs/; revision=21371
2003-12-19 21:23:46 +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