ChangeLog 46 KB

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