2007-05-10 Nagappan A <anagappan@novell.com>
[mono.git] / mcs / class / System.Data / System.Data.SqlClient / ChangeLog
1 2007-05-10  Nagappan A  <anagappan@novell.com>
2
3         * SqlClientMetaDataCollectionNames.cs: Fixed incorrect constructor
4         type.
5
6         * SqlConnectionStringBuilder.cs: Fixed missing attributes.
7
8 2007-05-09 Igor Zelmanovich <igorz@mainsoft.com>
9
10         * SqlConnectionStringBuilder.cs: added MonoNotSupported attribute.
11
12 2007-04-03  Amit Biswas  <amit@amitbiswas.com>
13
14         * SqlDataReader.cs (GetSqlBytes, GetProviderSpecificFieldType)
15         (GetProviderSpecificValue, GetProviderSpecificValues): Implemented
16         missing API.
17
18         * SqlParameter.cs (XmlSchemaCollectionDatabase): Implemented missing property
19         (XmlSchemaCollectionName): Implemented missing property
20         (XmlSchemaCollectionOwningSchema): Implemented missing property
21         (SourceColumnNullMapping): Existing implementation was not correct, Replaced the implementation
22         (.ctor): Implemented mising constructor new in .net 2.0
23
24         * SqlErrorCollection.cs (CopyTo): Implemented missing API
25
26         * SqlParameter.cs (InferSqlType): Corrected bug related to default values of
27         SqlDbType and DbType
28         (ResetSqlDbType): Implemented missing API
29         (ResetDbType): Implemented missing API  
30
31 2007-03-09  Amit Biswas  <amit@amitbiswas.com>
32
33         * SqlParameterCollection.cs (CopyTo): Implemented missing API
34
35 2007-04-02  Nagappan A  <anagappan@novell.com>
36
37         * SqlParameter.cs: Variable name fix.
38
39 2007-03-20  Nidhi Rawal  <rawalnidhi_rawal@yahoo.com>
40
41         * SqlClientFactory.cs: Added two using directives.
42         (CreateConnectionStringBuilder): Implemented the method.
43         (CreatePermission): Implemented the property.
44         
45         * SqlCommand.cs: Added one using directive.
46         (Clone): Implemented the method.
47         (Dispose): Implemented the method.
48         (BeginExecuteXmlReader): Implemented the method.
49         
50         * SqlCommandBuilder.cs (QuoteIdentifier): Implemented the method.
51         (UnquoteIdentifier): Implemented the method.
52         
53         * SqlConnection.cs (ChangePassword): Implemented the method.
54
55 2007-03-19  Nidhi Rawal  <rawalnidhi_rawal@yahoo.com>
56
57         * SqlClientFactory.cs (CanCreateDataSourceEnumerator): Implemented
58         the property.
59
60         * SqlCommand.cs (Notification): Implemented the property.
61         (NotificationAutoEnlist): Implemented the property.
62
63         * SqlDataReader.cs (VisibleFieldCount): Implemented the property.
64
65         * SqlConnectionStringBuilder.cs (TrustServerCertificate): Implemented
66         the property.
67         (TypeSystemVersion): Implemented the property.
68         (UserInstance): Implemented the property.
69         (ContextConnection): Implemented the property.
70
71         * SqlConnection.cs (FireInfoMessageEventOnUserErrors): Implemented
72         the property.
73         (StatisticsEnabled): Implemented the property.
74         
75         * SqlDataAdapter.cs (UpdateBatchSize): Implemented the property.
76
77         * SqlParameter.cs: Implemented one attribute.
78
79 2007-03-16  Andreia Gaita  <avidigal@novell.com>
80         
81         * SqlParameter.cs: Move isVariableSizeType flag to TdsMetaParameter
82         so that the TdsMetaParameter can validate itself for valid size / values.
83         * SqlCommand.cs (Execute): Call Validate on TdsMetaParameter.
84
85 2007-03-14  Nagappan A  <anagappan@novell.com>
86
87         * SqlCommand.cs (CommandType): Exception type thrown in 2.0
88         profile is different than 1.0, ArgumentOutOfRangeException.
89         (Connection): Exception type thrown in 2.0 profile is different
90         than 1.0, ArgumentOutOfRangeException.
91         (Execute): If Size property is 0 for String and Binary type, then
92         throw InvalidOperationException.
93         (ValidateCommand): Exception type thrown in 2.0 profile is
94         different than 1.0, NullReferenceException.
95
96 2007-03-09  Nagappan A  <anagappan@novell.com>
97
98         * SqlDataReader.cs: Fixed syntax erros reported in class status
99         page.
100
101 2007-03-09  Andreia Gaita  <avidigal@novell.com>
102
103         * SqlCommand.cs (ExecuteScalar): Fix returned value for 
104         stored procedure calls to return the first column of the
105         first row produced by the proc.
106
107 2007-03-08  Nagappan A  <anagappan@novell.com>
108
109         * SqlCommand.cs (CloseDataReader): Checks whether the SQL
110         connection is created or not.
111
112 2007-03-07  Andreia Gaita <avidigal@novell.com>
113
114         * SqlCommand.cs (ExecuteScalar): when calling stored procedures,
115         implement support for return of output values in the parameter
116         collection.
117
118 2007-02-16  Nidhi Rawal  <rawalnidhi_rawal@yahoo.com>
119
120         * SqlParameter.cs (CompareInfo): Implemented the property
121         CompareInfo.
122         (LocaleId): Written the property LocaleId.
123         (SqlValue): Written the propert SqlValue.
124
125 2007-02-15  Nidhi Rawal  <rawalnidhi_rawal@yahoo.com>
126
127         * SqlCommand.cs: Added some attributes which were not implemented
128         for .NET 2.0 and removed extra attribute which are not there in
129         .NET 2.0.
130
131         * SqlCommandBuilder.cs: Added some attributes that were not 
132         implemented for .NET 2.0.
133
134         * SqlParameterCollection.cs: Added some attributes that were 
135         not implemented for .NET 2.0.
136
137         * SqlConnectionStringBuilder.cs: Added some attributes that
138          were not implemented for .NET 2.0.
139         
140         * SqlConnection.cs: Added attribute that was not implemented
141         for .NET 2.0.
142
143         * SqlParameter.cs: Added some attributes which were not
144         implemented for .NET 2.0 and removed some extra attributes which
145         are not there in .NET 2.0
146
147 2007-02-09  Nagappan A  <anagappan@novell.com>
148
149         * SqlConnection.cs (SetConnectionString): Fixes bug # 80712. A
150         small typo.
151
152 2007-01-08  Nagappan A  <anagappan@novell.com>
153
154         * SqlTransaction.cs (Dispose): Fixed compliation warning.
155
156         * SqlDataReader.cs (GetValues): Length of elements to be copied was
157         decided based on the argument array passed, which caused a bug, if
158         the length of given array is more than actual column values.
159
160         * SqlCommandBuilder.cs (CatalogSeparator, SchemaSeparator)
161         (CatalogLocation): Implemented missing properties.
162         (CreateDeleteCommand, CreateInsertCommand, CreateUpdateCommand):
163         Modified private methods to take bool flag. If true, add actual
164         parameter name instead of p1, p2 etc.
165         (CreateParameter): Added overloaded private method to create
166         parameter with the actual column name.
167         (GetUpdateCommand, GetDeleteCommand, GetInsertCommand):
168         Implemented missing overloaded methods.
169         (SetRowUpdatingHandler): Implemented missing protected method.
170
171         * SqlCommand.cs: Fixed compilation warning. Removed bogus
172         MonoTODO's.
173
174 2006-12-05  Nagappan A  <anagappan@novell.com>
175
176         * SqlCommand.cs (Execute): If sql2 length is greater than 0, then
177         add ';' and the respective sql2 string and then execute the
178         string. Fixes bug # 79880.
179
180 2006-08-30  Nagappan A  <anagappan@novell.com>
181
182         * SqlConnection.cs: Implemented SqlConnection.GetSchema ().
183
184 2006-09-08  Konstantin Triger <kostat@mainsoft.com>
185
186         * SqlClientFactory.cs: implemented SqlClientFactory.CreateConnection ().
187
188 2006-07-13  Senganal T  <tsenganal@novell.com>
189
190         * SqlClientFactory.cs SqlCommand.cs SqlConnectionFactory.cs 
191         SqlClientPermission.cs SqlParameterCollection.cs SqlDataReader.cs 
192         SqlConnection.cs SqlParameter.cs SqlTransaction.cs :
193                 2.0 Api fixes
194
195 2006-05-31  Gert Driesen  <drieseng@users.sourceforge.net>
196
197         * SqlConnection.cs: Removed extra destructor, as destructor on 
198         System.ComponentModel.Component already calls Dispose.
199         * SqlParameter.cs: Removed explicit interface implementation of
200         IDataParameter.ParameterName.
201
202 2006-05-26  Senganal T  <tsenganal@novell.com>
203
204         * SqlParameter.cs :
205                 - InferSqlType : if value is null or DBNull.Value, retain the
206                 current parameter type.
207
208 2006-04-18  Senganal T  <tsenganal@novell.com>
209
210         * SqlConnection.cs :
211                 - SetConnectionString : set the pareameter to default values
212                 if connection string is empty or null
213                 - Open : Raise InvalidOperationException if Connection String
214                 is empty or null
215                 - Dispose : Test exception not raised if dispose called on a
216                 connection with empty connection string
217
218         slight modification of the patch by Jonel Rienton
219
220 2006-04-07  Senganal T  <tsenganal@novell.com>
221
222         * SqlCommandBuilder.cs :
223                 * CreateDeleteCommand () 
224                 * CreateUpdateCommand () 
225                 * CreateInsertCommand () 
226                         - Changed the signature. Do not need DataRow parameter 
227                         as the Query generated is parametric.
228                         - Correct the null-check term in the WhereClause, set the
229                         correct properties for null-check parameter
230                         fixes #78027
231                         - Modified the generated query to match the query as
232                         generated by 2.0. We now ignore null-check in the
233                         whereclause if the Column does not allow nulls.
234                 * ctor () : Set QuotePrefix and QuoteSuffix for 2.0 profile
235                 * GetUpdateCommand ()
236                 * GetInsertCommand ()
237                 * GetDeleteCommand ()
238                         - Do not create new command everytime. Create only if
239                         not already created.
240                 * RefreshSchema : Reset the commands.
241
242 2006-02-17  Chris Toshok  <toshok@ximian.com>
243
244         * SqlCommand.cs, SqlCommandBuilder.cs, SqlConnection.cs,
245         SqlDataAdapter.cs: remove DataSysDescription attributes for >= 2.0
246
247 2006-02-17  Chris Toshok  <toshok@ximian.com>
248
249         * SqlDataReader.cs: remove VisibleFieldCount property.
250
251 2006-02-10  Senganal T  <tsenganal@novell.com>
252         * SqlDataReader.cs :
253                 - GetBytes : Read binary/blob/clob data sequentially when
254                 CommandBehavior is set to SequentialAcccess
255                 - GetChars : Read String/clob data sequentially when CommandBehavior
256                 is set to SequentialAccess
257         * SqlCommand.cs :
258                 - ExecuteReader : set SequentialAccess property on TDS
259                 - CloseDataReader : Reset the command behavior
260
261 2006-01-27  Senganal T  <tsenganal@novell.com>
262
263         * SqlCommandBuilder.cs :
264                 - Modified  CreateUpdateCommand,CreateDeleteCommand , to not include
265                 column name in the query if its a expression col.
266                 Also, modified the queries to match the generated queries in ms.net
267         * SqlCommand.cs :
268                 - Modifed Prepare, to check if Parameter is explicitly initialized
269         * SqlParameter.cs :
270                 - Added CheckIfInitialized : Checks if datatype is explicitly set and
271                 non-zero size is set for variable datatypes.
272         * SqlDataReader.cs :
273                 - Added code for GetSqlBinary ()
274                 - Fixed GetFieldCount ()
275                 - Added more checks and exceptions. 
276
277 2006-01-17  Senganal T  <tsenganal@novell.com>
278
279         * SqlCommandBuilder.cs
280                 - Modified CreateNewCommand () : Clean up any existing parameter list
281                 before reusing the command.Fixes #77225
282
283 2005-11-24  Senganal T  <tsenganal@novell.com>
284
285         * SqlConnection.cs 
286                 - Modifications to get the correct Packet Size
287
288 2005-11-21  Senganal T  <tsenganal@novell.com>
289
290         * SqlClientFactory.cs
291         * SqlCommandBuilder.cs
292         * SqlParameterCollection.cs
293         * SqlDataReader.cs
294         * SqlDataAdapter.cs
295         * SqlParameter.cs
296         * SqlTransaction.cs
297
298         Added stubs and other changes for ADO.NET 2.0 compatibility
299         
300 2005-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
301
302         * SqlConnection.cs: don't throw NotImplementedException when using
303         'PERSIST SECUTIRY INFO'. Just do nothing.
304
305 2005-10-27  Senganal T  <tsenganal@novell.com>
306
307         * SqlCommand.cs 
308         * SqlDataReader.cs 
309         
310         Made changes so that the number of rows affected can be got directly from 
311         Tds regardsless of the type of query.Fixes bug #75698
312
313 2005-10-19  Senganal T  <tsenganal@novell.com>
314
315         * SqlConnection.cs (SetProperties) :
316                 - Added support for AttachDBFileName
317
318 2005-10-19  Senganal T  <tsenganal@novell.com>
319         
320         * SqlException.cs (Constructor)
321                 - Modified the constructor, so that the message parameter
322                 of base class is not the same as that of the Exception message.
323                 fixes bug #76468
324                 
325 2005-09-24  Sureshkumar T  <tsureshkumar@novell.com>
326
327         * SqlParameterCollection.cs (AddWithValue): added method. patch
328         from awaddell@fnfr.com (Andy Waddell).
329
330 2005-09-21 Senganal T <tsenganal@novell.com>
331
332
333         * SqlConnection.cs : 
334                 - Set the correct Default Values for Parameters.
335                 - Added Argument Checks (where missing) for the Properties and 
336                 throw the correct exception on error.
337                 - Modified SetDefaultParameters() to make sure that the parameters
338                 are all reset to default values everytime it is called.
339                 - Modified SetProperties() to take into account the order of the 
340                 keywords in the ConnectionString.
341
342         SqlConnection Fixes for the failing sqlserver connected-mode testcases 
343         in ProviderTest/System.Data.SqlClient/SqlConnectionTest.cs
344
345 2005-09-21 Senganal T <tsenganal@novell.com>
346
347         * SqlTransaction.cs : Modifed the Rollback() method, so that
348         connection can be used for another transaction after the previous
349         transaction is rolled back. fixes bug 75904
350
351 2005-09-02 Umadevi S <sumadevi@novell.com>
352         
353         * Removed SqlResultSet.cs file
354
355 2005-08-26  Sureshkumar T  <tsureshkumar@novell.com>
356
357         * SqlConnection.cs (Open): enable sp_reset_connection.
358
359 2005-08-25  Sureshkumar T  <tsureshkumar@novell.com>
360
361         * SqlCommandBuilder.cs: BuildInformation (): continue on columns
362         who don't have basetablename.
363
364 2005-08-12  Daniel Morgan <danielmorgan@verizon.net>
365
366         * SqlCommandBuilder.cs: update command builder based on
367         OdbcCommandBuilder latest changes to fix regression 
368         of bug 75552
369         
370 2005-08-05  Sureshkumar T  <tsureshkumar@novell.com>
371
372         * SqlCommandBuilder.cs: Set SourceVersion property to the created
373         parameters as it is used by the Adapter's Update method.
374
375 2005-07-22  Sureshkumar T  <tsureshkumar@novell.com>
376
377         * SqlCommandBuilder.cs, SqlParameterCollection.cs,
378         SqlConnection.cs, SqlParameter.cs:
379         - updated attributes & attribute descriptions to match with
380         masterinfos.
381
382 2005-07-16  Daniel Morgan <danielmorgan@verizon.net>
383
384         * SqlCommandBuilder.cs: CreateUpdateCommand should get the current value, not
385         the orginal value when setting one of the SET variables
386
387 2005-07-15  Sureshkumar T  <tsureshkumar@novell.com>
388
389         * SqlCommandBuilder.cs:
390         - set_DataAdapter: unsubscribe event if DataAdapter is reset.
391         - CreateInsertCommand, CreateUpdateCommand, CreateDeleteCommand:
392         if column mapping is missing, use the source column name. use
393         proper version to get the data. 
394         - RowUpdatingHandler: set status to continue to actually process
395         the query.
396
397 2005-07-04  Ben Maurer  <bmaurer@ximian.com>
398
399         * SqlError.cs: Patch from dezelin@gmail.com to fix serialization.
400
401 2005-06-29  Sureshkumar T  <tsureshkumar@novell.com>
402
403         * SqlConnection.cs: Open (): catch TdsInternalException and throw
404         SqlException.
405         * SqlException.cs: code re-organised to pass message as well with
406         the exception.
407
408 2005-06-23  Sureshkumar T  <tsureshkumar@novell.com>
409
410         * SqlConnectionStringBuilder.cs: simplified multiple keyword
411         mappings and allowed-key checking. fixed Item, Remove,
412         ContainsKey, ShoudSerialize, TryGetValue implementations.
413
414 2005-06-21  Sureshkumar T  <tsureshkumar@novell.com>
415
416         * SqlConnectionStringBuilder.cs: Connection String Builder class
417         for SqlClient Data Provider.
418
419 2005-06-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
420
421         * SqlParameter.cs: moved the 'using S.D.SqlTypes' out of NET_2_0. Fixes
422         the build.
423
424 2005-06-01  Sureshkumar T  <tsureshkumar@novell.com>
425
426         * SqlParameter.cs: Parameter's value can be SqlTypes. Convert to
427         framework type to pass to TDS layer. Fixes bug #75044.
428
429 2005-05-24 Umadevi S <sumadevi@novell.com>
430         * fixed some 2.0 and 1.0 specific fields/attributes for various classes.
431         * Added SqlClientMetaDataCollectionNames.cs, Implemented some 2.0
432         properties for SqlParameterCollection for the bulkcopy feature.
433         
434
435 2005-05-20 Kornél Pál <http://www.kornelpal.hu/>
436         
437         * Fixed Bug #53169 - SqlDataReader incorrectly returns bigint as decimal
438                 Note: The fix works around the limitations of TDS 7.0 to avoid this
439                 difference between Mono and .NET Framework TDS 8.0 should be used instead.
440
441 2005-05-20 Umadevi S <sumadevi@novell.com>
442         
443         * Fixed Bug 74948 - SqlParameter also takes DBNull Value.
444                 Correct some attributes stuff of 1.1 and 2.0 for SqlParameter.cs
445
446 2005-05-20 Umadevi S <sumadevi@novell.com>
447
448         * Continuing on implementation for bulkcopy and notification
449                 Added files SqlNotificationEventArgs.cs, OnChangeEventHandler.cs
450                 Modified SqlRowUpdatingEventArgs.cs
451
452 2005-05-19 Umadevi S <sumadevi@novell.com>
453         
454         * For implementation of bulkcopy and notifications added files
455                 SqlBulkCopyOptions.cs,SqlBulkCopyColumnMapping.cs,SqlNotificationAuthType.cs
456                 SqlNotificationTransports.cs,SqlRowsCopiedEventArgs.cs, SqlRowsCopiedEventHandler.cs
457
458 2005-05-19  Umadevi S <sumadevi@novell.com>
459
460         *  Corrected types,enum values of SqlNotificationType,SqlNotificationSource,
461                 SqlNotificationInfo and added new method in SqlRowUpdatingEventArgs.cs
462         (For implementation of bulkcopy/notifications)
463
464 2005-04-19  Sureshkumar T  <tsureshkumar@novell.com>
465
466         * SqlDataReader.cs: NextResult (): Re-create schema table for each
467         result set. don't re-use, as it may be referenced from somewhere.
468
469 2005-04-07  Sureshkumar T  <tsureshkumar@novell.com>
470             Ankit Jain     <radical@corewars.org>
471
472         * SqlConnection.cs: Implemented additional connection string
473         property "Asynchronous Processing".
474
475         * SqlCommand.cs: Implemented Asynchronous command execution API.
476
477         * SqlAsyncState.cs: A internal state object for asynchronous
478         operations.
479
480         * SqlAsyncResult.cs: Added. Class to hold result for asynchronous
481         queries.
482
483 2005-03-28  Sureshkumar T  <tsureshkumar@novell.com>
484
485         * SqlCommand.cs: Execute: Add a semicolon at the end of
486         CommandText. Multiple semicolon's are not being complained.
487
488         fixes bug #74134.
489
490 2005-03-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
491
492         * SqlConnection.cs: added a finalizer for correct implementation of the
493         IDisposable pattern.
494
495 2005-03-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
496
497         * SqlException.cs: make it serialization-compatible with MS. Patch by
498         Aleksandar Dezelin. Closes bug #73596.
499
500 2005-03-08  Sureshkumar T  <tsureshkumar@novell.com>
501
502         * SqlDataReader.cs: Call base constructor with CommandBehavior
503         parameter instead of passing DbCommand object. The internal base
504         class with DbCommand Parameter is removed.
505
506 2005-03-07  Sureshkumar T  <tsureshkumar@novell.com>
507
508         * SqlCommand.cs : Set CommandBehavior on
509         ExecuteReader,ExecuteScalar,ExecuteNonQuery. This is used in
510         CloseDataReader.
511
512         This fixes bug #73252.
513
514 2005-03-03  Sureshkumar T  <tsureshkumar@novell.com>
515
516         * SqlClientFactory.cs: While creating command, create using
517         DbConnectionFactory as DbConnectionBase.CreateDbCommand needs to
518         have a connection factory.
519
520         * SqlConnection.cs: Added an internal constructor which takes
521         DbConnectionFactory.
522
523         * SqlConnectionFactory.cs: Added. Concrete class for abstract
524         factory DbConnectionFactory.
525
526 2005-02-22  Sureshkumar T  <tsureshkumar@novell.com>
527
528         * SqlDataReader.cs: GetBytes: return the length of the data if
529         output buffer is null. if not, copy the values to buffer and
530         return the bytes actually read.
531
532 2005-02-02  Sureshkumar T  <tsureshkumar@novell.com>
533
534         * SqlConnection.cs: 
535         - Database: return db name from database if connection open,
536         otherwise take from connection string.
537         - Set default values for parameters in the constructor itself.
538         - Dangling else problem with Close method.
539         - reset values of parms (TdsConnectionParameters) rather setting
540         to null.
541         - set disposed to false in Open method
542         - finally call base.Dispose in Dispose (bool)
543
544         Fixes nunit regressions SqlConnectionTest:DefaultConnectionValues
545         and SqlConnectionTest:DatabaseSynonyms. 
546
547 2005-01-27  Sureshkumar T  <tsureshkumar@novell.com>
548
549         * SqlCommand.cs (DeriveParameters): Change parameter name to
550         "procedure_name".
551         * SqlParameter.cs (SqlParameter (object [])) : call default
552         constructor to create Tds.Metaparameter.
553
554         fixes bug #63122.
555
556 2005-01-03  Sureshkumar T  <tsureshkumar@novell.com>
557
558         * SqlCommand.cs: Fixed bug #68973. Reset Tds.RecordsAffected to 0
559         for each execute statement.
560         
561 2004-11-25  Sureshkumar T  <tsureshkumar@novell.com>
562
563         These changes are for 2.0 profile only. These changes implement
564         the generic data base access technique using Provider Factory
565         Implementation. These classes need to be dervided from abstract
566         base classes so that the corresponding factory classes are
567         created when calling CreateCommand, CreateParameter, etc.
568         
569         * SqlClientFactory.cs: Provider Factory class  Implementaion for SqlServer
570         * SqlParameter.cs: Change base classes and override methods.
571         * SqlParameterCollection.cs:  Change base classes and override methods.
572         * SqlTransaction.cs:  Change base classes and override methods.
573         * SqlDataSourceEnumerator.cs: DataSource Enumerator stubs.
574         * SqlDataReader.cs: Change base classes and override methods.
575         * SqlConnection.cs: Change base classes and override methods.
576         * SqlCommandBuilder.cs: Change base classes and override methods.
577         * SqlCommand.cs: Change base classes and override necessary methods.
578
579 2004-10-14 Umadevi S <sumadevi@novell.com>
580         * SqlCommand.cs - Implemented the clone method correctly.
581          (fixed bug 67301)
582
583 2004-10-06 Umadevi S <sumadevi@novell.com>
584         * ISqlNoticationReceiver.cs - changed namespace
585         * Added files SqlNotificationType.cs, SqlNotificationInfo.cs, SqlNotificationSource.cs
586
587 2004-09-24  Umadevi S <sumadevi@novell.com>
588         * SqlTransaction.cs - Dispose will not call rollback incase the transaction is not open.
589
590 2004-09-14  Sebastien Pouliot  <sebastien@ximian.com>
591
592         * SqlClientPermission.cs: Added internal constructor accepting an Sql
593         ClientPermissionAttribute parameter (using base class protected ctor).
594         * SqlClientPermissionAttribute.cs: Copy now use the new SqlClient
595         Permission constructor.
596
597 2004-09-13  Sebastien Pouliot  <sebastien@ximian.com>
598
599         * SqlClientPermission.cs: Mostly completed (needs tests).
600         * SqlClientPermissionAttribute.cs: Completed.
601
602 2004-09-02 Umadevi S <sumadevi@novell.com>
603         * SqlCommand.cs - ExecuteNonQuery to return -1 incase of executing a storedprocedure
604
605 2004-08-16  Gert Driesen <drieseng@users.sourceforge.net>
606
607         * SqlConnection.cs: added TODO on ConnectionString for keywords
608         that are not yet implemented. check value of Integrated Security
609         keyword, check value of bool keywords, improve error reporting
610         for int keywords, added support for the following keyword 
611         synonyms : APP, TIMEOUT, NETWORK, PERSISTSECURITYINFO, WSID,
612         LANGUAGE, USER. Throw NotImplementedException when encrypt keyword
613         is set to true, enlist keyword is set to false or attachdbfilename
614         keyword (or one of its synonyms) is set. Added FIXME for PERSIST
615         SECURITY INFO keyword, throwing a NotImplementedException here
616         would break lots of apps
617
618 2004-08-16  Gert Driesen <drieseng@users.sourceforge.net>
619
620         * SqlConnection.cs - spaces to tabs
621
622 2004-08-12  Sureshkumar T <tsureshkumar@novell.com>
623         * SqlDataReader.cs - In Close method, the remaining resultsets are drained
624                              out, to read output parameters & to avoid stream overlap
625
626 2004-06-30 Umadevi S <sumadevi@novell.com>
627         * SqlCommand.cs : In the Execute Method the commandbehavior parameters were ignored correct
628 these
629
630 2004-06-22  Atsushi Enomoto <atsushi@ximian.com>
631
632         * SqlCommandBuilder.cs : Avoid cast exception caused by DbNull.
633
634 2004-06-18 Umadevi S <sumadevi@novell.com>
635         * SqlCommand.cs - ExecuteNonQuery returns -1 in all cases except
636                 insert,update or delete.
637
638 2004-06-18 Umadevi S <sumadevi@novell.com>
639         * SqlConnection.cs - handled null being passed as a connectionstring
640           - checked for minimal set of parameters in connectionstring.
641           - handled unrecogonized keywords similar to MS.NET
642
643 2004-06-17 Umadevi S <sumadevi@novell.com>
644         * SqlTransaction.cs - fixed  multiple rollbacks being called causes invalidoperationexception
645
646 2004-06-04  Gert Driesen <drieseng@users.sourceforge.net>
647
648         * SqlClientPermission.cs: removed extra CreateInstance
649         method
650
651 2004-06-02  Gert Driesen <drieseng@users.sourceforge.net>
652
653         * SQLDebugging.cs: added missing attributes, marked ctor
654         public to match MS.NET
655
656 2004-05-22  Atsushi Enomoto <atsushi@ximian.com>
657
658         * SqlClientPermission.cs : don't use chained obsolete .ctor.
659
660 2004-05-20  Gert Driesen (drieseng@users.sourceforge.net)
661
662         *  SqlClientPermissionAttribute.cs: change AllowMultiple and
663         Inherited to match .NET
664
665 2004-05-20 Umadevi S <sumadevi@novell.com>
666
667         * Fixed bug 58406- implemented the hasrow method, test program used
668         to test with the bug report                                                        
669
670 2004-05-13  Umadevi S  <sumadevi@novell.com>
671         
672         *  SqlClientPermission.cs, SqlDataReader.cs - added missing methods with TODO tags
673         *  SqlCommand.cs, SqlDataAdapter.cs - implemented ToolboxItemAttribute
674         *  SQLDebugging.cs - Added new file with a TODO tag     
675         
676 2004-04-05  Lluis Sanchez Gual  <lluis@ximian.com>
677
678         * SqlConnection.cs: Use connection pool implemented in Mono.Data.Tds.
679
680 2004-04-01  Lluis Sanchez Gual  <lluis@ximian.com>
681
682         * SqlDataReader.cs: Null values are now represented with DBNull instances.
683           Deal with this.
684
685 2004-03-14  Tim Coleman <tim@timcoleman.com>
686         * SqlCommand.cs SqlConnection.cs:
687                 Changes from two patches by Andres Taylor
688                 <andres@rotselleri.com>
689
690 2004-03-12  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
691
692         * SqlParameter.cs: DO NOT USE the consts scheme if types can be referenced directly!
693
694 2004-01-10  Atsushi Enomoto <atsushi@ximian.com>
695
696         * SqlClientPermission.cs : Fixed NET_2_0 build related to 
697           obsolete attribute problem (see DbDataPermission.cs)
698
699 2003-12-28  Tim Coleman <tim@timcoleman.com>
700         * SqlResultSet.cs:
701                 Stubbed out this class.
702
703 2003-12-23  Tim Coleman <tim@timcoleman.com>
704         * SqlConnection.cs:
705                 Improved connection string parsing.  See
706                 System.Data.Common.DbConnectionString for source.
707
708 2003-12-21  Tim Coleman <tim@timcoleman.com>
709         * SqlConnection.cs:
710                 Enable Integrated Security
711
712 2003-12-19  Tim Coleman <tim@timcoleman.com>
713         * ISqlNotificationReceiver.cs SqlResultSet.cs:
714                 New stubs added
715         * SqlClientPermission.cs:
716                 Fix constructor for 1.2
717
718 2003-12-04  John Luke  <jluke@cfl.rr.com>
719
720         * SqlXmlTextReader.cs: applied patch from Chris Masters <neeeeeep@bigpond.com>
721         fix peek so it checks if it is at the end and also to make sure that if Read()
722         advances the position past the end of the localBuffer array, it makes
723         a call to GetNextBuffer(). fixes bug #40253 System.IndexOutOfRangeException when
724         using SqlCommand.ExecuteXmlReader()
725
726 2003-11-20  Joerg Rosenkranz  <JoergR@voelcker.com>
727
728         * SqlConnection (SetDefaultConnectionParameters):
729         Changed default value of WORKSTATION ID to reflect real
730         host name instead of "localhost".
731
732 2003-11-16 Ben Maurer  <bmaurer@users.sourceforge.net>
733
734         * SqlParameterCollection.cs (Clear): Clear needs to take
735         the parameter out of the collection so that it can be used
736         again.
737         (Remove):
738         (RemoveAt): Ditto.
739
740 2003-10-03  Diego Caravana  <diego@toth.it>
741
742         * SqlCommand.cs: no change.
743
744         * SqlConnection.cs (Close): Added checks for null instance
745         variables.
746
747         * SqlParameter.cs (Direction): Now handles parameters of type
748         ReturnValue and InputOutput.
749
750         * SqlParameterCollection.cs (IndexOf(string)): Search for
751         SqlParameter object in list is done by obtaining ParameterName
752         attribute, not directly through list.IndexOf().
753         
754 2003-08-22  Duncan Mak  <duncan@ximian.com>
755
756         * SqlCommand.cs (ExecuteNonQuery): Return
757         Connection.Tds.RecordsAffected if it is successful.  Patch from
758         Jörg Rosenkranz <joergr@voelcker.com>.
759
760         This is part of a fix to bug #40315.
761
762 2003-08-20  Duncan Mak  <duncan@ximian.com>
763
764         * SqlConnectionPool.cs (ReleaseConnection): A patch from Joerg
765         Rosenkranz <JoergR@voelcker.com>. Currently, if a connection is
766         closed by an external event (network problem, etc.) it is pushed
767         back into the connection pool. The next Open call retrieves this
768         invalid connection which leads to exceptions when executing
769         statements.
770
771         This patch fixes this problem. This closes bug #47429.
772
773 2003-07-04  Miguel de Icaza  <miguel@ximian.com>
774
775         * SqlDataReader.cs: Added extra information to the exceptions
776         thrown by all the GetXXXX methods.
777
778 2003-03-15  Daniel Morgan <danmorg@sc.rr.com>
779
780         * SqlConnection.cs: if Server in the ConnectionString
781         is set to "(local", use "localhost" as the hostname
782         to connect
783
784 2003-03-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
785
786         * SqlException.cs: implemented GetObjectData ().
787
788 2003-02-16  Daniel Morgan <danmorg@sc.rr.com>
789
790         * ChangeLog: added this file
791
792         * SqlConnection.cs: - parse data source for 3 possible uses:
793         "Server=hostname", 
794         "Server=hostname\\instancename", 
795         "Server=hostname,port" and open the connection based on the
796         resulting server name and port.  
797         - Added support for named instances
798         by discovery of the sql server tcp port via the sql monitor (udp port 1434)
799         thanks to Phillip Jerkins (Phillip.Jerkins@morgankeegan.com) contribution.
800         Also, thanks to Gonzalo and Tim for their help with timeouts.
801