ChangeLog 40 KB

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