ChangeLog 46 KB

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