ChangeLog 70 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070
  1. 2002-11-01 Tim Coleman ([email protected]) :
  2. * System.Data.Common/DbEnumerator.cs :
  3. * System.Data.SqlClient/SqlDataReader.cs :
  4. Add ColumnSize to schema table.
  5. 2002-10-31 Tim Coleman ([email protected])
  6. * System.Data.Common/DbDataAdapter.cs :
  7. Fix handling of nulls
  8. * System.Data.Common/DbDataRecord.cs :
  9. Change GetFieldType ()
  10. * System.Data.Common/DbEnumerator.cs :
  11. Add new schema information
  12. * System.Data.Common/FieldNameLookup.cs :
  13. Change definition of schema
  14. * System.Data.Common/SchemaInfo.cs :
  15. Add more information
  16. * System.Data.SqlClient/SqlDataReader.cs :
  17. get more schema table data
  18. * list :
  19. Add Mono.Data.TdsClient.Internal.TdsSchemaInfo
  20. 2002-10-31 Ville Palo <[email protected]>
  21. * SqlBinary.cs:
  22. * SqlBoolean.cs:
  23. * SqlByte.cs:
  24. * SqlDecimal.cs:
  25. * SqlDouble.cs:
  26. * SqlInt16.cs:
  27. * SqlInt64.cs:
  28. * SqlString.cs: Some bugfixes and some TODOs but so much
  29. work to do.
  30. 2002-10-30 Tim Coleman ([email protected])
  31. * System.Data.Common/FieldNameLookup.cs:
  32. * System.Data.Common/SchemaInfo.cs:
  33. * System.Data.SqlClient/SqlXmlTextReader.cs:
  34. New classes added
  35. * list :
  36. Class list changed in build
  37. * System.Data.SqlClient/SqlCommand.cs:
  38. Added support for command behaviors
  39. Refactored a bunch of code
  40. Implement ExecuteScalar
  41. Implement ExecuteXmlReader
  42. * System.Data.SqlClient/SqlConnection.cs:
  43. Moved CheckForErrors here
  44. * System.Data.SqlClient/SqlDataAdapter.cs:
  45. Code reformatting
  46. * System.Data.SqlClient/SqlDataReader.cs:
  47. Implement GetEnumerator
  48. Fix NextResult, Read
  49. Add SqlDataReaderEnumerator private class
  50. * System.Data.SqlClient/SqlParameter.cs:
  51. Move some of the Prepare code from SqlCommand to here
  52. * System.Data.SqlClient/SqlTransaction.cs:
  53. Move error checking to SqlConnection
  54. 2002-10-29 Tim Coleman ([email protected])
  55. * System.Data.SqlClient/SqlCommand.cs:
  56. Added code to handle parameters for queries
  57. * System.Data.SqlClient/SqlConnection.cs:
  58. Properly handle resetting SqlConnections
  59. * System.Data.SqlClient/SqlDataReader.cs:
  60. Properly handle the case where no results are returned
  61. * System.Data.SqlClient/SqlParameter.cs:
  62. Default direction to Input
  63. * System.Data.SqlClient/SqlParameterCollection.cs:
  64. Implement GetEnumerator
  65. 2002-10-29 Rodrigo Moya <[email protected]>
  66. * makefile.gnu: added Test directory.
  67. 2002-10-29 Ville Palo <[email protected]>
  68. * System.Data.SqlTypes/SqlGuid.cs: Fixed some bugs and finished
  69. couple of MonoTODOs.
  70. 2002-10-28 Tim Coleman ([email protected])
  71. * System.Data.SqlClient/SqlCommand.cs:
  72. Add some error handling
  73. * System.Data.SqlClient/SqlDataReader.cs:
  74. Add some error handling
  75. Add precision/scale to schema table
  76. * System.Data.SqlClient/SqlException.cs:
  77. Generate a SqlException from TDS error
  78. collection
  79. * System.Data.SqlClient/SqlTransaction.cs:
  80. Add some error handling
  81. 2002-10-28 Ville Palo <[email protected]>
  82. * System.Data.SqlTypes/SqlBinary.cs:
  83. * System.Data.SqlTypes/SqlBoolean.cs:
  84. * System.Data.SqlTypes/SqlByte.cs:
  85. * System.Data.SqlTypes/SqlDateTime.cs:
  86. * System.Data.SqlTypes/SqlDecimal.cs:
  87. * System.Data.SqlTypes/SqlDouble.cs:
  88. * System.Data.SqlTypes/SqlDecimal.cs:
  89. * System.Data.SqlTypes/SqlDouble.cs:
  90. * System.Data.SqlTypes/SqlGuid.cs:
  91. * System.Data.SqlTypes/SqlInt16.cs:
  92. * System.Data.SqlTypes/SqlInt32.cs:
  93. * System.Data.SqlTypes/SqlInt64.cs:
  94. * System.Data.SqlTypes/Money.cs:
  95. * System.Data.SqlTypes/SqlSingle.cs:
  96. * System.Data.SqlTypes/SqlString.cs:
  97. * System.Data.SqlTypes/SqlSingle.cs: Fixed internal loop bugs and
  98. some other minor fixes.
  99. 2002-10-27 Rodrigo Moya <[email protected]>
  100. * System.Data.OleDb/OleDbDataAdapter.cs (Fill, FillSchema,
  101. GetFillParameters, Update): added overloaded methods.
  102. * System.Data.OleDb/OleDbCommand.cs:
  103. * System.Data.OleDb/OleDbDataReader.cs:
  104. * System.Data.OleDb/OleDbConnection.cs: removed limitation of one
  105. data adapter at a time. Mono's version can open as many as you want,
  106. for free.
  107. 2002-10-25 Tim Coleman ([email protected])
  108. * System.Data.SqlClient/SqlConnectionPool.cs:
  109. New class added
  110. * System.Data.SqlClient/SqlClientPermission.cs:
  111. * System.Data.SqlClient/SqlClientPermissionAttribute.cs:
  112. * System.Data.SqlClient/SqlInfoMessageEventArgs.cs:
  113. * System.Data.SqlClient/SqlInfoMessageEventHandler.cs:
  114. * System.Data.SqlClient/SqlParameter.cs:
  115. * System.Data.SqlClient/SqlParameterCollection.cs:
  116. Code reformatting
  117. * System.Data.SqlClient/SqlCommand.cs:
  118. * System.Data.SqlClient/SqlConnection.cs:
  119. * System.Data.SqlClient/SqlException.cs:
  120. * System.Data.SqlClient/SqlTransaction.cs:
  121. New code based on work in TDS Client
  122. * list:
  123. New files added for SqlClient, and TdsClient.Internal
  124. * System.Data.build:
  125. Added reference to System.EnterpriseServices.dll
  126. Still leave SqlClient out of build until danmorg
  127. can fix.
  128. 2002-10-23 Ville Palo <[email protected]>
  129. * System.Data.SqlTypes/SqlDouble.cs:
  130. * System.Data.SqlTypes/SqlSingle.cs: Finished
  131. 2002-10-23 Ville Palo <[email protected]>
  132. * System.Data.SqlTypes/SqlByte.cs:
  133. * System.Data.SqlTypes/SqlBoolean.cs:
  134. * System.Data.SqlTypes/SqlInt16.cs:
  135. * System.Data.SqlTypes/SqlInt32.cs:
  136. * System.Data.SqlTypes/SqlInt64.cs: Finished.
  137. 2002-10-21 Rodrigo Moya <[email protected]>
  138. * list: removed libodbchelper.cs file, which has been removed.
  139. 2002-10-16 Tim Coleamn <[email protected]>
  140. * list:
  141. * System.Data.build:
  142. Exclude compiling of System.Data.SqlClient in
  143. preparation for overhauls of that system.
  144. 2002-10-16 Daniel Morgan <[email protected]>
  145. * ParmUtil.cs
  146. * PostgresLibrary.cs
  147. * PostgresTypes.cs
  148. * SqlClientPermission.cs
  149. * SqlClientPermissionAttribute.cs
  150. * SqlCommand.cs
  151. * SqlCommandBuilder.cs
  152. * SqlConnection.cs
  153. * SqlDataAdapter.cs
  154. * SqlDataReader.cs
  155. * SqlError.cs
  156. * SqlErrorCollection.cs
  157. * SqlException.cs
  158. * SqlInfoMessageEventArgs.cs
  159. * SqlInfoMessageEventHandler.cs
  160. * SqlParameter.cs
  161. * SqlParameterCollection.cs
  162. * SqlRowUpdatedEventArgs.cs
  163. * SqlRowUpdatedEventHandler.cs
  164. * SqlRowUpdatingEventArgs.cs
  165. * SqlRowUpdatingEventHandler.cs
  166. * SqlTransaction.cs: thanks to Miguel de Icaza, he
  167. copied files on the mono cvs server
  168. from mcs/class/System.Data/System.Data.SqlClient
  169. for the PostgreSQL provider
  170. to mcs/class/Mono.Data.PostgreSqlClient.
  171. This frees up
  172. mcs/class/System.Data/System.Data.SqlClient for
  173. the Microsoft SQL Server provider.
  174. Any Mono.Data.PostgreSqlClient/Sql*.cs files
  175. were copied on the cvs server
  176. to Mono.Data.PostgreSqlClient/PgSql*.cs files
  177. and the old Mono.Data.PostgreSqlClient/Sql*.cs
  178. files were removed. Copying, renaming, and removing
  179. was done on the cvs server so we could keep
  180. the cvs change history.
  181. 2002-10-15 Daniel Morgan <[email protected]>
  182. * System.Data.OleDb/libgda.cs: added more functions
  183. to platfrom invoke into shared library libgda
  184. * System.Data.OleDb/OleDbDataReader.cs: implemented
  185. GetSchemaTable() and GetFieldType()
  186. 2002-10-13 Daniel Morgan <[email protected]>
  187. * System.Data/DataRow.cs: don't throw exception
  188. if DBNull is false. Had to do comment this line
  189. to allow a typeof(Type).
  190. * System.Data.SqlClient/SqlCommand.cs: the "DataType"
  191. DataColumn and DataRows in a DataTable for a schema should
  192. be typeof Type, not string. This is to make it
  193. compatible with MS.NET
  194. * System.Data.SqlClient/SqlConnection.cs: the
  195. isolation level should be set before
  196. beginning the transaction
  197. * Test/SqlSharpCli.cs: change string to Type for
  198. "DataType" from a DataRow in a DataTable
  199. that contains a schema.
  200. 2002-10-14 Rodrigo Moya <[email protected]>
  201. * list: added missing Odbc files.
  202. 2002-10-09 Rodrigo Moya <[email protected]>
  203. * list: added System.Data.Odbc files.
  204. 2002-10-09 Brian Ritchie <[email protected]>
  205. * System.Data.Odbc/*: added first version of ODBC managed provider.
  206. 2002-10-07 Gonzalo Paniagua Javier <[email protected]>
  207. * System.Data/ConstraintCollection.cs:
  208. * System.Data/DataColumnCollection.cs:
  209. * System.Data/DataRowCollection.cs:
  210. * System.Data/DataTableCollection.cs:
  211. * System.Data/InternalDataCollectionBase.cs: made List internal to fix
  212. the build with csc. It must be a mcs bug. I will try to get a test case.
  213. 2002-10-06 Luis Fernandez <[email protected]>
  214. * System.Data/Constraint.cs (AssertConstraint): added overloaded
  215. method.
  216. * System.Data/DataColumnCollection.cs: added constraints when needed.
  217. * System.Data/DataRow.cs: validate UniqueConstraint's.
  218. * System.Data/DataRowCollection.cs (ValidateDataRowInternal): new
  219. internal method to validate a given DataRow with respect to the
  220. DataRowCollection.
  221. * System.Data/ForeignKeyConstraint.cs (AssertConstraint): stubs for
  222. new overloaded method.
  223. * System.Data/UniqueConstraint.cs: added implementation.
  224. (AseertConstraint): implemented new overloaded method.
  225. 2002-10-01 Rodrigo Moya <[email protected]>
  226. * System.Data.OleDb/OleDbConnection.cs (Open): commented code from
  227. last commit, which wasn't supposed to be in CVS yet.
  228. 2002-10-01 Luis Fernandez <[email protected]>
  229. * System.Data/DataColumn.cs:
  230. * System.Data/DataRow.cs:
  231. * System.Data/DataRowCollection.cs:
  232. * System.Data/DataTable.cs: some fixes and implementation.
  233. 2002-09-28 Vladimir Vukicevic <[email protected]>
  234. * System.Data.OleDb/OleDbConnection.cs: Close
  235. reader properly in call to ExecuteScalar().
  236. 2002-09-07 Rodrigo Moya <[email protected]>
  237. * System.Data.OleDb/OleDbConnection.cs (Open): changed to use OleDb
  238. connection strings, which are then converted to GDA connection
  239. strings, instead of using directly GDA data source names.
  240. * System.Data.OleDb/libgda.cs: added more needed functions.
  241. 2002-09-06 Franklin Wise <[email protected]>
  242. * System.Data/DataColumn.cs: More flushing out.
  243. * System.Data/ForeignKeyConstraint.cs: Implemented GetHashCode()
  244. * System.Data/UniqueKeyConstraint.cs: Implemented GetHashCode()
  245. * Tests: See Changelog for System.Data/Test
  246. 2002-09-04 Franklin Wise <[email protected]>
  247. * Tests: See Changelog for System.Data/Test
  248. * New Files:
  249. System.Data/DataColumnCollectionTest.cs
  250. System.Data/DataRowCollectionTest.cs
  251. System.Data/DataRowTest.cs
  252. * System.Data/DataColumn.cs: Flushing out validation, type conversion for
  253. autoincrement. Added lots of TODO's.
  254. * System.Data/DataColumnCollection.cs: Wrote out add logic as a comment.
  255. Tagged implementation with FIXME tags. Lot's more validation
  256. and setup needs to be done, much of which is now tagged as todo's
  257. or FIXME's
  258. * System.Data/DataRow.cs: Lot's of fixme's added.
  259. * System.Data/DataRowCollection.cs: TODO's added.
  260. * System.Data/DataTable.cs: Implemented PrimaryKey.
  261. * System.Data/UniqueConstraint.cs: Implemented related PrimaryKey
  262. helpers.
  263. 2002-08-25 Rodrigo Moya <[email protected]>
  264. * System.Data.OleDb/OleDbTransaction.cs (OleDbTransaction): manage
  265. correctly the isolation level.
  266. (IsolationLevel): likewise.
  267. (~OleDbTransaction): implemented.
  268. * System.Data.OleDb/libgda.cs: added more needed stuff.
  269. 2002-08-22 Daniel Morgan <[email protected]>
  270. * System.Data.SqlClient/SqlParameter.cs: flush
  271. * System.Data.SqlClient/SqlParameterCollection.cs: fixes
  272. for the Item property, IndexOf, and Contains.
  273. * Test/SqlSharpCli.cs: added input parameters support.
  274. when a query is executed, if a parameter name matches
  275. a SQL# internal variable name, it uses that value for the parameter; otherwise,
  276. the user is prompted for the parameter value. Currently, it only supports
  277. string parameters.
  278. 2002-08-21 Rodrigo Moya <[email protected]>
  279. * System.Data.OleDb/libgda.cs: adapted to changes in libgda (get_vtype
  280. and get_type for GdaValue).
  281. * System.Data.OleDb/OleDbDataReader.cs: adapted to changes in
  282. libgda.cs.
  283. 2002-08-20 Rodrigo Moya <[email protected]>
  284. * System.Data.OleDb/OleDbConnection.cs (DataReader): new internal
  285. property.
  286. (Close): set the dataReader to null.
  287. * System.Data.OleDb/OleDbDataReader.cs (OleDbDataReader): set the
  288. connection's DataReader property to this object.
  289. (Close): set it to null here.
  290. (Depth, IsDbNull): implemented.
  291. (this): implemented the Item property with a string indexer.
  292. * System.Data.OleDb/OleDbCommand.cs (ExecuteNonQuery, ExecuteReader,
  293. ExecuteScalar): do nothing if there's already an open data reader.
  294. * System.Data.OleDb/libgda.cs: more API functions.
  295. * System.Data.OleDb/TestOleDb.cs (TestDataReader): close the data
  296. reader before continuing.
  297. 2002-08-20 Franklin Wise <[email protected]>
  298. * System.Data/System.Data.build: added nowarn:0679
  299. * System.Data/System.DataTable: cleaned up class, added MonoTODO tags
  300. setup to begin implementing. Implemented ctor().
  301. * Tests: See System.Data\Test\ChangeLog
  302. 2002-08-19 Rodrigo Moya <[email protected]>
  303. * System.Data.OleDb/OleDbSchemaGuid.cs: initialize static members.
  304. 2002-08-19 Franklin Wise <[email protected]>
  305. * Tests: See System.Data\Test\ChangeLog
  306. * System.Data/UniqueConstraint.cs: More validation.
  307. * System.Data/ForeignKeyConstraint.cs: Added more validation rules.
  308. Another LAMESPEC tag. Implemented more of Add/Remove Setup/Cleanup
  309. logic.
  310. * System.Data/DataTable.cs: Added more MonoTODO tags
  311. * class/System.Data/.cvsignore: added tmp & Temp
  312. * System.Data/Constraint.cs: Changed abstract helpers to virtual and
  313. internal.
  314. * System.Data/ConstraintCollection.cs: Commented out unused line.
  315. 2002-08-18 Rodrigo Moya <[email protected]>
  316. * System.Data.OleDb/OleDbConnection.cs (ChangeDatabase): implemented.
  317. * System.Data.OleDb/OleDbException.cs (OleDbException): added internal
  318. constructor.
  319. (ErrorCode, Message, Source, Errors): implemented.
  320. * System.Data.OleDb/OleDbError.cs: implemented the full class.
  321. * System.Data.OleDb/libgda.cs: added more libgda functions.
  322. * System.Data.OleDb/TestOleDb.cs (TestOleDb): display properties for
  323. the opened connection.
  324. 2002-08-18 Rodrigo Moya <[email protected]>
  325. * System.Data.OleDb/OleDbConnection.cs (ServerVersion): implemented.
  326. * System.Data.OleDb/OleDbDataReader.cs (Close): clear the results
  327. ArrayList after releasing the items.
  328. (GetName, GetDateTime, GetDouble, GetSingle, GetInt16, GetInt32,
  329. GetOrdinal, GetString): implemented.
  330. (GetDataTypeName): made it get the type from the data model, not from
  331. the current value, which could not have been retrieved yet.
  332. (GetValue): call the Get* method corresponding with the data type of
  333. the requested column.
  334. * System.Data.OleDb/libgda.cs: added more libgda functions.
  335. (GdaTimestamp, GdaDate, GdaTime): new marshalled structures.
  336. * System.Data.OleDb/TestOleDb.cs (TestDateReader): display column
  337. titles via OleDbDataReader.GetName ().
  338. (TestOleDb): create temporary table with a date field.
  339. (InsertRow): set current date for the date field.
  340. 2002-08-18 Rodrigo Moya <[email protected]>
  341. * System.Data.OleDb/OleDbDataReader.cs (this[]): made it just call
  342. GetValue, which will take care of all the work needed.
  343. (Close): implemented basic stuff.
  344. (~OleDbDataReader): implemented.
  345. * System.Data.OleDb/libgda.cs: added more needed functions.
  346. 2002-08-16 Rodrigo Moya <[email protected]>
  347. * System.Data.OleDb/TestOleDb.cs: made it work with a temporary table
  348. we create.
  349. (TestTransaction): added test for transactions.
  350. 2002-08-16 Rodrigo Moya <[email protected]>
  351. * System.Data.OleDb/libgda.cs: added new needed libgda functions.
  352. * System.Data.OleDb/OleDbDataReader.cs (GetBoolean): throw exceptions
  353. when there are errors.
  354. (GetByte, GetChar, GetDataTypeName, GetValue, Read): implemented.
  355. * System.Data.OleDb/TestOleDb.cs: added more testing code for data
  356. readers.
  357. 2002-08-15 Rodrigo Moya <[email protected]>
  358. * System.Data.OleDb/libgda.cs: added new needed libgda functions.
  359. * System.Data.OleDb/OleDbParameterCollection.cs (GdaParameterList):
  360. create an empty GdaParameterList.
  361. * System.Data.OleDb/OleDbCommand.cs (ExecuteReader): check values
  362. for NULL before passing them to Marshal.PtrToStructure, which issues
  363. an exception if the value is NULL.
  364. 2002-08-15 Rodrigo Moya <[email protected]>
  365. * System.Data/UniqueConstraint.cs (UniqueConstraint): commented
  366. unreachable code to avoid compiler warning.
  367. * System.Data.OleDb/libgda.cs (GdaList): added new internal class.
  368. * System.Data.OleDb/OleDbConnection.cs (DataSource): implemented.
  369. (OpenReader): removed internal method.
  370. * System.Data.OleDb/OleDbCommand.cs (ExecuteReader): split correctly
  371. the list of returned data models.
  372. 2002-08-15 Franklin Wise <[email protected]>
  373. * System.Data/Constraint.cs: Added helper virtual functions
  374. * System.Data/ConstraintCollection.cs: Improved constraint removal,
  375. validation. Removed specific knowledge of subclasses of
  376. Constraint.
  377. * System.Data/DataColumn.cs: Added static helper function to compare
  378. if two DataColumn arrays are the same.
  379. * System.Data/ForeignKeyConstraint.cs: Continued to flush out.
  380. * System.Data/UniqueConstraint.cs: Implemented. Still some constraint
  381. validation to do.
  382. 2002-08-13 Franklin Wise <[email protected]>
  383. * System.Data/DataRow.cs: Added several fixme tags.
  384. 2002-08-13 Rodrigo Moya <[email protected]>
  385. * System.Data.SqlClient/SqlDataAdapter.cs (DeleteCommand,
  386. InsertCommand, SelectCommand, UpdateCommand): removed 'new' keyword
  387. to avoid compiler warnings.
  388. 2002-08-12 Franklin Wise <[email protected]>
  389. * System.Data/Constraint.cs: Implemented
  390. * System.Data/UniqueConstraint.cs: GetHashCode() &
  391. special case Ctor. Still need to be implemented. LAMESPEC tags
  392. added.
  393. * System.Data/ConstraintCollection.cs: Clear() &
  394. AddRange() need to be finished. Several LAMESPEC tags.
  395. * Allow Constraint collection to be created in DataTable.
  396. * System.Data/ForeignKeyConstraint: Added a couple of
  397. helper functions.
  398. * System.Data/DataColumnCollection New/Added DataColumns now have
  399. Table property set.
  400. 2002-08-11 Rodrigo Moya <[email protected]>
  401. * System.Data.OleDb/libgda.cs: added some GdaValue functions.
  402. * System.Data.OleDb/OleDbCommand.cs (OpenReader): removed this
  403. internal method, since we don't need it.
  404. (ExecuteReader): call SetupGdaCommand before executing the command
  405. via libgda functions.
  406. (ExecuteScalar): implemented.
  407. * System.Data.OleDb/OleDbDateReader.cs (OleDbDataReader): removed call
  408. to OleDbCommand.OpenReader.
  409. (GetBoolean): implemented.
  410. 2002-08-08 Franklin Wise <[email protected]>
  411. * System.Data/IDbComand.cs: IDbCommand now inherits IDisposable
  412. * System.Data/IDbConnection.cs: IDbConnection now inherits IDisposable
  413. * System.Data.SqlTypes/SqlCompareOptions.cs: Enum now set to correct
  414. values.
  415. 2002-08-06 Gonzalo Paniagua Javier <[email protected]>
  416. * System.Data.OleDb/OleDbConnection.cs: little fixes to make it work
  417. and don't show a warning in Open.
  418. * System.Data.OleDb/TestOleDb.cs: added Close.
  419. 2002-08-05 Rodrigo Moya <[email protected]>
  420. * System.Data.OleDb/OleDbConnection.cs (ConnectionString,
  421. ConnectionTimeout, ServerVersion, GdaConnection):
  422. corrected style.
  423. (OleDbConnection): call libgda.gda_init on constructor.
  424. * System.Data.OleDb/libgda.cs (libgda): removed static constructor,
  425. which wasn't been called.
  426. * System.Data.OleDb/TestOleDb.cs (TestOleDb): updated to really
  427. make some tests.
  428. 2002-08-04 Rodrigo Moya <[email protected]>
  429. * list: added missing System.Data.OleDb and
  430. System.Data.Common files.
  431. * System.Data.OleDb/ChangeLog: removed and merged with
  432. System.Data's ChangeLog.
  433. * System.Data.OleDb/OleDbDataAdapter.cs:
  434. * System.Data.OleDb/OleDbPermission.cs: compilation fixes.
  435. 2002-07-30 Rodrigo Moya <[email protected]>
  436. * System.Data.OleDb/OleDbDataReader.cs (FieldCount): implemented.
  437. (IsClosed, Item, RecordsAffected): implemented some properties.
  438. * libgda.cs: added GdaDataModel methods.
  439. 2002-07-29 Rodrigo Moya <[email protected]>
  440. * System.Data.OleDb/OleDbDataReader.cs (OleDbDataReader constructor): changed to receive
  441. a second argument (ArrayList results).
  442. (NextResult): implemented.
  443. * System.Data.OleDb/OleDbCommand.cs: don't store the ArrayList of results, since we'll
  444. pass that to the OleDbDataReader.
  445. (OleDbCommand constructor): don't create the ArrayList of results.
  446. (GdaResults): removed property.
  447. (ExecuteReader): create a temporary ArrayList and pass that to the
  448. OleDbDataReader constructor.
  449. 2002-07-28 Rodrigo Moya <[email protected]>
  450. * System.Data.OleDb/OleDbCommand.cs (ExecuteReader):
  451. (CreateParameter): implemented IDbCommand methods.
  452. (CommandText): don't create many GdaCommand's, only one is needed.
  453. (ExecuteNonQuery): set up the internal GDA command object.
  454. (ExecuteReader): use correctly the unique GDA command object.
  455. * System.Data.OleDb/libgda.cs: added new libgda calls.
  456. 2002-07-27 Rodrigo Moya <[email protected]>
  457. * System.Data.OleDb/OleDbConnection.cs (CreateCommand):
  458. (BeginTransaction): implemented IDbConnection methods.
  459. 2002-07-12 Rodrigo Moya <[email protected]>
  460. * list: added System.Data.OleDb files to file list.
  461. 2002-07-11 Rodrigo Moya <[email protected]>
  462. * System.Data.OleDb/libgda.cs: added new libgda functions and some enumerations.
  463. * System.Data.OleDb/OleDbParameter.cs (IsNullable): removed explicit implementation
  464. of the set method for this property.
  465. * System.Data.OleDb/OleDbDataAdapter.cs (MissingMappingAction): implemented.
  466. (MissingSchemaAction): implemented.
  467. 2002-07-10 Tim Coleman <[email protected]>
  468. * System.Data.OleDb/OleDbCommandBuilder.cs: Added new methods, properties
  469. * System.Data.OleDb/OleDbConnection.cs: Modified constructor
  470. * System.Data.OleDb/OleDbError.cs: Added stubbs
  471. * System.Data.OleDb/OleDbException.cs: Added stubbs
  472. * System.Data.OleDb/OleDbInfoMessageEventArgs.cs: Added stubbs
  473. * System.Data.OleDb/OleDbInfoMessageEventHandler.cs: style change
  474. * System.Data.OleDb/OleDbParameter.cs: Added conversion from type to OleDbType
  475. * System.Data.OleDb/OleDbPermission.cs: Added stubbs
  476. * System.Data.OleDb/OleDbSchemaGuid.cs: Added stubbs
  477. * System.Data.OleDb/OleDbTransaction.cs: New constructors, changes to methods to
  478. support transaction nesting
  479. * System.Data.OleDb/libgda.cs: Added my name to this file
  480. 2002-07-09 Tim Coleman <[email protected]>
  481. * System.Data.OleDb/OleDbCommand.cs: Style changes, added new methods
  482. * System.Data.OleDb/OleDbConnection.cs: Style changes, added new methods
  483. * System.Data.OleDb/OleDbDataAdapter.cs: Implementation
  484. * System.Data.OleDb/OleDbDataReader.cs: Added stubbs
  485. * System.Data.OleDb/OleDbErrorCollection.cs: Added stubbs, some implementation
  486. * System.Data.OleDb/OleDbParameter.cs: Style changes, added new methods
  487. * System.Data.OleDb/OleDbParameterCollection.cs: Style changes, added new methods
  488. * System.Data.OleDb/OleDbPermissionAttribute.cs: Style changes, added new methods
  489. * System.Data.OleDb/OleDbRowUpdatedEventArgs.cs: Added stubbs
  490. * System.Data.OleDb/OleDbRowUpdatingEventArgs.cs: Added stubbs
  491. * System.Data.OleDb/OleDbTransaction.cs: Style changes, added new methods
  492. * System.Data.OleDb/OleDbType.cs: Fixed two typos
  493. * System.Data.OleDb/libgda.cs: Style changes, added new methods
  494. 2002-07-09 Tim Coleman <[email protected]>
  495. * System.Data.build: remove restriction on System.Data.OleDb build
  496. 2002-06-03 Rodrigo Moya <[email protected]>
  497. * System.Data.OleDb/OleDbParameterCollection.cs (GetEnumerator, SyncRoot,
  498. IsSynchronized): implemented.
  499. 2002-06-02 Rodrigo Moya <[email protected]>
  500. * System.Data.OleDb/OleDbTransaction.cs (Dispose): added missing method.
  501. * System.Data.OleDb/OleDbCommand.cs (Clone): added missing methods.
  502. (Parameters, Transaction, Connection): made these overload
  503. IDbCommand's ones.
  504. * System.Data.OleDb/OleDbParameterCollection.cs (IndexOf, Remove, RemoveAt):
  505. call m_list methods, not own ones.
  506. * System.Data.OleDb/OleDbParameter.cs: more implementation.
  507. 2002-06-02 Rodrigo Moya <[email protected]>
  508. * System.Data.OleDb/OleDbTransaction.cs (Connection, IsolationLevel, Begin,
  509. Commit, Rollback): implemented.
  510. (GdaConnection): added new internal property.
  511. * System.Data.OleDb/OleDbParameter.cs:
  512. * System.Data.OleDb/OleDbParameterCollection.cs: implemented some methods and
  513. properties.
  514. * System.Data.OleDb/libgda.cs: added yet more libgda API functions.
  515. 2002-06-01 Rodrigo Moya <[email protected]>
  516. * System.Data.OleDb/libgda.cs: added new libgda API functions.
  517. * System.Data.OleDb/OleDbConnection.cs (Provider): implemented.
  518. (BeginTransaction): made it overload IDbConnection methods.
  519. (ChangeDatabase): new stub, needs some work on libgda for being
  520. implemented.
  521. (Clone): new stub.
  522. (Close): implemented.
  523. (CreateCommand): implemented.
  524. (GetOleDbSchemaTable): new stub, until I understand what to do here.
  525. (Open): implemented basic stuff, which is just supporting connection
  526. strings that represent a GDA data source name. More to come.
  527. (InfoMessage, StateChange): added events.
  528. * System.Data.OleDb/TestOleDb.cs: test program for System.Data.OleDb.
  529. 2002-05-29 Rodrigo Moya <[email protected]>
  530. * System.Data.OleDb/libgda.cs: added static constructor.
  531. (GdaClient): new static property to get the underlying GdaClient
  532. object.
  533. * System.Data.OleDb/OleDbConnection.cs: removed GDA initialization, which belongs to
  534. the static 'libgda' class.
  535. 2002-05-29 Rodrigo Moya <[email protected]>
  536. * System.Data.OleDb/libgda.cs: static class for libgda API calls.
  537. * System.Data.OleDb/OleDbConnection.cs: implemented constructors.
  538. (ConnectionString, Connectiontimeout, Database, State):
  539. implemented class properties.
  540. (BeginTransaction): implemented.
  541. * System.Data.OleDb/OleDbTransaction.cs: implemented protected constructors.
  542. * System.Data.OleDb/TestGDA.cs: simple test for libgda API.
  543. 2002-05-27 Rodrigo Moya <[email protected]>
  544. * System.Data.OleDb/*: started System.Data.OleDb provider, based on libgda.
  545. 2002-06-06 Rodrigo Moya <[email protected]>
  546. * list: added missing PostgresTypes.cs file.
  547. 2002-06-02 Francisco Jr. <[email protected]>
  548. * System.Data.SqlClient/SqlParameterCollection.cs: implemented missing
  549. methods.
  550. 2002-05-30 Daniel Morgan <[email protected]>
  551. * System.Data.SqlClient/SqlConnection.cs: modifed -
  552. start to implement the interfaces properly and
  553. properly doing a Close(), Dispose(), and
  554. releasing resources
  555. * Test/SqlSharpCli.cs: modified -
  556. add support for MySQL in Mono.Data.MySql
  557. and OleDb support in System.Data.OleDb. However,
  558. the OleDb support is commented right now.
  559. When the program starts up, a shorter help menu should
  560. display the most important commands: help and quit
  561. 2002-05-28 Rodrigo Moya <[email protected]>
  562. * System.Data.build: exclude System.Data.OleDb files.
  563. 2002-05-27 Daniel Morgan <[email protected]>
  564. * System.Data.SqlClient/SqlCommand.cs: typo
  565. should be CommandBehavior.KeyInfo
  566. * Test/SqlSharpCli.cs: refactored and added a few more
  567. features.
  568. 2002-05-27 Tim Coleman <[email protected]>
  569. * list: update to compile properly (add missing
  570. files and switch path delimiter from '\' to '/').
  571. 2002-05-26 Daniel Morgan <[email protected]>
  572. * System.Data/DataRow.cs
  573. * System.Data.Common/DbDataAdapter.cs: fix to
  574. get Test/TestSqlDataAdapter.cs to work again
  575. * Test/TestSqlDataAdapter.cs: removed comment
  576. about SqlDataReader:NextResult() not being implemented; it
  577. bas been implemented
  578. 2002-05-26 Daniel Morgan <[email protected]>
  579. * System.Data/DataRow.cs: modified
  580. support setting of DBNull.Value
  581. using the Item indexer this[DataColumn]
  582. * System.Data.SqlClient/SqlCommand.cs: modified
  583. tweaks to show TODO's for other CommandBehavior.
  584. Set AllowDBNull column to true for IsKey row
  585. in schema DataTable.
  586. * System.Data.SqlClient/SqlConnection.cs: modified
  587. if transaction is in progress when a Close() is called,
  588. do a transaction Rollback.
  589. 2002-05-26 Daniel Morgan <[email protected]>
  590. * Test/SqlSharpCli.cs: added file
  591. My new toy. SQL# is a command-line tool to enter
  592. SQL commands and queries using Mono System.Data.
  593. It also serves as a test for Mono System.Data.
  594. * System.Data.SqlClient/SqlCommand.cs: modified
  595. - ExecuteNonQuery(), ExecuteScalar(), and ExecuteReader()
  596. should handle the results from SQL Commands and Queries.
  597. - Internal class SqlResult should not create schema Table
  598. for the result from a SQL Command. Also, set the RecordsRetrieved
  599. property for SqlDataReader.
  600. - Closing the SqlDataReader should Close() the SqlConnection for
  601. a CommandBehavior.CloseConnection.
  602. - Set defaults for SqlResult
  603. * System.Data.SqlClient/SqlConnection.cs: modified -
  604. when SqlDataReader is Close()
  605. should Close() the SqlConnection for
  606. a CommandBehavior.CloseConnection. Changed internal Property
  607. from OpenReader get/set to IsReaderOpen get and created
  608. internal methods OpenReader()/CloseReader() for SqlCommand to call.
  609. SqlConnection needs to be prevented from doing while SqlDataReader
  610. is being used.
  611. * System.Data.SqlClient/SqlDataReader.cs: modified -
  612. call SqlCommand's OpenReader() internal method. get
  613. RecordsRetrieved from SqlResult. set/reset default
  614. values for SqlDataReader.
  615. * Test/PostgresTest.cs
  616. * Test/TestExecuteScalar.cs
  617. * Test/TestSqlDataReader.cs: modified
  618. for the Execute...() methods in SqlCommand
  619. to test SQL Queries and Commands
  620. * Test/System.Data_test.build: modified
  621. exclude new file Test/SqlSharpCli.cs from
  622. test build
  623. 2002-05-24 Tim Coleman <[email protected]>
  624. * System.Data.Common/DbDataAdapter.cs: remove IDbCommands, except
  625. for get accessors. These should be implemented in derived classes. See
  626. SqlDataAdapter for clues.
  627. * System.Data.SqlClient/SqlDataAdapter.cs: implement IDbDataAdapter
  628. * System.Data.Common/DataAdapter.cs:
  629. * System.Data.Common/DataTableMappingCollection.cs:
  630. * System.Data.Common/DataTableMapping.cs:
  631. * System.Data.Common/DataColumnMappingCollection.cs:
  632. * System.Data.Common/DataColumnMapping.cs:
  633. Properly (I hope!) implement all of the appropriate interfaces
  634. for these classes.
  635. 2002-05-23 Tim Coleman <[email protected]>
  636. * System.Data.SqlClient/SqlCommand.cs: include
  637. the BaseColumnName in the schema table. Was missed before.
  638. * System.Data.Common/DbDataAdapter.cs: Use DataTable
  639. mappings so that the DataSet and DataTable are more closely tied.
  640. Get schema information from the DataTable using GetSchemaTable ()
  641. Various other little fixes
  642. * System.Data.Common/DataColumnMappingCollection.cs:
  643. * System.Data.Common/DataTableMapping.cs:
  644. * System.Data.Common/DataTableMappingCollection.cs: Some
  645. implementation, enough to be used by DbDataAdapter.
  646. 2002-05-23 Daniel Morgan <[email protected]>
  647. * System.Data.SqlClient/SqlCommand.cs: set
  648. the "ProviderType" to the PostgreSQL type oid
  649. * System.Data.SqlClient/SqlDataReader.cs: fix
  650. for various properties and methods that
  651. return meta data: Item indexers this[name] and this[index],
  652. GetFieldType, GetName, and GetOrdinal. SqlDataAdapter
  653. should work again.
  654. 2002-05-22 Daniel Morgan <[email protected]>
  655. * System.Data/DataRow.cs: change suggested
  656. by tim: in Item indexer, do an EndEdit()
  657. * System.Data.SqlClient/SqlCommand.cs: more
  658. fixes to SqlResult. After setting each item in
  659. the DataRow, do an AcceptChanges() to commit
  660. the changes in the DataRow. For DataType, use a Type
  661. of System.String since System.Type nor System.Object
  662. seems to work.
  663. * Test/TestSqlDataReader.cs
  664. * Test/PostgresTest.cs: updated to to be on
  665. the way schema table is suppose to work
  666. 2002-05-22 Daniel Morgan <[email protected]>
  667. * System.Data.SqlClient/SqlCommand.cs: more work on
  668. building the schema table
  669. 2002-05-22 Tim Coleman <[email protected]>
  670. * System.Data.SqlClient/SqlCommand.cs: preliminary work
  671. on getting the schema table correctly built.
  672. 2002-05-21 Daniel Morgan <[email protected]>
  673. * System.Data.SqlClient/ParmUtil.cs: added file - to
  674. provide utility for conversion of input parameters
  675. * System.Data.SqlClient/PostgresTypes.cs: added file -
  676. moved the PostgreHelper class to here. May eventually
  677. move the internal class PostgresTypes that's inside the
  678. SqlConnection to here as well.
  679. Handling of PostgreSQL <-> .NET types need to be though
  680. out more. Also, the PostgreHelper has a method to convert
  681. from .NET types to a string which can be put into used in
  682. an SQL statement to execute against a PostgreSQL database.
  683. This is the beginnings of parameters support. It currently
  684. only supports input parameters. Still need to do output,
  685. input/output, and return parameters.
  686. * Test/TestSqlParameters.cs: new test to test the input
  687. parameters in System.Data.SqlClient against a
  688. PostgreSQL db.
  689. * System.Data.SqlClient/PostgresLibrary.cs: moved
  690. PostgresHelper class to file PostgresTypes.cs. Also
  691. moved struct PostgresType there too.
  692. * System.Data.SqlClient/SqlCommand.cs: added input
  693. parameters support
  694. * System.Data.SqlClient/SqlParameter.cs: got
  695. SqlParameter to work
  696. * System.Data.SqlClient/SqlParameterCollection.cs: got
  697. SqlParameterCollection to work
  698. * Test/System.Data_test.build: added files to exclude
  699. from test build
  700. * System.Data.SqlClient/SqlConnection.cs: release resources
  701. no longer used
  702. 2002-05-18 Daniel Morgan <[email protected]>
  703. * System.Xml: added directory for classes with namespace
  704. System.Xml to go into the System.Data.dll assembly
  705. * System.Xml/XmlDataDocument: added file
  706. for stubbed concrete class XmlDataDocument which
  707. inherits from XmlDocument. Its purpose is to provide
  708. a W3C XML DOM Document for relational data and interacting
  709. with a DataSet
  710. 2002-05-18 Daniel Morgan <[email protected]>
  711. * System.Data.SqlClient/SqlCommand.cs: handle CommandTypes
  712. Text, TableDirect, and StoredProcedure
  713. * Test/PostgresTest.cs: changed call to version()
  714. stored procedure to use the CommandType of StoredProcedure
  715. * Test/TestSqlDataReader.cs: test all the CommandTypes
  716. 2002-05-18 Daniel Morgan <[email protected]>
  717. * System.Data.build: took out all excluded
  718. files except the ones in the Test directory
  719. because all files compile now. It does not
  720. mean they all work or have implementations
  721. though.
  722. * System.Data/DataRelationCollection.cs
  723. * System.Data/DataTableRelationCollection.cs
  724. * System.Data/InternalDataCollectionBase.cs
  725. * System.Data.Common/DbDataPermission.cs
  726. * System.Data.SqlClient/SqlInfoMessageEventArgs.cs
  727. * System.Data.SqlClient/SqlClientPermission.cs
  728. * System.Data.SqlClient/SqlClientPermissionAttribute.cs: changes
  729. to get all System.Data* files to compile.
  730. * System.Data.SqlClient/SqlCommand.cs: started coding
  731. to prevent SqlConnection and SqlCommand from doing
  732. anyting while fetching data using SqlDataReader. Also,
  733. started coding to undo this prevention once the
  734. SqlDataReader is closed.
  735. * System.Data.SqlClient/SqlConnection.cs: get database server
  736. version. Started coding to prevent connection from
  737. doing anything while fetching data and undo once the reader
  738. is closed. Include events SqlInfoMessage and StateChange.
  739. * System.Data.SqlClient/SqlDataReader.cs: start coding to
  740. prevent connection and command from doing anything while
  741. fetching data, and undo when closed.
  742. * Test/PostgresTest.cs: added test to get ServerVersion
  743. property from SqlConnection
  744. 2002-05-18 Tim Coleman <[email protected]>
  745. * System.Data/DataRow.cs: More implementation,
  746. as well as boundary checks and small semantic
  747. repairs
  748. 2002-05-18 Tim Coleman <[email protected]>
  749. * System.Data/DataRow.cs: Try to reduce memory
  750. usage by only creating the original and proposed
  751. arrays as required in BeginEdit, and then destroying
  752. proposed during EndEdit, and original during AcceptChanges.
  753. * System.Data.Common/DbDataAdapter.cs: Make the
  754. startRecord and maxRecords parameters work correctly.
  755. 2002-05-18 Tim Coleman <[email protected]>
  756. * System.Data/DataRow.cs: Move the null check in
  757. ItemArray set to above the Invalid Cast check, so
  758. that we don't get null reference exceptions.
  759. 2002-05-17 Daniel Morgan <[email protected]>
  760. * System.Data.SqlClient/PostgresLibrary.cs: handle
  761. data value from database being NULL
  762. * System.Data.SqlClient/SqlCommand.cs: for ExecuteReader,
  763. allow multiple result sets. Added new internal class
  764. SqlResult to pass result set data from SqlCommand
  765. to SqlDataReader.
  766. * System.Data.SqlClient/SqlDataReader.cs: allow
  767. multiple result sets.
  768. * System.Data.SqlClient/SqlConnection.cs: moved
  769. things around. Implement IDisposable.
  770. * Test/TestSqlDataReader.cs: test for execution
  771. of multiple result sets and display the results
  772. of these multiple results sets
  773. * Test/TestSqlDataAdapter.cs: tweaks
  774. 2002-05-17 Tim Coleman <[email protected]>
  775. * System.Data.Common/DbDataAdapter.cs:
  776. - More implementation of Fill methods
  777. - Get rid of isDirty flag, because we can just check
  778. if the table exists
  779. - Do *not* remove DataTables before Filling them
  780. - Implicitly open the connection before doing a Fill
  781. if it does not exist.
  782. * System.Data.SqlClient/SqlDataAdapter.cs:
  783. - Minor fixup
  784. * System.Data/DataTableCollection.cs:
  785. - Add DataSet to internal, undocumented constructor
  786. - When a table is created, set its DataSet property
  787. - Default table name for creation is "Table1" (see .NET)
  788. - Inherit the ArrayList list from InternalDataCollecitonBase
  789. and maintain a hashtable between table names and
  790. DataTables
  791. * System.Data/DataTable.cs:
  792. - Add internal dataSet field. This is used by
  793. DataTableCollection when the DataTable is constructed.
  794. * System.Data/DataSet.cs:
  795. - Pass a reference to the DataSet when constructing the
  796. DataTableCollection.
  797. 2002-05-16 Tim Coleman <[email protected]>
  798. * System.Data.Common/DbDataAdapter.cs:
  799. Use table.Rows.Add (itemArray) instead of
  800. table.Rows.Add (thisRow) to provide better
  801. abstraction.
  802. * System.Data/DataRowCollection.cs:
  803. Some implementation of this class.
  804. * System.Data/InternalDataCollectionBase.cs:
  805. Some implementation. Most notably, this now
  806. has an enumerator so we can use foreach (DataRow row in table.Rows)
  807. in the test classes.
  808. * System.Data/DataTable.cs:
  809. Since DataRowCollection now accepts a DataTable in
  810. its internal constructor, we must pass one in.
  811. 2002-05-16 Daniel Morgan <[email protected]>
  812. * Test/TestSqlDataAdapter.cs: added new test
  813. for SqlDataAdapter, DataSet, DataTableCollection, DataTable,
  814. DataRowCollection, and DataRow. It tests retrieving data
  815. based on a SQL SELECT query. This test is based on Tim Coleman's
  816. test he sent to me.
  817. 2002-05-16 Tim Coleman <[email protected]>
  818. * System.Data.Common/DbDataAdapter.cs:
  819. Use table.Rows.Add (thisRow) instead of
  820. table.ImportRow (thisRow)
  821. * System.Data/DataRowCollection.cs:
  822. Construct the ArrayList before using it
  823. 2002-05-16 Tim Coleman <[email protected]>
  824. * System.Data/DataTable.cs:
  825. Construct the DataRowCollection in the DataTable
  826. constructor. Otherwise, it's a null reference.
  827. 2002-05-16 Tim Coleman <[email protected]>
  828. * System.Data.SqlClient/SqlDataReader.cs:
  829. Modify GetValues to use Array.Copy() to copy
  830. the results from fields to values, rather than
  831. an assignment, which results in loss of data.
  832. 2002-05-16 Tim Coleman <[email protected]>
  833. * System.Data/DataRow.cs:
  834. More implementation and documentation. It should
  835. work more like expected, although there is no way
  836. to demonstrate this well yet. DataTable requires
  837. more work.
  838. 2002-05-15 Tim Coleman <[email protected]>
  839. * System.Data/DataRow.cs:
  840. Minor tweaks as I determine exactly how to
  841. implement this class.
  842. 2002-05-14 Duncan Mak <[email protected]>
  843. * System.Data/DataTable.cs (NewRow): Added missing paren to fix build.
  844. 2002-05-14 Tim Coleman
  845. * System.Data/DataRow.cs:
  846. * System.Data/DataRowBuilder.cs:
  847. * System.Data/DataTable.cs:
  848. More implementation of these classes. DataRow
  849. can now (possibly) do some useful things.
  850. Still not sure what DataRowBuilder is all about,
  851. other than passing a DataTable in.
  852. 2002-05-14 Tim Coleman
  853. * System.Data/DataRowBuilder.cs:
  854. Add stubb for this internal class.
  855. 2002-05-13 Tim Coleman
  856. * System.Data.Common/DbDataAdapter.cs:
  857. The maxRecords check was not correct.
  858. 2002-05-13 Tim Coleman
  859. * System.Data/DataTableCollection.cs:
  860. Fix an issue when adding a DataTable and size == 0.
  861. Now explicitly checks if size > 0 before doing Array.Copy ()
  862. * System.Data.Common/DbDataAdapter.cs:
  863. Move closer to a working implementation.
  864. Make the IDbCommand fields protected so that they can
  865. be inherited.
  866. * System.Data.SqlClient/SqlDataAdapter.cs:
  867. This should inherit the IDbCommands instead of having its
  868. own. An explicit cast is used to force conversion between
  869. IDbCommand and SqlCommand
  870. 2002-05-13 Tim Coleman
  871. * System.Data.Common/DataTableMappingCollection.cs:
  872. Some implementation to allow progress with DbDataAdapter
  873. 2002-05-13 Tim Coleman
  874. * System.Data.Common/DbDataAdapter.cs:
  875. Modify to not break compile.
  876. 2002-05-13 Tim Coleman
  877. * System.Data.build:
  878. include SqlDataAdapter, SqlRowUpdatedEventArgs,
  879. SqlRowUpdatingEventArgs, SqlRowUpdatedEventHandler,
  880. SqlRowUpdatingEventHandler in the build.
  881. 2002-05-13 Tim Coleman
  882. * System.Data.Common/DbDataAdapter.cs:
  883. More implementation.
  884. * System.Data.Common/DataAdapter.cs:
  885. Correction of some of the stubbing, as well as a
  886. little bit more implementation
  887. 2002-05-11 Tim Coleman
  888. * System.Data.SqlClient/SqlDataAdapter.cs:
  889. * System.Data.Common/DbDataAdapter.cs:
  890. Moved methods that weren't supposed to
  891. be in SqlDataAdapter out. They should be implemented
  892. in DbDataAdapter.
  893. 2002-05-11 Tim Coleman
  894. * System.Data.SqlClient/SqlDataAdapter.cs:
  895. some implementation of this class. Note
  896. that none of the functionality has been
  897. tested yet, but I felt it should be checked
  898. in at this point as it compiles.
  899. * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs:
  900. * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs:
  901. Modified so that they will compile properly.
  902. Needed to include SqlDataAdapter in the build.
  903. 2002-05-11 Rodrigo Moya <[email protected]>
  904. * System.Data/DataTable.cs (Clear): implemented.
  905. (DataTable): removed repeated code in constructors, and call the
  906. basic constructor from the others.
  907. * System.Data/DataColumn.cs: some tweaks.
  908. * System.Data/DataRow.cs (RowState): implemented.
  909. (CancelEdit): set rowState property back to Unchanged.
  910. (RejectChanges): call CancelEdit.
  911. (Delete): set rowState to Deleted.
  912. 2002-05-11 Daniel Morgan <[email protected]>
  913. * System.Data.build: added copy of System.Data.dll to Test directory
  914. for easy testing. Also, added clean for it too.
  915. * System.Data.SqlClient/PostgresLibrary.cs: changed setting of boolean
  916. from PostgreSQL data type to .NET type.
  917. * System.Data.SqlClient/SqlDataReader.cs: beginnings
  918. handling of a NULL value from the database
  919. * Test/PostgresTest.cs: added tests for NULL values retrieved
  920. from the database
  921. * Test/ReadPostgresData.cs
  922. * Test/TestExecuteScalar.cs
  923. * Test/TestSqlDataReader.cs
  924. * Test/TestSqlException.cs
  925. * Test/TestSqlIsolationLevel.cs: updated tests to use databas user
  926. "postgres". These tests may eventually be removed since they
  927. are not flexible.
  928. 2002-05-10 Rodrigo Moya <[email protected]>
  929. * System.Data.build: removed reference to non-existant
  930. TestDataColumn.cs file.
  931. * System.Data/DataSet.cs: added some implementation.
  932. 2002-05-09 Daniel Morgan <[email protected]>
  933. * System.Data.SqlClient/PostgresLibrary.cs: got
  934. PostgreSQL data types time, date, timestamp (DateTime like)
  935. mapped to .NET System.DateTime working based
  936. on ISO DateTime formatting "YYYY-MM-DD hh:mi:ss.ms"
  937. Also mapped pg type boolean to .net Boolean
  938. * SqlClient/SqlConnection.cs: run SQL command to set
  939. Date style to ISO
  940. * Test/PostgresTest.cs: added test for an UPDATE SQL command,
  941. added tests for aggregates min(), max(), sum(), count(). could
  942. not get avg() to work due to some formatting error; someone claimed
  943. that it was my locale settings. added tests for SELECT of columns
  944. of type boolean, float, double, date, time, and timestamp. They
  945. have not been fully tested, but its a start.
  946. 2002-05-09 Tim Coleman <[email protected]>
  947. * System.Data.SqlTypes/SqlDecimal.cs: Implementations of
  948. addition, subtraction, and multiplication for the
  949. SqlDecimal type, as well as modification of some other
  950. operations. More to come on this one.
  951. 2002-05-08 Rodrigo Moya <[email protected]>
  952. * Test/System.Data_test.build: excluded TestDataColumn, which
  953. should be replaced with a nunit test.
  954. * Test/TestDataColumn.cs: added basic test for DataColumn.cs.
  955. 2002-05-07 Tim Coleman <[email protected]>
  956. * SqlBinary.cs:
  957. * SqlBoolean.cs:
  958. * SqlByte.cs:
  959. * SqlDateTime.cs:
  960. * SqlDecimal.cs:
  961. * SqlDouble.cs:
  962. * SqlGuid.cs:
  963. * SqlInt16.cs:
  964. * SqlInt32.cs:
  965. * SqlInt64.cs:
  966. * SqlMoney.cs:
  967. * SqlSingle.cs:
  968. * SqlString.cs:
  969. Fix the broken build I made before. Bad
  970. me.
  971. 2002-05-07 Tim Coleman <[email protected]>
  972. * SqlString.cs:
  973. Fix a symantic error I made in SqlString
  974. Equals where I copied and pasted wrongly
  975. 2002-05-07 Tim Coleman <[email protected]>
  976. * INullable.cs:
  977. * SqlBinary.cs:
  978. * SqlBoolean.cs:
  979. * SqlByte.cs:
  980. * SqlCompareOptions.cs:
  981. * SqlDateTime.cs:
  982. * SqlDecimal.cs:
  983. * SqlDouble.cs:
  984. * SqlGuid.cs:
  985. * SqlInt16.cs:
  986. * SqlInt32.cs:
  987. * SqlInt64.cs:
  988. * SqlMoney.cs:
  989. * SqlSingle.cs:
  990. * SqlString.cs:
  991. Implement CompareTo, Equals, and String conversions
  992. for many types
  993. 2002-05-05 Daniel Morgan <[email protected]>
  994. * Test/PostgresTest.cs: modified to run completely. There
  995. are many TODOs in System.Data, so not all data types are
  996. included in the SELECT SQL query. Also, I made it to where
  997. it would connect
  998. using "host=localhost;dbname=test;user=postgres"
  999. instead of my userid and password. When more types are included,
  1000. update this test.
  1001. 2002-05-05 Daniel Morgan <[email protected]>
  1002. * Test/PostgresTest.cs: added - ported
  1003. libgda postgres-test.c originally by
  1004. Gonzalo Paniagua Javier <[email protected]>
  1005. to C#.
  1006. 2002-05-05 Tim Coleman <[email protected]>
  1007. * System.Data.SqlTypes/SqlBinary.cs:
  1008. * System.Data.SqlTypes/SqlBoolean.cs:
  1009. * System.Data.SqlTypes/SqlByte.cs:
  1010. * System.Data.SqlTypes/SqlDateTime.cs:
  1011. * System.Data.SqlTypes/SqlDecimal.cs:
  1012. * System.Data.SqlTypes/SqlDouble.cs:
  1013. * System.Data.SqlTypes/SqlGuid.cs:
  1014. * System.Data.SqlTypes/SqlInt16.cs:
  1015. * System.Data.SqlTypes/SqlInt32.cs:
  1016. * System.Data.SqlTypes/SqlInt64.cs:
  1017. * System.Data.SqlTypes/SqlMoney.cs:
  1018. * System.Data.SqlTypes/SqlSingle.cs:
  1019. * System.Data.SqlTypes/SqlString.cs:
  1020. More implementation, and code clean-up for consistency.
  1021. Also, I had implemented many conversions as explicit
  1022. that should have been implicit. This should remove
  1023. many of the red X's and green pluses from the
  1024. System.Data.SqlTypes namespace.
  1025. 2002-05-05 Miguel de Icaza <[email protected]>
  1026. * System.Data/DataSet.cs: Remove [Serializable] attributes from
  1027. methods, those only apply to structs or classes.
  1028. Stub out ISerializable, ISupportInitialize, and IListSource methods
  1029. * System.Data/DataRowView.cs: Stub out interface methods for
  1030. IEditableObject, ICustomTypeDescriptor and IDataErrorInfo
  1031. * System.Data/DataView.cs: Comment out non-implemented
  1032. interfaces.
  1033. * System.Data/DataViewSettingsCollection.cs: Type cast variables
  1034. to the correct type to make it compile.
  1035. * System.Data/DataViewSettings.cs: remove reference to
  1036. non-existance type ApplyDefaultSort, it is a boolean.
  1037. 2002-05-05 Tim Coleman <[email protected]>
  1038. * System.Data.SqlTypes/SqlBinary.cs:
  1039. * System.Data.SqlTypes/SqlBoolean.cs:
  1040. * System.Data.SqlTypes/SqlByte.cs:
  1041. * System.Data.SqlTypes/SqlDecimal.cs:
  1042. * System.Data.SqlTypes/SqlDouble.cs:
  1043. * System.Data.SqlTypes/SqlGuid.cs:
  1044. * System.Data.SqlTypes/SqlInt16.cs:
  1045. * System.Data.SqlTypes/SqlInt32.cs:
  1046. * System.Data.SqlTypes/SqlInt64.cs:
  1047. * System.Data.SqlTypes/SqlMoney.cs:
  1048. * System.Data.SqlTypes/SqlSingle.cs:
  1049. * System.Data.SqlTypes/SqlString.cs:
  1050. Various fixes, including adding the SqlNullValueException
  1051. when trying to retrieve the value of a null SqlType,
  1052. and when casting values, a Null of type A converts to a
  1053. Null of type B.
  1054. 2002-05-04 Daniel Morgan <[email protected]>
  1055. * System.Data.SqlClient/PostgresLibrary.cs
  1056. * System.Data.SqlClient/SqlCommand.cs
  1057. * System.Data.SqlClient/SqlConnection.cs
  1058. * System.Data.SqlClient/SqlDataReader.cs
  1059. oid should not be hard coded because they
  1060. can change from one version of PostgreSQL
  1061. to the next. Use the typname's instead.
  1062. The PostgreSQL type data retrieves
  1063. at database connection time. Any unimplemented
  1064. types just default to string. These were things
  1065. suggested by Gonzalo.
  1066. * Test/ReadPostgresData.cs - stuff
  1067. * Test/TestSqlDataReader.cs - stuff
  1068. * System.Data.SqlTypes/SqlInt32.cs - added a using
  1069. 2002-05-03 Tim Coleman <[email protected]>
  1070. * System.Data.build: Fix the build so that test depends on build
  1071. 2002-05-03 Tim Coleman <[email protected]>
  1072. * System.Data.SqlTypes/SqlByte.cs:
  1073. * System.Data.SqlTypes/SqlDateTime.cs:
  1074. * System.Data.SqlTypes/SqlDecimal.cs:
  1075. * System.Data.SqlTypes/SqlDouble.cs:
  1076. * System.Data.SqlTypes/SqlGuid.cs:
  1077. * System.Data.SqlTypes/SqlInt16.cs:
  1078. * System.Data.SqlTypes/SqlInt64.cs:
  1079. * System.Data.SqlTypes/SqlMoney.cs:
  1080. * System.Data.SqlTypes/SqlSingle.cs:
  1081. These files were mysteriously excluded from the last
  1082. patch I made and sent to Rodrigo
  1083. * System.Data.build: include the System.Data.SqlTypes in the build
  1084. 2002-05-03 Daniel Morgan <[email protected]>
  1085. * System.Data.build: removed comments
  1086. * System.Data.SqlClient/PostgresLibrary.cs: changed
  1087. the hard-coded PostgreSQL oid type int's to using an
  1088. enum. Also, added PostgreSQL bpchar (character) type.
  1089. * Test/TestSqlDataReader.cs: updated test
  1090. to include new bpchar PostgreSQL type
  1091. 2002-05-03 Rodrigo Moya <[email protected]>
  1092. * System.Data.SqlTypes/SqlBinary.cs:
  1093. * System.Data.SqlTypes/SqlBoolean.cs:
  1094. * System.Data.SqlTypes/SqlInt32.cs:
  1095. * System.Data.SqlTypes/SqlString.cs: more implementation, by
  1096. Tim Coleman <[email protected]>.
  1097. 2002-05-03 Daniel Morgan <[email protected]>
  1098. * Test/TestExecuteScalar.cs: added test for
  1099. method ExecuteScalar in class SqlCommand.
  1100. * System.Data/DataColumnCollection.cs - it should
  1101. inherit properties from base InternalDataCollectionBase
  1102. and use them instead of overriding them, such as, List.
  1103. * System.Data/DataColumn.cs
  1104. * System.Data/DataTable.cs: tweaks to retrieve
  1105. meta data from the database
  1106. * System.Data.SqlClient/PostgresLibrary.cs -
  1107. added method OidToType to convert PostgreSQL oid type
  1108. to System.Type. Renamed method OidTypeToSystem
  1109. to ConvertPgTypeToSystem for converting the data value
  1110. from a PostgreSQL type to a .NET System type.
  1111. * System.Data.SqlClient/SqlCommand.cs: implemented
  1112. method ExecuteReader which returns a SqlDataReader
  1113. for a light forward only read only result set.
  1114. It works on types int4 ==> Int32 and
  1115. varchar ==> String. Other types
  1116. will come later.
  1117. * System.Data.SqlClient/SqlConnection.cs: added comment
  1118. * System.Data.SqlClient/SqlDataReader.cs: implemented
  1119. class. It works, but still lots to do.
  1120. * Test/ReadPostgresData.cs: stuff
  1121. * Test/TestSqlDataReader.cs: updated test for SqlDataReader
  1122. to display meta data and the data
  1123. 2002-05-03 Duncan Mak <[email protected]>
  1124. * TODO: Took out all the Exceptions. They should be all done now.
  1125. * System.Data/ConstraintException.cs:
  1126. * System.Data/DBConcurrencyException.cs:
  1127. * System.Data/DataException.cs:
  1128. * System.Data/DeletedRowInaccessibleException.cs:
  1129. * System.Data/DuplicateNameException.cs:
  1130. * System.Data/EvaluateException.cs:
  1131. * System.Data/InRowChangingEventException.cs:
  1132. * System.Data/InvalidConstraintException.cs:
  1133. * System.Data/InvalidExpressionException.cs:
  1134. * System.Data/MissingPrimaryKeyException.cs:
  1135. * System.Data/NoNullAllowedException.cs:
  1136. * System.Data/ReadOnlyException.cs:
  1137. * System.Data/RowNotInTableException.cs:
  1138. * System.Data/StrongTypingException.cs:
  1139. * System.Data/SyntaxErrorException.cs:
  1140. * System.Data/TypeDataSetGeneratorException.cs:
  1141. * System.Data/VersionNotFoundException.cs: Added to CVS.
  1142. * System.Data.SqlTypes/SqlNullValueException.cs:
  1143. * System.Data.SqlTypes/SqlTruncateException.cs:
  1144. * System.Data.SqlTypes/SqlTypeException.cs: Added to CVS.
  1145. 2002-05-02 Rodrigo Moya <[email protected]>
  1146. * System.Data/DataViewSettingCollection.cs: implemented.
  1147. * System.Data/DataRowView.cs: new stubs.
  1148. * System.Data.SqlTypes/SqlByte.cs:
  1149. * System.Data.SqlTypes/SqlDateTime.cs:
  1150. * System.Data.SqlTypes/SqlDecimal.cs:
  1151. * System.Data.SqlTypes/SqlDouble.cs:
  1152. * System.Data.SqlTypes/SqlGuid.cs:
  1153. * System.Data.SqlTypes/SqlInt16.cs:
  1154. * System.Data.SqlTypes/SqlInt64.cs:
  1155. * System.Data.SqlTypes/SqlMoney.cs:
  1156. * System.Data.SqlTypes/SqlSingle.cs: new stubs, contributed
  1157. by Tim Coleman <[email protected]>
  1158. * System.Data.build: excluded newly-added files.
  1159. 2002-05-02 Daniel Morgan <[email protected]>
  1160. * System.Data.SqlClient/PostgresLibrary.cs: included new
  1161. internal class that will be a helper class in using
  1162. PostgreSQL. PostgresLibrary is used for the
  1163. pinvoke methods to the PostgreSQL Client
  1164. native C library libpq while the class PostgresHelper
  1165. is used for wrapper or helper methods. It currently only
  1166. has one static method OidTypeToSystem in converting
  1167. PostgreSQL types to .NET System.<type>s, such as,
  1168. a PostgreSQL int8 becomes a .NET System.Int64.
  1169. Only a few types have been added, such as, int2,
  1170. int4, int8, varchar, text, bool, and char. Other types
  1171. will come later.
  1172. * System.Data.SqlClient/SqlCommand.cs: implemented
  1173. method ExecuteScalar which allows us to do aggregate
  1174. functions, such as, count, avg, min, max, and sum. We
  1175. also are able to retrieve the result, convert it to the .NET type
  1176. as an object. The user of the returned object must explicitly cast.
  1177. * Test/ReadPostgresData.cs: updated sample
  1178. to help us learn to retrieve data in System.Data.SqlClient
  1179. classes
  1180. 2002-05-01 Daniel Morgan <[email protected]>
  1181. * System.Data.build: added /nowarn: nnnn arguments
  1182. so you will not get a ton of warnings. The warnings
  1183. being excluded are: 1595, 0067, 0109, 0169, and 0649
  1184. 2002-05-01 Daniel Morgan <[email protected]>
  1185. * System.Data.build: modified to exclude more
  1186. files from the build
  1187. 2002-05-01 Rodrigo Moya <[email protected]>
  1188. * System.Data.SqlClient/SqlClientPermission.cs: added missing
  1189. 'using's.
  1190. * System.Data/MergeFailedEventArgs.cs: new class, contributed
  1191. by John Dugaw <[email protected]>.
  1192. * System.Data.build: excluded new files from build.
  1193. 2002-04-29 Daniel Morgan <[email protected]>
  1194. * Test/ReadPostgresData.cs: added - Uses the
  1195. PostgresLibrary to retrieve a recordset.
  1196. This is not meant to be used in Production, but as a
  1197. learning aid in coding
  1198. class System.Data.SqlClient.SqlDataReader.
  1199. This sample does work.
  1200. * Test/TestSqlDataReader.cs: added - used
  1201. to test SqlDataReader (does not work yet)
  1202. Forgot to add to ChangeLog on last commit.
  1203. 2002-04-28 Rodrigo Moya <[email protected]>
  1204. * System.Data/DataViewSetting.cs: new class.
  1205. 2002-04-28 Rodrigo Moya <[email protected]>
  1206. * System.Data/DataViewManager.cs: new class.
  1207. * System.Data.SqlTypes/INullable.cs: properties for interfaces
  1208. don't have implementation.
  1209. * System.Data.SqlTypes/SqlInt32.cs:
  1210. * System.Data.SqlTypes/SqlString.cs:
  1211. * System.Data.SqlTypes/SqlBoolean.cs: removed destructor, since
  1212. these are strctures.
  1213. * System.Data.SqlClient/SqlClientPermissionAttribute.cs: added
  1214. missing 'using's.
  1215. 2002-04-28 Rodrigo Moya <[email protected]>
  1216. * System.Data/DataTableRelationCollection.cs: use 'new' keyword
  1217. for correctly hiding parent class' members.
  1218. (AddRange): use 'override' keyword on overriden method.
  1219. (Clear): likewise.
  1220. (Contains): likewise.
  1221. (IndexOf): likewise.
  1222. (OnCollectionChanged): likewise.
  1223. (OnCollectionChanging): likewise.
  1224. (RemoveCore): likewise.
  1225. * System.Data/DataColumnCollection.cs: use 'new' keyword.
  1226. * System.Data/DataSet.cs: added missing 'using's.
  1227. 2002-04-28 Rodrigo Moya <[email protected]>
  1228. * System.Data/DataSet.cs:
  1229. * System.Data/DataTableCollection.cs:
  1230. * System.Data/DataView.cs: compilation fixes on Linux.
  1231. 2002-04-28 Daniel Morgan <[email protected]>
  1232. * System.Data/DataRelation.cs
  1233. * System.Data/ForeignKeyConstraint.cs
  1234. * System.Data/UniqueConstraint.cs: added more stubs
  1235. * System.Data/DataTableRelationCollection.cs: added back to cvs
  1236. and modified for compile errors. DataRelationCollection is an
  1237. abstract class and there must be a class that implements for
  1238. DataTable/DataSet. DataTableRelationCollection was changed
  1239. to an internal class.
  1240. * System.Data.build: modified - new files added
  1241. also wanted to include files/classes in the build
  1242. so we can get a compilable forward read only result set.
  1243. It compiles now using csc/nant with warnings, but this
  1244. is a start for adding functionality for the result set.
  1245. Classes associated with/and DataSet are still excluded.
  1246. * TODO: modified - updated to do list for System.Data
  1247. * System.Data/Constraint.cs
  1248. * System.Data/ConstraintCollection.cs
  1249. * System.Data/DataRelationCollection.cs
  1250. * System.Data/DataRow.cs
  1251. * System.Data/DataRowChangeEventArgs.cs
  1252. * System.Data/DataRowCollection.cs
  1253. * System.Data/DataTable.cs
  1254. * System.Data/DataTableCollection.cs
  1255. * System.Data/InternalDataCollectionBase.cs
  1256. * System.Data/PropertyCollection.cs: modified -
  1257. changes to compile SqlDataReader/DataTable and
  1258. dependencies
  1259. * System.Data/IDbCommand.cs
  1260. * System.Data.SqlClient/SqlCommand.cs: modified -
  1261. un-commented overloaded methods ExecuteReader
  1262. which returns a SqlDataReader
  1263. 2002-04-28 Rodrigo Moya <[email protected]>
  1264. * System.Data/DataTableCollection.cs: more implementation.
  1265. (Count): added 'override' keyword, as pointer out by Martin.
  1266. * System.Data.Common/DataColumnMappingCollection.cs (Add, AddRange):
  1267. only call Array.Copy when there is really stuff to be copied.
  1268. (CopyTo): don't create the temporary array, it's not needed.
  1269. * System.Data.build: excluded newly added file from build.
  1270. 2002-04-27 Rodrigo Moya <[email protected]>
  1271. * System.Data/DataTableRelationCollection.cs: removed, it's not
  1272. on MS SDK documentation.
  1273. * System.Data/DataTableCollection.cs: new class.
  1274. 2002-04-27 Daniel Morgan <[email protected]>
  1275. * System.Data/DataRowChangeEventArgs.cs
  1276. * System.Data/DataRowCollection.cs
  1277. * System.Data/DataView.cs
  1278. * System.Data/PropertyCollection.cs: added new stubs
  1279. * System.Data.build: modified - added new files to exclude
  1280. from build
  1281. * TODO: modified - removed files from TODO list
  1282. that were stubbed above
  1283. * System.Data/DataColumn.cs
  1284. * System.Data/DataRow.cs: modified - various tweaks
  1285. and added internal method SetTable to set the reference
  1286. to a DataTable
  1287. * System.Data/DataSet.cs: modified - class was not
  1288. completely stubbed.
  1289. * System.Data/DataTable.cs: modified - temporarily commented
  1290. DataSet and DataView references - trying to compile a SqlDataReader,
  1291. DataTable, and dependencies for a forward read-only result set.
  1292. SqlDataAdapter, DataSet, and DataView will come later once we can get
  1293. a forward read only result set working.
  1294. * System.Data/IDataRecord.cs: modified - source code lines should
  1295. not be > 80
  1296. * System.Data/InternalDataCollectionBase.cs: modified - started
  1297. implementing this base class for collection of data rows,
  1298. columns, tables, relations, and constraints
  1299. * System.Data.SqlClient/SqlException.cs: modified -
  1300. call base(message) so a unhandled exception displays
  1301. the message of a SQL error instead of the
  1302. default SystemException message
  1303. * Test/TestSqlException.cs: modified -
  1304. handle the rollback properly for a SqlException on a
  1305. failure to connect
  1306. 2002-04-23 Daniel Morgan <[email protected]>
  1307. * System.Data.build: modified - added new
  1308. files to exclude from build
  1309. * System.Data/Constraint.cs
  1310. * System.Data/ConstraintCollection.cs
  1311. * System.Data/InternalDataCollectionBase.cs: added -
  1312. stubs which are needed to build DataTable.cs
  1313. * TODO: modified - added more classes TODO and
  1314. added more stuff TODO, such as, create script
  1315. to create test database monotestdb for testing
  1316. classes in System.Data
  1317. 2002-04-23 Rodrigo Moya <[email protected]>
  1318. * System.Data.Common/DataAdapter.cs:
  1319. * System.Data.Common/DataColumnMappingCollection.cs:
  1320. * System.Data.Common/DataTableMappingCollection.cs:
  1321. * System.Data.Common/DbDataPermission.cs:
  1322. * System.Data.Common/DbDataPermissionAttribute.cs: some
  1323. compilation errors fixed.
  1324. 2002-04-23 Daniel Morgan <[email protected]>
  1325. * TODO: modified - added classes TODO, and
  1326. a poor attempt at System.Data plan
  1327. 2002-04-23 Daniel Morgan <[email protected]>
  1328. * ChangeLog: modified - put tabs where they belong
  1329. * System.Data.SqlClient/SqlDataReader.cs
  1330. * System.Data/DataColumn.cs: modified - compile errors
  1331. trying to compile SqlDataAdapter and dependencies
  1332. 2002-04-23 Daniel Morgan <[email protected]>
  1333. * System.Data.SqlTypes/SqlBoolean.cs
  1334. * System.Data.SqlTypes/SqlCompareOptions.cs
  1335. * System.Data.SqlTypes/SqlInt32.cs
  1336. * System.Data.SqlTypes/SqlString.cs: added - new stubs
  1337. * System.Data/DataTable.cs
  1338. * System.Data.SqlClient/SqlCommand.cs
  1339. * System.Data.SqlClient/SqlConnection.cs
  1340. * System.Data.SqlClient/SqlError.cs
  1341. * System.Data.SqlClient/SqlTransaction.cs: modified -
  1342. misc. tweaks
  1343. * System.Data.SqlClient/SqlException.cs: modified -
  1344. missing Message on indexer for Message property
  1345. 2002-04-21 Daniel Morgan <[email protected]>
  1346. * System.Data.SqlClient/SqlCommand.cs: modified - to
  1347. compile using mcs. This problem is
  1348. returning a stronger type in csc vs. msc
  1349. * System.Data.SqlClient/SqlConnection.cs: modified - msc
  1350. can not do a using PGconn = IntPtr; and then declare
  1351. with PGconn pgConn = IntPtr.Zero;
  1352. Thiw works under csc though. Had to comment using and
  1353. changed declaration to IntPtr pgConn = IntPtr.Zero;
  1354. Also, got rid of compile warnings for hostaddr and port.
  1355. * System.Data.SqlClient/SqlErrorCollection.cs: modified - got
  1356. rid of compile warnings. Commented MonoTODO attribute because mcs
  1357. doesn't seem to work with C# array property indexer (Item)
  1358. this[int index]
  1359. * System.Data.SqlClient/SqlParameterCollection.cs: modified -
  1360. commented MonoTODO attribute for indexer for mcs compiling
  1361. * Test/TestSqlIsolationLevel.cs:
  1362. * Test/TestSqlInsert.cs:
  1363. * Test/TestSqlException.cs: modified -
  1364. removed extra ExecuteNonQuery which caused two inserted rows
  1365. 2002-04-20 Daniel Morgan <[email protected]>
  1366. * System.Data/StateChangeEventArgs.cs - added
  1367. needed to compile System.Data.dll with mcs.
  1368. 2002-04-20 Daniel Morgan <[email protected]>
  1369. * System.Data.OleDb: added directory - for OleDb database
  1370. provider classes
  1371. * System.Data.SqlClient/SqlClientPermission.cs
  1372. * System.Data.SqlClient/SqlClientPermissionAttribute.cs
  1373. * System.Data.SqlClient/SqlCommandBuilder.cs
  1374. * System.Data.SqlClient/SqlInfoMessageEventHandler.cs
  1375. * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs
  1376. * System.Data.SqlClient/SqlRowUpdatedEventHandler.cs
  1377. * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs
  1378. * System.Data.SqlClient/SqlRowUpdatingEventHandler.cs
  1379. * Test/TestSqlException.cs
  1380. * Test/TestSqlIsolationLevel.cs: added - more tests
  1381. * System.Data.build: modified - added new files - excludes these too
  1382. * System.Data.SqlClient/PostgresLibrary.cs - modified - comment
  1383. * System.Data.SqlClient/SqlConnection.cs
  1384. * System.Data.SqlClient/SqlCommand.cs
  1385. * System.Data.SqlClient/SqlTransaction.cs
  1386. * System.Data.SqlClient/SqlException.cs
  1387. * System.Data.SqlClient/SqlErrorCollection.cs
  1388. * System.Data.SqlClient/SqlError.cs: modified - transaction and
  1389. exception/error handling. SqlConnection(connectionString)
  1390. constructor should not automatically connect.
  1391. * System.Data.SqlClient/SqlDataReader.cs
  1392. * System.Data.SqlClient/SqlDataAdapter.cs
  1393. * System.Data.SqlClient/SqlParameter.cs
  1394. * System.Data.SqlClient/SqlParameterCollection.cs: modified -
  1395. added using System.ComponentModel;
  1396. * Test/TestSqlInsert.cs: modified - to use transaction
  1397. 2002-04-17 Rodrigo Moya <[email protected]>
  1398. * System.Data/DataRow.cs: new skeletons.
  1399. * System.Data.Common/DataAdapter.cs:
  1400. * System.Data.Common/DataColumnMapping.cs:
  1401. * System.Data.Common/DataColumnMappingCollection.cs:
  1402. * System.Data.Common/DataTableMapping.cs:
  1403. * System.Data.Common/DataTableMappingCollection.cs:
  1404. * System.Data.Common/DbDataAdapter.cs:
  1405. * System.Data.Common/RowUpdatedEventArgs.cs:
  1406. * System.Data.SqlClient/SqlDataAdapter.cs:
  1407. * System.Data.SqlClient/SqlInfoMessageEventArgs.cs: compilation
  1408. fixes for Linux.
  1409. * System.Data.Common/DbDataRecord.cs:
  1410. * System.Data.Common/DbEnumerator.cs: removed MS implementation
  1411. internal classes.
  1412. 2002-04-17 Daniel Morgan <[email protected]>
  1413. * Test/TestSqlInsert.cs: modified - do
  1414. a SQL DELETE before SQL INSERT of row so you can use this
  1415. test over and over.
  1416. * System.Data.SqlClient/SqlTransaction.cs: modified - default
  1417. IsolationLevel for PostgreSQL is ReadCommitted. However,
  1418. PostgreSQL allows Serializable as well.
  1419. (Thanks to Gonzalo for that!)
  1420. * System.Data.SqlClient/SqlConnection.cs: modified
  1421. * System.Data.SqlClient/SqlCommand.cs: modified
  1422. * System.Data.SqlClient/SqlTransaction.cs: modified - got transactions
  1423. working; however, we still need to implement SQL errors
  1424. and exceptions to properly handle transactions. Also, added
  1425. status and error message support from the PostgreSQL database.
  1426. Currently, this does a Console.WriteLine() to display the
  1427. status and error messages, but this is a TODO
  1428. for SQL errors and exceptions.
  1429. * System.Data/TODOAttribute.cs: added - needed MonoTODO
  1430. attribute for System.Data.dll assembly
  1431. * System.Data/IDbCommand.cs: modified - commented
  1432. overloaded method ExecuteReader
  1433. so System.Data.SqlClient.SqlCommand can compile
  1434. * System.Data/IDbCommand.cs: modified
  1435. * System.Data/IDbConnection.cs: modified - added using System;
  1436. * System.Data/IDataParameter.cs
  1437. * System.Data.build: modified - build classes
  1438. in System.Data.SqlClient and exclude others in System.Data
  1439. * System.Data.SqlClient/PostgresLibrary.cs: modified - change
  1440. parameter data type from IntPtr to enum ExecStatusType
  1441. * ChangeLog: modified - corrected previous entries in log
  1442. 2002-04-16 Rodrigo Moya <[email protected]>
  1443. * System.Data.Common/DataColumnMappingCollection.cs: added basic
  1444. implementation. Still missing some stuff.
  1445. 2002-04-16 Daniel Morgan <[email protected]>
  1446. * System.Data.SqlClient/SqlConnection.cs: modified - got
  1447. to compile, run, and connect to PostgreSQL database
  1448. * System.Data.SqlClient/SqlCommand.cs: modified - got
  1449. to compile, run, and execute a SQL INSERT command
  1450. which successfully inserted a row
  1451. into the PostgreSQL database
  1452. * System.Data.SqlClient/SqlTransaction.cs: modified
  1453. * System.Data.SqlClient/SqlParameter.cs: modified
  1454. * System.Data.SqlClient/SqlParameterCollection.cs: modified
  1455. * System.Data.SqlClient/SqlError.cs: modified
  1456. * System.Data.SqlClient/SqlErrorCollection.cs: modified
  1457. * System.Data.SqlClient/SqlException.cs: modified
  1458. * System.Data.SqlClient/PostgresLibrary.cs: modified - to compile
  1459. * System.Data.SqlClient/SqlAdapter: modified
  1460. * System.Data.SqlClient/SqlReader: modified - add more stubs
  1461. 2002-04-16 Daniel Morgan <[email protected]>
  1462. * Test/TestSqlInsert.cs: added
  1463. 2002-04-15 Daniel Morgan <[email protected]>
  1464. * System.Data.SqlClient/SqlInfoMessageEventArgs.cs: added - using in
  1465. class SqlConnecition
  1466. * System.Data.SqlClient/SqlErrorCollection.cs: added
  1467. * System.Data.SqlClient/SqlErrors.cs: removed - no such class SqlErrors
  1468. 2002-04-15 Christopher Podurgiel <[email protected]>
  1469. * System.Data.IDbDataParameter: Added Interface to IDataParameter.
  1470. * System.Data.IDbTransaction: Added Interface to IDisposable.
  1471. * System.Data.IDbCommand: Fixed Capitalization of class name.
  1472. * System.Data.IDbConnection: Fixed Capitalization of class name.
  1473. 2002-04-15 Rodrigo Moya <[email protected]>
  1474. * System.Data.Common/DbDataPermissionAttribute.cs:
  1475. * System.Data.Common/DataAdapter.cs:
  1476. * System.Data.Common/DataColumnMapping.cs:
  1477. * System.Data.Common/DbDataPermission.cs: added some implementation.
  1478. 2002-04-15 Rodrigo Moya <[email protected]>
  1479. * System.Data.SqlClient/SqlConnection.cs: fixed constructor chaining
  1480. syntax, as pointed out by Levent Camlibel.
  1481. 2002-04-14 Rodrigo Moya <[email protected]>
  1482. * System.Data.SqlTypes/SqlBinary.cs:
  1483. * System.Data.SqlTypes/INullable.cs: new skeletons.
  1484. 2002-04-14 Daniel Morgan <[email protected]>
  1485. * System.Data.SqlClient/PostgresLibrary.cs: new internal class, which
  1486. contains all calls the the PostgreSQL client library, to be used
  1487. everywhere in System.Data.SqlClient.
  1488. 2002-03-30 Rodrigo Moya <[email protected]>
  1489. * System.Data.SqlClient/SqlConnection.cs: implemented basic
  1490. constructors.
  1491. * System.Data.SqlTypes/SqlNullValueException.cs: new skeletons.
  1492. 2002-03-29 Rodrigo Moya <[email protected]>
  1493. * System.Data.Common/DbDataRecord.cs:
  1494. * System.Data.Common/DbEnumerator.cs:
  1495. * System.Data.Common/RowUpdatedEventArgs.cs:
  1496. * System.Data.Common/RowUpdatingEventArgs.cs:
  1497. * System.Data.Common/DbDataPermissionAttribute.cs: new skeletons.
  1498. 2002-03-28 Rodrigo Moya <[email protected]>
  1499. * System.Data.Common/DataTableMappingCollection.cs:
  1500. * System.Data.Common/DbDataAdapter.cs:
  1501. * System.Data.Common/DbDataPermission.cs:
  1502. * System.Data.Common/DataTableMapping.cs: new skeletons.
  1503. * System.Data.SqlClient/SqlDataAdapter.cs:
  1504. * System.Data.SqlClient/SqlDataReader.cs:
  1505. * System.Data.SqlClient/SqlErrors.cs:
  1506. * System.Data.SqlClient/SqlError.cs:
  1507. * System.Data.SqlClient/SqlException.cs:
  1508. * System.Data.SqlClient/SqlParameter.cs:
  1509. * System.Data.SqlClient/SqlParameterCollection.cs:
  1510. * System.Data.SqlClient/SqlTransaction.cs:
  1511. * System.Data.SqlClient/SqlCommand.cs: fixed skeletons.
  1512. 2002-03-27 Rodrigo Moya <[email protected]>
  1513. * System.Data.Common/DataColumnMapping.cs:
  1514. * System.Data.Common/DataColumnMappingCollection.cs:
  1515. * System.Data.Common/DataAdapter.cs: created skeletons.
  1516. * System.Data.build: exclude new directories from build.
  1517. 2002-03-27 Rodrigo Moya <[email protected]>
  1518. * System.Data.SqlClient/SqlTransaction.cs: started implementation.
  1519. * System.Data.SqlClient/SqlConnection.cs (BeginTransaction):
  1520. implemented (2 methods).
  1521. 2002-03-24 Duncan Mak <[email protected]>
  1522. * System.Data.build: Excluded System.Data.SqlClient from the build.
  1523. The stubs are incomplete and they are stopping the build.
  1524. * System.Data.SqlClient/SqlCommand.cs: Replaced 'implements' with ':'.
  1525. 2002-03-24 Rodrigo Moya <[email protected]>
  1526. * System.Data.SqlClient/*: added skeletons for the SQL managed
  1527. provider for ADO.Net, to be based initially in PostgreSQL.
  1528. 2002-03-15 Christopher Podurgiel <[email protected]>
  1529. Changed the Namespace on some Enums from mono.System.Data to System.Data
  1530. 2002-03-01 Christopher Podurgiel <[email protected]>
  1531. * DataColumnCollection.cs : When an existing DataColumn is added, will now Assign a
  1532. default name if the ColumnName is null.
  1533. * DataSet.cs : Added
  1534. * DataTable.cs : Added
  1535. * DataRelationCollection.cs : Added
  1536. * DataTableRelationCollection.cs : Added
  1537. * DataColumn : Added
  1538. 2002-02-11 Christopher Podurgiel <[email protected]>
  1539. * DataColumnChangeEventArgs.cs : Added
  1540. * DataColumnCollection.cs : Added
  1541. 2002-02-10 Christopher Podurgiel <[email protected]>
  1542. * Removed *.cs from System.Data as the correct files are in mcs/class/System.Data/System.Data
  1543. * Updated all Enums, Interfaces, and Delegates in System.Data