ChangeLog 44 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287
  1. 2002-05-28 Rodrigo Moya <[email protected]>
  2. * System.Data.build: exclude System.Data.OleDb files.
  3. 2002-05-27 Daniel Morgan <[email protected]>
  4. * System.Data.SqlClient/SqlCommand.cs: typo
  5. should be CommandBehavior.KeyInfo
  6. * Test/SqlSharpCli.cs: refactored and added a few more
  7. features.
  8. 2002-05-27 Tim Coleman <[email protected]>
  9. * list: update to compile properly (add missing
  10. files and switch path delimiter from '\' to '/').
  11. 2002-05-26 Daniel Morgan <[email protected]>
  12. * System.Data/DataRow.cs
  13. * System.Data.Common/DbDataAdapter.cs: fix to
  14. get Test/TestSqlDataAdapter.cs to work again
  15. * Test/TestSqlDataAdapter.cs: removed comment
  16. about SqlDataReader:NextResult() not being implemented; it
  17. bas been implemented
  18. 2002-05-26 Daniel Morgan <[email protected]>
  19. * System.Data/DataRow.cs: modified
  20. support setting of DBNull.Value
  21. using the Item indexer this[DataColumn]
  22. * System.Data.SqlClient/SqlCommand.cs: modified
  23. tweaks to show TODO's for other CommandBehavior.
  24. Set AllowDBNull column to true for IsKey row
  25. in schema DataTable.
  26. * System.Data.SqlClient/SqlConnection.cs: modified
  27. if transaction is in progress when a Close() is called,
  28. do a transaction Rollback.
  29. 2002-05-26 Daniel Morgan <[email protected]>
  30. * Test/SqlSharpCli.cs: added file
  31. My new toy. SQL# is a command-line tool to enter
  32. SQL commands and queries using Mono System.Data.
  33. It also serves as a test for Mono System.Data.
  34. * System.Data.SqlClient/SqlCommand.cs: modified
  35. - ExecuteNonQuery(), ExecuteScalar(), and ExecuteReader()
  36. should handle the results from SQL Commands and Queries.
  37. - Internal class SqlResult should not create schema Table
  38. for the result from a SQL Command. Also, set the RecordsRetrieved
  39. property for SqlDataReader.
  40. - Closing the SqlDataReader should Close() the SqlConnection for
  41. a CommandBehavior.CloseConnection.
  42. - Set defaults for SqlResult
  43. * System.Data.SqlClient/SqlConnection.cs: modified -
  44. when SqlDataReader is Close()
  45. should Close() the SqlConnection for
  46. a CommandBehavior.CloseConnection. Changed internal Property
  47. from OpenReader get/set to IsReaderOpen get and created
  48. internal methods OpenReader()/CloseReader() for SqlCommand to call.
  49. SqlConnection needs to be prevented from doing while SqlDataReader
  50. is being used.
  51. * System.Data.SqlClient/SqlDataReader.cs: modified -
  52. call SqlCommand's OpenReader() internal method. get
  53. RecordsRetrieved from SqlResult. set/reset default
  54. values for SqlDataReader.
  55. * Test/PostgresTest.cs
  56. * Test/TestExecuteScalar.cs
  57. * Test/TestSqlDataReader.cs: modified
  58. for the Execute...() methods in SqlCommand
  59. to test SQL Queries and Commands
  60. * Test/System.Data_test.build: modified
  61. exclude new file Test/SqlSharpCli.cs from
  62. test build
  63. 2002-05-24 Tim Coleman <[email protected]>
  64. * System.Data.Common/DbDataAdapter.cs: remove IDbCommands, except
  65. for get accessors. These should be implemented in derived classes. See
  66. SqlDataAdapter for clues.
  67. * System.Data.SqlClient/SqlDataAdapter.cs: implement IDbDataAdapter
  68. * System.Data.Common/DataAdapter.cs:
  69. * System.Data.Common/DataTableMappingCollection.cs:
  70. * System.Data.Common/DataTableMapping.cs:
  71. * System.Data.Common/DataColumnMappingCollection.cs:
  72. * System.Data.Common/DataColumnMapping.cs:
  73. Properly (I hope!) implement all of the appropriate interfaces
  74. for these classes.
  75. 2002-05-23 Tim Coleman <[email protected]>
  76. * System.Data.SqlClient/SqlCommand.cs: include
  77. the BaseColumnName in the schema table. Was missed before.
  78. * System.Data.Common/DbDataAdapter.cs: Use DataTable
  79. mappings so that the DataSet and DataTable are more closely tied.
  80. Get schema information from the DataTable using GetSchemaTable ()
  81. Various other little fixes
  82. * System.Data.Common/DataColumnMappingCollection.cs:
  83. * System.Data.Common/DataTableMapping.cs:
  84. * System.Data.Common/DataTableMappingCollection.cs: Some
  85. implementation, enough to be used by DbDataAdapter.
  86. 2002-05-23 Daniel Morgan <[email protected]>
  87. * System.Data.SqlClient/SqlCommand.cs: set
  88. the "ProviderType" to the PostgreSQL type oid
  89. * System.Data.SqlClient/SqlDataReader.cs: fix
  90. for various properties and methods that
  91. return meta data: Item indexers this[name] and this[index],
  92. GetFieldType, GetName, and GetOrdinal. SqlDataAdapter
  93. should work again.
  94. 2002-05-22 Daniel Morgan <[email protected]>
  95. * System.Data/DataRow.cs: change suggested
  96. by tim: in Item indexer, do an EndEdit()
  97. * System.Data.SqlClient/SqlCommand.cs: more
  98. fixes to SqlResult. After setting each item in
  99. the DataRow, do an AcceptChanges() to commit
  100. the changes in the DataRow. For DataType, use a Type
  101. of System.String since System.Type nor System.Object
  102. seems to work.
  103. * Test/TestSqlDataReader.cs
  104. * Test/PostgresTest.cs: updated to to be on
  105. the way schema table is suppose to work
  106. 2002-05-22 Daniel Morgan <[email protected]>
  107. * System.Data.SqlClient/SqlCommand.cs: more work on
  108. building the schema table
  109. 2002-05-22 Tim Coleman <[email protected]>
  110. * System.Data.SqlClient/SqlCommand.cs: preliminary work
  111. on getting the schema table correctly built.
  112. 2002-05-21 Daniel Morgan <[email protected]>
  113. * System.Data.SqlClient/ParmUtil.cs: added file - to
  114. provide utility for conversion of input parameters
  115. * System.Data.SqlClient/PostgresTypes.cs: added file -
  116. moved the PostgreHelper class to here. May eventually
  117. move the internal class PostgresTypes that's inside the
  118. SqlConnection to here as well.
  119. Handling of PostgreSQL <-> .NET types need to be though
  120. out more. Also, the PostgreHelper has a method to convert
  121. from .NET types to a string which can be put into used in
  122. an SQL statement to execute against a PostgreSQL database.
  123. This is the beginnings of parameters support. It currently
  124. only supports input parameters. Still need to do output,
  125. input/output, and return parameters.
  126. * Test/TestSqlParameters.cs: new test to test the input
  127. parameters in System.Data.SqlClient against a
  128. PostgreSQL db.
  129. * System.Data.SqlClient/PostgresLibrary.cs: moved
  130. PostgresHelper class to file PostgresTypes.cs. Also
  131. moved struct PostgresType there too.
  132. * System.Data.SqlClient/SqlCommand.cs: added input
  133. parameters support
  134. * System.Data.SqlClient/SqlParameter.cs: got
  135. SqlParameter to work
  136. * System.Data.SqlClient/SqlParameterCollection.cs: got
  137. SqlParameterCollection to work
  138. * Test/System.Data_test.build: added files to exclude
  139. from test build
  140. * System.Data.SqlClient/SqlConnection.cs: release resources
  141. no longer used
  142. 2002-05-18 Daniel Morgan <[email protected]>
  143. * System.Xml: added directory for classes with namespace
  144. System.Xml to go into the System.Data.dll assembly
  145. * System.Xml/XmlDataDocument: added file
  146. for stubbed concrete class XmlDataDocument which
  147. inherits from XmlDocument. Its purpose is to provide
  148. a W3C XML DOM Document for relational data and interacting
  149. with a DataSet
  150. 2002-05-18 Daniel Morgan <[email protected]>
  151. * System.Data.SqlClient/SqlCommand.cs: handle CommandTypes
  152. Text, TableDirect, and StoredProcedure
  153. * Test/PostgresTest.cs: changed call to version()
  154. stored procedure to use the CommandType of StoredProcedure
  155. * Test/TestSqlDataReader.cs: test all the CommandTypes
  156. 2002-05-18 Daniel Morgan <[email protected]>
  157. * System.Data.build: took out all excluded
  158. files except the ones in the Test directory
  159. because all files compile now. It does not
  160. mean they all work or have implementations
  161. though.
  162. * System.Data/DataRelationCollection.cs
  163. * System.Data/DataTableRelationCollection.cs
  164. * System.Data/InternalDataCollectionBase.cs
  165. * System.Data.Common/DbDataPermission.cs
  166. * System.Data.SqlClient/SqlInfoMessageEventArgs.cs
  167. * System.Data.SqlClient/SqlClientPermission.cs
  168. * System.Data.SqlClient/SqlClientPermissionAttribute.cs: changes
  169. to get all System.Data* files to compile.
  170. * System.Data.SqlClient/SqlCommand.cs: started coding
  171. to prevent SqlConnection and SqlCommand from doing
  172. anyting while fetching data using SqlDataReader. Also,
  173. started coding to undo this prevention once the
  174. SqlDataReader is closed.
  175. * System.Data.SqlClient/SqlConnection.cs: get database server
  176. version. Started coding to prevent connection from
  177. doing anything while fetching data and undo once the reader
  178. is closed. Include events SqlInfoMessage and StateChange.
  179. * System.Data.SqlClient/SqlDataReader.cs: start coding to
  180. prevent connection and command from doing anything while
  181. fetching data, and undo when closed.
  182. * Test/PostgresTest.cs: added test to get ServerVersion
  183. property from SqlConnection
  184. 2002-05-18 Tim Coleman <[email protected]>
  185. * System.Data/DataRow.cs: More implementation,
  186. as well as boundary checks and small semantic
  187. repairs
  188. 2002-05-18 Tim Coleman <[email protected]>
  189. * System.Data/DataRow.cs: Try to reduce memory
  190. usage by only creating the original and proposed
  191. arrays as required in BeginEdit, and then destroying
  192. proposed during EndEdit, and original during AcceptChanges.
  193. * System.Data.Common/DbDataAdapter.cs: Make the
  194. startRecord and maxRecords parameters work correctly.
  195. 2002-05-18 Tim Coleman <[email protected]>
  196. * System.Data/DataRow.cs: Move the null check in
  197. ItemArray set to above the Invalid Cast check, so
  198. that we don't get null reference exceptions.
  199. 2002-05-17 Daniel Morgan <[email protected]>
  200. * System.Data.SqlClient/PostgresLibrary.cs: handle
  201. data value from database being NULL
  202. * System.Data.SqlClient/SqlCommand.cs: for ExecuteReader,
  203. allow multiple result sets. Added new internal class
  204. SqlResult to pass result set data from SqlCommand
  205. to SqlDataReader.
  206. * System.Data.SqlClient/SqlDataReader.cs: allow
  207. multiple result sets.
  208. * System.Data.SqlClient/SqlConnection.cs: moved
  209. things around. Implement IDisposable.
  210. * Test/TestSqlDataReader.cs: test for execution
  211. of multiple result sets and display the results
  212. of these multiple results sets
  213. * Test/TestSqlDataAdapter.cs: tweaks
  214. 2002-05-17 Tim Coleman <[email protected]>
  215. * System.Data.Common/DbDataAdapter.cs:
  216. - More implementation of Fill methods
  217. - Get rid of isDirty flag, because we can just check
  218. if the table exists
  219. - Do *not* remove DataTables before Filling them
  220. - Implicitly open the connection before doing a Fill
  221. if it does not exist.
  222. * System.Data.SqlClient/SqlDataAdapter.cs:
  223. - Minor fixup
  224. * System.Data/DataTableCollection.cs:
  225. - Add DataSet to internal, undocumented constructor
  226. - When a table is created, set its DataSet property
  227. - Default table name for creation is "Table1" (see .NET)
  228. - Inherit the ArrayList list from InternalDataCollecitonBase
  229. and maintain a hashtable between table names and
  230. DataTables
  231. * System.Data/DataTable.cs:
  232. - Add internal dataSet field. This is used by
  233. DataTableCollection when the DataTable is constructed.
  234. * System.Data/DataSet.cs:
  235. - Pass a reference to the DataSet when constructing the
  236. DataTableCollection.
  237. 2002-05-16 Tim Coleman <[email protected]>
  238. * System.Data.Common/DbDataAdapter.cs:
  239. Use table.Rows.Add (itemArray) instead of
  240. table.Rows.Add (thisRow) to provide better
  241. abstraction.
  242. * System.Data/DataRowCollection.cs:
  243. Some implementation of this class.
  244. * System.Data/InternalDataCollectionBase.cs:
  245. Some implementation. Most notably, this now
  246. has an enumerator so we can use foreach (DataRow row in table.Rows)
  247. in the test classes.
  248. * System.Data/DataTable.cs:
  249. Since DataRowCollection now accepts a DataTable in
  250. its internal constructor, we must pass one in.
  251. 2002-05-16 Daniel Morgan <[email protected]>
  252. * Test/TestSqlDataAdapter.cs: added new test
  253. for SqlDataAdapter, DataSet, DataTableCollection, DataTable,
  254. DataRowCollection, and DataRow. It tests retrieving data
  255. based on a SQL SELECT query. This test is based on Tim Coleman's
  256. test he sent to me.
  257. 2002-05-16 Tim Coleman <[email protected]>
  258. * System.Data.Common/DbDataAdapter.cs:
  259. Use table.Rows.Add (thisRow) instead of
  260. table.ImportRow (thisRow)
  261. * System.Data/DataRowCollection.cs:
  262. Construct the ArrayList before using it
  263. 2002-05-16 Tim Coleman <[email protected]>
  264. * System.Data/DataTable.cs:
  265. Construct the DataRowCollection in the DataTable
  266. constructor. Otherwise, it's a null reference.
  267. 2002-05-16 Tim Coleman <[email protected]>
  268. * System.Data.SqlClient/SqlDataReader.cs:
  269. Modify GetValues to use Array.Copy() to copy
  270. the results from fields to values, rather than
  271. an assignment, which results in loss of data.
  272. 2002-05-16 Tim Coleman <[email protected]>
  273. * System.Data/DataRow.cs:
  274. More implementation and documentation. It should
  275. work more like expected, although there is no way
  276. to demonstrate this well yet. DataTable requires
  277. more work.
  278. 2002-05-15 Tim Coleman <[email protected]>
  279. * System.Data/DataRow.cs:
  280. Minor tweaks as I determine exactly how to
  281. implement this class.
  282. 2002-05-14 Duncan Mak <[email protected]>
  283. * System.Data/DataTable.cs (NewRow): Added missing paren to fix build.
  284. 2002-05-14 Tim Coleman
  285. * System.Data/DataRow.cs:
  286. * System.Data/DataRowBuilder.cs:
  287. * System.Data/DataTable.cs:
  288. More implementation of these classes. DataRow
  289. can now (possibly) do some useful things.
  290. Still not sure what DataRowBuilder is all about,
  291. other than passing a DataTable in.
  292. 2002-05-14 Tim Coleman
  293. * System.Data/DataRowBuilder.cs:
  294. Add stubb for this internal class.
  295. 2002-05-13 Tim Coleman
  296. * System.Data.Common/DbDataAdapter.cs:
  297. The maxRecords check was not correct.
  298. 2002-05-13 Tim Coleman
  299. * System.Data/DataTableCollection.cs:
  300. Fix an issue when adding a DataTable and size == 0.
  301. Now explicitly checks if size > 0 before doing Array.Copy ()
  302. * System.Data.Common/DbDataAdapter.cs:
  303. Move closer to a working implementation.
  304. Make the IDbCommand fields protected so that they can
  305. be inherited.
  306. * System.Data.SqlClient/SqlDataAdapter.cs:
  307. This should inherit the IDbCommands instead of having its
  308. own. An explicit cast is used to force conversion between
  309. IDbCommand and SqlCommand
  310. 2002-05-13 Tim Coleman
  311. * System.Data.Common/DataTableMappingCollection.cs:
  312. Some implementation to allow progress with DbDataAdapter
  313. 2002-05-13 Tim Coleman
  314. * System.Data.Common/DbDataAdapter.cs:
  315. Modify to not break compile.
  316. 2002-05-13 Tim Coleman
  317. * System.Data.build:
  318. include SqlDataAdapter, SqlRowUpdatedEventArgs,
  319. SqlRowUpdatingEventArgs, SqlRowUpdatedEventHandler,
  320. SqlRowUpdatingEventHandler in the build.
  321. 2002-05-13 Tim Coleman
  322. * System.Data.Common/DbDataAdapter.cs:
  323. More implementation.
  324. * System.Data.Common/DataAdapter.cs:
  325. Correction of some of the stubbing, as well as a
  326. little bit more implementation
  327. 2002-05-11 Tim Coleman
  328. * System.Data.SqlClient/SqlDataAdapter.cs:
  329. * System.Data.Common/DbDataAdapter.cs:
  330. Moved methods that weren't supposed to
  331. be in SqlDataAdapter out. They should be implemented
  332. in DbDataAdapter.
  333. 2002-05-11 Tim Coleman
  334. * System.Data.SqlClient/SqlDataAdapter.cs:
  335. some implementation of this class. Note
  336. that none of the functionality has been
  337. tested yet, but I felt it should be checked
  338. in at this point as it compiles.
  339. * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs:
  340. * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs:
  341. Modified so that they will compile properly.
  342. Needed to include SqlDataAdapter in the build.
  343. 2002-05-11 Rodrigo Moya <[email protected]>
  344. * System.Data/DataTable.cs (Clear): implemented.
  345. (DataTable): removed repeated code in constructors, and call the
  346. basic constructor from the others.
  347. * System.Data/DataColumn.cs: some tweaks.
  348. * System.Data/DataRow.cs (RowState): implemented.
  349. (CancelEdit): set rowState property back to Unchanged.
  350. (RejectChanges): call CancelEdit.
  351. (Delete): set rowState to Deleted.
  352. 2002-05-11 Daniel Morgan <[email protected]>
  353. * System.Data.build: added copy of System.Data.dll to Test directory
  354. for easy testing. Also, added clean for it too.
  355. * System.Data.SqlClient/PostgresLibrary.cs: changed setting of boolean
  356. from PostgreSQL data type to .NET type.
  357. * System.Data.SqlClient/SqlDataReader.cs: beginnings
  358. handling of a NULL value from the database
  359. * Test/PostgresTest.cs: added tests for NULL values retrieved
  360. from the database
  361. * Test/ReadPostgresData.cs
  362. * Test/TestExecuteScalar.cs
  363. * Test/TestSqlDataReader.cs
  364. * Test/TestSqlException.cs
  365. * Test/TestSqlIsolationLevel.cs: updated tests to use databas user
  366. "postgres". These tests may eventually be removed since they
  367. are not flexible.
  368. 2002-05-10 Rodrigo Moya <[email protected]>
  369. * System.Data.build: removed reference to non-existant
  370. TestDataColumn.cs file.
  371. * System.Data/DataSet.cs: added some implementation.
  372. 2002-05-09 Daniel Morgan <[email protected]>
  373. * System.Data.SqlClient/PostgresLibrary.cs: got
  374. PostgreSQL data types time, date, timestamp (DateTime like)
  375. mapped to .NET System.DateTime working based
  376. on ISO DateTime formatting "YYYY-MM-DD hh:mi:ss.ms"
  377. Also mapped pg type boolean to .net Boolean
  378. * SqlClient/SqlConnection.cs: run SQL command to set
  379. Date style to ISO
  380. * Test/PostgresTest.cs: added test for an UPDATE SQL command,
  381. added tests for aggregates min(), max(), sum(), count(). could
  382. not get avg() to work due to some formatting error; someone claimed
  383. that it was my locale settings. added tests for SELECT of columns
  384. of type boolean, float, double, date, time, and timestamp. They
  385. have not been fully tested, but its a start.
  386. 2002-05-09 Tim Coleman <[email protected]>
  387. * System.Data.SqlTypes/SqlDecimal.cs: Implementations of
  388. addition, subtraction, and multiplication for the
  389. SqlDecimal type, as well as modification of some other
  390. operations. More to come on this one.
  391. 2002-05-08 Rodrigo Moya <[email protected]>
  392. * Test/System.Data_test.build: excluded TestDataColumn, which
  393. should be replaced with a nunit test.
  394. * Test/TestDataColumn.cs: added basic test for DataColumn.cs.
  395. 2002-05-07 Tim Coleman <[email protected]>
  396. * SqlBinary.cs:
  397. * SqlBoolean.cs:
  398. * SqlByte.cs:
  399. * SqlDateTime.cs:
  400. * SqlDecimal.cs:
  401. * SqlDouble.cs:
  402. * SqlGuid.cs:
  403. * SqlInt16.cs:
  404. * SqlInt32.cs:
  405. * SqlInt64.cs:
  406. * SqlMoney.cs:
  407. * SqlSingle.cs:
  408. * SqlString.cs:
  409. Fix the broken build I made before. Bad
  410. me.
  411. 2002-05-07 Tim Coleman <[email protected]>
  412. * SqlString.cs:
  413. Fix a symantic error I made in SqlString
  414. Equals where I copied and pasted wrongly
  415. 2002-05-07 Tim Coleman <[email protected]>
  416. * INullable.cs:
  417. * SqlBinary.cs:
  418. * SqlBoolean.cs:
  419. * SqlByte.cs:
  420. * SqlCompareOptions.cs:
  421. * SqlDateTime.cs:
  422. * SqlDecimal.cs:
  423. * SqlDouble.cs:
  424. * SqlGuid.cs:
  425. * SqlInt16.cs:
  426. * SqlInt32.cs:
  427. * SqlInt64.cs:
  428. * SqlMoney.cs:
  429. * SqlSingle.cs:
  430. * SqlString.cs:
  431. Implement CompareTo, Equals, and String conversions
  432. for many types
  433. 2002-05-05 Daniel Morgan <[email protected]>
  434. * Test/PostgresTest.cs: modified to run completely. There
  435. are many TODOs in System.Data, so not all data types are
  436. included in the SELECT SQL query. Also, I made it to where
  437. it would connect
  438. using "host=localhost;dbname=test;user=postgres"
  439. instead of my userid and password. When more types are included,
  440. update this test.
  441. 2002-05-05 Daniel Morgan <[email protected]>
  442. * Test/PostgresTest.cs: added - ported
  443. libgda postgres-test.c originally by
  444. Gonzalo Paniagua Javier <[email protected]>
  445. to C#.
  446. 2002-05-05 Tim Coleman <[email protected]>
  447. * System.Data.SqlTypes/SqlBinary.cs:
  448. * System.Data.SqlTypes/SqlBoolean.cs:
  449. * System.Data.SqlTypes/SqlByte.cs:
  450. * System.Data.SqlTypes/SqlDateTime.cs:
  451. * System.Data.SqlTypes/SqlDecimal.cs:
  452. * System.Data.SqlTypes/SqlDouble.cs:
  453. * System.Data.SqlTypes/SqlGuid.cs:
  454. * System.Data.SqlTypes/SqlInt16.cs:
  455. * System.Data.SqlTypes/SqlInt32.cs:
  456. * System.Data.SqlTypes/SqlInt64.cs:
  457. * System.Data.SqlTypes/SqlMoney.cs:
  458. * System.Data.SqlTypes/SqlSingle.cs:
  459. * System.Data.SqlTypes/SqlString.cs:
  460. More implementation, and code clean-up for consistency.
  461. Also, I had implemented many conversions as explicit
  462. that should have been implicit. This should remove
  463. many of the red X's and green pluses from the
  464. System.Data.SqlTypes namespace.
  465. 2002-05-05 Miguel de Icaza <[email protected]>
  466. * System.Data/DataSet.cs: Remove [Serializable] attributes from
  467. methods, those only apply to structs or classes.
  468. Stub out ISerializable, ISupportInitialize, and IListSource methods
  469. * System.Data/DataRowView.cs: Stub out interface methods for
  470. IEditableObject, ICustomTypeDescriptor and IDataErrorInfo
  471. * System.Data/DataView.cs: Comment out non-implemented
  472. interfaces.
  473. * System.Data/DataViewSettingsCollection.cs: Type cast variables
  474. to the correct type to make it compile.
  475. * System.Data/DataViewSettings.cs: remove reference to
  476. non-existance type ApplyDefaultSort, it is a boolean.
  477. 2002-05-05 Tim Coleman <[email protected]>
  478. * System.Data.SqlTypes/SqlBinary.cs:
  479. * System.Data.SqlTypes/SqlBoolean.cs:
  480. * System.Data.SqlTypes/SqlByte.cs:
  481. * System.Data.SqlTypes/SqlDecimal.cs:
  482. * System.Data.SqlTypes/SqlDouble.cs:
  483. * System.Data.SqlTypes/SqlGuid.cs:
  484. * System.Data.SqlTypes/SqlInt16.cs:
  485. * System.Data.SqlTypes/SqlInt32.cs:
  486. * System.Data.SqlTypes/SqlInt64.cs:
  487. * System.Data.SqlTypes/SqlMoney.cs:
  488. * System.Data.SqlTypes/SqlSingle.cs:
  489. * System.Data.SqlTypes/SqlString.cs:
  490. Various fixes, including adding the SqlNullValueException
  491. when trying to retrieve the value of a null SqlType,
  492. and when casting values, a Null of type A converts to a
  493. Null of type B.
  494. 2002-05-04 Daniel Morgan <[email protected]>
  495. * System.Data.SqlClient/PostgresLibrary.cs
  496. * System.Data.SqlClient/SqlCommand.cs
  497. * System.Data.SqlClient/SqlConnection.cs
  498. * System.Data.SqlClient/SqlDataReader.cs
  499. oid should not be hard coded because they
  500. can change from one version of PostgreSQL
  501. to the next. Use the typname's instead.
  502. The PostgreSQL type data retrieves
  503. at database connection time. Any unimplemented
  504. types just default to string. These were things
  505. suggested by Gonzalo.
  506. * Test/ReadPostgresData.cs - stuff
  507. * Test/TestSqlDataReader.cs - stuff
  508. * System.Data.SqlTypes/SqlInt32.cs - added a using
  509. 2002-05-03 Tim Coleman <[email protected]>
  510. * System.Data.build: Fix the build so that test depends on build
  511. 2002-05-03 Tim Coleman <[email protected]>
  512. * System.Data.SqlTypes/SqlByte.cs:
  513. * System.Data.SqlTypes/SqlDateTime.cs:
  514. * System.Data.SqlTypes/SqlDecimal.cs:
  515. * System.Data.SqlTypes/SqlDouble.cs:
  516. * System.Data.SqlTypes/SqlGuid.cs:
  517. * System.Data.SqlTypes/SqlInt16.cs:
  518. * System.Data.SqlTypes/SqlInt64.cs:
  519. * System.Data.SqlTypes/SqlMoney.cs:
  520. * System.Data.SqlTypes/SqlSingle.cs:
  521. These files were mysteriously excluded from the last
  522. patch I made and sent to Rodrigo
  523. * System.Data.build: include the System.Data.SqlTypes in the build
  524. 2002-05-03 Daniel Morgan <[email protected]>
  525. * System.Data.build: removed comments
  526. * System.Data.SqlClient/PostgresLibrary.cs: changed
  527. the hard-coded PostgreSQL oid type int's to using an
  528. enum. Also, added PostgreSQL bpchar (character) type.
  529. * Test/TestSqlDataReader.cs: updated test
  530. to include new bpchar PostgreSQL type
  531. 2002-05-03 Rodrigo Moya <[email protected]>
  532. * System.Data.SqlTypes/SqlBinary.cs:
  533. * System.Data.SqlTypes/SqlBoolean.cs:
  534. * System.Data.SqlTypes/SqlInt32.cs:
  535. * System.Data.SqlTypes/SqlString.cs: more implementation, by
  536. Tim Coleman <[email protected]>.
  537. 2002-05-03 Daniel Morgan <[email protected]>
  538. * Test/TestExecuteScalar.cs: added test for
  539. method ExecuteScalar in class SqlCommand.
  540. * System.Data/DataColumnCollection.cs - it should
  541. inherit properties from base InternalDataCollectionBase
  542. and use them instead of overriding them, such as, List.
  543. * System.Data/DataColumn.cs
  544. * System.Data/DataTable.cs: tweaks to retrieve
  545. meta data from the database
  546. * System.Data.SqlClient/PostgresLibrary.cs -
  547. added method OidToType to convert PostgreSQL oid type
  548. to System.Type. Renamed method OidTypeToSystem
  549. to ConvertPgTypeToSystem for converting the data value
  550. from a PostgreSQL type to a .NET System type.
  551. * System.Data.SqlClient/SqlCommand.cs: implemented
  552. method ExecuteReader which returns a SqlDataReader
  553. for a light forward only read only result set.
  554. It works on types int4 ==> Int32 and
  555. varchar ==> String. Other types
  556. will come later.
  557. * System.Data.SqlClient/SqlConnection.cs: added comment
  558. * System.Data.SqlClient/SqlDataReader.cs: implemented
  559. class. It works, but still lots to do.
  560. * Test/ReadPostgresData.cs: stuff
  561. * Test/TestSqlDataReader.cs: updated test for SqlDataReader
  562. to display meta data and the data
  563. 2002-05-03 Duncan Mak <[email protected]>
  564. * TODO: Took out all the Exceptions. They should be all done now.
  565. * System.Data/ConstraintException.cs:
  566. * System.Data/DBConcurrencyException.cs:
  567. * System.Data/DataException.cs:
  568. * System.Data/DeletedRowInaccessibleException.cs:
  569. * System.Data/DuplicateNameException.cs:
  570. * System.Data/EvaluateException.cs:
  571. * System.Data/InRowChangingEventException.cs:
  572. * System.Data/InvalidConstraintException.cs:
  573. * System.Data/InvalidExpressionException.cs:
  574. * System.Data/MissingPrimaryKeyException.cs:
  575. * System.Data/NoNullAllowedException.cs:
  576. * System.Data/ReadOnlyException.cs:
  577. * System.Data/RowNotInTableException.cs:
  578. * System.Data/StrongTypingException.cs:
  579. * System.Data/SyntaxErrorException.cs:
  580. * System.Data/TypeDataSetGeneratorException.cs:
  581. * System.Data/VersionNotFoundException.cs: Added to CVS.
  582. * System.Data.SqlTypes/SqlNullValueException.cs:
  583. * System.Data.SqlTypes/SqlTruncateException.cs:
  584. * System.Data.SqlTypes/SqlTypeException.cs: Added to CVS.
  585. 2002-05-02 Rodrigo Moya <[email protected]>
  586. * System.Data/DataViewSettingCollection.cs: implemented.
  587. * System.Data/DataRowView.cs: new stubs.
  588. * System.Data.SqlTypes/SqlByte.cs:
  589. * System.Data.SqlTypes/SqlDateTime.cs:
  590. * System.Data.SqlTypes/SqlDecimal.cs:
  591. * System.Data.SqlTypes/SqlDouble.cs:
  592. * System.Data.SqlTypes/SqlGuid.cs:
  593. * System.Data.SqlTypes/SqlInt16.cs:
  594. * System.Data.SqlTypes/SqlInt64.cs:
  595. * System.Data.SqlTypes/SqlMoney.cs:
  596. * System.Data.SqlTypes/SqlSingle.cs: new stubs, contributed
  597. by Tim Coleman <[email protected]>
  598. * System.Data.build: excluded newly-added files.
  599. 2002-05-02 Daniel Morgan <[email protected]>
  600. * System.Data.SqlClient/PostgresLibrary.cs: included new
  601. internal class that will be a helper class in using
  602. PostgreSQL. PostgresLibrary is used for the
  603. pinvoke methods to the PostgreSQL Client
  604. native C library libpq while the class PostgresHelper
  605. is used for wrapper or helper methods. It currently only
  606. has one static method OidTypeToSystem in converting
  607. PostgreSQL types to .NET System.<type>s, such as,
  608. a PostgreSQL int8 becomes a .NET System.Int64.
  609. Only a few types have been added, such as, int2,
  610. int4, int8, varchar, text, bool, and char. Other types
  611. will come later.
  612. * System.Data.SqlClient/SqlCommand.cs: implemented
  613. method ExecuteScalar which allows us to do aggregate
  614. functions, such as, count, avg, min, max, and sum. We
  615. also are able to retrieve the result, convert it to the .NET type
  616. as an object. The user of the returned object must explicitly cast.
  617. * Test/ReadPostgresData.cs: updated sample
  618. to help us learn to retrieve data in System.Data.SqlClient
  619. classes
  620. 2002-05-01 Daniel Morgan <[email protected]>
  621. * System.Data.build: added /nowarn: nnnn arguments
  622. so you will not get a ton of warnings. The warnings
  623. being excluded are: 1595, 0067, 0109, 0169, and 0649
  624. 2002-05-01 Daniel Morgan <[email protected]>
  625. * System.Data.build: modified to exclude more
  626. files from the build
  627. 2002-05-01 Rodrigo Moya <[email protected]>
  628. * System.Data.SqlClient/SqlClientPermission.cs: added missing
  629. 'using's.
  630. * System.Data/MergeFailedEventArgs.cs: new class, contributed
  631. by John Dugaw <[email protected]>.
  632. * System.Data.build: excluded new files from build.
  633. 2002-04-29 Daniel Morgan <[email protected]>
  634. * Test/ReadPostgresData.cs: added - Uses the
  635. PostgresLibrary to retrieve a recordset.
  636. This is not meant to be used in Production, but as a
  637. learning aid in coding
  638. class System.Data.SqlClient.SqlDataReader.
  639. This sample does work.
  640. * Test/TestSqlDataReader.cs: added - used
  641. to test SqlDataReader (does not work yet)
  642. Forgot to add to ChangeLog on last commit.
  643. 2002-04-28 Rodrigo Moya <[email protected]>
  644. * System.Data/DataViewSetting.cs: new class.
  645. 2002-04-28 Rodrigo Moya <[email protected]>
  646. * System.Data/DataViewManager.cs: new class.
  647. * System.Data.SqlTypes/INullable.cs: properties for interfaces
  648. don't have implementation.
  649. * System.Data.SqlTypes/SqlInt32.cs:
  650. * System.Data.SqlTypes/SqlString.cs:
  651. * System.Data.SqlTypes/SqlBoolean.cs: removed destructor, since
  652. these are strctures.
  653. * System.Data.SqlClient/SqlClientPermissionAttribute.cs: added
  654. missing 'using's.
  655. 2002-04-28 Rodrigo Moya <[email protected]>
  656. * System.Data/DataTableRelationCollection.cs: use 'new' keyword
  657. for correctly hiding parent class' members.
  658. (AddRange): use 'override' keyword on overriden method.
  659. (Clear): likewise.
  660. (Contains): likewise.
  661. (IndexOf): likewise.
  662. (OnCollectionChanged): likewise.
  663. (OnCollectionChanging): likewise.
  664. (RemoveCore): likewise.
  665. * System.Data/DataColumnCollection.cs: use 'new' keyword.
  666. * System.Data/DataSet.cs: added missing 'using's.
  667. 2002-04-28 Rodrigo Moya <[email protected]>
  668. * System.Data/DataSet.cs:
  669. * System.Data/DataTableCollection.cs:
  670. * System.Data/DataView.cs: compilation fixes on Linux.
  671. 2002-04-28 Daniel Morgan <[email protected]>
  672. * System.Data/DataRelation.cs
  673. * System.Data/ForeignKeyConstraint.cs
  674. * System.Data/UniqueConstraint.cs: added more stubs
  675. * System.Data/DataTableRelationCollection.cs: added back to cvs
  676. and modified for compile errors. DataRelationCollection is an
  677. abstract class and there must be a class that implements for
  678. DataTable/DataSet. DataTableRelationCollection was changed
  679. to an internal class.
  680. * System.Data.build: modified - new files added
  681. also wanted to include files/classes in the build
  682. so we can get a compilable forward read only result set.
  683. It compiles now using csc/nant with warnings, but this
  684. is a start for adding functionality for the result set.
  685. Classes associated with/and DataSet are still excluded.
  686. * TODO: modified - updated to do list for System.Data
  687. * System.Data/Constraint.cs
  688. * System.Data/ConstraintCollection.cs
  689. * System.Data/DataRelationCollection.cs
  690. * System.Data/DataRow.cs
  691. * System.Data/DataRowChangeEventArgs.cs
  692. * System.Data/DataRowCollection.cs
  693. * System.Data/DataTable.cs
  694. * System.Data/DataTableCollection.cs
  695. * System.Data/InternalDataCollectionBase.cs
  696. * System.Data/PropertyCollection.cs: modified -
  697. changes to compile SqlDataReader/DataTable and
  698. dependencies
  699. * System.Data/IDbCommand.cs
  700. * System.Data.SqlClient/SqlCommand.cs: modified -
  701. un-commented overloaded methods ExecuteReader
  702. which returns a SqlDataReader
  703. 2002-04-28 Rodrigo Moya <[email protected]>
  704. * System.Data/DataTableCollection.cs: more implementation.
  705. (Count): added 'override' keyword, as pointer out by Martin.
  706. * System.Data.Common/DataColumnMappingCollection.cs (Add, AddRange):
  707. only call Array.Copy when there is really stuff to be copied.
  708. (CopyTo): don't create the temporary array, it's not needed.
  709. * System.Data.build: excluded newly added file from build.
  710. 2002-04-27 Rodrigo Moya <[email protected]>
  711. * System.Data/DataTableRelationCollection.cs: removed, it's not
  712. on MS SDK documentation.
  713. * System.Data/DataTableCollection.cs: new class.
  714. 2002-04-27 Daniel Morgan <[email protected]>
  715. * System.Data/DataRowChangeEventArgs.cs
  716. * System.Data/DataRowCollection.cs
  717. * System.Data/DataView.cs
  718. * System.Data/PropertyCollection.cs: added new stubs
  719. * System.Data.build: modified - added new files to exclude
  720. from build
  721. * TODO: modified - removed files from TODO list
  722. that were stubbed above
  723. * System.Data/DataColumn.cs
  724. * System.Data/DataRow.cs: modified - various tweaks
  725. and added internal method SetTable to set the reference
  726. to a DataTable
  727. * System.Data/DataSet.cs: modified - class was not
  728. completely stubbed.
  729. * System.Data/DataTable.cs: modified - temporarily commented
  730. DataSet and DataView references - trying to compile a SqlDataReader,
  731. DataTable, and dependencies for a forward read-only result set.
  732. SqlDataAdapter, DataSet, and DataView will come later once we can get
  733. a forward read only result set working.
  734. * System.Data/IDataRecord.cs: modified - source code lines should
  735. not be > 80
  736. * System.Data/InternalDataCollectionBase.cs: modified - started
  737. implementing this base class for collection of data rows,
  738. columns, tables, relations, and constraints
  739. * System.Data.SqlClient/SqlException.cs: modified -
  740. call base(message) so a unhandled exception displays
  741. the message of a SQL error instead of the
  742. default SystemException message
  743. * Test/TestSqlException.cs: modified -
  744. handle the rollback properly for a SqlException on a
  745. failure to connect
  746. 2002-04-23 Daniel Morgan <[email protected]>
  747. * System.Data.build: modified - added new
  748. files to exclude from build
  749. * System.Data/Constraint.cs
  750. * System.Data/ConstraintCollection.cs
  751. * System.Data/InternalDataCollectionBase.cs: added -
  752. stubs which are needed to build DataTable.cs
  753. * TODO: modified - added more classes TODO and
  754. added more stuff TODO, such as, create script
  755. to create test database monotestdb for testing
  756. classes in System.Data
  757. 2002-04-23 Rodrigo Moya <[email protected]>
  758. * System.Data.Common/DataAdapter.cs:
  759. * System.Data.Common/DataColumnMappingCollection.cs:
  760. * System.Data.Common/DataTableMappingCollection.cs:
  761. * System.Data.Common/DbDataPermission.cs:
  762. * System.Data.Common/DbDataPermissionAttribute.cs: some
  763. compilation errors fixed.
  764. 2002-04-23 Daniel Morgan <[email protected]>
  765. * TODO: modified - added classes TODO, and
  766. a poor attempt at System.Data plan
  767. 2002-04-23 Daniel Morgan <[email protected]>
  768. * ChangeLog: modified - put tabs where they belong
  769. * System.Data.SqlClient/SqlDataReader.cs
  770. * System.Data/DataColumn.cs: modified - compile errors
  771. trying to compile SqlDataAdapter and dependencies
  772. 2002-04-23 Daniel Morgan <[email protected]>
  773. * System.Data.SqlTypes/SqlBoolean.cs
  774. * System.Data.SqlTypes/SqlCompareOptions.cs
  775. * System.Data.SqlTypes/SqlInt32.cs
  776. * System.Data.SqlTypes/SqlString.cs: added - new stubs
  777. * System.Data/DataTable.cs
  778. * System.Data.SqlClient/SqlCommand.cs
  779. * System.Data.SqlClient/SqlConnection.cs
  780. * System.Data.SqlClient/SqlError.cs
  781. * System.Data.SqlClient/SqlTransaction.cs: modified -
  782. misc. tweaks
  783. * System.Data.SqlClient/SqlException.cs: modified -
  784. missing Message on indexer for Message property
  785. 2002-04-21 Daniel Morgan <[email protected]>
  786. * System.Data.SqlClient/SqlCommand.cs: modified - to
  787. compile using mcs. This problem is
  788. returning a stronger type in csc vs. msc
  789. * System.Data.SqlClient/SqlConnection.cs: modified - msc
  790. can not do a using PGconn = IntPtr; and then declare
  791. with PGconn pgConn = IntPtr.Zero;
  792. Thiw works under csc though. Had to comment using and
  793. changed declaration to IntPtr pgConn = IntPtr.Zero;
  794. Also, got rid of compile warnings for hostaddr and port.
  795. * System.Data.SqlClient/SqlErrorCollection.cs: modified - got
  796. rid of compile warnings. Commented MonoTODO attribute because mcs
  797. doesn't seem to work with C# array property indexer (Item)
  798. this[int index]
  799. * System.Data.SqlClient/SqlParameterCollection.cs: modified -
  800. commented MonoTODO attribute for indexer for mcs compiling
  801. * Test/TestSqlIsolationLevel.cs:
  802. * Test/TestSqlInsert.cs:
  803. * Test/TestSqlException.cs: modified -
  804. removed extra ExecuteNonQuery which caused two inserted rows
  805. 2002-04-20 Daniel Morgan <[email protected]>
  806. * System.Data/StateChangeEventArgs.cs - added
  807. needed to compile System.Data.dll with mcs.
  808. 2002-04-20 Daniel Morgan <[email protected]>
  809. * System.Data.OleDb: added directory - for OleDb database
  810. provider classes
  811. * System.Data.SqlClient/SqlClientPermission.cs
  812. * System.Data.SqlClient/SqlClientPermissionAttribute.cs
  813. * System.Data.SqlClient/SqlCommandBuilder.cs
  814. * System.Data.SqlClient/SqlInfoMessageEventHandler.cs
  815. * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs
  816. * System.Data.SqlClient/SqlRowUpdatedEventHandler.cs
  817. * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs
  818. * System.Data.SqlClient/SqlRowUpdatingEventHandler.cs
  819. * Test/TestSqlException.cs
  820. * Test/TestSqlIsolationLevel.cs: added - more tests
  821. * System.Data.build: modified - added new files - excludes these too
  822. * System.Data.SqlClient/PostgresLibrary.cs - modified - comment
  823. * System.Data.SqlClient/SqlConnection.cs
  824. * System.Data.SqlClient/SqlCommand.cs
  825. * System.Data.SqlClient/SqlTransaction.cs
  826. * System.Data.SqlClient/SqlException.cs
  827. * System.Data.SqlClient/SqlErrorCollection.cs
  828. * System.Data.SqlClient/SqlError.cs: modified - transaction and
  829. exception/error handling. SqlConnection(connectionString)
  830. constructor should not automatically connect.
  831. * System.Data.SqlClient/SqlDataReader.cs
  832. * System.Data.SqlClient/SqlDataAdapter.cs
  833. * System.Data.SqlClient/SqlParameter.cs
  834. * System.Data.SqlClient/SqlParameterCollection.cs: modified -
  835. added using System.ComponentModel;
  836. * Test/TestSqlInsert.cs: modified - to use transaction
  837. 2002-04-17 Rodrigo Moya <[email protected]>
  838. * System.Data/DataRow.cs: new skeletons.
  839. * System.Data.Common/DataAdapter.cs:
  840. * System.Data.Common/DataColumnMapping.cs:
  841. * System.Data.Common/DataColumnMappingCollection.cs:
  842. * System.Data.Common/DataTableMapping.cs:
  843. * System.Data.Common/DataTableMappingCollection.cs:
  844. * System.Data.Common/DbDataAdapter.cs:
  845. * System.Data.Common/RowUpdatedEventArgs.cs:
  846. * System.Data.SqlClient/SqlDataAdapter.cs:
  847. * System.Data.SqlClient/SqlInfoMessageEventArgs.cs: compilation
  848. fixes for Linux.
  849. * System.Data.Common/DbDataRecord.cs:
  850. * System.Data.Common/DbEnumerator.cs: removed MS implementation
  851. internal classes.
  852. 2002-04-17 Daniel Morgan <[email protected]>
  853. * Test/TestSqlInsert.cs: modified - do
  854. a SQL DELETE before SQL INSERT of row so you can use this
  855. test over and over.
  856. * System.Data.SqlClient/SqlTransaction.cs: modified - default
  857. IsolationLevel for PostgreSQL is ReadCommitted. However,
  858. PostgreSQL allows Serializable as well.
  859. (Thanks to Gonzalo for that!)
  860. * System.Data.SqlClient/SqlConnection.cs: modified
  861. * System.Data.SqlClient/SqlCommand.cs: modified
  862. * System.Data.SqlClient/SqlTransaction.cs: modified - got transactions
  863. working; however, we still need to implement SQL errors
  864. and exceptions to properly handle transactions. Also, added
  865. status and error message support from the PostgreSQL database.
  866. Currently, this does a Console.WriteLine() to display the
  867. status and error messages, but this is a TODO
  868. for SQL errors and exceptions.
  869. * System.Data/TODOAttribute.cs: added - needed MonoTODO
  870. attribute for System.Data.dll assembly
  871. * System.Data/IDbCommand.cs: modified - commented
  872. overloaded method ExecuteReader
  873. so System.Data.SqlClient.SqlCommand can compile
  874. * System.Data/IDbCommand.cs: modified
  875. * System.Data/IDbConnection.cs: modified - added using System;
  876. * System.Data/IDataParameter.cs
  877. * System.Data.build: modified - build classes
  878. in System.Data.SqlClient and exclude others in System.Data
  879. * System.Data.SqlClient/PostgresLibrary.cs: modified - change
  880. parameter data type from IntPtr to enum ExecStatusType
  881. * ChangeLog: modified - corrected previous entries in log
  882. 2002-04-16 Rodrigo Moya <[email protected]>
  883. * System.Data.Common/DataColumnMappingCollection.cs: added basic
  884. implementation. Still missing some stuff.
  885. 2002-04-16 Daniel Morgan <[email protected]>
  886. * System.Data.SqlClient/SqlConnection.cs: modified - got
  887. to compile, run, and connect to PostgreSQL database
  888. * System.Data.SqlClient/SqlCommand.cs: modified - got
  889. to compile, run, and execute a SQL INSERT command
  890. which successfully inserted a row
  891. into the PostgreSQL database
  892. * System.Data.SqlClient/SqlTransaction.cs: modified
  893. * System.Data.SqlClient/SqlParameter.cs: modified
  894. * System.Data.SqlClient/SqlParameterCollection.cs: modified
  895. * System.Data.SqlClient/SqlError.cs: modified
  896. * System.Data.SqlClient/SqlErrorCollection.cs: modified
  897. * System.Data.SqlClient/SqlException.cs: modified
  898. * System.Data.SqlClient/PostgresLibrary.cs: modified - to compile
  899. * System.Data.SqlClient/SqlAdapter: modified
  900. * System.Data.SqlClient/SqlReader: modified - add more stubs
  901. 2002-04-16 Daniel Morgan <[email protected]>
  902. * Test/TestSqlInsert.cs: added
  903. 2002-04-15 Daniel Morgan <[email protected]>
  904. * System.Data.SqlClient/SqlInfoMessageEventArgs.cs: added - using in
  905. class SqlConnecition
  906. * System.Data.SqlClient/SqlErrorCollection.cs: added
  907. * System.Data.SqlClient/SqlErrors.cs: removed - no such class SqlErrors
  908. 2002-04-15 Christopher Podurgiel <[email protected]>
  909. * System.Data.IDbDataParameter: Added Interface to IDataParameter.
  910. * System.Data.IDbTransaction: Added Interface to IDisposable.
  911. * System.Data.IDbCommand: Fixed Capitalization of class name.
  912. * System.Data.IDbConnection: Fixed Capitalization of class name.
  913. 2002-04-15 Rodrigo Moya <[email protected]>
  914. * System.Data.Common/DbDataPermissionAttribute.cs:
  915. * System.Data.Common/DataAdapter.cs:
  916. * System.Data.Common/DataColumnMapping.cs:
  917. * System.Data.Common/DbDataPermission.cs: added some implementation.
  918. 2002-04-15 Rodrigo Moya <[email protected]>
  919. * System.Data.SqlClient/SqlConnection.cs: fixed constructor chaining
  920. syntax, as pointed out by Levent Camlibel.
  921. 2002-04-14 Rodrigo Moya <[email protected]>
  922. * System.Data.SqlTypes/SqlBinary.cs:
  923. * System.Data.SqlTypes/INullable.cs: new skeletons.
  924. 2002-04-14 Daniel Morgan <[email protected]>
  925. * System.Data.SqlClient/PostgresLibrary.cs: new internal class, which
  926. contains all calls the the PostgreSQL client library, to be used
  927. everywhere in System.Data.SqlClient.
  928. 2002-03-30 Rodrigo Moya <[email protected]>
  929. * System.Data.SqlClient/SqlConnection.cs: implemented basic
  930. constructors.
  931. * System.Data.SqlTypes/SqlNullValueException.cs: new skeletons.
  932. 2002-03-29 Rodrigo Moya <[email protected]>
  933. * System.Data.Common/DbDataRecord.cs:
  934. * System.Data.Common/DbEnumerator.cs:
  935. * System.Data.Common/RowUpdatedEventArgs.cs:
  936. * System.Data.Common/RowUpdatingEventArgs.cs:
  937. * System.Data.Common/DbDataPermissionAttribute.cs: new skeletons.
  938. 2002-03-28 Rodrigo Moya <[email protected]>
  939. * System.Data.Common/DataTableMappingCollection.cs:
  940. * System.Data.Common/DbDataAdapter.cs:
  941. * System.Data.Common/DbDataPermission.cs:
  942. * System.Data.Common/DataTableMapping.cs: new skeletons.
  943. * System.Data.SqlClient/SqlDataAdapter.cs:
  944. * System.Data.SqlClient/SqlDataReader.cs:
  945. * System.Data.SqlClient/SqlErrors.cs:
  946. * System.Data.SqlClient/SqlError.cs:
  947. * System.Data.SqlClient/SqlException.cs:
  948. * System.Data.SqlClient/SqlParameter.cs:
  949. * System.Data.SqlClient/SqlParameterCollection.cs:
  950. * System.Data.SqlClient/SqlTransaction.cs:
  951. * System.Data.SqlClient/SqlCommand.cs: fixed skeletons.
  952. 2002-03-27 Rodrigo Moya <[email protected]>
  953. * System.Data.Common/DataColumnMapping.cs:
  954. * System.Data.Common/DataColumnMappingCollection.cs:
  955. * System.Data.Common/DataAdapter.cs: created skeletons.
  956. * System.Data.build: exclude new directories from build.
  957. 2002-03-27 Rodrigo Moya <[email protected]>
  958. * System.Data.SqlClient/SqlTransaction.cs: started implementation.
  959. * System.Data.SqlClient/SqlConnection.cs (BeginTransaction):
  960. implemented (2 methods).
  961. 2002-03-24 Duncan Mak <[email protected]>
  962. * System.Data.build: Excluded System.Data.SqlClient from the build.
  963. The stubs are incomplete and they are stopping the build.
  964. * System.Data.SqlClient/SqlCommand.cs: Replaced 'implements' with ':'.
  965. 2002-03-24 Rodrigo Moya <[email protected]>
  966. * System.Data.SqlClient/*: added skeletons for the SQL managed
  967. provider for ADO.Net, to be based initially in PostgreSQL.
  968. 2002-03-15 Christopher Podurgiel <[email protected]>
  969. Changed the Namespace on some Enums from mono.System.Data to System.Data
  970. 2002-03-01 Christopher Podurgiel <[email protected]>
  971. * DataColumnCollection.cs : When an existing DataColumn is added, will now Assign a
  972. default name if the ColumnName is null.
  973. * DataSet.cs : Added
  974. * DataTable.cs : Added
  975. * DataRelationCollection.cs : Added
  976. * DataTableRelationCollection.cs : Added
  977. * DataColumn : Added
  978. 2002-02-11 Christopher Podurgiel <[email protected]>
  979. * DataColumnChangeEventArgs.cs : Added
  980. * DataColumnCollection.cs : Added
  981. 2002-02-10 Christopher Podurgiel <[email protected]>
  982. * Removed *.cs from System.Data as the correct files are in mcs/class/System.Data/System.Data
  983. * Updated all Enums, Interfaces, and Delegates in System.Data