* SqlCommandTest.cs: Enabled test for bug #412569.
[mono.git] / mcs / class / System.Data / System.Data.SqlClient / ChangeLog
1 2008-07-28  Gert Driesen  <drieseng@users.sourceforge.net>
2
3         * SqlCommand.cs (ExecuteReader): When behavior includes SingleRow,
4         then only return a single result. Fixes bug #412569.
5
6 2008-07-28  Gert Driesen  <drieseng@users.sourceforge.net>
7
8         * SqlCommand.cs: Fixed order of arguments for ArgumentException in
9         CommandTimeout.
10         * SqlConnection.cs (ChangePassword): Do not allow empty connection
11         string. Updated exception messages.
12
13 2008-07-28  Gert Driesen  <drieseng@users.sourceforge.net>
14
15         * SqlCommand.cs: Fixed param name in ArgumentException for negative
16         CommandTimeout to match MS. On 2.0 profile, throw NRE in Prepare
17         when connection is NULL. In Prepare, return immediately after
18         connection check (2.0 only) for stored procedures, or when no
19         parameters are added. Added check to see if transaction is
20         associated with same connection as the command and updated
21         exception messages.
22
23 2008-07-28  Gert Driesen  <drieseng@users.sourceforge.net>
24
25         * SqlCommand.cs: Added bool argument to ValidateCommand to specify
26         whether an async method is being executed. Minor changes to exception
27         messages to match MS.
28
29 2008-07-28  Gert Driesen  <drieseng@users.sourceforge.net>
30
31         * SqlCommand.cs: Avoid NRE in CloseDataReader when connection is NULL.
32         Fixes bug #412584. Removed unused moreResults eargument from
33         CloseDataReader. Removed behavior argument from Execute, and have it
34         use the behavior field instead. In ValidateCommand, throw
35         InvalidOperationException instead of NRE when Connection is NULL.
36         * SqlDataReader.cs: Sync with SqlCommand's CloseDataReader signature
37         change.
38
39 2008-07-28  Gert Driesen  <drieseng@users.sourceforge.net>
40
41         * SqlCommand.cs: (Transaction): On the 1.0 profile, do not allow
42         Transaction to be set when a reader is open for the current connection. 
43         Fixes bug #412579. 
44
45 2008-07-28  Gert Driesen  <drieseng@users.sourceforge.net>
46
47         * SqlCommand.cs (Connection): Do not throw InvalidOperationException
48         if transaction is in progress. Fixes bug #412576. On 1.0 profile, throw
49         InvalidOperationException when a reader is open for the current
50         connection. Do not set transaction to NULL when changing connection,
51         instead set it to null in Transaction when transaction is no longer
52         open.
53
54 2008-07-28  Gert Driesen  <drieseng@users.sourceforge.net>
55
56         * SqlConnection.cs: Use null as default value for connectionString
57         field. Remove Init method, as initialization is done in
58         SetDefaultConnectionParameters. Initialize parms in
59         SetDefaultConnectionParameters to avoid calling Reset on newly
60         initialized collection. In Dispose (bool), also invoke base.Dispose if
61         SqlConnection was already disposed. Fixes bug #412571. 
62
63 2008-07-28  Gert Driesen  <drieseng@users.sourceforge.net>
64
65         * SqlConnection.cs (ChangeState): Return immediately when new state
66         equals original state. Fixes bug #412574. Removed extra whitespace.
67
68 2008-07-23  Veerapuram Varadhan  <vvaradhan@novell.com>
69
70         * SqlDataReader.cs (NextResult): Memleak fix - mark datatypeNames
71         array to be GCed along with schemaTable.
72         
73 2008-07-23  Veerapuram Varadhan  <vvaradhan@novell.com>
74
75         * SqlDataReader.cs: Do not generate schemaTable unless otherwise
76         asked for; use command.Tds.Columns instead.  Improves performance
77         of the DataReader.
78         
79 2008-07-10  Veerapuram Varadhan  <vvaradhan@novell.com>
80
81         ** Fixes #326182
82         * SqlCommand.cs (GetOutputParameters): Update parameter values iff 
83         parameter direction is InputOutput or Output.
84         
85 2008-07-06  Gert Driesen  <drieseng@users.sourceforge.net>
86
87         * SqlException.cs: Modified HResult/ErrorCode to match MS. Removed
88         unused FromTdsInternalException overload. Removed unnecessary check
89         for Errors.Count. Minor code formatting.
90
91 2008-07-03  Rodrigo Kumpera  <rkumpera@novell.com>
92
93         * SqlConnection.cs: Remove connStringParameters as nobody uses it.
94         
95 2008-07-01  Rodrigo Kumpera  <rkumpera@novell.com>
96
97         * SqlDataReader.cs: Do all column accesses with int indexes.    
98
99 2008-07-01  Rodrigo Kumpera  <rkumpera@novell.com>
100
101         * SqlDataReader.cs (GetSchemaTable): All column index are constants,
102         extract them.
103
104 2008-07-01  Rodrigo Kumpera  <rkumpera@novell.com>
105
106         * SqlDataReader.cs (GetSchemaTable): Calculate column indexes
107         outside of the row loop.
108
109 2008-07-01  Marek Habersack  <mhabersack@novell.com>
110
111         * SqlDataReader.cs: use named properties in TdsDataColumn for the
112         2.0 profile.
113
114 2008-06-30  Zoltan Varga  <vargaz@gmail.com>
115
116         * SqlDataReader.cs: Allocate 'schemaTable' lazily. 
117         (GetSchemaValue): Avoid some hash table lookups
118
119 2008-06-27  Zoltan Varga  <vargaz@gmail.com>
120
121         * SqlDataReader.cs (ConstructSchemaTable): Avoid unneccessary reflection calls.
122
123 2008-06-23  Veerapuram Varadhan  <vvaradhan@novell.com>
124
125         * SqlDependency.cs: New
126         
127 2008-06-12  Veerapuram Varadhan  <vvaradhan@novell.com>
128         
129         Patch by Christian Hergert <christian.hergert@gmail.com>
130         * SqlConnection.cs (Open): Do not reset the connection as it is already 
131         done in the TdsConnectionPool itself.
132         
133 2008-06-12  Marek Habersack  <mhabersack@novell.com>
134
135         * SqlParameterCollection.cs: this [int] must check the range and
136         throw an exception if necessary.
137         
138         * SqlCommand.cs: throw IOEX when stored procedure is not found in
139         DeriveParameters. All procedures in MS SQL will report at least
140         one parameter - the return value.
141
142 2008-06-10  Veerapuram Varadhan  <vvaradhan@novell.com>
143         
144         * SqlConnection.cs: TdsConnectionPool.GetConnectionPool() now returns 
145         IDictionary<TKey, TValue>. 
146         
147 2008-06-09  Ankit Jain  <jankit@novell.com>
148
149         * SqlCommand.cs: Use Tds instead of ITds now.
150         * SqlConnection.cs:  Likewise.
151
152 2008-05-27  Gert Driesen  <drieseng@users.sourceforge.net>
153
154         * SqlConnection.cs: Added support for '.' as alias for localhost.
155         Improve exception message when TCP/IP protocol is not enabled.
156
157 2008-05-17  Gert Driesen  <drieseng@users.sourceforge.net>
158
159         * SqlDataReader.cs (GetInt64): Removed workaround for TDS 7.0 handling
160         of bigint column type as this is handled in Mono.Data.Tds.
161
162 2008-05-14  Marek Habersack  <mhabersack@novell.com>
163
164         * SqlConnection.cs: added support for USER INSTANCE keyword in the
165         connection string.
166
167 2008-04-22  Veerapuram Varadhan  <vvaradhan@novell.com>
168
169         ** Fixes Bug#381151
170         * SqlCommand.cs: Handle exceptions sanely and do not close
171         connection on TdsTimeoutException.
172         
173 2008-04-21  Gert Driesen  <drieseng@users.sourceforge.net>
174
175         * SqlBulkCopyColumnMappingCollection.cs: Changed argument names to
176         match MS. Code formatting.
177         * SqlCommand.cs: Changed argument names to match MS. Code formatting.
178         Do not include explicit IDbCommand implementation on 2.0 profile.
179         * SqlCommandBuilder.cs: Changed argument names to match MS. Code
180         formatting.
181         * SqlDataReader.cs: Changed argument names to match MS. Code
182         formatting.
183         * SqlParameterCollection.cs: Do not include IList, ICollection and
184         IDataParameterCollection explicit interface implementation on 2.0
185         profile. Code formatting.
186         * SqlConnection.cs: Changed argument names to match MS.
187         * SqlDataAdapter.cs: Changed argument names to match MS.
188         * SqlTransaction.cs: Do not include explicit interface implementation
189         of IDbTransaction.Connection on 2.0 profile. Code formatting.
190
191 2008-04-19  Robert Jordan  <robertj@gmx.net>
192
193         * SqlParameterCollection.cs (AddRange(SqlParameter[])):
194         Fix endless recursion.
195
196 2008-04-08  Marek Habersack  <mhabersack@novell.com>
197
198         * SqlConnection.cs: TCP port discovery via UDP port 1434 should
199         honor the timeout specified in the connection string (or the
200         default one). In some environments 100 microseconds might not be
201         enough to discover the port.
202
203 2008-04-01  Marek Habersack  <mhabersack@novell.com>
204
205         * SqlParameter.cs: ConvertToFrameworkType must handle empty
206         strings gracefully - a DBNull.Value must be returned in this
207         case.
208
209         * SqlCommand.cs: DeriveParameters should split the stored
210         procedure name into the schema name and procedure name before
211         querying its parameters.
212
213 2008-03-03  Ankit Jain  <jankit@novell.com>
214
215         * SqlClientMetaDataCollectionNames.cs: Set the field values.
216
217 2007-10-21  Gert Driesen  <drieseng@users.sourceforge.net>
218
219         * SqlCommand.cs: Use ExceptionHelper.CheckEnumValue for enum checks.
220
221 2007-10-20  Gert Driesen  <drieseng@users.sourceforge.net>
222
223         * SqlCommand.cs: Added constant for default CommandTimeout, instead
224         of using a magic number. Avoid unnecessary initialization. Fixed
225         default value for DesignTimeVisible. Return zero-length string if
226         CommandText is null. Use ExceptionHelper.InvalidEnumValueException
227         to avoid code duplication. Spaces to tabs and code formatting.
228         * SqlConnection.cs: Use different default package size on 2.0 profile.
229         Added constants for default values, instead of using magic numbers.
230         Avoid unnecessary initialization. In PacketSize, return default or
231         configured packet size when connection is not open. Use
232         ExceptionHelper.ConnectionClosed instead of local method. Removed
233         use of some hardcoded values in SetDefaultConnectionParameters, and
234         use Environment.MachineName as default WorkstationId instead of
235         DNS host name. Code formatting.
236         * SqlDataAdapter.cs: In default ctor, set SelectCommand to null.
237         Avoid unnecessary initializations. Use direct assignment in
238         IDbDataAdapter implementation. Fixed exception message for negative
239         UpdateBatchSize. In Dispose override, make sure to invoke base
240         method.
241
242 2007-10-19  Gert Driesen  <drieseng@users.sourceforge.net>
243
244         * SqlTransaction.cs: Clear connection in commit. In IsolationLevel,
245         throw IOE if transaction is no longer open.
246
247 2007-10-19  Gert Driesen  <drieseng@users.sourceforge.net>
248
249         * SqlTransaction.cs: Avoid unnecessary initialization. Remove 
250         isRolledBack since its essentially the same as isOpen. Use
251         ExceptionHelper.TransactionNotUsable instead of duplicating code.
252         On 2.0 profile, ignore call to Rollback when transaction was already
253         disposed.
254
255 2007-10-18  Gert Driesen  <drieseng@users.sourceforge.net>
256
257         * SqlConnection.cs: Avoid unnecessary initialization. Use string.Empty
258         for assigning zero-length string, and use String.Length to check for
259         zero-length string. Added support for IsolationLevel.Snapshot.
260         Added StructuredTypeMembers schema collection and restrictions. Fixed
261         table name for MetaDataCollections collection. Implemented
262         DataSourceInformation collection. Added missing data types (probably
263         introduced in 2.0 SP1). In GetSchema, throw InvalidOperationException
264         if connection is closed and throw NotImplementedException for
265         StructuredTypeMembers collection.
266
267 2007-10-18  Gert Driesen  <drieseng@users.sourceforge.net>
268
269         * SqlConnection.cs: On 1.0 profile, IsolationLevel.Unspecified is
270         not valid. On 2.0 profile, when IsolationLevel.Unspecified is passed
271         make sure to also set SqlTransaction.IsolationLevel to
272         ReadCommitted. Modified exceptions to match MS.
273
274 2007-10-17  Nagappan <anagappan@novell.com> 
275
276         * SqlParameter.cs (ConvertToFrameworkType): Added SqlDbType.Image.
277
278 2007-10-17  Nagappan <anagappan@novell.com> 
279
280         * SqlConnection.cs: BeginTransaction does not handle
281           IsolationLevel.Unspecified, so the default is set as ReadCommited.
282           Thanks to Jerome Haltom <wasabi@larvalstage.net> for this patch. Fixes
283           bug # 333082.
284         * SqlTransaction.cs: If transaction count is greater then 0 then roll back.
285           Thanks to Jerome Haltom <wasabi@larvalstage.net> for this patch. Fixes
286           bug # 331953.
287
288 2007-10-15  Gert Driesen  <drieseng@users.sourceforge.net>
289
290         * SqlException.cs: Do not hide Message on 2.0 profile. Fixes bug
291         #333901.
292
293 2007-10-08  Marek Safar <marek.safar@gmail.com> 
294
295         * SqlParameterCollection.cs (SetParameter): Fixed missing cast.
296         
297 2007-09-27  Nagappan A <anagappan@novell.com> 
298
299         * SqlConnection.cs: Added MonoTODO appropriately.
300
301 2007-09-26  Nagappan A <anagappan@novell.com> 
302
303         * SqlCommandBuilder.cs: Code alignment.
304
305 2007-09-25  Nagappan A  <anagappan@novell.com>
306
307         * SqlInitialCatalogConverter.cs, SqlDataSourceConverter.cs:
308         NetworkLibraryConverter.cs: Added new files.
309
310         * SqlParameter.cs: 2.0 attribute changes.
311
312         * SqlDataAdapter.cs: 2.0 attribute changes.
313
314         * SqlConnectionStringBuilder.cs: 2.0 attribute changes.
315
316         * SqlConnection.cs (ClearAllPools, ClearPool): Implemented 2.0
317         APIs, other 2.0 attribute changes.
318
319         * SqlCommandBuilder.cs (GetSchemaTable, InitializeCommand):
320         Implemented 2.0 APIs, other 2.0 attribute changes.
321
322         * SqlBulkCopyColumnMappingCollection.cs: Added constructor, 2.0
323         API compatibility changes.
324
325         * SqlException.cs: 2.0 attribute changes.
326
327 2007-08-13  Nagappan A  <anagappan@novell.com>
328
329         * SqlConnection.cs (ConnectionString): 2.0 compatibility changes.
330
331         * SqlDataReader.cs (IsCommandBehavior): Fixed spelling mistake of
332         the method name.
333         (Dispose): 2.0 compatibility changes.
334
335         * SqlBulkCopy.cs (SqlRowsCopied): Fixed spelling mistake of the
336         event name.
337         (RowsCopied): Generates event when NotifyAfter is set.
338
339         * SqlCommandBuilder.cs (Dispose, RefreshSchema): 2.0 compatibility
340         changes.
341
342         * SqlClientFactory.cs (CreateDataSourceEnumerator): Removed bogus
343         TODO.
344
345         * SqlException.cs (Message): 2.0 compatibility changes.
346
347 2007-08-06  Nagappan A  <anagappan@novell.com>
348
349         * SqlCommand.cs, SqlDataReader.cs, SqlConnection.cs: When the
350         server resets the connection, now the client code also disconnects
351         the session and remove the instance from pool. Fixes bug # 81933.
352
353 2007-07-31  Nagappan A  <anagappan@novell.com>
354
355         * SqlCommand.cs (Transaction, Connection): IDbCommand Transaction
356         and Connection can be set to null. Fixes bug 82189.
357
358 2007-07-23  Nagappan A  <anagappan@novell.com>
359
360         * SqlCommandBuilder.cs (ApplyParameterInfo, GetParameterName):
361         (GetParameterPlaceholder): Implemented 2.0 missing APIs.
362
363 2007-07-22  Nagappan A  <anagappan@novell.com>
364
365         * SqlBulkCopy.cs (NotifyAfter): Implemented 2.0 property.
366         (GetColumnMetaData, GenerateColumnMetaData):
367         (ValidateColumnMapping): Implemented private method's to generate
368         and validate SqlBulkCopy headers.
369         (BulkCopyToServer): Private method to actually do the bulk copy
370         processing.
371         (WriteToServer): Implemented 2.0 missing overloaded methods.
372         (IDisposable.Dispose): Implemented 2.0 missing method.
373
374         * SqlBulkCopyColumnMappingCollection.cs (Add, CopyTo): Implemented
375         missing API.
376         (Item): Implemented missing property.
377
378         * SqlBulkCopyColumnMapping.cs: Modified the implementation of
379         Constructors to use property.
380
381         * SqlDataReader.cs (GetSqlXml, IsCommandBehaviour): Added 2.0
382         missing method.
383         (Connection): Added missing property.
384
385         * SqlParameter.cs (SetSqlDbType, ConvertToFrameworkType): Modified
386         method as internal from private.
387
388         * SqlConnection.cs: Fixed 2.0 missing feature.
389
390         * SqlException.cs: Fixed 2.0 missing feature.
391
392         * SqlClientPermission.cs: Fixed 2.0 missing feature.
393
394 2007-07-01  Gert Driesen  <drieseng@users.sourceforge.net>
395
396         * ISqlNotificationReceiver.cs: Removed.
397         * SqlClientFactory.cs: Use SqlDataSourceEnumerator from S.D.Sql and
398         marked method todo. Avoid unnessary casts. Code formatting.
399         * SqlCommand.cs: Explicit interface implementation of IDbCommand not
400         necessary on 2.0 profile. Fixes API mismatches. Avoid unnecessary
401         casts. Code formatting.
402         * SqlConnection.cs: Also use RecommendAsConfigurable instead of
403         SettingBindableAttribute on 2.0. Use StateChange event from base class
404         on 2.0. Only explicitly implement IDbConnection methods on 1.0, since
405         these are implemented by base class on 2.0 profile. Removed extra
406         explicit implementation of IDisposable since the base class implements
407         this. Code formatting.
408         * SqlDataAdapter.cs: Dispose (bool) override not necessary on 2.0
409         profile. Stubbed ICloneable.Clone. Fixes API mismatches.
410         * SqlDataReader.cs: On 2.0, IDisposable.Dispose is implemented by
411         DbDataReader. Only 1.0 profile, explicitly implemented IEnumerable
412         GetEnumerator. Code formatting.
413         * SqlDataSourceEnumerator.cs: Removed.
414         * SQLDebugging.cs: Marked sealed on 2.0. Code formatting.
415         * SqlNotificationAuthType.cs: Removed.
416         * SqlNotificationInfo.cs: Added missing fields. Code formatting.
417         * SqlNotificationSource.cs: Added missing fields. Code formatting.
418         * SqlNotificationTransports.cs: Removed.
419         * SqlNotificationType.cs: Added missing Unknown field. Code formatting.
420         * SqlParameter.cs: Removed Browsable and EditorBrowsable attributes
421         from Precision and Scale. Fixes API mismatches. Code formatting fixes.
422         * SqlTransaction.cs: On 2.0 profile, Dispose method is exposed by
423         base class. Fixes API mismatches. Code formatting fixes.
424
425 2007-06-21  Nagappan A  <anagappan@novell.com>
426
427         * SqlConnection.cs: Fixed compiler warning.
428
429 2007-06-11  Nagappan A  <anagappan@novell.com>
430
431         * SqlConnection.cs (ParseDataSource): Adds tcp support in
432         connection string. Fixes bug # 80975.
433
434         * SqlCommand.cs (Dispose): On disposing the command object, don't
435         dispose connection and transaction.
436
437 2007-06-06  Nagappan A  <anagappan@novell.com>
438
439         * SqlCommand.cs, SqlConnectionStringBuilder.cs, SqlConnection.cs:
440         Fixed 1.0 and 2.0 extras, errors as stated in class status page.
441
442         * SqlDataAdapter.cs, SqlParameter.cs:Fixed 1.0 and 2.0 extras,
443         errors as stated in class status page.
444
445         * SqlBulkCopyColumnMappingCollection.cs: Fixed 1.0 and 2.0 extras,
446         errors as stated in class status page.
447
448 2007-05-30  Nagappan A  <anagappan@novell.com>
449
450         * SqlParameter.cs (SqlParameter): Updated constructor to use the
451         new TDS RPC implementation.
452         Fixed missing attributes.
453         (SetDbType): Added new case for sql_variant type.
454         (ConvertToFrameworkType): Implemented new private method to
455         convert the data type to framework type.
456
457         * SqlParameterCollection.cs: Fixed missing attributes and
458         implemented missing methods.
459
460         * SqlConnection.cs: Fixed missing attributes.
461
462         * SqlConnectionStringBuilder.cs: Certain attributes are missing or
463         its value or they are not appropriate. Fixed them.
464
465         * SqlDataReader.cs (GetData): Method is available only under 1.0
466         profile.
467         
468         * SqlCommandBuilder.cs: Certain attributes are available only
469         under 2.0 profile, so moved them inside ifdef.
470
471         * SqlCommand.cs: Certain attributes are available only under 2.0
472         profile, so moved them inside ifdef.
473
474         * SqlBulkCopy.cs: Added new stubs.
475
476         * SqlBulkCopyColumnMappingCollection.cs: Added new stubs.
477
478 2007-05-29  Nagappan A  <anagappan@novell.com>
479
480         * SqlCommand.cs (Dispose): Command.Dispose closing
481         connection. Fixes bug # 81710. Thanks to AMC <amc1999@gmail.com>
482         for the fix.
483
484 2007-05-10  Nagappan A  <anagappan@novell.com>
485
486         * SqlClientMetaDataCollectionNames.cs: Fixed incorrect constructor
487         type.
488
489         * SqlConnectionStringBuilder.cs: Fixed missing attributes.
490
491 2007-05-09 Igor Zelmanovich <igorz@mainsoft.com>
492
493         * SqlConnectionStringBuilder.cs: added MonoNotSupported attribute.
494
495 2007-04-03  Amit Biswas  <amit@amitbiswas.com>
496
497         * SqlDataReader.cs (GetSqlBytes, GetProviderSpecificFieldType)
498         (GetProviderSpecificValue, GetProviderSpecificValues): Implemented
499         missing API.
500
501         * SqlParameter.cs (XmlSchemaCollectionDatabase): Implemented missing property
502         (XmlSchemaCollectionName): Implemented missing property
503         (XmlSchemaCollectionOwningSchema): Implemented missing property
504         (SourceColumnNullMapping): Existing implementation was not correct, Replaced the implementation
505         (.ctor): Implemented mising constructor new in .net 2.0
506
507         * SqlErrorCollection.cs (CopyTo): Implemented missing API
508
509         * SqlParameter.cs (InferSqlType): Corrected bug related to default values of
510         SqlDbType and DbType
511         (ResetSqlDbType): Implemented missing API
512         (ResetDbType): Implemented missing API  
513
514 2007-03-09  Amit Biswas  <amit@amitbiswas.com>
515
516         * SqlParameterCollection.cs (CopyTo): Implemented missing API
517
518 2007-04-02  Nagappan A  <anagappan@novell.com>
519
520         * SqlParameter.cs: Variable name fix.
521
522 2007-03-20  Nidhi Rawal  <rawalnidhi_rawal@yahoo.com>
523
524         * SqlClientFactory.cs: Added two using directives.
525         (CreateConnectionStringBuilder): Implemented the method.
526         (CreatePermission): Implemented the property.
527         
528         * SqlCommand.cs: Added one using directive.
529         (Clone): Implemented the method.
530         (Dispose): Implemented the method.
531         (BeginExecuteXmlReader): Implemented the method.
532         
533         * SqlCommandBuilder.cs (QuoteIdentifier): Implemented the method.
534         (UnquoteIdentifier): Implemented the method.
535         
536         * SqlConnection.cs (ChangePassword): Implemented the method.
537
538 2007-03-19  Nidhi Rawal  <rawalnidhi_rawal@yahoo.com>
539
540         * SqlClientFactory.cs (CanCreateDataSourceEnumerator): Implemented
541         the property.
542
543         * SqlCommand.cs (Notification): Implemented the property.
544         (NotificationAutoEnlist): Implemented the property.
545
546         * SqlDataReader.cs (VisibleFieldCount): Implemented the property.
547
548         * SqlConnectionStringBuilder.cs (TrustServerCertificate): Implemented
549         the property.
550         (TypeSystemVersion): Implemented the property.
551         (UserInstance): Implemented the property.
552         (ContextConnection): Implemented the property.
553
554         * SqlConnection.cs (FireInfoMessageEventOnUserErrors): Implemented
555         the property.
556         (StatisticsEnabled): Implemented the property.
557         
558         * SqlDataAdapter.cs (UpdateBatchSize): Implemented the property.
559
560         * SqlParameter.cs: Implemented one attribute.
561
562 2007-03-16  Andreia Gaita  <avidigal@novell.com>
563         
564         * SqlParameter.cs: Move isVariableSizeType flag to TdsMetaParameter
565         so that the TdsMetaParameter can validate itself for valid size / values.
566         * SqlCommand.cs (Execute): Call Validate on TdsMetaParameter.
567
568 2007-03-14  Nagappan A  <anagappan@novell.com>
569
570         * SqlCommand.cs (CommandType): Exception type thrown in 2.0
571         profile is different than 1.0, ArgumentOutOfRangeException.
572         (Connection): Exception type thrown in 2.0 profile is different
573         than 1.0, ArgumentOutOfRangeException.
574         (Execute): If Size property is 0 for String and Binary type, then
575         throw InvalidOperationException.
576         (ValidateCommand): Exception type thrown in 2.0 profile is
577         different than 1.0, NullReferenceException.
578
579 2007-03-09  Nagappan A  <anagappan@novell.com>
580
581         * SqlDataReader.cs: Fixed syntax erros reported in class status
582         page.
583
584 2007-03-09  Andreia Gaita  <avidigal@novell.com>
585
586         * SqlCommand.cs (ExecuteScalar): Fix returned value for 
587         stored procedure calls to return the first column of the
588         first row produced by the proc.
589
590 2007-03-08  Nagappan A  <anagappan@novell.com>
591
592         * SqlCommand.cs (CloseDataReader): Checks whether the SQL
593         connection is created or not.
594
595 2007-03-07  Andreia Gaita <avidigal@novell.com>
596
597         * SqlCommand.cs (ExecuteScalar): when calling stored procedures,
598         implement support for return of output values in the parameter
599         collection.
600
601 2007-02-16  Nidhi Rawal  <rawalnidhi_rawal@yahoo.com>
602
603         * SqlParameter.cs (CompareInfo): Implemented the property
604         CompareInfo.
605         (LocaleId): Written the property LocaleId.
606         (SqlValue): Written the propert SqlValue.
607
608 2007-02-15  Nidhi Rawal  <rawalnidhi_rawal@yahoo.com>
609
610         * SqlCommand.cs: Added some attributes which were not implemented
611         for .NET 2.0 and removed extra attribute which are not there in
612         .NET 2.0.
613
614         * SqlCommandBuilder.cs: Added some attributes that were not 
615         implemented for .NET 2.0.
616
617         * SqlParameterCollection.cs: Added some attributes that were 
618         not implemented for .NET 2.0.
619
620         * SqlConnectionStringBuilder.cs: Added some attributes that
621          were not implemented for .NET 2.0.
622         
623         * SqlConnection.cs: Added attribute that was not implemented
624         for .NET 2.0.
625
626         * SqlParameter.cs: Added some attributes which were not
627         implemented for .NET 2.0 and removed some extra attributes which
628         are not there in .NET 2.0
629
630 2007-02-09  Nagappan A  <anagappan@novell.com>
631
632         * SqlConnection.cs (SetConnectionString): Fixes bug # 80712. A
633         small typo.
634
635 2007-01-08  Nagappan A  <anagappan@novell.com>
636
637         * SqlTransaction.cs (Dispose): Fixed compliation warning.
638
639         * SqlDataReader.cs (GetValues): Length of elements to be copied was
640         decided based on the argument array passed, which caused a bug, if
641         the length of given array is more than actual column values.
642
643         * SqlCommandBuilder.cs (CatalogSeparator, SchemaSeparator)
644         (CatalogLocation): Implemented missing properties.
645         (CreateDeleteCommand, CreateInsertCommand, CreateUpdateCommand):
646         Modified private methods to take bool flag. If true, add actual
647         parameter name instead of p1, p2 etc.
648         (CreateParameter): Added overloaded private method to create
649         parameter with the actual column name.
650         (GetUpdateCommand, GetDeleteCommand, GetInsertCommand):
651         Implemented missing overloaded methods.
652         (SetRowUpdatingHandler): Implemented missing protected method.
653
654         * SqlCommand.cs: Fixed compilation warning. Removed bogus
655         MonoTODO's.
656
657 2006-12-05  Nagappan A  <anagappan@novell.com>
658
659         * SqlCommand.cs (Execute): If sql2 length is greater than 0, then
660         add ';' and the respective sql2 string and then execute the
661         string. Fixes bug # 79880.
662
663 2006-08-30  Nagappan A  <anagappan@novell.com>
664
665         * SqlConnection.cs: Implemented SqlConnection.GetSchema ().
666
667 2006-09-08  Konstantin Triger <kostat@mainsoft.com>
668
669         * SqlClientFactory.cs: implemented SqlClientFactory.CreateConnection ().
670
671 2006-07-13  Senganal T  <tsenganal@novell.com>
672
673         * SqlClientFactory.cs SqlCommand.cs SqlConnectionFactory.cs 
674         SqlClientPermission.cs SqlParameterCollection.cs SqlDataReader.cs 
675         SqlConnection.cs SqlParameter.cs SqlTransaction.cs :
676                 2.0 Api fixes
677
678 2006-05-31  Gert Driesen  <drieseng@users.sourceforge.net>
679
680         * SqlConnection.cs: Removed extra destructor, as destructor on 
681         System.ComponentModel.Component already calls Dispose.
682         * SqlParameter.cs: Removed explicit interface implementation of
683         IDataParameter.ParameterName.
684
685 2006-05-26  Senganal T  <tsenganal@novell.com>
686
687         * SqlParameter.cs :
688                 - InferSqlType : if value is null or DBNull.Value, retain the
689                 current parameter type.
690
691 2006-04-18  Senganal T  <tsenganal@novell.com>
692
693         * SqlConnection.cs :
694                 - SetConnectionString : set the pareameter to default values
695                 if connection string is empty or null
696                 - Open : Raise InvalidOperationException if Connection String
697                 is empty or null
698                 - Dispose : Test exception not raised if dispose called on a
699                 connection with empty connection string
700
701         slight modification of the patch by Jonel Rienton
702
703 2006-04-07  Senganal T  <tsenganal@novell.com>
704
705         * SqlCommandBuilder.cs :
706                 * CreateDeleteCommand () 
707                 * CreateUpdateCommand () 
708                 * CreateInsertCommand () 
709                         - Changed the signature. Do not need DataRow parameter 
710                         as the Query generated is parametric.
711                         - Correct the null-check term in the WhereClause, set the
712                         correct properties for null-check parameter
713                         fixes #78027
714                         - Modified the generated query to match the query as
715                         generated by 2.0. We now ignore null-check in the
716                         whereclause if the Column does not allow nulls.
717                 * ctor () : Set QuotePrefix and QuoteSuffix for 2.0 profile
718                 * GetUpdateCommand ()
719                 * GetInsertCommand ()
720                 * GetDeleteCommand ()
721                         - Do not create new command everytime. Create only if
722                         not already created.
723                 * RefreshSchema : Reset the commands.
724
725 2006-02-17  Chris Toshok  <toshok@ximian.com>
726
727         * SqlCommand.cs, SqlCommandBuilder.cs, SqlConnection.cs,
728         SqlDataAdapter.cs: remove DataSysDescription attributes for >= 2.0
729
730 2006-02-17  Chris Toshok  <toshok@ximian.com>
731
732         * SqlDataReader.cs: remove VisibleFieldCount property.
733
734 2006-02-10  Senganal T  <tsenganal@novell.com>
735         * SqlDataReader.cs :
736                 - GetBytes : Read binary/blob/clob data sequentially when
737                 CommandBehavior is set to SequentialAcccess
738                 - GetChars : Read String/clob data sequentially when CommandBehavior
739                 is set to SequentialAccess
740         * SqlCommand.cs :
741                 - ExecuteReader : set SequentialAccess property on TDS
742                 - CloseDataReader : Reset the command behavior
743
744 2006-01-27  Senganal T  <tsenganal@novell.com>
745
746         * SqlCommandBuilder.cs :
747                 - Modified  CreateUpdateCommand,CreateDeleteCommand , to not include
748                 column name in the query if its a expression col.
749                 Also, modified the queries to match the generated queries in ms.net
750         * SqlCommand.cs :
751                 - Modifed Prepare, to check if Parameter is explicitly initialized
752         * SqlParameter.cs :
753                 - Added CheckIfInitialized : Checks if datatype is explicitly set and
754                 non-zero size is set for variable datatypes.
755         * SqlDataReader.cs :
756                 - Added code for GetSqlBinary ()
757                 - Fixed GetFieldCount ()
758                 - Added more checks and exceptions. 
759
760 2006-01-17  Senganal T  <tsenganal@novell.com>
761
762         * SqlCommandBuilder.cs
763                 - Modified CreateNewCommand () : Clean up any existing parameter list
764                 before reusing the command.Fixes #77225
765
766 2005-11-24  Senganal T  <tsenganal@novell.com>
767
768         * SqlConnection.cs 
769                 - Modifications to get the correct Packet Size
770
771 2005-11-21  Senganal T  <tsenganal@novell.com>
772
773         * SqlClientFactory.cs
774         * SqlCommandBuilder.cs
775         * SqlParameterCollection.cs
776         * SqlDataReader.cs
777         * SqlDataAdapter.cs
778         * SqlParameter.cs
779         * SqlTransaction.cs
780
781         Added stubs and other changes for ADO.NET 2.0 compatibility
782         
783 2005-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
784
785         * SqlConnection.cs: don't throw NotImplementedException when using
786         'PERSIST SECUTIRY INFO'. Just do nothing.
787
788 2005-10-27  Senganal T  <tsenganal@novell.com>
789
790         * SqlCommand.cs 
791         * SqlDataReader.cs 
792         
793         Made changes so that the number of rows affected can be got directly from 
794         Tds regardsless of the type of query.Fixes bug #75698
795
796 2005-10-19  Senganal T  <tsenganal@novell.com>
797
798         * SqlConnection.cs (SetProperties) :
799                 - Added support for AttachDBFileName
800
801 2005-10-19  Senganal T  <tsenganal@novell.com>
802         
803         * SqlException.cs (Constructor)
804                 - Modified the constructor, so that the message parameter
805                 of base class is not the same as that of the Exception message.
806                 fixes bug #76468
807                 
808 2005-09-24  Sureshkumar T  <tsureshkumar@novell.com>
809
810         * SqlParameterCollection.cs (AddWithValue): added method. patch
811         from awaddell@fnfr.com (Andy Waddell).
812
813 2005-09-21 Senganal T <tsenganal@novell.com>
814
815
816         * SqlConnection.cs : 
817                 - Set the correct Default Values for Parameters.
818                 - Added Argument Checks (where missing) for the Properties and 
819                 throw the correct exception on error.
820                 - Modified SetDefaultParameters() to make sure that the parameters
821                 are all reset to default values everytime it is called.
822                 - Modified SetProperties() to take into account the order of the 
823                 keywords in the ConnectionString.
824
825         SqlConnection Fixes for the failing sqlserver connected-mode testcases 
826         in ProviderTest/System.Data.SqlClient/SqlConnectionTest.cs
827
828 2005-09-21 Senganal T <tsenganal@novell.com>
829
830         * SqlTransaction.cs : Modifed the Rollback() method, so that
831         connection can be used for another transaction after the previous
832         transaction is rolled back. fixes bug 75904
833
834 2005-09-02 Umadevi S <sumadevi@novell.com>
835         
836         * Removed SqlResultSet.cs file
837
838 2005-08-26  Sureshkumar T  <tsureshkumar@novell.com>
839
840         * SqlConnection.cs (Open): enable sp_reset_connection.
841
842 2005-08-25  Sureshkumar T  <tsureshkumar@novell.com>
843
844         * SqlCommandBuilder.cs: BuildInformation (): continue on columns
845         who don't have basetablename.
846
847 2005-08-12  Daniel Morgan <danielmorgan@verizon.net>
848
849         * SqlCommandBuilder.cs: update command builder based on
850         OdbcCommandBuilder latest changes to fix regression 
851         of bug 75552
852         
853 2005-08-05  Sureshkumar T  <tsureshkumar@novell.com>
854
855         * SqlCommandBuilder.cs: Set SourceVersion property to the created
856         parameters as it is used by the Adapter's Update method.
857
858 2005-07-22  Sureshkumar T  <tsureshkumar@novell.com>
859
860         * SqlCommandBuilder.cs, SqlParameterCollection.cs,
861         SqlConnection.cs, SqlParameter.cs:
862         - updated attributes & attribute descriptions to match with
863         masterinfos.
864
865 2005-07-16  Daniel Morgan <danielmorgan@verizon.net>
866
867         * SqlCommandBuilder.cs: CreateUpdateCommand should get the current value, not
868         the orginal value when setting one of the SET variables
869
870 2005-07-15  Sureshkumar T  <tsureshkumar@novell.com>
871
872         * SqlCommandBuilder.cs:
873         - set_DataAdapter: unsubscribe event if DataAdapter is reset.
874         - CreateInsertCommand, CreateUpdateCommand, CreateDeleteCommand:
875         if column mapping is missing, use the source column name. use
876         proper version to get the data. 
877         - RowUpdatingHandler: set status to continue to actually process
878         the query.
879
880 2005-07-04  Ben Maurer  <bmaurer@ximian.com>
881
882         * SqlError.cs: Patch from dezelin@gmail.com to fix serialization.
883
884 2005-06-29  Sureshkumar T  <tsureshkumar@novell.com>
885
886         * SqlConnection.cs: Open (): catch TdsInternalException and throw
887         SqlException.
888         * SqlException.cs: code re-organised to pass message as well with
889         the exception.
890
891 2005-06-23  Sureshkumar T  <tsureshkumar@novell.com>
892
893         * SqlConnectionStringBuilder.cs: simplified multiple keyword
894         mappings and allowed-key checking. fixed Item, Remove,
895         ContainsKey, ShoudSerialize, TryGetValue implementations.
896
897 2005-06-21  Sureshkumar T  <tsureshkumar@novell.com>
898
899         * SqlConnectionStringBuilder.cs: Connection String Builder class
900         for SqlClient Data Provider.
901
902 2005-06-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
903
904         * SqlParameter.cs: moved the 'using S.D.SqlTypes' out of NET_2_0. Fixes
905         the build.
906
907 2005-06-01  Sureshkumar T  <tsureshkumar@novell.com>
908
909         * SqlParameter.cs: Parameter's value can be SqlTypes. Convert to
910         framework type to pass to TDS layer. Fixes bug #75044.
911
912 2005-05-24 Umadevi S <sumadevi@novell.com>
913         * fixed some 2.0 and 1.0 specific fields/attributes for various classes.
914         * Added SqlClientMetaDataCollectionNames.cs, Implemented some 2.0
915         properties for SqlParameterCollection for the bulkcopy feature.
916         
917
918 2005-05-20 Kornél Pál <http://www.kornelpal.hu/>
919         
920         * Fixed Bug #53169 - SqlDataReader incorrectly returns bigint as decimal
921                 Note: The fix works around the limitations of TDS 7.0 to avoid this
922                 difference between Mono and .NET Framework TDS 8.0 should be used instead.
923
924 2005-05-20 Umadevi S <sumadevi@novell.com>
925         
926         * Fixed Bug 74948 - SqlParameter also takes DBNull Value.
927                 Correct some attributes stuff of 1.1 and 2.0 for SqlParameter.cs
928
929 2005-05-20 Umadevi S <sumadevi@novell.com>
930
931         * Continuing on implementation for bulkcopy and notification
932                 Added files SqlNotificationEventArgs.cs, OnChangeEventHandler.cs
933                 Modified SqlRowUpdatingEventArgs.cs
934
935 2005-05-19 Umadevi S <sumadevi@novell.com>
936         
937         * For implementation of bulkcopy and notifications added files
938                 SqlBulkCopyOptions.cs,SqlBulkCopyColumnMapping.cs,SqlNotificationAuthType.cs
939                 SqlNotificationTransports.cs,SqlRowsCopiedEventArgs.cs, SqlRowsCopiedEventHandler.cs
940
941 2005-05-19  Umadevi S <sumadevi@novell.com>
942
943         *  Corrected types,enum values of SqlNotificationType,SqlNotificationSource,
944                 SqlNotificationInfo and added new method in SqlRowUpdatingEventArgs.cs
945         (For implementation of bulkcopy/notifications)
946
947 2005-04-19  Sureshkumar T  <tsureshkumar@novell.com>
948
949         * SqlDataReader.cs: NextResult (): Re-create schema table for each
950         result set. don't re-use, as it may be referenced from somewhere.
951
952 2005-04-07  Sureshkumar T  <tsureshkumar@novell.com>
953             Ankit Jain     <radical@corewars.org>
954
955         * SqlConnection.cs: Implemented additional connection string
956         property "Asynchronous Processing".
957
958         * SqlCommand.cs: Implemented Asynchronous command execution API.
959
960         * SqlAsyncState.cs: A internal state object for asynchronous
961         operations.
962
963         * SqlAsyncResult.cs: Added. Class to hold result for asynchronous
964         queries.
965
966 2005-03-28  Sureshkumar T  <tsureshkumar@novell.com>
967
968         * SqlCommand.cs: Execute: Add a semicolon at the end of
969         CommandText. Multiple semicolon's are not being complained.
970
971         fixes bug #74134.
972
973 2005-03-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
974
975         * SqlConnection.cs: added a finalizer for correct implementation of the
976         IDisposable pattern.
977
978 2005-03-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
979
980         * SqlException.cs: make it serialization-compatible with MS. Patch by
981         Aleksandar Dezelin. Closes bug #73596.
982
983 2005-03-08  Sureshkumar T  <tsureshkumar@novell.com>
984
985         * SqlDataReader.cs: Call base constructor with CommandBehavior
986         parameter instead of passing DbCommand object. The internal base
987         class with DbCommand Parameter is removed.
988
989 2005-03-07  Sureshkumar T  <tsureshkumar@novell.com>
990
991         * SqlCommand.cs : Set CommandBehavior on
992         ExecuteReader,ExecuteScalar,ExecuteNonQuery. This is used in
993         CloseDataReader.
994
995         This fixes bug #73252.
996
997 2005-03-03  Sureshkumar T  <tsureshkumar@novell.com>
998
999         * SqlClientFactory.cs: While creating command, create using
1000         DbConnectionFactory as DbConnectionBase.CreateDbCommand needs to
1001         have a connection factory.
1002
1003         * SqlConnection.cs: Added an internal constructor which takes
1004         DbConnectionFactory.
1005
1006         * SqlConnectionFactory.cs: Added. Concrete class for abstract
1007         factory DbConnectionFactory.
1008
1009 2005-02-22  Sureshkumar T  <tsureshkumar@novell.com>
1010
1011         * SqlDataReader.cs: GetBytes: return the length of the data if
1012         output buffer is null. if not, copy the values to buffer and
1013         return the bytes actually read.
1014
1015 2005-02-02  Sureshkumar T  <tsureshkumar@novell.com>
1016
1017         * SqlConnection.cs: 
1018         - Database: return db name from database if connection open,
1019         otherwise take from connection string.
1020         - Set default values for parameters in the constructor itself.
1021         - Dangling else problem with Close method.
1022         - reset values of parms (TdsConnectionParameters) rather setting
1023         to null.
1024         - set disposed to false in Open method
1025         - finally call base.Dispose in Dispose (bool)
1026
1027         Fixes nunit regressions SqlConnectionTest:DefaultConnectionValues
1028         and SqlConnectionTest:DatabaseSynonyms. 
1029
1030 2005-01-27  Sureshkumar T  <tsureshkumar@novell.com>
1031
1032         * SqlCommand.cs (DeriveParameters): Change parameter name to
1033         "procedure_name".
1034         * SqlParameter.cs (SqlParameter (object [])) : call default
1035         constructor to create Tds.Metaparameter.
1036
1037         fixes bug #63122.
1038
1039 2005-01-03  Sureshkumar T  <tsureshkumar@novell.com>
1040
1041         * SqlCommand.cs: Fixed bug #68973. Reset Tds.RecordsAffected to 0
1042         for each execute statement.
1043         
1044 2004-11-25  Sureshkumar T  <tsureshkumar@novell.com>
1045
1046         These changes are for 2.0 profile only. These changes implement
1047         the generic data base access technique using Provider Factory
1048         Implementation. These classes need to be dervided from abstract
1049         base classes so that the corresponding factory classes are
1050         created when calling CreateCommand, CreateParameter, etc.
1051         
1052         * SqlClientFactory.cs: Provider Factory class  Implementaion for SqlServer
1053         * SqlParameter.cs: Change base classes and override methods.
1054         * SqlParameterCollection.cs:  Change base classes and override methods.
1055         * SqlTransaction.cs:  Change base classes and override methods.
1056         * SqlDataSourceEnumerator.cs: DataSource Enumerator stubs.
1057         * SqlDataReader.cs: Change base classes and override methods.
1058         * SqlConnection.cs: Change base classes and override methods.
1059         * SqlCommandBuilder.cs: Change base classes and override methods.
1060         * SqlCommand.cs: Change base classes and override necessary methods.
1061
1062 2004-10-14 Umadevi S <sumadevi@novell.com>
1063         * SqlCommand.cs - Implemented the clone method correctly.
1064          (fixed bug 67301)
1065
1066 2004-10-06 Umadevi S <sumadevi@novell.com>
1067         * ISqlNoticationReceiver.cs - changed namespace
1068         * Added files SqlNotificationType.cs, SqlNotificationInfo.cs, SqlNotificationSource.cs
1069
1070 2004-09-24  Umadevi S <sumadevi@novell.com>
1071         * SqlTransaction.cs - Dispose will not call rollback incase the transaction is not open.
1072
1073 2004-09-14  Sebastien Pouliot  <sebastien@ximian.com>
1074
1075         * SqlClientPermission.cs: Added internal constructor accepting an Sql
1076         ClientPermissionAttribute parameter (using base class protected ctor).
1077         * SqlClientPermissionAttribute.cs: Copy now use the new SqlClient
1078         Permission constructor.
1079
1080 2004-09-13  Sebastien Pouliot  <sebastien@ximian.com>
1081
1082         * SqlClientPermission.cs: Mostly completed (needs tests).
1083         * SqlClientPermissionAttribute.cs: Completed.
1084
1085 2004-09-02 Umadevi S <sumadevi@novell.com>
1086         * SqlCommand.cs - ExecuteNonQuery to return -1 incase of executing a storedprocedure
1087
1088 2004-08-16  Gert Driesen <drieseng@users.sourceforge.net>
1089
1090         * SqlConnection.cs: added TODO on ConnectionString for keywords
1091         that are not yet implemented. check value of Integrated Security
1092         keyword, check value of bool keywords, improve error reporting
1093         for int keywords, added support for the following keyword 
1094         synonyms : APP, TIMEOUT, NETWORK, PERSISTSECURITYINFO, WSID,
1095         LANGUAGE, USER. Throw NotImplementedException when encrypt keyword
1096         is set to true, enlist keyword is set to false or attachdbfilename
1097         keyword (or one of its synonyms) is set. Added FIXME for PERSIST
1098         SECURITY INFO keyword, throwing a NotImplementedException here
1099         would break lots of apps
1100
1101 2004-08-16  Gert Driesen <drieseng@users.sourceforge.net>
1102
1103         * SqlConnection.cs - spaces to tabs
1104
1105 2004-08-12  Sureshkumar T <tsureshkumar@novell.com>
1106         * SqlDataReader.cs - In Close method, the remaining resultsets are drained
1107                              out, to read output parameters & to avoid stream overlap
1108
1109 2004-06-30 Umadevi S <sumadevi@novell.com>
1110         * SqlCommand.cs : In the Execute Method the commandbehavior parameters were ignored correct
1111 these
1112
1113 2004-06-22  Atsushi Enomoto <atsushi@ximian.com>
1114
1115         * SqlCommandBuilder.cs : Avoid cast exception caused by DbNull.
1116
1117 2004-06-18 Umadevi S <sumadevi@novell.com>
1118         * SqlCommand.cs - ExecuteNonQuery returns -1 in all cases except
1119                 insert,update or delete.
1120
1121 2004-06-18 Umadevi S <sumadevi@novell.com>
1122         * SqlConnection.cs - handled null being passed as a connectionstring
1123           - checked for minimal set of parameters in connectionstring.
1124           - handled unrecogonized keywords similar to MS.NET
1125
1126 2004-06-17 Umadevi S <sumadevi@novell.com>
1127         * SqlTransaction.cs - fixed  multiple rollbacks being called causes invalidoperationexception
1128
1129 2004-06-04  Gert Driesen <drieseng@users.sourceforge.net>
1130
1131         * SqlClientPermission.cs: removed extra CreateInstance
1132         method
1133
1134 2004-06-02  Gert Driesen <drieseng@users.sourceforge.net>
1135
1136         * SQLDebugging.cs: added missing attributes, marked ctor
1137         public to match MS.NET
1138
1139 2004-05-22  Atsushi Enomoto <atsushi@ximian.com>
1140
1141         * SqlClientPermission.cs : don't use chained obsolete .ctor.
1142
1143 2004-05-20  Gert Driesen (drieseng@users.sourceforge.net)
1144
1145         *  SqlClientPermissionAttribute.cs: change AllowMultiple and
1146         Inherited to match .NET
1147
1148 2004-05-20 Umadevi S <sumadevi@novell.com>
1149
1150         * Fixed bug 58406- implemented the hasrow method, test program used
1151         to test with the bug report                                                        
1152
1153 2004-05-13  Umadevi S  <sumadevi@novell.com>
1154         
1155         *  SqlClientPermission.cs, SqlDataReader.cs - added missing methods with TODO tags
1156         *  SqlCommand.cs, SqlDataAdapter.cs - implemented ToolboxItemAttribute
1157         *  SQLDebugging.cs - Added new file with a TODO tag     
1158         
1159 2004-04-05  Lluis Sanchez Gual  <lluis@ximian.com>
1160
1161         * SqlConnection.cs: Use connection pool implemented in Mono.Data.Tds.
1162
1163 2004-04-01  Lluis Sanchez Gual  <lluis@ximian.com>
1164
1165         * SqlDataReader.cs: Null values are now represented with DBNull instances.
1166           Deal with this.
1167
1168 2004-03-14  Tim Coleman <tim@timcoleman.com>
1169         * SqlCommand.cs SqlConnection.cs:
1170                 Changes from two patches by Andres Taylor
1171                 <andres@rotselleri.com>
1172
1173 2004-03-12  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1174
1175         * SqlParameter.cs: DO NOT USE the consts scheme if types can be referenced directly!
1176
1177 2004-01-10  Atsushi Enomoto <atsushi@ximian.com>
1178
1179         * SqlClientPermission.cs : Fixed NET_2_0 build related to 
1180           obsolete attribute problem (see DbDataPermission.cs)
1181
1182 2003-12-28  Tim Coleman <tim@timcoleman.com>
1183         * SqlResultSet.cs:
1184                 Stubbed out this class.
1185
1186 2003-12-23  Tim Coleman <tim@timcoleman.com>
1187         * SqlConnection.cs:
1188                 Improved connection string parsing.  See
1189                 System.Data.Common.DbConnectionString for source.
1190
1191 2003-12-21  Tim Coleman <tim@timcoleman.com>
1192         * SqlConnection.cs:
1193                 Enable Integrated Security
1194
1195 2003-12-19  Tim Coleman <tim@timcoleman.com>
1196         * ISqlNotificationReceiver.cs SqlResultSet.cs:
1197                 New stubs added
1198         * SqlClientPermission.cs:
1199                 Fix constructor for 1.2
1200
1201 2003-12-04  John Luke  <jluke@cfl.rr.com>
1202
1203         * SqlXmlTextReader.cs: applied patch from Chris Masters <neeeeeep@bigpond.com>
1204         fix peek so it checks if it is at the end and also to make sure that if Read()
1205         advances the position past the end of the localBuffer array, it makes
1206         a call to GetNextBuffer(). fixes bug #40253 System.IndexOutOfRangeException when
1207         using SqlCommand.ExecuteXmlReader()
1208
1209 2003-11-20  Joerg Rosenkranz  <JoergR@voelcker.com>
1210
1211         * SqlConnection (SetDefaultConnectionParameters):
1212         Changed default value of WORKSTATION ID to reflect real
1213         host name instead of "localhost".
1214
1215 2003-11-16 Ben Maurer  <bmaurer@users.sourceforge.net>
1216
1217         * SqlParameterCollection.cs (Clear): Clear needs to take
1218         the parameter out of the collection so that it can be used
1219         again.
1220         (Remove):
1221         (RemoveAt): Ditto.
1222
1223 2003-10-03  Diego Caravana  <diego@toth.it>
1224
1225         * SqlCommand.cs: no change.
1226
1227         * SqlConnection.cs (Close): Added checks for null instance
1228         variables.
1229
1230         * SqlParameter.cs (Direction): Now handles parameters of type
1231         ReturnValue and InputOutput.
1232
1233         * SqlParameterCollection.cs (IndexOf(string)): Search for
1234         SqlParameter object in list is done by obtaining ParameterName
1235         attribute, not directly through list.IndexOf().
1236         
1237 2003-08-22  Duncan Mak  <duncan@ximian.com>
1238
1239         * SqlCommand.cs (ExecuteNonQuery): Return
1240         Connection.Tds.RecordsAffected if it is successful.  Patch from
1241         Jörg Rosenkranz <joergr@voelcker.com>.
1242
1243         This is part of a fix to bug #40315.
1244
1245 2003-08-20  Duncan Mak  <duncan@ximian.com>
1246
1247         * SqlConnectionPool.cs (ReleaseConnection): A patch from Joerg
1248         Rosenkranz <JoergR@voelcker.com>. Currently, if a connection is
1249         closed by an external event (network problem, etc.) it is pushed
1250         back into the connection pool. The next Open call retrieves this
1251         invalid connection which leads to exceptions when executing
1252         statements.
1253
1254         This patch fixes this problem. This closes bug #47429.
1255
1256 2003-07-04  Miguel de Icaza  <miguel@ximian.com>
1257
1258         * SqlDataReader.cs: Added extra information to the exceptions
1259         thrown by all the GetXXXX methods.
1260
1261 2003-03-15  Daniel Morgan <danmorg@sc.rr.com>
1262
1263         * SqlConnection.cs: if Server in the ConnectionString
1264         is set to "(local", use "localhost" as the hostname
1265         to connect
1266
1267 2003-03-04  Gonzalo Paniagua Javier <gonzalo@ximian.com>
1268
1269         * SqlException.cs: implemented GetObjectData ().
1270
1271 2003-02-16  Daniel Morgan <danmorg@sc.rr.com>
1272
1273         * ChangeLog: added this file
1274
1275         * SqlConnection.cs: - parse data source for 3 possible uses:
1276         "Server=hostname", 
1277         "Server=hostname\\instancename", 
1278         "Server=hostname,port" and open the connection based on the
1279         resulting server name and port.  
1280         - Added support for named instances
1281         by discovery of the sql server tcp port via the sql monitor (udp port 1434)
1282         thanks to Phillip Jerkins (Phillip.Jerkins@morgankeegan.com) contribution.
1283         Also, thanks to Gonzalo and Tim for their help with timeouts.
1284