ChangeLog 51 KB

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