1 2008-07-28 Gert Driesen <drieseng@users.sourceforge.net>
3 * SqlCommand.cs: Fixed param name in ArgumentException for negative
4 CommandTimeout to match MS. On 2.0 profile, throw NRE in Prepare
5 when connection is NULL. In Prepare, return immediately after
6 connection check (2.0 only) for stored procedures, or when no
7 parameters are added. Added check to see if transaction is
8 associated with same connection as the command and updated
11 2008-07-28 Gert Driesen <drieseng@users.sourceforge.net>
13 * SqlCommand.cs: Added bool argument to ValidateCommand to specify
14 whether an async method is being executed. Minor changes to exception
17 2008-07-28 Gert Driesen <drieseng@users.sourceforge.net>
19 * SqlCommand.cs: Avoid NRE in CloseDataReader when connection is NULL.
20 Fixes bug #412584. Removed unused moreResults eargument from
21 CloseDataReader. Removed behavior argument from Execute, and have it
22 use the behavior field instead. In ValidateCommand, throw
23 InvalidOperationException instead of NRE when Connection is NULL.
24 * SqlDataReader.cs: Sync with SqlCommand's CloseDataReader signature
27 2008-07-28 Gert Driesen <drieseng@users.sourceforge.net>
29 * SqlCommand.cs: (Transaction): On the 1.0 profile, do not allow
30 Transaction to be set when a reader is open for the current connection.
33 2008-07-28 Gert Driesen <drieseng@users.sourceforge.net>
35 * SqlCommand.cs (Connection): Do not throw InvalidOperationException
36 if transaction is in progress. Fixes bug #412576. On 1.0 profile, throw
37 InvalidOperationException when a reader is open for the current
38 connection. Do not set transaction to NULL when changing connection,
39 instead set it to null in Transaction when transaction is no longer
42 2008-07-28 Gert Driesen <drieseng@users.sourceforge.net>
44 * SqlConnection.cs: Use null as default value for connectionString
45 field. Remove Init method, as initialization is done in
46 SetDefaultConnectionParameters. Initialize parms in
47 SetDefaultConnectionParameters to avoid calling Reset on newly
48 initialized collection. In Dispose (bool), also invoke base.Dispose if
49 SqlConnection was already disposed. Fixes bug #412571.
51 2008-07-28 Gert Driesen <drieseng@users.sourceforge.net>
53 * SqlConnection.cs (ChangeState): Return immediately when new state
54 equals original state. Fixes bug #412574. Removed extra whitespace.
56 2008-07-23 Veerapuram Varadhan <vvaradhan@novell.com>
58 * SqlDataReader.cs (NextResult): Memleak fix - mark datatypeNames
59 array to be GCed along with schemaTable.
61 2008-07-23 Veerapuram Varadhan <vvaradhan@novell.com>
63 * SqlDataReader.cs: Do not generate schemaTable unless otherwise
64 asked for; use command.Tds.Columns instead. Improves performance
67 2008-07-10 Veerapuram Varadhan <vvaradhan@novell.com>
70 * SqlCommand.cs (GetOutputParameters): Update parameter values iff
71 parameter direction is InputOutput or Output.
73 2008-07-06 Gert Driesen <drieseng@users.sourceforge.net>
75 * SqlException.cs: Modified HResult/ErrorCode to match MS. Removed
76 unused FromTdsInternalException overload. Removed unnecessary check
77 for Errors.Count. Minor code formatting.
79 2008-07-03 Rodrigo Kumpera <rkumpera@novell.com>
81 * SqlConnection.cs: Remove connStringParameters as nobody uses it.
83 2008-07-01 Rodrigo Kumpera <rkumpera@novell.com>
85 * SqlDataReader.cs: Do all column accesses with int indexes.
87 2008-07-01 Rodrigo Kumpera <rkumpera@novell.com>
89 * SqlDataReader.cs (GetSchemaTable): All column index are constants,
92 2008-07-01 Rodrigo Kumpera <rkumpera@novell.com>
94 * SqlDataReader.cs (GetSchemaTable): Calculate column indexes
95 outside of the row loop.
97 2008-07-01 Marek Habersack <mhabersack@novell.com>
99 * SqlDataReader.cs: use named properties in TdsDataColumn for the
102 2008-06-30 Zoltan Varga <vargaz@gmail.com>
104 * SqlDataReader.cs: Allocate 'schemaTable' lazily.
105 (GetSchemaValue): Avoid some hash table lookups
107 2008-06-27 Zoltan Varga <vargaz@gmail.com>
109 * SqlDataReader.cs (ConstructSchemaTable): Avoid unneccessary reflection calls.
111 2008-06-23 Veerapuram Varadhan <vvaradhan@novell.com>
113 * SqlDependency.cs: New
115 2008-06-12 Veerapuram Varadhan <vvaradhan@novell.com>
117 Patch by Christian Hergert <christian.hergert@gmail.com>
118 * SqlConnection.cs (Open): Do not reset the connection as it is already
119 done in the TdsConnectionPool itself.
121 2008-06-12 Marek Habersack <mhabersack@novell.com>
123 * SqlParameterCollection.cs: this [int] must check the range and
124 throw an exception if necessary.
126 * SqlCommand.cs: throw IOEX when stored procedure is not found in
127 DeriveParameters. All procedures in MS SQL will report at least
128 one parameter - the return value.
130 2008-06-10 Veerapuram Varadhan <vvaradhan@novell.com>
132 * SqlConnection.cs: TdsConnectionPool.GetConnectionPool() now returns
133 IDictionary<TKey, TValue>.
135 2008-06-09 Ankit Jain <jankit@novell.com>
137 * SqlCommand.cs: Use Tds instead of ITds now.
138 * SqlConnection.cs: Likewise.
140 2008-05-27 Gert Driesen <drieseng@users.sourceforge.net>
142 * SqlConnection.cs: Added support for '.' as alias for localhost.
143 Improve exception message when TCP/IP protocol is not enabled.
145 2008-05-17 Gert Driesen <drieseng@users.sourceforge.net>
147 * SqlDataReader.cs (GetInt64): Removed workaround for TDS 7.0 handling
148 of bigint column type as this is handled in Mono.Data.Tds.
150 2008-05-14 Marek Habersack <mhabersack@novell.com>
152 * SqlConnection.cs: added support for USER INSTANCE keyword in the
155 2008-04-22 Veerapuram Varadhan <vvaradhan@novell.com>
158 * SqlCommand.cs: Handle exceptions sanely and do not close
159 connection on TdsTimeoutException.
161 2008-04-21 Gert Driesen <drieseng@users.sourceforge.net>
163 * SqlBulkCopyColumnMappingCollection.cs: Changed argument names to
164 match MS. Code formatting.
165 * SqlCommand.cs: Changed argument names to match MS. Code formatting.
166 Do not include explicit IDbCommand implementation on 2.0 profile.
167 * SqlCommandBuilder.cs: Changed argument names to match MS. Code
169 * SqlDataReader.cs: Changed argument names to match MS. Code
171 * SqlParameterCollection.cs: Do not include IList, ICollection and
172 IDataParameterCollection explicit interface implementation on 2.0
173 profile. Code formatting.
174 * SqlConnection.cs: Changed argument names to match MS.
175 * SqlDataAdapter.cs: Changed argument names to match MS.
176 * SqlTransaction.cs: Do not include explicit interface implementation
177 of IDbTransaction.Connection on 2.0 profile. Code formatting.
179 2008-04-19 Robert Jordan <robertj@gmx.net>
181 * SqlParameterCollection.cs (AddRange(SqlParameter[])):
182 Fix endless recursion.
184 2008-04-08 Marek Habersack <mhabersack@novell.com>
186 * SqlConnection.cs: TCP port discovery via UDP port 1434 should
187 honor the timeout specified in the connection string (or the
188 default one). In some environments 100 microseconds might not be
189 enough to discover the port.
191 2008-04-01 Marek Habersack <mhabersack@novell.com>
193 * SqlParameter.cs: ConvertToFrameworkType must handle empty
194 strings gracefully - a DBNull.Value must be returned in this
197 * SqlCommand.cs: DeriveParameters should split the stored
198 procedure name into the schema name and procedure name before
199 querying its parameters.
201 2008-03-03 Ankit Jain <jankit@novell.com>
203 * SqlClientMetaDataCollectionNames.cs: Set the field values.
205 2007-10-21 Gert Driesen <drieseng@users.sourceforge.net>
207 * SqlCommand.cs: Use ExceptionHelper.CheckEnumValue for enum checks.
209 2007-10-20 Gert Driesen <drieseng@users.sourceforge.net>
211 * SqlCommand.cs: Added constant for default CommandTimeout, instead
212 of using a magic number. Avoid unnecessary initialization. Fixed
213 default value for DesignTimeVisible. Return zero-length string if
214 CommandText is null. Use ExceptionHelper.InvalidEnumValueException
215 to avoid code duplication. Spaces to tabs and code formatting.
216 * SqlConnection.cs: Use different default package size on 2.0 profile.
217 Added constants for default values, instead of using magic numbers.
218 Avoid unnecessary initialization. In PacketSize, return default or
219 configured packet size when connection is not open. Use
220 ExceptionHelper.ConnectionClosed instead of local method. Removed
221 use of some hardcoded values in SetDefaultConnectionParameters, and
222 use Environment.MachineName as default WorkstationId instead of
223 DNS host name. Code formatting.
224 * SqlDataAdapter.cs: In default ctor, set SelectCommand to null.
225 Avoid unnecessary initializations. Use direct assignment in
226 IDbDataAdapter implementation. Fixed exception message for negative
227 UpdateBatchSize. In Dispose override, make sure to invoke base
230 2007-10-19 Gert Driesen <drieseng@users.sourceforge.net>
232 * SqlTransaction.cs: Clear connection in commit. In IsolationLevel,
233 throw IOE if transaction is no longer open.
235 2007-10-19 Gert Driesen <drieseng@users.sourceforge.net>
237 * SqlTransaction.cs: Avoid unnecessary initialization. Remove
238 isRolledBack since its essentially the same as isOpen. Use
239 ExceptionHelper.TransactionNotUsable instead of duplicating code.
240 On 2.0 profile, ignore call to Rollback when transaction was already
243 2007-10-18 Gert Driesen <drieseng@users.sourceforge.net>
245 * SqlConnection.cs: Avoid unnecessary initialization. Use string.Empty
246 for assigning zero-length string, and use String.Length to check for
247 zero-length string. Added support for IsolationLevel.Snapshot.
248 Added StructuredTypeMembers schema collection and restrictions. Fixed
249 table name for MetaDataCollections collection. Implemented
250 DataSourceInformation collection. Added missing data types (probably
251 introduced in 2.0 SP1). In GetSchema, throw InvalidOperationException
252 if connection is closed and throw NotImplementedException for
253 StructuredTypeMembers collection.
255 2007-10-18 Gert Driesen <drieseng@users.sourceforge.net>
257 * SqlConnection.cs: On 1.0 profile, IsolationLevel.Unspecified is
258 not valid. On 2.0 profile, when IsolationLevel.Unspecified is passed
259 make sure to also set SqlTransaction.IsolationLevel to
260 ReadCommitted. Modified exceptions to match MS.
262 2007-10-17 Nagappan <anagappan@novell.com>
264 * SqlParameter.cs (ConvertToFrameworkType): Added SqlDbType.Image.
266 2007-10-17 Nagappan <anagappan@novell.com>
268 * SqlConnection.cs: BeginTransaction does not handle
269 IsolationLevel.Unspecified, so the default is set as ReadCommited.
270 Thanks to Jerome Haltom <wasabi@larvalstage.net> for this patch. Fixes
272 * SqlTransaction.cs: If transaction count is greater then 0 then roll back.
273 Thanks to Jerome Haltom <wasabi@larvalstage.net> for this patch. Fixes
276 2007-10-15 Gert Driesen <drieseng@users.sourceforge.net>
278 * SqlException.cs: Do not hide Message on 2.0 profile. Fixes bug
281 2007-10-08 Marek Safar <marek.safar@gmail.com>
283 * SqlParameterCollection.cs (SetParameter): Fixed missing cast.
285 2007-09-27 Nagappan A <anagappan@novell.com>
287 * SqlConnection.cs: Added MonoTODO appropriately.
289 2007-09-26 Nagappan A <anagappan@novell.com>
291 * SqlCommandBuilder.cs: Code alignment.
293 2007-09-25 Nagappan A <anagappan@novell.com>
295 * SqlInitialCatalogConverter.cs, SqlDataSourceConverter.cs:
296 NetworkLibraryConverter.cs: Added new files.
298 * SqlParameter.cs: 2.0 attribute changes.
300 * SqlDataAdapter.cs: 2.0 attribute changes.
302 * SqlConnectionStringBuilder.cs: 2.0 attribute changes.
304 * SqlConnection.cs (ClearAllPools, ClearPool): Implemented 2.0
305 APIs, other 2.0 attribute changes.
307 * SqlCommandBuilder.cs (GetSchemaTable, InitializeCommand):
308 Implemented 2.0 APIs, other 2.0 attribute changes.
310 * SqlBulkCopyColumnMappingCollection.cs: Added constructor, 2.0
311 API compatibility changes.
313 * SqlException.cs: 2.0 attribute changes.
315 2007-08-13 Nagappan A <anagappan@novell.com>
317 * SqlConnection.cs (ConnectionString): 2.0 compatibility changes.
319 * SqlDataReader.cs (IsCommandBehavior): Fixed spelling mistake of
321 (Dispose): 2.0 compatibility changes.
323 * SqlBulkCopy.cs (SqlRowsCopied): Fixed spelling mistake of the
325 (RowsCopied): Generates event when NotifyAfter is set.
327 * SqlCommandBuilder.cs (Dispose, RefreshSchema): 2.0 compatibility
330 * SqlClientFactory.cs (CreateDataSourceEnumerator): Removed bogus
333 * SqlException.cs (Message): 2.0 compatibility changes.
335 2007-08-06 Nagappan A <anagappan@novell.com>
337 * SqlCommand.cs, SqlDataReader.cs, SqlConnection.cs: When the
338 server resets the connection, now the client code also disconnects
339 the session and remove the instance from pool. Fixes bug # 81933.
341 2007-07-31 Nagappan A <anagappan@novell.com>
343 * SqlCommand.cs (Transaction, Connection): IDbCommand Transaction
344 and Connection can be set to null. Fixes bug 82189.
346 2007-07-23 Nagappan A <anagappan@novell.com>
348 * SqlCommandBuilder.cs (ApplyParameterInfo, GetParameterName):
349 (GetParameterPlaceholder): Implemented 2.0 missing APIs.
351 2007-07-22 Nagappan A <anagappan@novell.com>
353 * SqlBulkCopy.cs (NotifyAfter): Implemented 2.0 property.
354 (GetColumnMetaData, GenerateColumnMetaData):
355 (ValidateColumnMapping): Implemented private method's to generate
356 and validate SqlBulkCopy headers.
357 (BulkCopyToServer): Private method to actually do the bulk copy
359 (WriteToServer): Implemented 2.0 missing overloaded methods.
360 (IDisposable.Dispose): Implemented 2.0 missing method.
362 * SqlBulkCopyColumnMappingCollection.cs (Add, CopyTo): Implemented
364 (Item): Implemented missing property.
366 * SqlBulkCopyColumnMapping.cs: Modified the implementation of
367 Constructors to use property.
369 * SqlDataReader.cs (GetSqlXml, IsCommandBehaviour): Added 2.0
371 (Connection): Added missing property.
373 * SqlParameter.cs (SetSqlDbType, ConvertToFrameworkType): Modified
374 method as internal from private.
376 * SqlConnection.cs: Fixed 2.0 missing feature.
378 * SqlException.cs: Fixed 2.0 missing feature.
380 * SqlClientPermission.cs: Fixed 2.0 missing feature.
382 2007-07-01 Gert Driesen <drieseng@users.sourceforge.net>
384 * ISqlNotificationReceiver.cs: Removed.
385 * SqlClientFactory.cs: Use SqlDataSourceEnumerator from S.D.Sql and
386 marked method todo. Avoid unnessary casts. Code formatting.
387 * SqlCommand.cs: Explicit interface implementation of IDbCommand not
388 necessary on 2.0 profile. Fixes API mismatches. Avoid unnecessary
389 casts. Code formatting.
390 * SqlConnection.cs: Also use RecommendAsConfigurable instead of
391 SettingBindableAttribute on 2.0. Use StateChange event from base class
392 on 2.0. Only explicitly implement IDbConnection methods on 1.0, since
393 these are implemented by base class on 2.0 profile. Removed extra
394 explicit implementation of IDisposable since the base class implements
395 this. Code formatting.
396 * SqlDataAdapter.cs: Dispose (bool) override not necessary on 2.0
397 profile. Stubbed ICloneable.Clone. Fixes API mismatches.
398 * SqlDataReader.cs: On 2.0, IDisposable.Dispose is implemented by
399 DbDataReader. Only 1.0 profile, explicitly implemented IEnumerable
400 GetEnumerator. Code formatting.
401 * SqlDataSourceEnumerator.cs: Removed.
402 * SQLDebugging.cs: Marked sealed on 2.0. Code formatting.
403 * SqlNotificationAuthType.cs: Removed.
404 * SqlNotificationInfo.cs: Added missing fields. Code formatting.
405 * SqlNotificationSource.cs: Added missing fields. Code formatting.
406 * SqlNotificationTransports.cs: Removed.
407 * SqlNotificationType.cs: Added missing Unknown field. Code formatting.
408 * SqlParameter.cs: Removed Browsable and EditorBrowsable attributes
409 from Precision and Scale. Fixes API mismatches. Code formatting fixes.
410 * SqlTransaction.cs: On 2.0 profile, Dispose method is exposed by
411 base class. Fixes API mismatches. Code formatting fixes.
413 2007-06-21 Nagappan A <anagappan@novell.com>
415 * SqlConnection.cs: Fixed compiler warning.
417 2007-06-11 Nagappan A <anagappan@novell.com>
419 * SqlConnection.cs (ParseDataSource): Adds tcp support in
420 connection string. Fixes bug # 80975.
422 * SqlCommand.cs (Dispose): On disposing the command object, don't
423 dispose connection and transaction.
425 2007-06-06 Nagappan A <anagappan@novell.com>
427 * SqlCommand.cs, SqlConnectionStringBuilder.cs, SqlConnection.cs:
428 Fixed 1.0 and 2.0 extras, errors as stated in class status page.
430 * SqlDataAdapter.cs, SqlParameter.cs:Fixed 1.0 and 2.0 extras,
431 errors as stated in class status page.
433 * SqlBulkCopyColumnMappingCollection.cs: Fixed 1.0 and 2.0 extras,
434 errors as stated in class status page.
436 2007-05-30 Nagappan A <anagappan@novell.com>
438 * SqlParameter.cs (SqlParameter): Updated constructor to use the
439 new TDS RPC implementation.
440 Fixed missing attributes.
441 (SetDbType): Added new case for sql_variant type.
442 (ConvertToFrameworkType): Implemented new private method to
443 convert the data type to framework type.
445 * SqlParameterCollection.cs: Fixed missing attributes and
446 implemented missing methods.
448 * SqlConnection.cs: Fixed missing attributes.
450 * SqlConnectionStringBuilder.cs: Certain attributes are missing or
451 its value or they are not appropriate. Fixed them.
453 * SqlDataReader.cs (GetData): Method is available only under 1.0
456 * SqlCommandBuilder.cs: Certain attributes are available only
457 under 2.0 profile, so moved them inside ifdef.
459 * SqlCommand.cs: Certain attributes are available only under 2.0
460 profile, so moved them inside ifdef.
462 * SqlBulkCopy.cs: Added new stubs.
464 * SqlBulkCopyColumnMappingCollection.cs: Added new stubs.
466 2007-05-29 Nagappan A <anagappan@novell.com>
468 * SqlCommand.cs (Dispose): Command.Dispose closing
469 connection. Fixes bug # 81710. Thanks to AMC <amc1999@gmail.com>
472 2007-05-10 Nagappan A <anagappan@novell.com>
474 * SqlClientMetaDataCollectionNames.cs: Fixed incorrect constructor
477 * SqlConnectionStringBuilder.cs: Fixed missing attributes.
479 2007-05-09 Igor Zelmanovich <igorz@mainsoft.com>
481 * SqlConnectionStringBuilder.cs: added MonoNotSupported attribute.
483 2007-04-03 Amit Biswas <amit@amitbiswas.com>
485 * SqlDataReader.cs (GetSqlBytes, GetProviderSpecificFieldType)
486 (GetProviderSpecificValue, GetProviderSpecificValues): Implemented
489 * SqlParameter.cs (XmlSchemaCollectionDatabase): Implemented missing property
490 (XmlSchemaCollectionName): Implemented missing property
491 (XmlSchemaCollectionOwningSchema): Implemented missing property
492 (SourceColumnNullMapping): Existing implementation was not correct, Replaced the implementation
493 (.ctor): Implemented mising constructor new in .net 2.0
495 * SqlErrorCollection.cs (CopyTo): Implemented missing API
497 * SqlParameter.cs (InferSqlType): Corrected bug related to default values of
499 (ResetSqlDbType): Implemented missing API
500 (ResetDbType): Implemented missing API
502 2007-03-09 Amit Biswas <amit@amitbiswas.com>
504 * SqlParameterCollection.cs (CopyTo): Implemented missing API
506 2007-04-02 Nagappan A <anagappan@novell.com>
508 * SqlParameter.cs: Variable name fix.
510 2007-03-20 Nidhi Rawal <rawalnidhi_rawal@yahoo.com>
512 * SqlClientFactory.cs: Added two using directives.
513 (CreateConnectionStringBuilder): Implemented the method.
514 (CreatePermission): Implemented the property.
516 * SqlCommand.cs: Added one using directive.
517 (Clone): Implemented the method.
518 (Dispose): Implemented the method.
519 (BeginExecuteXmlReader): Implemented the method.
521 * SqlCommandBuilder.cs (QuoteIdentifier): Implemented the method.
522 (UnquoteIdentifier): Implemented the method.
524 * SqlConnection.cs (ChangePassword): Implemented the method.
526 2007-03-19 Nidhi Rawal <rawalnidhi_rawal@yahoo.com>
528 * SqlClientFactory.cs (CanCreateDataSourceEnumerator): Implemented
531 * SqlCommand.cs (Notification): Implemented the property.
532 (NotificationAutoEnlist): Implemented the property.
534 * SqlDataReader.cs (VisibleFieldCount): Implemented the property.
536 * SqlConnectionStringBuilder.cs (TrustServerCertificate): Implemented
538 (TypeSystemVersion): Implemented the property.
539 (UserInstance): Implemented the property.
540 (ContextConnection): Implemented the property.
542 * SqlConnection.cs (FireInfoMessageEventOnUserErrors): Implemented
544 (StatisticsEnabled): Implemented the property.
546 * SqlDataAdapter.cs (UpdateBatchSize): Implemented the property.
548 * SqlParameter.cs: Implemented one attribute.
550 2007-03-16 Andreia Gaita <avidigal@novell.com>
552 * SqlParameter.cs: Move isVariableSizeType flag to TdsMetaParameter
553 so that the TdsMetaParameter can validate itself for valid size / values.
554 * SqlCommand.cs (Execute): Call Validate on TdsMetaParameter.
556 2007-03-14 Nagappan A <anagappan@novell.com>
558 * SqlCommand.cs (CommandType): Exception type thrown in 2.0
559 profile is different than 1.0, ArgumentOutOfRangeException.
560 (Connection): Exception type thrown in 2.0 profile is different
561 than 1.0, ArgumentOutOfRangeException.
562 (Execute): If Size property is 0 for String and Binary type, then
563 throw InvalidOperationException.
564 (ValidateCommand): Exception type thrown in 2.0 profile is
565 different than 1.0, NullReferenceException.
567 2007-03-09 Nagappan A <anagappan@novell.com>
569 * SqlDataReader.cs: Fixed syntax erros reported in class status
572 2007-03-09 Andreia Gaita <avidigal@novell.com>
574 * SqlCommand.cs (ExecuteScalar): Fix returned value for
575 stored procedure calls to return the first column of the
576 first row produced by the proc.
578 2007-03-08 Nagappan A <anagappan@novell.com>
580 * SqlCommand.cs (CloseDataReader): Checks whether the SQL
581 connection is created or not.
583 2007-03-07 Andreia Gaita <avidigal@novell.com>
585 * SqlCommand.cs (ExecuteScalar): when calling stored procedures,
586 implement support for return of output values in the parameter
589 2007-02-16 Nidhi Rawal <rawalnidhi_rawal@yahoo.com>
591 * SqlParameter.cs (CompareInfo): Implemented the property
593 (LocaleId): Written the property LocaleId.
594 (SqlValue): Written the propert SqlValue.
596 2007-02-15 Nidhi Rawal <rawalnidhi_rawal@yahoo.com>
598 * SqlCommand.cs: Added some attributes which were not implemented
599 for .NET 2.0 and removed extra attribute which are not there in
602 * SqlCommandBuilder.cs: Added some attributes that were not
603 implemented for .NET 2.0.
605 * SqlParameterCollection.cs: Added some attributes that were
606 not implemented for .NET 2.0.
608 * SqlConnectionStringBuilder.cs: Added some attributes that
609 were not implemented for .NET 2.0.
611 * SqlConnection.cs: Added attribute that was not implemented
614 * SqlParameter.cs: Added some attributes which were not
615 implemented for .NET 2.0 and removed some extra attributes which
616 are not there in .NET 2.0
618 2007-02-09 Nagappan A <anagappan@novell.com>
620 * SqlConnection.cs (SetConnectionString): Fixes bug # 80712. A
623 2007-01-08 Nagappan A <anagappan@novell.com>
625 * SqlTransaction.cs (Dispose): Fixed compliation warning.
627 * SqlDataReader.cs (GetValues): Length of elements to be copied was
628 decided based on the argument array passed, which caused a bug, if
629 the length of given array is more than actual column values.
631 * SqlCommandBuilder.cs (CatalogSeparator, SchemaSeparator)
632 (CatalogLocation): Implemented missing properties.
633 (CreateDeleteCommand, CreateInsertCommand, CreateUpdateCommand):
634 Modified private methods to take bool flag. If true, add actual
635 parameter name instead of p1, p2 etc.
636 (CreateParameter): Added overloaded private method to create
637 parameter with the actual column name.
638 (GetUpdateCommand, GetDeleteCommand, GetInsertCommand):
639 Implemented missing overloaded methods.
640 (SetRowUpdatingHandler): Implemented missing protected method.
642 * SqlCommand.cs: Fixed compilation warning. Removed bogus
645 2006-12-05 Nagappan A <anagappan@novell.com>
647 * SqlCommand.cs (Execute): If sql2 length is greater than 0, then
648 add ';' and the respective sql2 string and then execute the
649 string. Fixes bug # 79880.
651 2006-08-30 Nagappan A <anagappan@novell.com>
653 * SqlConnection.cs: Implemented SqlConnection.GetSchema ().
655 2006-09-08 Konstantin Triger <kostat@mainsoft.com>
657 * SqlClientFactory.cs: implemented SqlClientFactory.CreateConnection ().
659 2006-07-13 Senganal T <tsenganal@novell.com>
661 * SqlClientFactory.cs SqlCommand.cs SqlConnectionFactory.cs
662 SqlClientPermission.cs SqlParameterCollection.cs SqlDataReader.cs
663 SqlConnection.cs SqlParameter.cs SqlTransaction.cs :
666 2006-05-31 Gert Driesen <drieseng@users.sourceforge.net>
668 * SqlConnection.cs: Removed extra destructor, as destructor on
669 System.ComponentModel.Component already calls Dispose.
670 * SqlParameter.cs: Removed explicit interface implementation of
671 IDataParameter.ParameterName.
673 2006-05-26 Senganal T <tsenganal@novell.com>
676 - InferSqlType : if value is null or DBNull.Value, retain the
677 current parameter type.
679 2006-04-18 Senganal T <tsenganal@novell.com>
682 - SetConnectionString : set the pareameter to default values
683 if connection string is empty or null
684 - Open : Raise InvalidOperationException if Connection String
686 - Dispose : Test exception not raised if dispose called on a
687 connection with empty connection string
689 slight modification of the patch by Jonel Rienton
691 2006-04-07 Senganal T <tsenganal@novell.com>
693 * SqlCommandBuilder.cs :
694 * CreateDeleteCommand ()
695 * CreateUpdateCommand ()
696 * CreateInsertCommand ()
697 - Changed the signature. Do not need DataRow parameter
698 as the Query generated is parametric.
699 - Correct the null-check term in the WhereClause, set the
700 correct properties for null-check parameter
702 - Modified the generated query to match the query as
703 generated by 2.0. We now ignore null-check in the
704 whereclause if the Column does not allow nulls.
705 * ctor () : Set QuotePrefix and QuoteSuffix for 2.0 profile
706 * GetUpdateCommand ()
707 * GetInsertCommand ()
708 * GetDeleteCommand ()
709 - Do not create new command everytime. Create only if
711 * RefreshSchema : Reset the commands.
713 2006-02-17 Chris Toshok <toshok@ximian.com>
715 * SqlCommand.cs, SqlCommandBuilder.cs, SqlConnection.cs,
716 SqlDataAdapter.cs: remove DataSysDescription attributes for >= 2.0
718 2006-02-17 Chris Toshok <toshok@ximian.com>
720 * SqlDataReader.cs: remove VisibleFieldCount property.
722 2006-02-10 Senganal T <tsenganal@novell.com>
724 - GetBytes : Read binary/blob/clob data sequentially when
725 CommandBehavior is set to SequentialAcccess
726 - GetChars : Read String/clob data sequentially when CommandBehavior
727 is set to SequentialAccess
729 - ExecuteReader : set SequentialAccess property on TDS
730 - CloseDataReader : Reset the command behavior
732 2006-01-27 Senganal T <tsenganal@novell.com>
734 * SqlCommandBuilder.cs :
735 - Modified CreateUpdateCommand,CreateDeleteCommand , to not include
736 column name in the query if its a expression col.
737 Also, modified the queries to match the generated queries in ms.net
739 - Modifed Prepare, to check if Parameter is explicitly initialized
741 - Added CheckIfInitialized : Checks if datatype is explicitly set and
742 non-zero size is set for variable datatypes.
744 - Added code for GetSqlBinary ()
745 - Fixed GetFieldCount ()
746 - Added more checks and exceptions.
748 2006-01-17 Senganal T <tsenganal@novell.com>
750 * SqlCommandBuilder.cs
751 - Modified CreateNewCommand () : Clean up any existing parameter list
752 before reusing the command.Fixes #77225
754 2005-11-24 Senganal T <tsenganal@novell.com>
757 - Modifications to get the correct Packet Size
759 2005-11-21 Senganal T <tsenganal@novell.com>
761 * SqlClientFactory.cs
762 * SqlCommandBuilder.cs
763 * SqlParameterCollection.cs
769 Added stubs and other changes for ADO.NET 2.0 compatibility
771 2005-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
773 * SqlConnection.cs: don't throw NotImplementedException when using
774 'PERSIST SECUTIRY INFO'. Just do nothing.
776 2005-10-27 Senganal T <tsenganal@novell.com>
781 Made changes so that the number of rows affected can be got directly from
782 Tds regardsless of the type of query.Fixes bug #75698
784 2005-10-19 Senganal T <tsenganal@novell.com>
786 * SqlConnection.cs (SetProperties) :
787 - Added support for AttachDBFileName
789 2005-10-19 Senganal T <tsenganal@novell.com>
791 * SqlException.cs (Constructor)
792 - Modified the constructor, so that the message parameter
793 of base class is not the same as that of the Exception message.
796 2005-09-24 Sureshkumar T <tsureshkumar@novell.com>
798 * SqlParameterCollection.cs (AddWithValue): added method. patch
799 from awaddell@fnfr.com (Andy Waddell).
801 2005-09-21 Senganal T <tsenganal@novell.com>
805 - Set the correct Default Values for Parameters.
806 - Added Argument Checks (where missing) for the Properties and
807 throw the correct exception on error.
808 - Modified SetDefaultParameters() to make sure that the parameters
809 are all reset to default values everytime it is called.
810 - Modified SetProperties() to take into account the order of the
811 keywords in the ConnectionString.
813 SqlConnection Fixes for the failing sqlserver connected-mode testcases
814 in ProviderTest/System.Data.SqlClient/SqlConnectionTest.cs
816 2005-09-21 Senganal T <tsenganal@novell.com>
818 * SqlTransaction.cs : Modifed the Rollback() method, so that
819 connection can be used for another transaction after the previous
820 transaction is rolled back. fixes bug 75904
822 2005-09-02 Umadevi S <sumadevi@novell.com>
824 * Removed SqlResultSet.cs file
826 2005-08-26 Sureshkumar T <tsureshkumar@novell.com>
828 * SqlConnection.cs (Open): enable sp_reset_connection.
830 2005-08-25 Sureshkumar T <tsureshkumar@novell.com>
832 * SqlCommandBuilder.cs: BuildInformation (): continue on columns
833 who don't have basetablename.
835 2005-08-12 Daniel Morgan <danielmorgan@verizon.net>
837 * SqlCommandBuilder.cs: update command builder based on
838 OdbcCommandBuilder latest changes to fix regression
841 2005-08-05 Sureshkumar T <tsureshkumar@novell.com>
843 * SqlCommandBuilder.cs: Set SourceVersion property to the created
844 parameters as it is used by the Adapter's Update method.
846 2005-07-22 Sureshkumar T <tsureshkumar@novell.com>
848 * SqlCommandBuilder.cs, SqlParameterCollection.cs,
849 SqlConnection.cs, SqlParameter.cs:
850 - updated attributes & attribute descriptions to match with
853 2005-07-16 Daniel Morgan <danielmorgan@verizon.net>
855 * SqlCommandBuilder.cs: CreateUpdateCommand should get the current value, not
856 the orginal value when setting one of the SET variables
858 2005-07-15 Sureshkumar T <tsureshkumar@novell.com>
860 * SqlCommandBuilder.cs:
861 - set_DataAdapter: unsubscribe event if DataAdapter is reset.
862 - CreateInsertCommand, CreateUpdateCommand, CreateDeleteCommand:
863 if column mapping is missing, use the source column name. use
864 proper version to get the data.
865 - RowUpdatingHandler: set status to continue to actually process
868 2005-07-04 Ben Maurer <bmaurer@ximian.com>
870 * SqlError.cs: Patch from dezelin@gmail.com to fix serialization.
872 2005-06-29 Sureshkumar T <tsureshkumar@novell.com>
874 * SqlConnection.cs: Open (): catch TdsInternalException and throw
876 * SqlException.cs: code re-organised to pass message as well with
879 2005-06-23 Sureshkumar T <tsureshkumar@novell.com>
881 * SqlConnectionStringBuilder.cs: simplified multiple keyword
882 mappings and allowed-key checking. fixed Item, Remove,
883 ContainsKey, ShoudSerialize, TryGetValue implementations.
885 2005-06-21 Sureshkumar T <tsureshkumar@novell.com>
887 * SqlConnectionStringBuilder.cs: Connection String Builder class
888 for SqlClient Data Provider.
890 2005-06-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
892 * SqlParameter.cs: moved the 'using S.D.SqlTypes' out of NET_2_0. Fixes
895 2005-06-01 Sureshkumar T <tsureshkumar@novell.com>
897 * SqlParameter.cs: Parameter's value can be SqlTypes. Convert to
898 framework type to pass to TDS layer. Fixes bug #75044.
900 2005-05-24 Umadevi S <sumadevi@novell.com>
901 * fixed some 2.0 and 1.0 specific fields/attributes for various classes.
902 * Added SqlClientMetaDataCollectionNames.cs, Implemented some 2.0
903 properties for SqlParameterCollection for the bulkcopy feature.
906 2005-05-20 Kornél Pál <http://www.kornelpal.hu/>
908 * Fixed Bug #53169 - SqlDataReader incorrectly returns bigint as decimal
909 Note: The fix works around the limitations of TDS 7.0 to avoid this
910 difference between Mono and .NET Framework TDS 8.0 should be used instead.
912 2005-05-20 Umadevi S <sumadevi@novell.com>
914 * Fixed Bug 74948 - SqlParameter also takes DBNull Value.
915 Correct some attributes stuff of 1.1 and 2.0 for SqlParameter.cs
917 2005-05-20 Umadevi S <sumadevi@novell.com>
919 * Continuing on implementation for bulkcopy and notification
920 Added files SqlNotificationEventArgs.cs, OnChangeEventHandler.cs
921 Modified SqlRowUpdatingEventArgs.cs
923 2005-05-19 Umadevi S <sumadevi@novell.com>
925 * For implementation of bulkcopy and notifications added files
926 SqlBulkCopyOptions.cs,SqlBulkCopyColumnMapping.cs,SqlNotificationAuthType.cs
927 SqlNotificationTransports.cs,SqlRowsCopiedEventArgs.cs, SqlRowsCopiedEventHandler.cs
929 2005-05-19 Umadevi S <sumadevi@novell.com>
931 * Corrected types,enum values of SqlNotificationType,SqlNotificationSource,
932 SqlNotificationInfo and added new method in SqlRowUpdatingEventArgs.cs
933 (For implementation of bulkcopy/notifications)
935 2005-04-19 Sureshkumar T <tsureshkumar@novell.com>
937 * SqlDataReader.cs: NextResult (): Re-create schema table for each
938 result set. don't re-use, as it may be referenced from somewhere.
940 2005-04-07 Sureshkumar T <tsureshkumar@novell.com>
941 Ankit Jain <radical@corewars.org>
943 * SqlConnection.cs: Implemented additional connection string
944 property "Asynchronous Processing".
946 * SqlCommand.cs: Implemented Asynchronous command execution API.
948 * SqlAsyncState.cs: A internal state object for asynchronous
951 * SqlAsyncResult.cs: Added. Class to hold result for asynchronous
954 2005-03-28 Sureshkumar T <tsureshkumar@novell.com>
956 * SqlCommand.cs: Execute: Add a semicolon at the end of
957 CommandText. Multiple semicolon's are not being complained.
961 2005-03-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
963 * SqlConnection.cs: added a finalizer for correct implementation of the
966 2005-03-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
968 * SqlException.cs: make it serialization-compatible with MS. Patch by
969 Aleksandar Dezelin. Closes bug #73596.
971 2005-03-08 Sureshkumar T <tsureshkumar@novell.com>
973 * SqlDataReader.cs: Call base constructor with CommandBehavior
974 parameter instead of passing DbCommand object. The internal base
975 class with DbCommand Parameter is removed.
977 2005-03-07 Sureshkumar T <tsureshkumar@novell.com>
979 * SqlCommand.cs : Set CommandBehavior on
980 ExecuteReader,ExecuteScalar,ExecuteNonQuery. This is used in
983 This fixes bug #73252.
985 2005-03-03 Sureshkumar T <tsureshkumar@novell.com>
987 * SqlClientFactory.cs: While creating command, create using
988 DbConnectionFactory as DbConnectionBase.CreateDbCommand needs to
989 have a connection factory.
991 * SqlConnection.cs: Added an internal constructor which takes
994 * SqlConnectionFactory.cs: Added. Concrete class for abstract
995 factory DbConnectionFactory.
997 2005-02-22 Sureshkumar T <tsureshkumar@novell.com>
999 * SqlDataReader.cs: GetBytes: return the length of the data if
1000 output buffer is null. if not, copy the values to buffer and
1001 return the bytes actually read.
1003 2005-02-02 Sureshkumar T <tsureshkumar@novell.com>
1006 - Database: return db name from database if connection open,
1007 otherwise take from connection string.
1008 - Set default values for parameters in the constructor itself.
1009 - Dangling else problem with Close method.
1010 - reset values of parms (TdsConnectionParameters) rather setting
1012 - set disposed to false in Open method
1013 - finally call base.Dispose in Dispose (bool)
1015 Fixes nunit regressions SqlConnectionTest:DefaultConnectionValues
1016 and SqlConnectionTest:DatabaseSynonyms.
1018 2005-01-27 Sureshkumar T <tsureshkumar@novell.com>
1020 * SqlCommand.cs (DeriveParameters): Change parameter name to
1022 * SqlParameter.cs (SqlParameter (object [])) : call default
1023 constructor to create Tds.Metaparameter.
1027 2005-01-03 Sureshkumar T <tsureshkumar@novell.com>
1029 * SqlCommand.cs: Fixed bug #68973. Reset Tds.RecordsAffected to 0
1030 for each execute statement.
1032 2004-11-25 Sureshkumar T <tsureshkumar@novell.com>
1034 These changes are for 2.0 profile only. These changes implement
1035 the generic data base access technique using Provider Factory
1036 Implementation. These classes need to be dervided from abstract
1037 base classes so that the corresponding factory classes are
1038 created when calling CreateCommand, CreateParameter, etc.
1040 * SqlClientFactory.cs: Provider Factory class Implementaion for SqlServer
1041 * SqlParameter.cs: Change base classes and override methods.
1042 * SqlParameterCollection.cs: Change base classes and override methods.
1043 * SqlTransaction.cs: Change base classes and override methods.
1044 * SqlDataSourceEnumerator.cs: DataSource Enumerator stubs.
1045 * SqlDataReader.cs: Change base classes and override methods.
1046 * SqlConnection.cs: Change base classes and override methods.
1047 * SqlCommandBuilder.cs: Change base classes and override methods.
1048 * SqlCommand.cs: Change base classes and override necessary methods.
1050 2004-10-14 Umadevi S <sumadevi@novell.com>
1051 * SqlCommand.cs - Implemented the clone method correctly.
1054 2004-10-06 Umadevi S <sumadevi@novell.com>
1055 * ISqlNoticationReceiver.cs - changed namespace
1056 * Added files SqlNotificationType.cs, SqlNotificationInfo.cs, SqlNotificationSource.cs
1058 2004-09-24 Umadevi S <sumadevi@novell.com>
1059 * SqlTransaction.cs - Dispose will not call rollback incase the transaction is not open.
1061 2004-09-14 Sebastien Pouliot <sebastien@ximian.com>
1063 * SqlClientPermission.cs: Added internal constructor accepting an Sql
1064 ClientPermissionAttribute parameter (using base class protected ctor).
1065 * SqlClientPermissionAttribute.cs: Copy now use the new SqlClient
1066 Permission constructor.
1068 2004-09-13 Sebastien Pouliot <sebastien@ximian.com>
1070 * SqlClientPermission.cs: Mostly completed (needs tests).
1071 * SqlClientPermissionAttribute.cs: Completed.
1073 2004-09-02 Umadevi S <sumadevi@novell.com>
1074 * SqlCommand.cs - ExecuteNonQuery to return -1 incase of executing a storedprocedure
1076 2004-08-16 Gert Driesen <drieseng@users.sourceforge.net>
1078 * SqlConnection.cs: added TODO on ConnectionString for keywords
1079 that are not yet implemented. check value of Integrated Security
1080 keyword, check value of bool keywords, improve error reporting
1081 for int keywords, added support for the following keyword
1082 synonyms : APP, TIMEOUT, NETWORK, PERSISTSECURITYINFO, WSID,
1083 LANGUAGE, USER. Throw NotImplementedException when encrypt keyword
1084 is set to true, enlist keyword is set to false or attachdbfilename
1085 keyword (or one of its synonyms) is set. Added FIXME for PERSIST
1086 SECURITY INFO keyword, throwing a NotImplementedException here
1087 would break lots of apps
1089 2004-08-16 Gert Driesen <drieseng@users.sourceforge.net>
1091 * SqlConnection.cs - spaces to tabs
1093 2004-08-12 Sureshkumar T <tsureshkumar@novell.com>
1094 * SqlDataReader.cs - In Close method, the remaining resultsets are drained
1095 out, to read output parameters & to avoid stream overlap
1097 2004-06-30 Umadevi S <sumadevi@novell.com>
1098 * SqlCommand.cs : In the Execute Method the commandbehavior parameters were ignored correct
1101 2004-06-22 Atsushi Enomoto <atsushi@ximian.com>
1103 * SqlCommandBuilder.cs : Avoid cast exception caused by DbNull.
1105 2004-06-18 Umadevi S <sumadevi@novell.com>
1106 * SqlCommand.cs - ExecuteNonQuery returns -1 in all cases except
1107 insert,update or delete.
1109 2004-06-18 Umadevi S <sumadevi@novell.com>
1110 * SqlConnection.cs - handled null being passed as a connectionstring
1111 - checked for minimal set of parameters in connectionstring.
1112 - handled unrecogonized keywords similar to MS.NET
1114 2004-06-17 Umadevi S <sumadevi@novell.com>
1115 * SqlTransaction.cs - fixed multiple rollbacks being called causes invalidoperationexception
1117 2004-06-04 Gert Driesen <drieseng@users.sourceforge.net>
1119 * SqlClientPermission.cs: removed extra CreateInstance
1122 2004-06-02 Gert Driesen <drieseng@users.sourceforge.net>
1124 * SQLDebugging.cs: added missing attributes, marked ctor
1125 public to match MS.NET
1127 2004-05-22 Atsushi Enomoto <atsushi@ximian.com>
1129 * SqlClientPermission.cs : don't use chained obsolete .ctor.
1131 2004-05-20 Gert Driesen (drieseng@users.sourceforge.net)
1133 * SqlClientPermissionAttribute.cs: change AllowMultiple and
1134 Inherited to match .NET
1136 2004-05-20 Umadevi S <sumadevi@novell.com>
1138 * Fixed bug 58406- implemented the hasrow method, test program used
1139 to test with the bug report
1141 2004-05-13 Umadevi S <sumadevi@novell.com>
1143 * SqlClientPermission.cs, SqlDataReader.cs - added missing methods with TODO tags
1144 * SqlCommand.cs, SqlDataAdapter.cs - implemented ToolboxItemAttribute
1145 * SQLDebugging.cs - Added new file with a TODO tag
1147 2004-04-05 Lluis Sanchez Gual <lluis@ximian.com>
1149 * SqlConnection.cs: Use connection pool implemented in Mono.Data.Tds.
1151 2004-04-01 Lluis Sanchez Gual <lluis@ximian.com>
1153 * SqlDataReader.cs: Null values are now represented with DBNull instances.
1156 2004-03-14 Tim Coleman <tim@timcoleman.com>
1157 * SqlCommand.cs SqlConnection.cs:
1158 Changes from two patches by Andres Taylor
1159 <andres@rotselleri.com>
1161 2004-03-12 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1163 * SqlParameter.cs: DO NOT USE the consts scheme if types can be referenced directly!
1165 2004-01-10 Atsushi Enomoto <atsushi@ximian.com>
1167 * SqlClientPermission.cs : Fixed NET_2_0 build related to
1168 obsolete attribute problem (see DbDataPermission.cs)
1170 2003-12-28 Tim Coleman <tim@timcoleman.com>
1172 Stubbed out this class.
1174 2003-12-23 Tim Coleman <tim@timcoleman.com>
1176 Improved connection string parsing. See
1177 System.Data.Common.DbConnectionString for source.
1179 2003-12-21 Tim Coleman <tim@timcoleman.com>
1181 Enable Integrated Security
1183 2003-12-19 Tim Coleman <tim@timcoleman.com>
1184 * ISqlNotificationReceiver.cs SqlResultSet.cs:
1186 * SqlClientPermission.cs:
1187 Fix constructor for 1.2
1189 2003-12-04 John Luke <jluke@cfl.rr.com>
1191 * SqlXmlTextReader.cs: applied patch from Chris Masters <neeeeeep@bigpond.com>
1192 fix peek so it checks if it is at the end and also to make sure that if Read()
1193 advances the position past the end of the localBuffer array, it makes
1194 a call to GetNextBuffer(). fixes bug #40253 System.IndexOutOfRangeException when
1195 using SqlCommand.ExecuteXmlReader()
1197 2003-11-20 Joerg Rosenkranz <JoergR@voelcker.com>
1199 * SqlConnection (SetDefaultConnectionParameters):
1200 Changed default value of WORKSTATION ID to reflect real
1201 host name instead of "localhost".
1203 2003-11-16 Ben Maurer <bmaurer@users.sourceforge.net>
1205 * SqlParameterCollection.cs (Clear): Clear needs to take
1206 the parameter out of the collection so that it can be used
1211 2003-10-03 Diego Caravana <diego@toth.it>
1213 * SqlCommand.cs: no change.
1215 * SqlConnection.cs (Close): Added checks for null instance
1218 * SqlParameter.cs (Direction): Now handles parameters of type
1219 ReturnValue and InputOutput.
1221 * SqlParameterCollection.cs (IndexOf(string)): Search for
1222 SqlParameter object in list is done by obtaining ParameterName
1223 attribute, not directly through list.IndexOf().
1225 2003-08-22 Duncan Mak <duncan@ximian.com>
1227 * SqlCommand.cs (ExecuteNonQuery): Return
1228 Connection.Tds.RecordsAffected if it is successful. Patch from
1229 Jörg Rosenkranz <joergr@voelcker.com>.
1231 This is part of a fix to bug #40315.
1233 2003-08-20 Duncan Mak <duncan@ximian.com>
1235 * SqlConnectionPool.cs (ReleaseConnection): A patch from Joerg
1236 Rosenkranz <JoergR@voelcker.com>. Currently, if a connection is
1237 closed by an external event (network problem, etc.) it is pushed
1238 back into the connection pool. The next Open call retrieves this
1239 invalid connection which leads to exceptions when executing
1242 This patch fixes this problem. This closes bug #47429.
1244 2003-07-04 Miguel de Icaza <miguel@ximian.com>
1246 * SqlDataReader.cs: Added extra information to the exceptions
1247 thrown by all the GetXXXX methods.
1249 2003-03-15 Daniel Morgan <danmorg@sc.rr.com>
1251 * SqlConnection.cs: if Server in the ConnectionString
1252 is set to "(local", use "localhost" as the hostname
1255 2003-03-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1257 * SqlException.cs: implemented GetObjectData ().
1259 2003-02-16 Daniel Morgan <danmorg@sc.rr.com>
1261 * ChangeLog: added this file
1263 * SqlConnection.cs: - parse data source for 3 possible uses:
1265 "Server=hostname\\instancename",
1266 "Server=hostname,port" and open the connection based on the
1267 resulting server name and port.
1268 - Added support for named instances
1269 by discovery of the sql server tcp port via the sql monitor (udp port 1434)
1270 thanks to Phillip Jerkins (Phillip.Jerkins@morgankeegan.com) contribution.
1271 Also, thanks to Gonzalo and Tim for their help with timeouts.