SqlNotificationInfo and added new method in SqlRowUpdatingEventArgs.cs
(For implementation of bulkcopy/notifications)
svn path=/trunk/mcs/; revision=44738
* SqlDataReader.cs: NextResult (): Re-create schema table for each
result set. don't re-use, as it may be referenced from somewhere.
svn path=/trunk/mcs/; revision=43240
* SqlCommand.cs: Execute: Add a semicolon at the end of
CommandText. Multiple semicolon's are not being complained.
fixes bug #74134.
svn path=/trunk/mcs/; revision=42305
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
* SqlCommand.cs : Set CommandBehavior on
ExecuteReader,ExecuteScalar,ExecuteNonQuery. This is used in
CloseDataReader.
This fixes bug #73252.
svn path=/trunk/mcs/; revision=41519
2005-03-02 Sureshkumar T <[email protected]>
* DbConnectionBase.cs: CreateDbCommand: assign connection to the
created command.
In .:
2005-03-02 Sureshkumar T <[email protected]>
* System.Data.dll.sources: Added
System.Data.SqlClient/SqlConnectionFactory.cs.
In System.Data.SqlClient:
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.
svn path=/trunk/mcs/; revision=41382
* 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.
svn path=/trunk/mcs/; revision=41026
* 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.
svn path=/trunk/mcs/; revision=39974
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.
svn path=/trunk/mcs/; revision=36527
* 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
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
* 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
* SqlCommand.cs : In the Execute Method the commandbehavior parameters were ignored correct
these Fixes bugs 59946 and 59948.
svn path=/trunk/mcs/; revision=30561
* 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
* 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
* SqlParameterCollection.cs
Corrected IndexOf method to return -1 if the parametername is not
found in the collection
svn path=/trunk/mcs/; revision=24111