1 2007-03-14 Nagappan A <anagappan@novell.com>
3 * SqlCommand.cs (CommandType): Exception type thrown in 2.0
4 profile is different than 1.0, ArgumentOutOfRangeException.
5 (Connection): Exception type thrown in 2.0 profile is different
6 than 1.0, ArgumentOutOfRangeException.
7 (Execute): If Size property is 0 for String and Binary type, then
8 throw InvalidOperationException.
9 (ValidateCommand): Exception type thrown in 2.0 profile is
10 different than 1.0, NullReferenceException.
12 2007-03-09 Nagappan A <anagappan@novell.com>
14 * SqlDataReader.cs: Fixed syntax erros reported in class status
17 2007-03-09 Andreia Gaita <avidigal@novell.com>
19 * SqlCommand.cs (ExecuteScalar): Fix returned value for
20 stored procedure calls to return the first column of the
21 first row produced by the proc.
23 2007-03-08 Nagappan A <anagappan@novell.com>
25 * SqlCommand.cs (CloseDataReader): Checks whether the SQL
26 connection is created or not.
28 2007-03-07 Andreia Gaita <avidigal@novell.com>
30 * SqlCommand.cs (ExecuteScalar): when calling stored procedures,
31 implement support for return of output values in the parameter
34 2007-02-16 Nidhi Rawal <rawalnidhi_rawal@yahoo.com>
36 * SqlParameter.cs (CompareInfo): Implemented the property
39 2007-02-15 Nidhi Rawal <rawalnidhi_rawal@yahoo.com>
41 * SqlCommand.cs: Added some attributes which were not implemented
42 for .NET 2.0 and removed extra attribute which are not there in
45 * SqlCommandBuilder.cs: Added some attributes that were not
46 implemented for .NET 2.0.
48 * SqlParameterCollection.cs: Added some attributes that were
49 not implemented for .NET 2.0.
51 * SqlConnectionStringBuilder.cs: Added some attributes that
52 were not implemented for .NET 2.0.
54 * SqlConnection.cs: Added attribute that was not implemented
57 * SqlParameter.cs: Added some attributes which were not
58 implemented for .NET 2.0 and removed some extra attributes which
59 are not there in .NET 2.0
61 2007-02-09 Nagappan A <anagappan@novell.com>
63 * SqlConnection.cs (SetConnectionString): Fixes bug # 80712. A
66 2007-01-08 Nagappan A <anagappan@novell.com>
68 * SqlTransaction.cs (Dispose): Fixed compliation warning.
70 * SqlDataReader.cs (GetValues): Length of elements to be copied was
71 decided based on the argument array passed, which caused a bug, if
72 the length of given array is more than actual column values.
74 * SqlCommandBuilder.cs (CatalogSeparator, SchemaSeparator)
75 (CatalogLocation): Implemented missing properties.
76 (CreateDeleteCommand, CreateInsertCommand, CreateUpdateCommand):
77 Modified private methods to take bool flag. If true, add actual
78 parameter name instead of p1, p2 etc.
79 (CreateParameter): Added overloaded private method to create
80 parameter with the actual column name.
81 (GetUpdateCommand, GetDeleteCommand, GetInsertCommand):
82 Implemented missing overloaded methods.
83 (SetRowUpdatingHandler): Implemented missing protected method.
85 * SqlCommand.cs: Fixed compilation warning. Removed bogus
88 2006-12-05 Nagappan A <anagappan@novell.com>
90 * SqlCommand.cs (Execute): If sql2 length is greater than 0, then
91 add ';' and the respective sql2 string and then execute the
92 string. Fixes bug # 79880.
94 2006-08-30 Nagappan A <anagappan@novell.com>
96 * SqlConnection.cs: Implemented SqlConnection.GetSchema ().
98 2006-09-08 Konstantin Triger <kostat@mainsoft.com>
100 * SqlClientFactory.cs: implemented SqlClientFactory.CreateConnection ().
102 2006-07-13 Senganal T <tsenganal@novell.com>
104 * SqlClientFactory.cs SqlCommand.cs SqlConnectionFactory.cs
105 SqlClientPermission.cs SqlParameterCollection.cs SqlDataReader.cs
106 SqlConnection.cs SqlParameter.cs SqlTransaction.cs :
109 2006-05-31 Gert Driesen <drieseng@users.sourceforge.net>
111 * SqlConnection.cs: Removed extra destructor, as destructor on
112 System.ComponentModel.Component already calls Dispose.
113 * SqlParameter.cs: Removed explicit interface implementation of
114 IDataParameter.ParameterName.
116 2006-05-26 Senganal T <tsenganal@novell.com>
119 - InferSqlType : if value is null or DBNull.Value, retain the
120 current parameter type.
122 2006-04-18 Senganal T <tsenganal@novell.com>
125 - SetConnectionString : set the pareameter to default values
126 if connection string is empty or null
127 - Open : Raise InvalidOperationException if Connection String
129 - Dispose : Test exception not raised if dispose called on a
130 connection with empty connection string
132 slight modification of the patch by Jonel Rienton
134 2006-04-07 Senganal T <tsenganal@novell.com>
136 * SqlCommandBuilder.cs :
137 * CreateDeleteCommand ()
138 * CreateUpdateCommand ()
139 * CreateInsertCommand ()
140 - Changed the signature. Do not need DataRow parameter
141 as the Query generated is parametric.
142 - Correct the null-check term in the WhereClause, set the
143 correct properties for null-check parameter
145 - Modified the generated query to match the query as
146 generated by 2.0. We now ignore null-check in the
147 whereclause if the Column does not allow nulls.
148 * ctor () : Set QuotePrefix and QuoteSuffix for 2.0 profile
149 * GetUpdateCommand ()
150 * GetInsertCommand ()
151 * GetDeleteCommand ()
152 - Do not create new command everytime. Create only if
154 * RefreshSchema : Reset the commands.
156 2006-02-17 Chris Toshok <toshok@ximian.com>
158 * SqlCommand.cs, SqlCommandBuilder.cs, SqlConnection.cs,
159 SqlDataAdapter.cs: remove DataSysDescription attributes for >= 2.0
161 2006-02-17 Chris Toshok <toshok@ximian.com>
163 * SqlDataReader.cs: remove VisibleFieldCount property.
165 2006-02-10 Senganal T <tsenganal@novell.com>
167 - GetBytes : Read binary/blob/clob data sequentially when
168 CommandBehavior is set to SequentialAcccess
169 - GetChars : Read String/clob data sequentially when CommandBehavior
170 is set to SequentialAccess
172 - ExecuteReader : set SequentialAccess property on TDS
173 - CloseDataReader : Reset the command behavior
175 2006-01-27 Senganal T <tsenganal@novell.com>
177 * SqlCommandBuilder.cs :
178 - Modified CreateUpdateCommand,CreateDeleteCommand , to not include
179 column name in the query if its a expression col.
180 Also, modified the queries to match the generated queries in ms.net
182 - Modifed Prepare, to check if Parameter is explicitly initialized
184 - Added CheckIfInitialized : Checks if datatype is explicitly set and
185 non-zero size is set for variable datatypes.
187 - Added code for GetSqlBinary ()
188 - Fixed GetFieldCount ()
189 - Added more checks and exceptions.
191 2006-01-17 Senganal T <tsenganal@novell.com>
193 * SqlCommandBuilder.cs
194 - Modified CreateNewCommand () : Clean up any existing parameter list
195 before reusing the command.Fixes #77225
197 2005-11-24 Senganal T <tsenganal@novell.com>
200 - Modifications to get the correct Packet Size
202 2005-11-21 Senganal T <tsenganal@novell.com>
204 * SqlClientFactory.cs
205 * SqlCommandBuilder.cs
206 * SqlParameterCollection.cs
212 Added stubs and other changes for ADO.NET 2.0 compatibility
214 2005-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
216 * SqlConnection.cs: don't throw NotImplementedException when using
217 'PERSIST SECUTIRY INFO'. Just do nothing.
219 2005-10-27 Senganal T <tsenganal@novell.com>
224 Made changes so that the number of rows affected can be got directly from
225 Tds regardsless of the type of query.Fixes bug #75698
227 2005-10-19 Senganal T <tsenganal@novell.com>
229 * SqlConnection.cs (SetProperties) :
230 - Added support for AttachDBFileName
232 2005-10-19 Senganal T <tsenganal@novell.com>
234 * SqlException.cs (Constructor)
235 - Modified the constructor, so that the message parameter
236 of base class is not the same as that of the Exception message.
239 2005-09-24 Sureshkumar T <tsureshkumar@novell.com>
241 * SqlParameterCollection.cs (AddWithValue): added method. patch
242 from awaddell@fnfr.com (Andy Waddell).
244 2005-09-21 Senganal T <tsenganal@novell.com>
248 - Set the correct Default Values for Parameters.
249 - Added Argument Checks (where missing) for the Properties and
250 throw the correct exception on error.
251 - Modified SetDefaultParameters() to make sure that the parameters
252 are all reset to default values everytime it is called.
253 - Modified SetProperties() to take into account the order of the
254 keywords in the ConnectionString.
256 SqlConnection Fixes for the failing sqlserver connected-mode testcases
257 in ProviderTest/System.Data.SqlClient/SqlConnectionTest.cs
259 2005-09-21 Senganal T <tsenganal@novell.com>
261 * SqlTransaction.cs : Modifed the Rollback() method, so that
262 connection can be used for another transaction after the previous
263 transaction is rolled back. fixes bug 75904
265 2005-09-02 Umadevi S <sumadevi@novell.com>
267 * Removed SqlResultSet.cs file
269 2005-08-26 Sureshkumar T <tsureshkumar@novell.com>
271 * SqlConnection.cs (Open): enable sp_reset_connection.
273 2005-08-25 Sureshkumar T <tsureshkumar@novell.com>
275 * SqlCommandBuilder.cs: BuildInformation (): continue on columns
276 who don't have basetablename.
278 2005-08-12 Daniel Morgan <danielmorgan@verizon.net>
280 * SqlCommandBuilder.cs: update command builder based on
281 OdbcCommandBuilder latest changes to fix regression
284 2005-08-05 Sureshkumar T <tsureshkumar@novell.com>
286 * SqlCommandBuilder.cs: Set SourceVersion property to the created
287 parameters as it is used by the Adapter's Update method.
289 2005-07-22 Sureshkumar T <tsureshkumar@novell.com>
291 * SqlCommandBuilder.cs, SqlParameterCollection.cs,
292 SqlConnection.cs, SqlParameter.cs:
293 - updated attributes & attribute descriptions to match with
296 2005-07-16 Daniel Morgan <danielmorgan@verizon.net>
298 * SqlCommandBuilder.cs: CreateUpdateCommand should get the current value, not
299 the orginal value when setting one of the SET variables
301 2005-07-15 Sureshkumar T <tsureshkumar@novell.com>
303 * SqlCommandBuilder.cs:
304 - set_DataAdapter: unsubscribe event if DataAdapter is reset.
305 - CreateInsertCommand, CreateUpdateCommand, CreateDeleteCommand:
306 if column mapping is missing, use the source column name. use
307 proper version to get the data.
308 - RowUpdatingHandler: set status to continue to actually process
311 2005-07-04 Ben Maurer <bmaurer@ximian.com>
313 * SqlError.cs: Patch from dezelin@gmail.com to fix serialization.
315 2005-06-29 Sureshkumar T <tsureshkumar@novell.com>
317 * SqlConnection.cs: Open (): catch TdsInternalException and throw
319 * SqlException.cs: code re-organised to pass message as well with
322 2005-06-23 Sureshkumar T <tsureshkumar@novell.com>
324 * SqlConnectionStringBuilder.cs: simplified multiple keyword
325 mappings and allowed-key checking. fixed Item, Remove,
326 ContainsKey, ShoudSerialize, TryGetValue implementations.
328 2005-06-21 Sureshkumar T <tsureshkumar@novell.com>
330 * SqlConnectionStringBuilder.cs: Connection String Builder class
331 for SqlClient Data Provider.
333 2005-06-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
335 * SqlParameter.cs: moved the 'using S.D.SqlTypes' out of NET_2_0. Fixes
338 2005-06-01 Sureshkumar T <tsureshkumar@novell.com>
340 * SqlParameter.cs: Parameter's value can be SqlTypes. Convert to
341 framework type to pass to TDS layer. Fixes bug #75044.
343 2005-05-24 Umadevi S <sumadevi@novell.com>
344 * fixed some 2.0 and 1.0 specific fields/attributes for various classes.
345 * Added SqlClientMetaDataCollectionNames.cs, Implemented some 2.0
346 properties for SqlParameterCollection for the bulkcopy feature.
349 2005-05-20 Kornél Pál <http://www.kornelpal.hu/>
351 * Fixed Bug #53169 - SqlDataReader incorrectly returns bigint as decimal
352 Note: The fix works around the limitations of TDS 7.0 to avoid this
353 difference between Mono and .NET Framework TDS 8.0 should be used instead.
355 2005-05-20 Umadevi S <sumadevi@novell.com>
357 * Fixed Bug 74948 - SqlParameter also takes DBNull Value.
358 Correct some attributes stuff of 1.1 and 2.0 for SqlParameter.cs
360 2005-05-20 Umadevi S <sumadevi@novell.com>
362 * Continuing on implementation for bulkcopy and notification
363 Added files SqlNotificationEventArgs.cs, OnChangeEventHandler.cs
364 Modified SqlRowUpdatingEventArgs.cs
366 2005-05-19 Umadevi S <sumadevi@novell.com>
368 * For implementation of bulkcopy and notifications added files
369 SqlBulkCopyOptions.cs,SqlBulkCopyColumnMapping.cs,SqlNotificationAuthType.cs
370 SqlNotificationTransports.cs,SqlRowsCopiedEventArgs.cs, SqlRowsCopiedEventHandler.cs
372 2005-05-19 Umadevi S <sumadevi@novell.com>
374 * Corrected types,enum values of SqlNotificationType,SqlNotificationSource,
375 SqlNotificationInfo and added new method in SqlRowUpdatingEventArgs.cs
376 (For implementation of bulkcopy/notifications)
378 2005-04-19 Sureshkumar T <tsureshkumar@novell.com>
380 * SqlDataReader.cs: NextResult (): Re-create schema table for each
381 result set. don't re-use, as it may be referenced from somewhere.
383 2005-04-07 Sureshkumar T <tsureshkumar@novell.com>
384 Ankit Jain <radical@corewars.org>
386 * SqlConnection.cs: Implemented additional connection string
387 property "Asynchronous Processing".
389 * SqlCommand.cs: Implemented Asynchronous command execution API.
391 * SqlAsyncState.cs: A internal state object for asynchronous
394 * SqlAsyncResult.cs: Added. Class to hold result for asynchronous
397 2005-03-28 Sureshkumar T <tsureshkumar@novell.com>
399 * SqlCommand.cs: Execute: Add a semicolon at the end of
400 CommandText. Multiple semicolon's are not being complained.
404 2005-03-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
406 * SqlConnection.cs: added a finalizer for correct implementation of the
409 2005-03-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
411 * SqlException.cs: make it serialization-compatible with MS. Patch by
412 Aleksandar Dezelin. Closes bug #73596.
414 2005-03-08 Sureshkumar T <tsureshkumar@novell.com>
416 * SqlDataReader.cs: Call base constructor with CommandBehavior
417 parameter instead of passing DbCommand object. The internal base
418 class with DbCommand Parameter is removed.
420 2005-03-07 Sureshkumar T <tsureshkumar@novell.com>
422 * SqlCommand.cs : Set CommandBehavior on
423 ExecuteReader,ExecuteScalar,ExecuteNonQuery. This is used in
426 This fixes bug #73252.
428 2005-03-03 Sureshkumar T <tsureshkumar@novell.com>
430 * SqlClientFactory.cs: While creating command, create using
431 DbConnectionFactory as DbConnectionBase.CreateDbCommand needs to
432 have a connection factory.
434 * SqlConnection.cs: Added an internal constructor which takes
437 * SqlConnectionFactory.cs: Added. Concrete class for abstract
438 factory DbConnectionFactory.
440 2005-02-22 Sureshkumar T <tsureshkumar@novell.com>
442 * SqlDataReader.cs: GetBytes: return the length of the data if
443 output buffer is null. if not, copy the values to buffer and
444 return the bytes actually read.
446 2005-02-02 Sureshkumar T <tsureshkumar@novell.com>
449 - Database: return db name from database if connection open,
450 otherwise take from connection string.
451 - Set default values for parameters in the constructor itself.
452 - Dangling else problem with Close method.
453 - reset values of parms (TdsConnectionParameters) rather setting
455 - set disposed to false in Open method
456 - finally call base.Dispose in Dispose (bool)
458 Fixes nunit regressions SqlConnectionTest:DefaultConnectionValues
459 and SqlConnectionTest:DatabaseSynonyms.
461 2005-01-27 Sureshkumar T <tsureshkumar@novell.com>
463 * SqlCommand.cs (DeriveParameters): Change parameter name to
465 * SqlParameter.cs (SqlParameter (object [])) : call default
466 constructor to create Tds.Metaparameter.
470 2005-01-03 Sureshkumar T <tsureshkumar@novell.com>
472 * SqlCommand.cs: Fixed bug #68973. Reset Tds.RecordsAffected to 0
473 for each execute statement.
475 2004-11-25 Sureshkumar T <tsureshkumar@novell.com>
477 These changes are for 2.0 profile only. These changes implement
478 the generic data base access technique using Provider Factory
479 Implementation. These classes need to be dervided from abstract
480 base classes so that the corresponding factory classes are
481 created when calling CreateCommand, CreateParameter, etc.
483 * SqlClientFactory.cs: Provider Factory class Implementaion for SqlServer
484 * SqlParameter.cs: Change base classes and override methods.
485 * SqlParameterCollection.cs: Change base classes and override methods.
486 * SqlTransaction.cs: Change base classes and override methods.
487 * SqlDataSourceEnumerator.cs: DataSource Enumerator stubs.
488 * SqlDataReader.cs: Change base classes and override methods.
489 * SqlConnection.cs: Change base classes and override methods.
490 * SqlCommandBuilder.cs: Change base classes and override methods.
491 * SqlCommand.cs: Change base classes and override necessary methods.
493 2004-10-14 Umadevi S <sumadevi@novell.com>
494 * SqlCommand.cs - Implemented the clone method correctly.
497 2004-10-06 Umadevi S <sumadevi@novell.com>
498 * ISqlNoticationReceiver.cs - changed namespace
499 * Added files SqlNotificationType.cs, SqlNotificationInfo.cs, SqlNotificationSource.cs
501 2004-09-24 Umadevi S <sumadevi@novell.com>
502 * SqlTransaction.cs - Dispose will not call rollback incase the transaction is not open.
504 2004-09-14 Sebastien Pouliot <sebastien@ximian.com>
506 * SqlClientPermission.cs: Added internal constructor accepting an Sql
507 ClientPermissionAttribute parameter (using base class protected ctor).
508 * SqlClientPermissionAttribute.cs: Copy now use the new SqlClient
509 Permission constructor.
511 2004-09-13 Sebastien Pouliot <sebastien@ximian.com>
513 * SqlClientPermission.cs: Mostly completed (needs tests).
514 * SqlClientPermissionAttribute.cs: Completed.
516 2004-09-02 Umadevi S <sumadevi@novell.com>
517 * SqlCommand.cs - ExecuteNonQuery to return -1 incase of executing a storedprocedure
519 2004-08-16 Gert Driesen <drieseng@users.sourceforge.net>
521 * SqlConnection.cs: added TODO on ConnectionString for keywords
522 that are not yet implemented. check value of Integrated Security
523 keyword, check value of bool keywords, improve error reporting
524 for int keywords, added support for the following keyword
525 synonyms : APP, TIMEOUT, NETWORK, PERSISTSECURITYINFO, WSID,
526 LANGUAGE, USER. Throw NotImplementedException when encrypt keyword
527 is set to true, enlist keyword is set to false or attachdbfilename
528 keyword (or one of its synonyms) is set. Added FIXME for PERSIST
529 SECURITY INFO keyword, throwing a NotImplementedException here
530 would break lots of apps
532 2004-08-16 Gert Driesen <drieseng@users.sourceforge.net>
534 * SqlConnection.cs - spaces to tabs
536 2004-08-12 Sureshkumar T <tsureshkumar@novell.com>
537 * SqlDataReader.cs - In Close method, the remaining resultsets are drained
538 out, to read output parameters & to avoid stream overlap
540 2004-06-30 Umadevi S <sumadevi@novell.com>
541 * SqlCommand.cs : In the Execute Method the commandbehavior parameters were ignored correct
544 2004-06-22 Atsushi Enomoto <atsushi@ximian.com>
546 * SqlCommandBuilder.cs : Avoid cast exception caused by DbNull.
548 2004-06-18 Umadevi S <sumadevi@novell.com>
549 * SqlCommand.cs - ExecuteNonQuery returns -1 in all cases except
550 insert,update or delete.
552 2004-06-18 Umadevi S <sumadevi@novell.com>
553 * SqlConnection.cs - handled null being passed as a connectionstring
554 - checked for minimal set of parameters in connectionstring.
555 - handled unrecogonized keywords similar to MS.NET
557 2004-06-17 Umadevi S <sumadevi@novell.com>
558 * SqlTransaction.cs - fixed multiple rollbacks being called causes invalidoperationexception
560 2004-06-04 Gert Driesen <drieseng@users.sourceforge.net>
562 * SqlClientPermission.cs: removed extra CreateInstance
565 2004-06-02 Gert Driesen <drieseng@users.sourceforge.net>
567 * SQLDebugging.cs: added missing attributes, marked ctor
568 public to match MS.NET
570 2004-05-22 Atsushi Enomoto <atsushi@ximian.com>
572 * SqlClientPermission.cs : don't use chained obsolete .ctor.
574 2004-05-20 Gert Driesen (drieseng@users.sourceforge.net)
576 * SqlClientPermissionAttribute.cs: change AllowMultiple and
577 Inherited to match .NET
579 2004-05-20 Umadevi S <sumadevi@novell.com>
581 * Fixed bug 58406- implemented the hasrow method, test program used
582 to test with the bug report
584 2004-05-13 Umadevi S <sumadevi@novell.com>
586 * SqlClientPermission.cs, SqlDataReader.cs - added missing methods with TODO tags
587 * SqlCommand.cs, SqlDataAdapter.cs - implemented ToolboxItemAttribute
588 * SQLDebugging.cs - Added new file with a TODO tag
590 2004-04-05 Lluis Sanchez Gual <lluis@ximian.com>
592 * SqlConnection.cs: Use connection pool implemented in Mono.Data.Tds.
594 2004-04-01 Lluis Sanchez Gual <lluis@ximian.com>
596 * SqlDataReader.cs: Null values are now represented with DBNull instances.
599 2004-03-14 Tim Coleman <tim@timcoleman.com>
600 * SqlCommand.cs SqlConnection.cs:
601 Changes from two patches by Andres Taylor
602 <andres@rotselleri.com>
604 2004-03-12 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
606 * SqlParameter.cs: DO NOT USE the consts scheme if types can be referenced directly!
608 2004-01-10 Atsushi Enomoto <atsushi@ximian.com>
610 * SqlClientPermission.cs : Fixed NET_2_0 build related to
611 obsolete attribute problem (see DbDataPermission.cs)
613 2003-12-28 Tim Coleman <tim@timcoleman.com>
615 Stubbed out this class.
617 2003-12-23 Tim Coleman <tim@timcoleman.com>
619 Improved connection string parsing. See
620 System.Data.Common.DbConnectionString for source.
622 2003-12-21 Tim Coleman <tim@timcoleman.com>
624 Enable Integrated Security
626 2003-12-19 Tim Coleman <tim@timcoleman.com>
627 * ISqlNotificationReceiver.cs SqlResultSet.cs:
629 * SqlClientPermission.cs:
630 Fix constructor for 1.2
632 2003-12-04 John Luke <jluke@cfl.rr.com>
634 * SqlXmlTextReader.cs: applied patch from Chris Masters <neeeeeep@bigpond.com>
635 fix peek so it checks if it is at the end and also to make sure that if Read()
636 advances the position past the end of the localBuffer array, it makes
637 a call to GetNextBuffer(). fixes bug #40253 System.IndexOutOfRangeException when
638 using SqlCommand.ExecuteXmlReader()
640 2003-11-20 Joerg Rosenkranz <JoergR@voelcker.com>
642 * SqlConnection (SetDefaultConnectionParameters):
643 Changed default value of WORKSTATION ID to reflect real
644 host name instead of "localhost".
646 2003-11-16 Ben Maurer <bmaurer@users.sourceforge.net>
648 * SqlParameterCollection.cs (Clear): Clear needs to take
649 the parameter out of the collection so that it can be used
654 2003-10-03 Diego Caravana <diego@toth.it>
656 * SqlCommand.cs: no change.
658 * SqlConnection.cs (Close): Added checks for null instance
661 * SqlParameter.cs (Direction): Now handles parameters of type
662 ReturnValue and InputOutput.
664 * SqlParameterCollection.cs (IndexOf(string)): Search for
665 SqlParameter object in list is done by obtaining ParameterName
666 attribute, not directly through list.IndexOf().
668 2003-08-22 Duncan Mak <duncan@ximian.com>
670 * SqlCommand.cs (ExecuteNonQuery): Return
671 Connection.Tds.RecordsAffected if it is successful. Patch from
672 Jörg Rosenkranz <joergr@voelcker.com>.
674 This is part of a fix to bug #40315.
676 2003-08-20 Duncan Mak <duncan@ximian.com>
678 * SqlConnectionPool.cs (ReleaseConnection): A patch from Joerg
679 Rosenkranz <JoergR@voelcker.com>. Currently, if a connection is
680 closed by an external event (network problem, etc.) it is pushed
681 back into the connection pool. The next Open call retrieves this
682 invalid connection which leads to exceptions when executing
685 This patch fixes this problem. This closes bug #47429.
687 2003-07-04 Miguel de Icaza <miguel@ximian.com>
689 * SqlDataReader.cs: Added extra information to the exceptions
690 thrown by all the GetXXXX methods.
692 2003-03-15 Daniel Morgan <danmorg@sc.rr.com>
694 * SqlConnection.cs: if Server in the ConnectionString
695 is set to "(local", use "localhost" as the hostname
698 2003-03-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
700 * SqlException.cs: implemented GetObjectData ().
702 2003-02-16 Daniel Morgan <danmorg@sc.rr.com>
704 * ChangeLog: added this file
706 * SqlConnection.cs: - parse data source for 3 possible uses:
708 "Server=hostname\\instancename",
709 "Server=hostname,port" and open the connection based on the
710 resulting server name and port.
711 - Added support for named instances
712 by discovery of the sql server tcp port via the sql monitor (udp port 1434)
713 thanks to Phillip Jerkins (Phillip.Jerkins@morgankeegan.com) contribution.
714 Also, thanks to Gonzalo and Tim for their help with timeouts.