1 2008-07-28 Gert Driesen <drieseng@users.sourceforge.net>
3 * SqlCommand.cs (ExecuteReader): When behavior includes SingleRow,
4 then only return a single result. Fixes bug #412569.
6 2008-07-28 Gert Driesen <drieseng@users.sourceforge.net>
8 * SqlCommand.cs: Fixed order of arguments for ArgumentException in
10 * SqlConnection.cs (ChangePassword): Do not allow empty connection
11 string. Updated exception messages.
13 2008-07-28 Gert Driesen <drieseng@users.sourceforge.net>
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
23 2008-07-28 Gert Driesen <drieseng@users.sourceforge.net>
25 * SqlCommand.cs: Added bool argument to ValidateCommand to specify
26 whether an async method is being executed. Minor changes to exception
29 2008-07-28 Gert Driesen <drieseng@users.sourceforge.net>
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
39 2008-07-28 Gert Driesen <drieseng@users.sourceforge.net>
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.
45 2008-07-28 Gert Driesen <drieseng@users.sourceforge.net>
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
54 2008-07-28 Gert Driesen <drieseng@users.sourceforge.net>
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.
63 2008-07-28 Gert Driesen <drieseng@users.sourceforge.net>
65 * SqlConnection.cs (ChangeState): Return immediately when new state
66 equals original state. Fixes bug #412574. Removed extra whitespace.
68 2008-07-23 Veerapuram Varadhan <vvaradhan@novell.com>
70 * SqlDataReader.cs (NextResult): Memleak fix - mark datatypeNames
71 array to be GCed along with schemaTable.
73 2008-07-23 Veerapuram Varadhan <vvaradhan@novell.com>
75 * SqlDataReader.cs: Do not generate schemaTable unless otherwise
76 asked for; use command.Tds.Columns instead. Improves performance
79 2008-07-10 Veerapuram Varadhan <vvaradhan@novell.com>
82 * SqlCommand.cs (GetOutputParameters): Update parameter values iff
83 parameter direction is InputOutput or Output.
85 2008-07-06 Gert Driesen <drieseng@users.sourceforge.net>
87 * SqlException.cs: Modified HResult/ErrorCode to match MS. Removed
88 unused FromTdsInternalException overload. Removed unnecessary check
89 for Errors.Count. Minor code formatting.
91 2008-07-03 Rodrigo Kumpera <rkumpera@novell.com>
93 * SqlConnection.cs: Remove connStringParameters as nobody uses it.
95 2008-07-01 Rodrigo Kumpera <rkumpera@novell.com>
97 * SqlDataReader.cs: Do all column accesses with int indexes.
99 2008-07-01 Rodrigo Kumpera <rkumpera@novell.com>
101 * SqlDataReader.cs (GetSchemaTable): All column index are constants,
104 2008-07-01 Rodrigo Kumpera <rkumpera@novell.com>
106 * SqlDataReader.cs (GetSchemaTable): Calculate column indexes
107 outside of the row loop.
109 2008-07-01 Marek Habersack <mhabersack@novell.com>
111 * SqlDataReader.cs: use named properties in TdsDataColumn for the
114 2008-06-30 Zoltan Varga <vargaz@gmail.com>
116 * SqlDataReader.cs: Allocate 'schemaTable' lazily.
117 (GetSchemaValue): Avoid some hash table lookups
119 2008-06-27 Zoltan Varga <vargaz@gmail.com>
121 * SqlDataReader.cs (ConstructSchemaTable): Avoid unneccessary reflection calls.
123 2008-06-23 Veerapuram Varadhan <vvaradhan@novell.com>
125 * SqlDependency.cs: New
127 2008-06-12 Veerapuram Varadhan <vvaradhan@novell.com>
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.
133 2008-06-12 Marek Habersack <mhabersack@novell.com>
135 * SqlParameterCollection.cs: this [int] must check the range and
136 throw an exception if necessary.
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.
142 2008-06-10 Veerapuram Varadhan <vvaradhan@novell.com>
144 * SqlConnection.cs: TdsConnectionPool.GetConnectionPool() now returns
145 IDictionary<TKey, TValue>.
147 2008-06-09 Ankit Jain <jankit@novell.com>
149 * SqlCommand.cs: Use Tds instead of ITds now.
150 * SqlConnection.cs: Likewise.
152 2008-05-27 Gert Driesen <drieseng@users.sourceforge.net>
154 * SqlConnection.cs: Added support for '.' as alias for localhost.
155 Improve exception message when TCP/IP protocol is not enabled.
157 2008-05-17 Gert Driesen <drieseng@users.sourceforge.net>
159 * SqlDataReader.cs (GetInt64): Removed workaround for TDS 7.0 handling
160 of bigint column type as this is handled in Mono.Data.Tds.
162 2008-05-14 Marek Habersack <mhabersack@novell.com>
164 * SqlConnection.cs: added support for USER INSTANCE keyword in the
167 2008-04-22 Veerapuram Varadhan <vvaradhan@novell.com>
170 * SqlCommand.cs: Handle exceptions sanely and do not close
171 connection on TdsTimeoutException.
173 2008-04-21 Gert Driesen <drieseng@users.sourceforge.net>
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
181 * SqlDataReader.cs: Changed argument names to match MS. Code
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.
191 2008-04-19 Robert Jordan <robertj@gmx.net>
193 * SqlParameterCollection.cs (AddRange(SqlParameter[])):
194 Fix endless recursion.
196 2008-04-08 Marek Habersack <mhabersack@novell.com>
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.
203 2008-04-01 Marek Habersack <mhabersack@novell.com>
205 * SqlParameter.cs: ConvertToFrameworkType must handle empty
206 strings gracefully - a DBNull.Value must be returned in this
209 * SqlCommand.cs: DeriveParameters should split the stored
210 procedure name into the schema name and procedure name before
211 querying its parameters.
213 2008-03-03 Ankit Jain <jankit@novell.com>
215 * SqlClientMetaDataCollectionNames.cs: Set the field values.
217 2007-10-21 Gert Driesen <drieseng@users.sourceforge.net>
219 * SqlCommand.cs: Use ExceptionHelper.CheckEnumValue for enum checks.
221 2007-10-20 Gert Driesen <drieseng@users.sourceforge.net>
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
242 2007-10-19 Gert Driesen <drieseng@users.sourceforge.net>
244 * SqlTransaction.cs: Clear connection in commit. In IsolationLevel,
245 throw IOE if transaction is no longer open.
247 2007-10-19 Gert Driesen <drieseng@users.sourceforge.net>
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
255 2007-10-18 Gert Driesen <drieseng@users.sourceforge.net>
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.
267 2007-10-18 Gert Driesen <drieseng@users.sourceforge.net>
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.
274 2007-10-17 Nagappan <anagappan@novell.com>
276 * SqlParameter.cs (ConvertToFrameworkType): Added SqlDbType.Image.
278 2007-10-17 Nagappan <anagappan@novell.com>
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
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
288 2007-10-15 Gert Driesen <drieseng@users.sourceforge.net>
290 * SqlException.cs: Do not hide Message on 2.0 profile. Fixes bug
293 2007-10-08 Marek Safar <marek.safar@gmail.com>
295 * SqlParameterCollection.cs (SetParameter): Fixed missing cast.
297 2007-09-27 Nagappan A <anagappan@novell.com>
299 * SqlConnection.cs: Added MonoTODO appropriately.
301 2007-09-26 Nagappan A <anagappan@novell.com>
303 * SqlCommandBuilder.cs: Code alignment.
305 2007-09-25 Nagappan A <anagappan@novell.com>
307 * SqlInitialCatalogConverter.cs, SqlDataSourceConverter.cs:
308 NetworkLibraryConverter.cs: Added new files.
310 * SqlParameter.cs: 2.0 attribute changes.
312 * SqlDataAdapter.cs: 2.0 attribute changes.
314 * SqlConnectionStringBuilder.cs: 2.0 attribute changes.
316 * SqlConnection.cs (ClearAllPools, ClearPool): Implemented 2.0
317 APIs, other 2.0 attribute changes.
319 * SqlCommandBuilder.cs (GetSchemaTable, InitializeCommand):
320 Implemented 2.0 APIs, other 2.0 attribute changes.
322 * SqlBulkCopyColumnMappingCollection.cs: Added constructor, 2.0
323 API compatibility changes.
325 * SqlException.cs: 2.0 attribute changes.
327 2007-08-13 Nagappan A <anagappan@novell.com>
329 * SqlConnection.cs (ConnectionString): 2.0 compatibility changes.
331 * SqlDataReader.cs (IsCommandBehavior): Fixed spelling mistake of
333 (Dispose): 2.0 compatibility changes.
335 * SqlBulkCopy.cs (SqlRowsCopied): Fixed spelling mistake of the
337 (RowsCopied): Generates event when NotifyAfter is set.
339 * SqlCommandBuilder.cs (Dispose, RefreshSchema): 2.0 compatibility
342 * SqlClientFactory.cs (CreateDataSourceEnumerator): Removed bogus
345 * SqlException.cs (Message): 2.0 compatibility changes.
347 2007-08-06 Nagappan A <anagappan@novell.com>
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.
353 2007-07-31 Nagappan A <anagappan@novell.com>
355 * SqlCommand.cs (Transaction, Connection): IDbCommand Transaction
356 and Connection can be set to null. Fixes bug 82189.
358 2007-07-23 Nagappan A <anagappan@novell.com>
360 * SqlCommandBuilder.cs (ApplyParameterInfo, GetParameterName):
361 (GetParameterPlaceholder): Implemented 2.0 missing APIs.
363 2007-07-22 Nagappan A <anagappan@novell.com>
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
371 (WriteToServer): Implemented 2.0 missing overloaded methods.
372 (IDisposable.Dispose): Implemented 2.0 missing method.
374 * SqlBulkCopyColumnMappingCollection.cs (Add, CopyTo): Implemented
376 (Item): Implemented missing property.
378 * SqlBulkCopyColumnMapping.cs: Modified the implementation of
379 Constructors to use property.
381 * SqlDataReader.cs (GetSqlXml, IsCommandBehaviour): Added 2.0
383 (Connection): Added missing property.
385 * SqlParameter.cs (SetSqlDbType, ConvertToFrameworkType): Modified
386 method as internal from private.
388 * SqlConnection.cs: Fixed 2.0 missing feature.
390 * SqlException.cs: Fixed 2.0 missing feature.
392 * SqlClientPermission.cs: Fixed 2.0 missing feature.
394 2007-07-01 Gert Driesen <drieseng@users.sourceforge.net>
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.
425 2007-06-21 Nagappan A <anagappan@novell.com>
427 * SqlConnection.cs: Fixed compiler warning.
429 2007-06-11 Nagappan A <anagappan@novell.com>
431 * SqlConnection.cs (ParseDataSource): Adds tcp support in
432 connection string. Fixes bug # 80975.
434 * SqlCommand.cs (Dispose): On disposing the command object, don't
435 dispose connection and transaction.
437 2007-06-06 Nagappan A <anagappan@novell.com>
439 * SqlCommand.cs, SqlConnectionStringBuilder.cs, SqlConnection.cs:
440 Fixed 1.0 and 2.0 extras, errors as stated in class status page.
442 * SqlDataAdapter.cs, SqlParameter.cs:Fixed 1.0 and 2.0 extras,
443 errors as stated in class status page.
445 * SqlBulkCopyColumnMappingCollection.cs: Fixed 1.0 and 2.0 extras,
446 errors as stated in class status page.
448 2007-05-30 Nagappan A <anagappan@novell.com>
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.
457 * SqlParameterCollection.cs: Fixed missing attributes and
458 implemented missing methods.
460 * SqlConnection.cs: Fixed missing attributes.
462 * SqlConnectionStringBuilder.cs: Certain attributes are missing or
463 its value or they are not appropriate. Fixed them.
465 * SqlDataReader.cs (GetData): Method is available only under 1.0
468 * SqlCommandBuilder.cs: Certain attributes are available only
469 under 2.0 profile, so moved them inside ifdef.
471 * SqlCommand.cs: Certain attributes are available only under 2.0
472 profile, so moved them inside ifdef.
474 * SqlBulkCopy.cs: Added new stubs.
476 * SqlBulkCopyColumnMappingCollection.cs: Added new stubs.
478 2007-05-29 Nagappan A <anagappan@novell.com>
480 * SqlCommand.cs (Dispose): Command.Dispose closing
481 connection. Fixes bug # 81710. Thanks to AMC <amc1999@gmail.com>
484 2007-05-10 Nagappan A <anagappan@novell.com>
486 * SqlClientMetaDataCollectionNames.cs: Fixed incorrect constructor
489 * SqlConnectionStringBuilder.cs: Fixed missing attributes.
491 2007-05-09 Igor Zelmanovich <igorz@mainsoft.com>
493 * SqlConnectionStringBuilder.cs: added MonoNotSupported attribute.
495 2007-04-03 Amit Biswas <amit@amitbiswas.com>
497 * SqlDataReader.cs (GetSqlBytes, GetProviderSpecificFieldType)
498 (GetProviderSpecificValue, GetProviderSpecificValues): Implemented
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
507 * SqlErrorCollection.cs (CopyTo): Implemented missing API
509 * SqlParameter.cs (InferSqlType): Corrected bug related to default values of
511 (ResetSqlDbType): Implemented missing API
512 (ResetDbType): Implemented missing API
514 2007-03-09 Amit Biswas <amit@amitbiswas.com>
516 * SqlParameterCollection.cs (CopyTo): Implemented missing API
518 2007-04-02 Nagappan A <anagappan@novell.com>
520 * SqlParameter.cs: Variable name fix.
522 2007-03-20 Nidhi Rawal <rawalnidhi_rawal@yahoo.com>
524 * SqlClientFactory.cs: Added two using directives.
525 (CreateConnectionStringBuilder): Implemented the method.
526 (CreatePermission): Implemented the property.
528 * SqlCommand.cs: Added one using directive.
529 (Clone): Implemented the method.
530 (Dispose): Implemented the method.
531 (BeginExecuteXmlReader): Implemented the method.
533 * SqlCommandBuilder.cs (QuoteIdentifier): Implemented the method.
534 (UnquoteIdentifier): Implemented the method.
536 * SqlConnection.cs (ChangePassword): Implemented the method.
538 2007-03-19 Nidhi Rawal <rawalnidhi_rawal@yahoo.com>
540 * SqlClientFactory.cs (CanCreateDataSourceEnumerator): Implemented
543 * SqlCommand.cs (Notification): Implemented the property.
544 (NotificationAutoEnlist): Implemented the property.
546 * SqlDataReader.cs (VisibleFieldCount): Implemented the property.
548 * SqlConnectionStringBuilder.cs (TrustServerCertificate): Implemented
550 (TypeSystemVersion): Implemented the property.
551 (UserInstance): Implemented the property.
552 (ContextConnection): Implemented the property.
554 * SqlConnection.cs (FireInfoMessageEventOnUserErrors): Implemented
556 (StatisticsEnabled): Implemented the property.
558 * SqlDataAdapter.cs (UpdateBatchSize): Implemented the property.
560 * SqlParameter.cs: Implemented one attribute.
562 2007-03-16 Andreia Gaita <avidigal@novell.com>
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.
568 2007-03-14 Nagappan A <anagappan@novell.com>
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.
579 2007-03-09 Nagappan A <anagappan@novell.com>
581 * SqlDataReader.cs: Fixed syntax erros reported in class status
584 2007-03-09 Andreia Gaita <avidigal@novell.com>
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.
590 2007-03-08 Nagappan A <anagappan@novell.com>
592 * SqlCommand.cs (CloseDataReader): Checks whether the SQL
593 connection is created or not.
595 2007-03-07 Andreia Gaita <avidigal@novell.com>
597 * SqlCommand.cs (ExecuteScalar): when calling stored procedures,
598 implement support for return of output values in the parameter
601 2007-02-16 Nidhi Rawal <rawalnidhi_rawal@yahoo.com>
603 * SqlParameter.cs (CompareInfo): Implemented the property
605 (LocaleId): Written the property LocaleId.
606 (SqlValue): Written the propert SqlValue.
608 2007-02-15 Nidhi Rawal <rawalnidhi_rawal@yahoo.com>
610 * SqlCommand.cs: Added some attributes which were not implemented
611 for .NET 2.0 and removed extra attribute which are not there in
614 * SqlCommandBuilder.cs: Added some attributes that were not
615 implemented for .NET 2.0.
617 * SqlParameterCollection.cs: Added some attributes that were
618 not implemented for .NET 2.0.
620 * SqlConnectionStringBuilder.cs: Added some attributes that
621 were not implemented for .NET 2.0.
623 * SqlConnection.cs: Added attribute that was not implemented
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
630 2007-02-09 Nagappan A <anagappan@novell.com>
632 * SqlConnection.cs (SetConnectionString): Fixes bug # 80712. A
635 2007-01-08 Nagappan A <anagappan@novell.com>
637 * SqlTransaction.cs (Dispose): Fixed compliation warning.
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.
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.
654 * SqlCommand.cs: Fixed compilation warning. Removed bogus
657 2006-12-05 Nagappan A <anagappan@novell.com>
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.
663 2006-08-30 Nagappan A <anagappan@novell.com>
665 * SqlConnection.cs: Implemented SqlConnection.GetSchema ().
667 2006-09-08 Konstantin Triger <kostat@mainsoft.com>
669 * SqlClientFactory.cs: implemented SqlClientFactory.CreateConnection ().
671 2006-07-13 Senganal T <tsenganal@novell.com>
673 * SqlClientFactory.cs SqlCommand.cs SqlConnectionFactory.cs
674 SqlClientPermission.cs SqlParameterCollection.cs SqlDataReader.cs
675 SqlConnection.cs SqlParameter.cs SqlTransaction.cs :
678 2006-05-31 Gert Driesen <drieseng@users.sourceforge.net>
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.
685 2006-05-26 Senganal T <tsenganal@novell.com>
688 - InferSqlType : if value is null or DBNull.Value, retain the
689 current parameter type.
691 2006-04-18 Senganal T <tsenganal@novell.com>
694 - SetConnectionString : set the pareameter to default values
695 if connection string is empty or null
696 - Open : Raise InvalidOperationException if Connection String
698 - Dispose : Test exception not raised if dispose called on a
699 connection with empty connection string
701 slight modification of the patch by Jonel Rienton
703 2006-04-07 Senganal T <tsenganal@novell.com>
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
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
723 * RefreshSchema : Reset the commands.
725 2006-02-17 Chris Toshok <toshok@ximian.com>
727 * SqlCommand.cs, SqlCommandBuilder.cs, SqlConnection.cs,
728 SqlDataAdapter.cs: remove DataSysDescription attributes for >= 2.0
730 2006-02-17 Chris Toshok <toshok@ximian.com>
732 * SqlDataReader.cs: remove VisibleFieldCount property.
734 2006-02-10 Senganal T <tsenganal@novell.com>
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
741 - ExecuteReader : set SequentialAccess property on TDS
742 - CloseDataReader : Reset the command behavior
744 2006-01-27 Senganal T <tsenganal@novell.com>
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
751 - Modifed Prepare, to check if Parameter is explicitly initialized
753 - Added CheckIfInitialized : Checks if datatype is explicitly set and
754 non-zero size is set for variable datatypes.
756 - Added code for GetSqlBinary ()
757 - Fixed GetFieldCount ()
758 - Added more checks and exceptions.
760 2006-01-17 Senganal T <tsenganal@novell.com>
762 * SqlCommandBuilder.cs
763 - Modified CreateNewCommand () : Clean up any existing parameter list
764 before reusing the command.Fixes #77225
766 2005-11-24 Senganal T <tsenganal@novell.com>
769 - Modifications to get the correct Packet Size
771 2005-11-21 Senganal T <tsenganal@novell.com>
773 * SqlClientFactory.cs
774 * SqlCommandBuilder.cs
775 * SqlParameterCollection.cs
781 Added stubs and other changes for ADO.NET 2.0 compatibility
783 2005-11-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
785 * SqlConnection.cs: don't throw NotImplementedException when using
786 'PERSIST SECUTIRY INFO'. Just do nothing.
788 2005-10-27 Senganal T <tsenganal@novell.com>
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
796 2005-10-19 Senganal T <tsenganal@novell.com>
798 * SqlConnection.cs (SetProperties) :
799 - Added support for AttachDBFileName
801 2005-10-19 Senganal T <tsenganal@novell.com>
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.
808 2005-09-24 Sureshkumar T <tsureshkumar@novell.com>
810 * SqlParameterCollection.cs (AddWithValue): added method. patch
811 from awaddell@fnfr.com (Andy Waddell).
813 2005-09-21 Senganal T <tsenganal@novell.com>
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.
825 SqlConnection Fixes for the failing sqlserver connected-mode testcases
826 in ProviderTest/System.Data.SqlClient/SqlConnectionTest.cs
828 2005-09-21 Senganal T <tsenganal@novell.com>
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
834 2005-09-02 Umadevi S <sumadevi@novell.com>
836 * Removed SqlResultSet.cs file
838 2005-08-26 Sureshkumar T <tsureshkumar@novell.com>
840 * SqlConnection.cs (Open): enable sp_reset_connection.
842 2005-08-25 Sureshkumar T <tsureshkumar@novell.com>
844 * SqlCommandBuilder.cs: BuildInformation (): continue on columns
845 who don't have basetablename.
847 2005-08-12 Daniel Morgan <danielmorgan@verizon.net>
849 * SqlCommandBuilder.cs: update command builder based on
850 OdbcCommandBuilder latest changes to fix regression
853 2005-08-05 Sureshkumar T <tsureshkumar@novell.com>
855 * SqlCommandBuilder.cs: Set SourceVersion property to the created
856 parameters as it is used by the Adapter's Update method.
858 2005-07-22 Sureshkumar T <tsureshkumar@novell.com>
860 * SqlCommandBuilder.cs, SqlParameterCollection.cs,
861 SqlConnection.cs, SqlParameter.cs:
862 - updated attributes & attribute descriptions to match with
865 2005-07-16 Daniel Morgan <danielmorgan@verizon.net>
867 * SqlCommandBuilder.cs: CreateUpdateCommand should get the current value, not
868 the orginal value when setting one of the SET variables
870 2005-07-15 Sureshkumar T <tsureshkumar@novell.com>
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
880 2005-07-04 Ben Maurer <bmaurer@ximian.com>
882 * SqlError.cs: Patch from dezelin@gmail.com to fix serialization.
884 2005-06-29 Sureshkumar T <tsureshkumar@novell.com>
886 * SqlConnection.cs: Open (): catch TdsInternalException and throw
888 * SqlException.cs: code re-organised to pass message as well with
891 2005-06-23 Sureshkumar T <tsureshkumar@novell.com>
893 * SqlConnectionStringBuilder.cs: simplified multiple keyword
894 mappings and allowed-key checking. fixed Item, Remove,
895 ContainsKey, ShoudSerialize, TryGetValue implementations.
897 2005-06-21 Sureshkumar T <tsureshkumar@novell.com>
899 * SqlConnectionStringBuilder.cs: Connection String Builder class
900 for SqlClient Data Provider.
902 2005-06-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
904 * SqlParameter.cs: moved the 'using S.D.SqlTypes' out of NET_2_0. Fixes
907 2005-06-01 Sureshkumar T <tsureshkumar@novell.com>
909 * SqlParameter.cs: Parameter's value can be SqlTypes. Convert to
910 framework type to pass to TDS layer. Fixes bug #75044.
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.
918 2005-05-20 Kornél Pál <http://www.kornelpal.hu/>
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.
924 2005-05-20 Umadevi S <sumadevi@novell.com>
926 * Fixed Bug 74948 - SqlParameter also takes DBNull Value.
927 Correct some attributes stuff of 1.1 and 2.0 for SqlParameter.cs
929 2005-05-20 Umadevi S <sumadevi@novell.com>
931 * Continuing on implementation for bulkcopy and notification
932 Added files SqlNotificationEventArgs.cs, OnChangeEventHandler.cs
933 Modified SqlRowUpdatingEventArgs.cs
935 2005-05-19 Umadevi S <sumadevi@novell.com>
937 * For implementation of bulkcopy and notifications added files
938 SqlBulkCopyOptions.cs,SqlBulkCopyColumnMapping.cs,SqlNotificationAuthType.cs
939 SqlNotificationTransports.cs,SqlRowsCopiedEventArgs.cs, SqlRowsCopiedEventHandler.cs
941 2005-05-19 Umadevi S <sumadevi@novell.com>
943 * Corrected types,enum values of SqlNotificationType,SqlNotificationSource,
944 SqlNotificationInfo and added new method in SqlRowUpdatingEventArgs.cs
945 (For implementation of bulkcopy/notifications)
947 2005-04-19 Sureshkumar T <tsureshkumar@novell.com>
949 * SqlDataReader.cs: NextResult (): Re-create schema table for each
950 result set. don't re-use, as it may be referenced from somewhere.
952 2005-04-07 Sureshkumar T <tsureshkumar@novell.com>
953 Ankit Jain <radical@corewars.org>
955 * SqlConnection.cs: Implemented additional connection string
956 property "Asynchronous Processing".
958 * SqlCommand.cs: Implemented Asynchronous command execution API.
960 * SqlAsyncState.cs: A internal state object for asynchronous
963 * SqlAsyncResult.cs: Added. Class to hold result for asynchronous
966 2005-03-28 Sureshkumar T <tsureshkumar@novell.com>
968 * SqlCommand.cs: Execute: Add a semicolon at the end of
969 CommandText. Multiple semicolon's are not being complained.
973 2005-03-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
975 * SqlConnection.cs: added a finalizer for correct implementation of the
978 2005-03-11 Gonzalo Paniagua Javier <gonzalo@ximian.com>
980 * SqlException.cs: make it serialization-compatible with MS. Patch by
981 Aleksandar Dezelin. Closes bug #73596.
983 2005-03-08 Sureshkumar T <tsureshkumar@novell.com>
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.
989 2005-03-07 Sureshkumar T <tsureshkumar@novell.com>
991 * SqlCommand.cs : Set CommandBehavior on
992 ExecuteReader,ExecuteScalar,ExecuteNonQuery. This is used in
995 This fixes bug #73252.
997 2005-03-03 Sureshkumar T <tsureshkumar@novell.com>
999 * SqlClientFactory.cs: While creating command, create using
1000 DbConnectionFactory as DbConnectionBase.CreateDbCommand needs to
1001 have a connection factory.
1003 * SqlConnection.cs: Added an internal constructor which takes
1004 DbConnectionFactory.
1006 * SqlConnectionFactory.cs: Added. Concrete class for abstract
1007 factory DbConnectionFactory.
1009 2005-02-22 Sureshkumar T <tsureshkumar@novell.com>
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.
1015 2005-02-02 Sureshkumar T <tsureshkumar@novell.com>
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
1024 - set disposed to false in Open method
1025 - finally call base.Dispose in Dispose (bool)
1027 Fixes nunit regressions SqlConnectionTest:DefaultConnectionValues
1028 and SqlConnectionTest:DatabaseSynonyms.
1030 2005-01-27 Sureshkumar T <tsureshkumar@novell.com>
1032 * SqlCommand.cs (DeriveParameters): Change parameter name to
1034 * SqlParameter.cs (SqlParameter (object [])) : call default
1035 constructor to create Tds.Metaparameter.
1039 2005-01-03 Sureshkumar T <tsureshkumar@novell.com>
1041 * SqlCommand.cs: Fixed bug #68973. Reset Tds.RecordsAffected to 0
1042 for each execute statement.
1044 2004-11-25 Sureshkumar T <tsureshkumar@novell.com>
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.
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.
1062 2004-10-14 Umadevi S <sumadevi@novell.com>
1063 * SqlCommand.cs - Implemented the clone method correctly.
1066 2004-10-06 Umadevi S <sumadevi@novell.com>
1067 * ISqlNoticationReceiver.cs - changed namespace
1068 * Added files SqlNotificationType.cs, SqlNotificationInfo.cs, SqlNotificationSource.cs
1070 2004-09-24 Umadevi S <sumadevi@novell.com>
1071 * SqlTransaction.cs - Dispose will not call rollback incase the transaction is not open.
1073 2004-09-14 Sebastien Pouliot <sebastien@ximian.com>
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.
1080 2004-09-13 Sebastien Pouliot <sebastien@ximian.com>
1082 * SqlClientPermission.cs: Mostly completed (needs tests).
1083 * SqlClientPermissionAttribute.cs: Completed.
1085 2004-09-02 Umadevi S <sumadevi@novell.com>
1086 * SqlCommand.cs - ExecuteNonQuery to return -1 incase of executing a storedprocedure
1088 2004-08-16 Gert Driesen <drieseng@users.sourceforge.net>
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
1101 2004-08-16 Gert Driesen <drieseng@users.sourceforge.net>
1103 * SqlConnection.cs - spaces to tabs
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
1109 2004-06-30 Umadevi S <sumadevi@novell.com>
1110 * SqlCommand.cs : In the Execute Method the commandbehavior parameters were ignored correct
1113 2004-06-22 Atsushi Enomoto <atsushi@ximian.com>
1115 * SqlCommandBuilder.cs : Avoid cast exception caused by DbNull.
1117 2004-06-18 Umadevi S <sumadevi@novell.com>
1118 * SqlCommand.cs - ExecuteNonQuery returns -1 in all cases except
1119 insert,update or delete.
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
1126 2004-06-17 Umadevi S <sumadevi@novell.com>
1127 * SqlTransaction.cs - fixed multiple rollbacks being called causes invalidoperationexception
1129 2004-06-04 Gert Driesen <drieseng@users.sourceforge.net>
1131 * SqlClientPermission.cs: removed extra CreateInstance
1134 2004-06-02 Gert Driesen <drieseng@users.sourceforge.net>
1136 * SQLDebugging.cs: added missing attributes, marked ctor
1137 public to match MS.NET
1139 2004-05-22 Atsushi Enomoto <atsushi@ximian.com>
1141 * SqlClientPermission.cs : don't use chained obsolete .ctor.
1143 2004-05-20 Gert Driesen (drieseng@users.sourceforge.net)
1145 * SqlClientPermissionAttribute.cs: change AllowMultiple and
1146 Inherited to match .NET
1148 2004-05-20 Umadevi S <sumadevi@novell.com>
1150 * Fixed bug 58406- implemented the hasrow method, test program used
1151 to test with the bug report
1153 2004-05-13 Umadevi S <sumadevi@novell.com>
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
1159 2004-04-05 Lluis Sanchez Gual <lluis@ximian.com>
1161 * SqlConnection.cs: Use connection pool implemented in Mono.Data.Tds.
1163 2004-04-01 Lluis Sanchez Gual <lluis@ximian.com>
1165 * SqlDataReader.cs: Null values are now represented with DBNull instances.
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>
1173 2004-03-12 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
1175 * SqlParameter.cs: DO NOT USE the consts scheme if types can be referenced directly!
1177 2004-01-10 Atsushi Enomoto <atsushi@ximian.com>
1179 * SqlClientPermission.cs : Fixed NET_2_0 build related to
1180 obsolete attribute problem (see DbDataPermission.cs)
1182 2003-12-28 Tim Coleman <tim@timcoleman.com>
1184 Stubbed out this class.
1186 2003-12-23 Tim Coleman <tim@timcoleman.com>
1188 Improved connection string parsing. See
1189 System.Data.Common.DbConnectionString for source.
1191 2003-12-21 Tim Coleman <tim@timcoleman.com>
1193 Enable Integrated Security
1195 2003-12-19 Tim Coleman <tim@timcoleman.com>
1196 * ISqlNotificationReceiver.cs SqlResultSet.cs:
1198 * SqlClientPermission.cs:
1199 Fix constructor for 1.2
1201 2003-12-04 John Luke <jluke@cfl.rr.com>
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()
1209 2003-11-20 Joerg Rosenkranz <JoergR@voelcker.com>
1211 * SqlConnection (SetDefaultConnectionParameters):
1212 Changed default value of WORKSTATION ID to reflect real
1213 host name instead of "localhost".
1215 2003-11-16 Ben Maurer <bmaurer@users.sourceforge.net>
1217 * SqlParameterCollection.cs (Clear): Clear needs to take
1218 the parameter out of the collection so that it can be used
1223 2003-10-03 Diego Caravana <diego@toth.it>
1225 * SqlCommand.cs: no change.
1227 * SqlConnection.cs (Close): Added checks for null instance
1230 * SqlParameter.cs (Direction): Now handles parameters of type
1231 ReturnValue and InputOutput.
1233 * SqlParameterCollection.cs (IndexOf(string)): Search for
1234 SqlParameter object in list is done by obtaining ParameterName
1235 attribute, not directly through list.IndexOf().
1237 2003-08-22 Duncan Mak <duncan@ximian.com>
1239 * SqlCommand.cs (ExecuteNonQuery): Return
1240 Connection.Tds.RecordsAffected if it is successful. Patch from
1241 Jörg Rosenkranz <joergr@voelcker.com>.
1243 This is part of a fix to bug #40315.
1245 2003-08-20 Duncan Mak <duncan@ximian.com>
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
1254 This patch fixes this problem. This closes bug #47429.
1256 2003-07-04 Miguel de Icaza <miguel@ximian.com>
1258 * SqlDataReader.cs: Added extra information to the exceptions
1259 thrown by all the GetXXXX methods.
1261 2003-03-15 Daniel Morgan <danmorg@sc.rr.com>
1263 * SqlConnection.cs: if Server in the ConnectionString
1264 is set to "(local", use "localhost" as the hostname
1267 2003-03-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
1269 * SqlException.cs: implemented GetObjectData ().
1271 2003-02-16 Daniel Morgan <danmorg@sc.rr.com>
1273 * ChangeLog: added this file
1275 * SqlConnection.cs: - parse data source for 3 possible uses:
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.