ChangeLog 47 KB

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