| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092 |
- 2002-05-18 Daniel Morgan <[email protected]>
- * System.Data.SqlClient/SqlCommand.cs: handle CommandTypes
- Text, TableDirect, and StoredProcedure
-
- * Test/PostgresTest.cs: changed call to version()
- stored procedure to use the CommandType of StoredProcedure
-
- * Test/TestSqlDataReader.cs: test all the CommandTypes
- 2002-05-18 Daniel Morgan <[email protected]>
- * System.Data.build: took out all excluded
- files except the ones in the Test directory
- because all files compile now. It does not
- mean they all work or have implementations
- though.
-
- * System.Data/DataRelationCollection.cs
- * System.Data/DataTableRelationCollection.cs
- * System.Data/InternalDataCollectionBase.cs
- * System.Data.Common/DbDataPermission.cs
- * System.Data.SqlClient/SqlInfoMessageEventArgs.cs
- * System.Data.SqlClient/SqlClientPermission.cs
- * System.Data.SqlClient/SqlClientPermissionAttribute.cs: changes
- to get all System.Data* files to compile.
-
- * System.Data.SqlClient/SqlCommand.cs: started coding
- to prevent SqlConnection and SqlCommand from doing
- anyting while fetching data using SqlDataReader. Also,
- started coding to undo this prevention once the
- SqlDataReader is closed.
-
- * System.Data.SqlClient/SqlConnection.cs: get database server
- version. Started coding to prevent connection from
- doing anything while fetching data and undo once the reader
- is closed. Include events SqlInfoMessage and StateChange.
-
- * System.Data.SqlClient/SqlDataReader.cs: start coding to
- prevent connection and command from doing anything while
- fetching data, and undo when closed.
-
- * Test/PostgresTest.cs: added test to get ServerVersion
- property from SqlConnection
- 2002-05-18 Tim Coleman <[email protected]>
- * System.Data/DataRow.cs: More implementation,
- as well as boundary checks and small semantic
- repairs
- 2002-05-18 Tim Coleman <[email protected]>
- * System.Data/DataRow.cs: Try to reduce memory
- usage by only creating the original and proposed
- arrays as required in BeginEdit, and then destroying
- proposed during EndEdit, and original during AcceptChanges.
- * System.Data.Common/DbDataAdapter.cs: Make the
- startRecord and maxRecords parameters work correctly.
- 2002-05-18 Tim Coleman <[email protected]>
- * System.Data/DataRow.cs: Move the null check in
- ItemArray set to above the Invalid Cast check, so
- that we don't get null reference exceptions.
- 2002-05-17 Daniel Morgan <[email protected]>
- * System.Data.SqlClient/PostgresLibrary.cs: handle
- data value from database being NULL
-
- * System.Data.SqlClient/SqlCommand.cs: for ExecuteReader,
- allow multiple result sets. Added new internal class
- SqlResult to pass result set data from SqlCommand
- to SqlDataReader.
-
- * System.Data.SqlClient/SqlDataReader.cs: allow
- multiple result sets.
-
- * System.Data.SqlClient/SqlConnection.cs: moved
- things around. Implement IDisposable.
-
- * Test/TestSqlDataReader.cs: test for execution
- of multiple result sets and display the results
- of these multiple results sets
-
- * Test/TestSqlDataAdapter.cs: tweaks
- 2002-05-17 Tim Coleman <[email protected]>
- * System.Data.Common/DbDataAdapter.cs:
- - More implementation of Fill methods
- - Get rid of isDirty flag, because we can just check
- if the table exists
- - Do *not* remove DataTables before Filling them
- - Implicitly open the connection before doing a Fill
- if it does not exist.
- * System.Data.SqlClient/SqlDataAdapter.cs:
- - Minor fixup
- * System.Data/DataTableCollection.cs:
- - Add DataSet to internal, undocumented constructor
- - When a table is created, set its DataSet property
- - Default table name for creation is "Table1" (see .NET)
- - Inherit the ArrayList list from InternalDataCollecitonBase
- and maintain a hashtable between table names and
- DataTables
- * System.Data/DataTable.cs:
- - Add internal dataSet field. This is used by
- DataTableCollection when the DataTable is constructed.
- * System.Data/DataSet.cs:
- - Pass a reference to the DataSet when constructing the
- DataTableCollection.
- 2002-05-16 Tim Coleman <[email protected]>
- * System.Data.Common/DbDataAdapter.cs:
- Use table.Rows.Add (itemArray) instead of
- table.Rows.Add (thisRow) to provide better
- abstraction.
- * System.Data/DataRowCollection.cs:
- Some implementation of this class.
- * System.Data/InternalDataCollectionBase.cs:
- Some implementation. Most notably, this now
- has an enumerator so we can use foreach (DataRow row in table.Rows)
- in the test classes.
- * System.Data/DataTable.cs:
- Since DataRowCollection now accepts a DataTable in
- its internal constructor, we must pass one in.
- 2002-05-16 Daniel Morgan <[email protected]>
- * Test/TestSqlDataAdapter.cs: added new test
- for SqlDataAdapter, DataSet, DataTableCollection, DataTable,
- DataRowCollection, and DataRow. It tests retrieving data
- based on a SQL SELECT query. This test is based on Tim Coleman's
- test he sent to me.
- 2002-05-16 Tim Coleman <[email protected]>
- * System.Data.Common/DbDataAdapter.cs:
- Use table.Rows.Add (thisRow) instead of
- table.ImportRow (thisRow)
- * System.Data/DataRowCollection.cs:
- Construct the ArrayList before using it
- 2002-05-16 Tim Coleman <[email protected]>
- * System.Data/DataTable.cs:
- Construct the DataRowCollection in the DataTable
- constructor. Otherwise, it's a null reference.
- 2002-05-16 Tim Coleman <[email protected]>
- * System.Data.SqlClient/SqlDataReader.cs:
- Modify GetValues to use Array.Copy() to copy
- the results from fields to values, rather than
- an assignment, which results in loss of data.
- 2002-05-16 Tim Coleman <[email protected]>
- * System.Data/DataRow.cs:
- More implementation and documentation. It should
- work more like expected, although there is no way
- to demonstrate this well yet. DataTable requires
- more work.
- 2002-05-15 Tim Coleman <[email protected]>
- * System.Data/DataRow.cs:
- Minor tweaks as I determine exactly how to
- implement this class.
- 2002-05-14 Duncan Mak <[email protected]>
- * System.Data/DataTable.cs (NewRow): Added missing paren to fix build.
- 2002-05-14 Tim Coleman
- * System.Data/DataRow.cs:
- * System.Data/DataRowBuilder.cs:
- * System.Data/DataTable.cs:
- More implementation of these classes. DataRow
- can now (possibly) do some useful things.
- Still not sure what DataRowBuilder is all about,
- other than passing a DataTable in.
- 2002-05-14 Tim Coleman
- * System.Data/DataRowBuilder.cs:
- Add stubb for this internal class.
- 2002-05-13 Tim Coleman
- * System.Data.Common/DbDataAdapter.cs:
- The maxRecords check was not correct.
- 2002-05-13 Tim Coleman
- * System.Data/DataTableCollection.cs:
- Fix an issue when adding a DataTable and size == 0.
- Now explicitly checks if size > 0 before doing Array.Copy ()
- * System.Data.Common/DbDataAdapter.cs:
- Move closer to a working implementation.
- Make the IDbCommand fields protected so that they can
- be inherited.
- * System.Data.SqlClient/SqlDataAdapter.cs:
- This should inherit the IDbCommands instead of having its
- own. An explicit cast is used to force conversion between
- IDbCommand and SqlCommand
- 2002-05-13 Tim Coleman
- * System.Data.Common/DataTableMappingCollection.cs:
- Some implementation to allow progress with DbDataAdapter
- 2002-05-13 Tim Coleman
- * System.Data.Common/DbDataAdapter.cs:
- Modify to not break compile.
- 2002-05-13 Tim Coleman
- * System.Data.build:
- include SqlDataAdapter, SqlRowUpdatedEventArgs,
- SqlRowUpdatingEventArgs, SqlRowUpdatedEventHandler,
- SqlRowUpdatingEventHandler in the build.
- 2002-05-13 Tim Coleman
- * System.Data.Common/DbDataAdapter.cs:
- More implementation.
- * System.Data.Common/DataAdapter.cs:
- Correction of some of the stubbing, as well as a
- little bit more implementation
- 2002-05-11 Tim Coleman
- * System.Data.SqlClient/SqlDataAdapter.cs:
- * System.Data.Common/DbDataAdapter.cs:
- Moved methods that weren't supposed to
- be in SqlDataAdapter out. They should be implemented
- in DbDataAdapter.
-
- 2002-05-11 Tim Coleman
- * System.Data.SqlClient/SqlDataAdapter.cs:
- some implementation of this class. Note
- that none of the functionality has been
- tested yet, but I felt it should be checked
- in at this point as it compiles.
- * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs:
- * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs:
- Modified so that they will compile properly.
- Needed to include SqlDataAdapter in the build.
- 2002-05-11 Rodrigo Moya <[email protected]>
- * System.Data/DataTable.cs (Clear): implemented.
- (DataTable): removed repeated code in constructors, and call the
- basic constructor from the others.
- * System.Data/DataColumn.cs: some tweaks.
- * System.Data/DataRow.cs (RowState): implemented.
- (CancelEdit): set rowState property back to Unchanged.
- (RejectChanges): call CancelEdit.
- (Delete): set rowState to Deleted.
- 2002-05-11 Daniel Morgan <[email protected]>
- * System.Data.build: added copy of System.Data.dll to Test directory
- for easy testing. Also, added clean for it too.
-
- * System.Data.SqlClient/PostgresLibrary.cs: changed setting of boolean
- from PostgreSQL data type to .NET type.
-
- * System.Data.SqlClient/SqlDataReader.cs: beginnings
- handling of a NULL value from the database
-
- * Test/PostgresTest.cs: added tests for NULL values retrieved
- from the database
-
- * Test/ReadPostgresData.cs
- * Test/TestExecuteScalar.cs
- * Test/TestSqlDataReader.cs
- * Test/TestSqlException.cs
- * Test/TestSqlIsolationLevel.cs: updated tests to use databas user
- "postgres". These tests may eventually be removed since they
- are not flexible.
- 2002-05-10 Rodrigo Moya <[email protected]>
- * System.Data.build: removed reference to non-existant
- TestDataColumn.cs file.
- * System.Data/DataSet.cs: added some implementation.
- 2002-05-09 Daniel Morgan <[email protected]>
- * System.Data.SqlClient/PostgresLibrary.cs: got
- PostgreSQL data types time, date, timestamp (DateTime like)
- mapped to .NET System.DateTime working based
- on ISO DateTime formatting "YYYY-MM-DD hh:mi:ss.ms"
- Also mapped pg type boolean to .net Boolean
-
- * SqlClient/SqlConnection.cs: run SQL command to set
- Date style to ISO
-
- * Test/PostgresTest.cs: added test for an UPDATE SQL command,
- added tests for aggregates min(), max(), sum(), count(). could
- not get avg() to work due to some formatting error; someone claimed
- that it was my locale settings. added tests for SELECT of columns
- of type boolean, float, double, date, time, and timestamp. They
- have not been fully tested, but its a start.
- 2002-05-09 Tim Coleman <[email protected]>
- * System.Data.SqlTypes/SqlDecimal.cs: Implementations of
- addition, subtraction, and multiplication for the
- SqlDecimal type, as well as modification of some other
- operations. More to come on this one.
- 2002-05-08 Rodrigo Moya <[email protected]>
- * Test/System.Data_test.build: excluded TestDataColumn, which
- should be replaced with a nunit test.
- * Test/TestDataColumn.cs: added basic test for DataColumn.cs.
- 2002-05-07 Tim Coleman <[email protected]>
- * SqlBinary.cs:
- * SqlBoolean.cs:
- * SqlByte.cs:
- * SqlDateTime.cs:
- * SqlDecimal.cs:
- * SqlDouble.cs:
- * SqlGuid.cs:
- * SqlInt16.cs:
- * SqlInt32.cs:
- * SqlInt64.cs:
- * SqlMoney.cs:
- * SqlSingle.cs:
- * SqlString.cs:
- Fix the broken build I made before. Bad
- me.
- 2002-05-07 Tim Coleman <[email protected]>
- * SqlString.cs:
- Fix a symantic error I made in SqlString
- Equals where I copied and pasted wrongly
- 2002-05-07 Tim Coleman <[email protected]>
- * INullable.cs:
- * SqlBinary.cs:
- * SqlBoolean.cs:
- * SqlByte.cs:
- * SqlCompareOptions.cs:
- * SqlDateTime.cs:
- * SqlDecimal.cs:
- * SqlDouble.cs:
- * SqlGuid.cs:
- * SqlInt16.cs:
- * SqlInt32.cs:
- * SqlInt64.cs:
- * SqlMoney.cs:
- * SqlSingle.cs:
- * SqlString.cs:
- Implement CompareTo, Equals, and String conversions
- for many types
- 2002-05-05 Daniel Morgan <[email protected]>
- * Test/PostgresTest.cs: modified to run completely. There
- are many TODOs in System.Data, so not all data types are
- included in the SELECT SQL query. Also, I made it to where
- it would connect
- using "host=localhost;dbname=test;user=postgres"
- instead of my userid and password. When more types are included,
- update this test.
- 2002-05-05 Daniel Morgan <[email protected]>
- * Test/PostgresTest.cs: added - ported
- libgda postgres-test.c originally by
- Gonzalo Paniagua Javier <[email protected]>
- to C#.
- 2002-05-05 Tim Coleman <[email protected]>
- * System.Data.SqlTypes/SqlBinary.cs:
- * System.Data.SqlTypes/SqlBoolean.cs:
- * System.Data.SqlTypes/SqlByte.cs:
- * System.Data.SqlTypes/SqlDateTime.cs:
- * System.Data.SqlTypes/SqlDecimal.cs:
- * System.Data.SqlTypes/SqlDouble.cs:
- * System.Data.SqlTypes/SqlGuid.cs:
- * System.Data.SqlTypes/SqlInt16.cs:
- * System.Data.SqlTypes/SqlInt32.cs:
- * System.Data.SqlTypes/SqlInt64.cs:
- * System.Data.SqlTypes/SqlMoney.cs:
- * System.Data.SqlTypes/SqlSingle.cs:
- * System.Data.SqlTypes/SqlString.cs:
- More implementation, and code clean-up for consistency.
- Also, I had implemented many conversions as explicit
- that should have been implicit. This should remove
- many of the red X's and green pluses from the
- System.Data.SqlTypes namespace.
- 2002-05-05 Miguel de Icaza <[email protected]>
- * System.Data/DataSet.cs: Remove [Serializable] attributes from
- methods, those only apply to structs or classes.
- Stub out ISerializable, ISupportInitialize, and IListSource methods
-
- * System.Data/DataRowView.cs: Stub out interface methods for
- IEditableObject, ICustomTypeDescriptor and IDataErrorInfo
- * System.Data/DataView.cs: Comment out non-implemented
- interfaces.
- * System.Data/DataViewSettingsCollection.cs: Type cast variables
- to the correct type to make it compile.
- * System.Data/DataViewSettings.cs: remove reference to
- non-existance type ApplyDefaultSort, it is a boolean.
-
- 2002-05-05 Tim Coleman <[email protected]>
- * System.Data.SqlTypes/SqlBinary.cs:
- * System.Data.SqlTypes/SqlBoolean.cs:
- * System.Data.SqlTypes/SqlByte.cs:
- * System.Data.SqlTypes/SqlDecimal.cs:
- * System.Data.SqlTypes/SqlDouble.cs:
- * System.Data.SqlTypes/SqlGuid.cs:
- * System.Data.SqlTypes/SqlInt16.cs:
- * System.Data.SqlTypes/SqlInt32.cs:
- * System.Data.SqlTypes/SqlInt64.cs:
- * System.Data.SqlTypes/SqlMoney.cs:
- * System.Data.SqlTypes/SqlSingle.cs:
- * System.Data.SqlTypes/SqlString.cs:
- Various fixes, including adding the SqlNullValueException
- when trying to retrieve the value of a null SqlType,
- and when casting values, a Null of type A converts to a
- Null of type B.
- 2002-05-04 Daniel Morgan <[email protected]>
-
- * System.Data.SqlClient/PostgresLibrary.cs
- * System.Data.SqlClient/SqlCommand.cs
- * System.Data.SqlClient/SqlConnection.cs
- * System.Data.SqlClient/SqlDataReader.cs
- oid should not be hard coded because they
- can change from one version of PostgreSQL
- to the next. Use the typname's instead.
- The PostgreSQL type data retrieves
- at database connection time. Any unimplemented
- types just default to string. These were things
- suggested by Gonzalo.
-
- * Test/ReadPostgresData.cs - stuff
- * Test/TestSqlDataReader.cs - stuff
-
- * System.Data.SqlTypes/SqlInt32.cs - added a using
- 2002-05-03 Tim Coleman <[email protected]>
- * System.Data.build: Fix the build so that test depends on build
- 2002-05-03 Tim Coleman <[email protected]>
- * System.Data.SqlTypes/SqlByte.cs:
- * System.Data.SqlTypes/SqlDateTime.cs:
- * System.Data.SqlTypes/SqlDecimal.cs:
- * System.Data.SqlTypes/SqlDouble.cs:
- * System.Data.SqlTypes/SqlGuid.cs:
- * System.Data.SqlTypes/SqlInt16.cs:
- * System.Data.SqlTypes/SqlInt64.cs:
- * System.Data.SqlTypes/SqlMoney.cs:
- * System.Data.SqlTypes/SqlSingle.cs:
- These files were mysteriously excluded from the last
- patch I made and sent to Rodrigo
- * System.Data.build: include the System.Data.SqlTypes in the build
- 2002-05-03 Daniel Morgan <[email protected]>
- * System.Data.build: removed comments
- * System.Data.SqlClient/PostgresLibrary.cs: changed
- the hard-coded PostgreSQL oid type int's to using an
- enum. Also, added PostgreSQL bpchar (character) type.
-
- * Test/TestSqlDataReader.cs: updated test
- to include new bpchar PostgreSQL type
- 2002-05-03 Rodrigo Moya <[email protected]>
- * System.Data.SqlTypes/SqlBinary.cs:
- * System.Data.SqlTypes/SqlBoolean.cs:
- * System.Data.SqlTypes/SqlInt32.cs:
- * System.Data.SqlTypes/SqlString.cs: more implementation, by
- Tim Coleman <[email protected]>.
- 2002-05-03 Daniel Morgan <[email protected]>
- * Test/TestExecuteScalar.cs: added test for
- method ExecuteScalar in class SqlCommand.
-
- * System.Data/DataColumnCollection.cs - it should
- inherit properties from base InternalDataCollectionBase
- and use them instead of overriding them, such as, List.
-
- * System.Data/DataColumn.cs
- * System.Data/DataTable.cs: tweaks to retrieve
- meta data from the database
-
- * System.Data.SqlClient/PostgresLibrary.cs -
- added method OidToType to convert PostgreSQL oid type
- to System.Type. Renamed method OidTypeToSystem
- to ConvertPgTypeToSystem for converting the data value
- from a PostgreSQL type to a .NET System type.
-
- * System.Data.SqlClient/SqlCommand.cs: implemented
- method ExecuteReader which returns a SqlDataReader
- for a light forward only read only result set.
- It works on types int4 ==> Int32 and
- varchar ==> String. Other types
- will come later.
-
- * System.Data.SqlClient/SqlConnection.cs: added comment
-
- * System.Data.SqlClient/SqlDataReader.cs: implemented
- class. It works, but still lots to do.
-
- * Test/ReadPostgresData.cs: stuff
-
- * Test/TestSqlDataReader.cs: updated test for SqlDataReader
- to display meta data and the data
-
- 2002-05-03 Duncan Mak <[email protected]>
- * TODO: Took out all the Exceptions. They should be all done now.
- * System.Data/ConstraintException.cs:
- * System.Data/DBConcurrencyException.cs:
- * System.Data/DataException.cs:
- * System.Data/DeletedRowInaccessibleException.cs:
- * System.Data/DuplicateNameException.cs:
- * System.Data/EvaluateException.cs:
- * System.Data/InRowChangingEventException.cs:
- * System.Data/InvalidConstraintException.cs:
- * System.Data/InvalidExpressionException.cs:
- * System.Data/MissingPrimaryKeyException.cs:
- * System.Data/NoNullAllowedException.cs:
- * System.Data/ReadOnlyException.cs:
- * System.Data/RowNotInTableException.cs:
- * System.Data/StrongTypingException.cs:
- * System.Data/SyntaxErrorException.cs:
- * System.Data/TypeDataSetGeneratorException.cs:
- * System.Data/VersionNotFoundException.cs: Added to CVS.
- * System.Data.SqlTypes/SqlNullValueException.cs:
- * System.Data.SqlTypes/SqlTruncateException.cs:
- * System.Data.SqlTypes/SqlTypeException.cs: Added to CVS.
- 2002-05-02 Rodrigo Moya <[email protected]>
- * System.Data/DataViewSettingCollection.cs: implemented.
- * System.Data/DataRowView.cs: new stubs.
- * System.Data.SqlTypes/SqlByte.cs:
- * System.Data.SqlTypes/SqlDateTime.cs:
- * System.Data.SqlTypes/SqlDecimal.cs:
- * System.Data.SqlTypes/SqlDouble.cs:
- * System.Data.SqlTypes/SqlGuid.cs:
- * System.Data.SqlTypes/SqlInt16.cs:
- * System.Data.SqlTypes/SqlInt64.cs:
- * System.Data.SqlTypes/SqlMoney.cs:
- * System.Data.SqlTypes/SqlSingle.cs: new stubs, contributed
- by Tim Coleman <[email protected]>
- * System.Data.build: excluded newly-added files.
- 2002-05-02 Daniel Morgan <[email protected]>
- * System.Data.SqlClient/PostgresLibrary.cs: included new
- internal class that will be a helper class in using
- PostgreSQL. PostgresLibrary is used for the
- pinvoke methods to the PostgreSQL Client
- native C library libpq while the class PostgresHelper
- is used for wrapper or helper methods. It currently only
- has one static method OidTypeToSystem in converting
- PostgreSQL types to .NET System.<type>s, such as,
- a PostgreSQL int8 becomes a .NET System.Int64.
- Only a few types have been added, such as, int2,
- int4, int8, varchar, text, bool, and char. Other types
- will come later.
-
- * System.Data.SqlClient/SqlCommand.cs: implemented
- method ExecuteScalar which allows us to do aggregate
- functions, such as, count, avg, min, max, and sum. We
- also are able to retrieve the result, convert it to the .NET type
- as an object. The user of the returned object must explicitly cast.
-
- * Test/ReadPostgresData.cs: updated sample
- to help us learn to retrieve data in System.Data.SqlClient
- classes
- 2002-05-01 Daniel Morgan <[email protected]>
- * System.Data.build: added /nowarn: nnnn arguments
- so you will not get a ton of warnings. The warnings
- being excluded are: 1595, 0067, 0109, 0169, and 0649
- 2002-05-01 Daniel Morgan <[email protected]>
- * System.Data.build: modified to exclude more
- files from the build
- 2002-05-01 Rodrigo Moya <[email protected]>
- * System.Data.SqlClient/SqlClientPermission.cs: added missing
- 'using's.
- * System.Data/MergeFailedEventArgs.cs: new class, contributed
- by John Dugaw <[email protected]>.
- * System.Data.build: excluded new files from build.
- 2002-04-29 Daniel Morgan <[email protected]>
- * Test/ReadPostgresData.cs: added - Uses the
- PostgresLibrary to retrieve a recordset.
- This is not meant to be used in Production, but as a
- learning aid in coding
- class System.Data.SqlClient.SqlDataReader.
- This sample does work.
-
- * Test/TestSqlDataReader.cs: added - used
- to test SqlDataReader (does not work yet)
- Forgot to add to ChangeLog on last commit.
- 2002-04-28 Rodrigo Moya <[email protected]>
- * System.Data/DataViewSetting.cs: new class.
-
- 2002-04-28 Rodrigo Moya <[email protected]>
- * System.Data/DataViewManager.cs: new class.
-
- * System.Data.SqlTypes/INullable.cs: properties for interfaces
- don't have implementation.
- * System.Data.SqlTypes/SqlInt32.cs:
- * System.Data.SqlTypes/SqlString.cs:
- * System.Data.SqlTypes/SqlBoolean.cs: removed destructor, since
- these are strctures.
- * System.Data.SqlClient/SqlClientPermissionAttribute.cs: added
- missing 'using's.
-
- 2002-04-28 Rodrigo Moya <[email protected]>
-
- * System.Data/DataTableRelationCollection.cs: use 'new' keyword
- for correctly hiding parent class' members.
- (AddRange): use 'override' keyword on overriden method.
- (Clear): likewise.
- (Contains): likewise.
- (IndexOf): likewise.
- (OnCollectionChanged): likewise.
- (OnCollectionChanging): likewise.
- (RemoveCore): likewise.
- * System.Data/DataColumnCollection.cs: use 'new' keyword.
- * System.Data/DataSet.cs: added missing 'using's.
-
- 2002-04-28 Rodrigo Moya <[email protected]>
- * System.Data/DataSet.cs:
- * System.Data/DataTableCollection.cs:
- * System.Data/DataView.cs: compilation fixes on Linux.
- 2002-04-28 Daniel Morgan <[email protected]>
- * System.Data/DataRelation.cs
- * System.Data/ForeignKeyConstraint.cs
- * System.Data/UniqueConstraint.cs: added more stubs
-
- * System.Data/DataTableRelationCollection.cs: added back to cvs
- and modified for compile errors. DataRelationCollection is an
- abstract class and there must be a class that implements for
- DataTable/DataSet. DataTableRelationCollection was changed
- to an internal class.
-
- * System.Data.build: modified - new files added
- also wanted to include files/classes in the build
- so we can get a compilable forward read only result set.
- It compiles now using csc/nant with warnings, but this
- is a start for adding functionality for the result set.
- Classes associated with/and DataSet are still excluded.
-
- * TODO: modified - updated to do list for System.Data
-
- * System.Data/Constraint.cs
- * System.Data/ConstraintCollection.cs
- * System.Data/DataRelationCollection.cs
- * System.Data/DataRow.cs
- * System.Data/DataRowChangeEventArgs.cs
- * System.Data/DataRowCollection.cs
- * System.Data/DataTable.cs
- * System.Data/DataTableCollection.cs
- * System.Data/InternalDataCollectionBase.cs
- * System.Data/PropertyCollection.cs: modified -
- changes to compile SqlDataReader/DataTable and
- dependencies
-
- * System.Data/IDbCommand.cs
- * System.Data.SqlClient/SqlCommand.cs: modified -
- un-commented overloaded methods ExecuteReader
- which returns a SqlDataReader
- 2002-04-28 Rodrigo Moya <[email protected]>
- * System.Data/DataTableCollection.cs: more implementation.
- (Count): added 'override' keyword, as pointer out by Martin.
- * System.Data.Common/DataColumnMappingCollection.cs (Add, AddRange):
- only call Array.Copy when there is really stuff to be copied.
- (CopyTo): don't create the temporary array, it's not needed.
- * System.Data.build: excluded newly added file from build.
- 2002-04-27 Rodrigo Moya <[email protected]>
- * System.Data/DataTableRelationCollection.cs: removed, it's not
- on MS SDK documentation.
- * System.Data/DataTableCollection.cs: new class.
- 2002-04-27 Daniel Morgan <[email protected]>
- * System.Data/DataRowChangeEventArgs.cs
- * System.Data/DataRowCollection.cs
- * System.Data/DataView.cs
- * System.Data/PropertyCollection.cs: added new stubs
- * System.Data.build: modified - added new files to exclude
- from build
-
- * TODO: modified - removed files from TODO list
- that were stubbed above
-
- * System.Data/DataColumn.cs
- * System.Data/DataRow.cs: modified - various tweaks
- and added internal method SetTable to set the reference
- to a DataTable
-
- * System.Data/DataSet.cs: modified - class was not
- completely stubbed.
-
- * System.Data/DataTable.cs: modified - temporarily commented
- DataSet and DataView references - trying to compile a SqlDataReader,
- DataTable, and dependencies for a forward read-only result set.
- SqlDataAdapter, DataSet, and DataView will come later once we can get
- a forward read only result set working.
-
- * System.Data/IDataRecord.cs: modified - source code lines should
- not be > 80
-
- * System.Data/InternalDataCollectionBase.cs: modified - started
- implementing this base class for collection of data rows,
- columns, tables, relations, and constraints
-
- * System.Data.SqlClient/SqlException.cs: modified -
- call base(message) so a unhandled exception displays
- the message of a SQL error instead of the
- default SystemException message
-
- * Test/TestSqlException.cs: modified -
- handle the rollback properly for a SqlException on a
- failure to connect
- 2002-04-23 Daniel Morgan <[email protected]>
- * System.Data.build: modified - added new
- files to exclude from build
-
- * System.Data/Constraint.cs
- * System.Data/ConstraintCollection.cs
- * System.Data/InternalDataCollectionBase.cs: added -
- stubs which are needed to build DataTable.cs
-
- * TODO: modified - added more classes TODO and
- added more stuff TODO, such as, create script
- to create test database monotestdb for testing
- classes in System.Data
- 2002-04-23 Rodrigo Moya <[email protected]>
- * System.Data.Common/DataAdapter.cs:
- * System.Data.Common/DataColumnMappingCollection.cs:
- * System.Data.Common/DataTableMappingCollection.cs:
- * System.Data.Common/DbDataPermission.cs:
- * System.Data.Common/DbDataPermissionAttribute.cs: some
- compilation errors fixed.
- 2002-04-23 Daniel Morgan <[email protected]>
- * TODO: modified - added classes TODO, and
- a poor attempt at System.Data plan
- 2002-04-23 Daniel Morgan <[email protected]>
- * ChangeLog: modified - put tabs where they belong
-
- * System.Data.SqlClient/SqlDataReader.cs
- * System.Data/DataColumn.cs: modified - compile errors
- trying to compile SqlDataAdapter and dependencies
- 2002-04-23 Daniel Morgan <[email protected]>
- * System.Data.SqlTypes/SqlBoolean.cs
- * System.Data.SqlTypes/SqlCompareOptions.cs
- * System.Data.SqlTypes/SqlInt32.cs
- * System.Data.SqlTypes/SqlString.cs: added - new stubs
- * System.Data/DataTable.cs
- * System.Data.SqlClient/SqlCommand.cs
- * System.Data.SqlClient/SqlConnection.cs
- * System.Data.SqlClient/SqlError.cs
- * System.Data.SqlClient/SqlTransaction.cs: modified -
- misc. tweaks
- * System.Data.SqlClient/SqlException.cs: modified -
- missing Message on indexer for Message property
- 2002-04-21 Daniel Morgan <[email protected]>
- * System.Data.SqlClient/SqlCommand.cs: modified - to
- compile using mcs. This problem is
- returning a stronger type in csc vs. msc
- * System.Data.SqlClient/SqlConnection.cs: modified - msc
- can not do a using PGconn = IntPtr; and then declare
- with PGconn pgConn = IntPtr.Zero;
- Thiw works under csc though. Had to comment using and
- changed declaration to IntPtr pgConn = IntPtr.Zero;
- Also, got rid of compile warnings for hostaddr and port.
- * System.Data.SqlClient/SqlErrorCollection.cs: modified - got
- rid of compile warnings. Commented MonoTODO attribute because mcs
- doesn't seem to work with C# array property indexer (Item)
- this[int index]
- * System.Data.SqlClient/SqlParameterCollection.cs: modified -
- commented MonoTODO attribute for indexer for mcs compiling
- * Test/TestSqlIsolationLevel.cs:
- * Test/TestSqlInsert.cs:
- * Test/TestSqlException.cs: modified -
- removed extra ExecuteNonQuery which caused two inserted rows
- 2002-04-20 Daniel Morgan <[email protected]>
- * System.Data/StateChangeEventArgs.cs - added
- needed to compile System.Data.dll with mcs.
- 2002-04-20 Daniel Morgan <[email protected]>
- * System.Data.OleDb: added directory - for OleDb database
- provider classes
- * System.Data.SqlClient/SqlClientPermission.cs
- * System.Data.SqlClient/SqlClientPermissionAttribute.cs
- * System.Data.SqlClient/SqlCommandBuilder.cs
- * System.Data.SqlClient/SqlInfoMessageEventHandler.cs
- * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs
- * System.Data.SqlClient/SqlRowUpdatedEventHandler.cs
- * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs
- * System.Data.SqlClient/SqlRowUpdatingEventHandler.cs
- * Test/TestSqlException.cs
- * Test/TestSqlIsolationLevel.cs: added - more tests
- * System.Data.build: modified - added new files - excludes these too
- * System.Data.SqlClient/PostgresLibrary.cs - modified - comment
- * System.Data.SqlClient/SqlConnection.cs
- * System.Data.SqlClient/SqlCommand.cs
- * System.Data.SqlClient/SqlTransaction.cs
- * System.Data.SqlClient/SqlException.cs
- * System.Data.SqlClient/SqlErrorCollection.cs
- * System.Data.SqlClient/SqlError.cs: modified - transaction and
- exception/error handling. SqlConnection(connectionString)
- constructor should not automatically connect.
-
- * System.Data.SqlClient/SqlDataReader.cs
- * System.Data.SqlClient/SqlDataAdapter.cs
- * System.Data.SqlClient/SqlParameter.cs
- * System.Data.SqlClient/SqlParameterCollection.cs: modified -
- added using System.ComponentModel;
-
- * Test/TestSqlInsert.cs: modified - to use transaction
- 2002-04-17 Rodrigo Moya <[email protected]>
- * System.Data/DataRow.cs: new skeletons.
- * System.Data.Common/DataAdapter.cs:
- * System.Data.Common/DataColumnMapping.cs:
- * System.Data.Common/DataColumnMappingCollection.cs:
- * System.Data.Common/DataTableMapping.cs:
- * System.Data.Common/DataTableMappingCollection.cs:
- * System.Data.Common/DbDataAdapter.cs:
- * System.Data.Common/RowUpdatedEventArgs.cs:
- * System.Data.SqlClient/SqlDataAdapter.cs:
- * System.Data.SqlClient/SqlInfoMessageEventArgs.cs: compilation
- fixes for Linux.
- * System.Data.Common/DbDataRecord.cs:
- * System.Data.Common/DbEnumerator.cs: removed MS implementation
- internal classes.
- 2002-04-17 Daniel Morgan <[email protected]>
- * Test/TestSqlInsert.cs: modified - do
- a SQL DELETE before SQL INSERT of row so you can use this
- test over and over.
-
- * System.Data.SqlClient/SqlTransaction.cs: modified - default
- IsolationLevel for PostgreSQL is ReadCommitted. However,
- PostgreSQL allows Serializable as well.
- (Thanks to Gonzalo for that!)
-
- * System.Data.SqlClient/SqlConnection.cs: modified
- * System.Data.SqlClient/SqlCommand.cs: modified
- * System.Data.SqlClient/SqlTransaction.cs: modified - got transactions
- working; however, we still need to implement SQL errors
- and exceptions to properly handle transactions. Also, added
- status and error message support from the PostgreSQL database.
- Currently, this does a Console.WriteLine() to display the
- status and error messages, but this is a TODO
- for SQL errors and exceptions.
-
- * System.Data/TODOAttribute.cs: added - needed MonoTODO
- attribute for System.Data.dll assembly
- * System.Data/IDbCommand.cs: modified - commented
- overloaded method ExecuteReader
- so System.Data.SqlClient.SqlCommand can compile
-
- * System.Data/IDbCommand.cs: modified
- * System.Data/IDbConnection.cs: modified - added using System;
- * System.Data/IDataParameter.cs
-
- * System.Data.build: modified - build classes
- in System.Data.SqlClient and exclude others in System.Data
-
- * System.Data.SqlClient/PostgresLibrary.cs: modified - change
- parameter data type from IntPtr to enum ExecStatusType
-
- * ChangeLog: modified - corrected previous entries in log
- 2002-04-16 Rodrigo Moya <[email protected]>
- * System.Data.Common/DataColumnMappingCollection.cs: added basic
- implementation. Still missing some stuff.
- 2002-04-16 Daniel Morgan <[email protected]>
- * System.Data.SqlClient/SqlConnection.cs: modified - got
- to compile, run, and connect to PostgreSQL database
-
- * System.Data.SqlClient/SqlCommand.cs: modified - got
- to compile, run, and execute a SQL INSERT command
- which successfully inserted a row
- into the PostgreSQL database
- * System.Data.SqlClient/SqlTransaction.cs: modified
- * System.Data.SqlClient/SqlParameter.cs: modified
- * System.Data.SqlClient/SqlParameterCollection.cs: modified
- * System.Data.SqlClient/SqlError.cs: modified
- * System.Data.SqlClient/SqlErrorCollection.cs: modified
- * System.Data.SqlClient/SqlException.cs: modified
- * System.Data.SqlClient/PostgresLibrary.cs: modified - to compile
- * System.Data.SqlClient/SqlAdapter: modified
- * System.Data.SqlClient/SqlReader: modified - add more stubs
-
- 2002-04-16 Daniel Morgan <[email protected]>
- * Test/TestSqlInsert.cs: added
- 2002-04-15 Daniel Morgan <[email protected]>
- * System.Data.SqlClient/SqlInfoMessageEventArgs.cs: added - using in
- class SqlConnecition
- * System.Data.SqlClient/SqlErrorCollection.cs: added
- * System.Data.SqlClient/SqlErrors.cs: removed - no such class SqlErrors
- 2002-04-15 Christopher Podurgiel <[email protected]>
-
- * System.Data.IDbDataParameter: Added Interface to IDataParameter.
- * System.Data.IDbTransaction: Added Interface to IDisposable.
- * System.Data.IDbCommand: Fixed Capitalization of class name.
- * System.Data.IDbConnection: Fixed Capitalization of class name.
- 2002-04-15 Rodrigo Moya <[email protected]>
- * System.Data.Common/DbDataPermissionAttribute.cs:
- * System.Data.Common/DataAdapter.cs:
- * System.Data.Common/DataColumnMapping.cs:
- * System.Data.Common/DbDataPermission.cs: added some implementation.
- 2002-04-15 Rodrigo Moya <[email protected]>
- * System.Data.SqlClient/SqlConnection.cs: fixed constructor chaining
- syntax, as pointed out by Levent Camlibel.
- 2002-04-14 Rodrigo Moya <[email protected]>
- * System.Data.SqlTypes/SqlBinary.cs:
- * System.Data.SqlTypes/INullable.cs: new skeletons.
- 2002-04-14 Daniel Morgan <[email protected]>
- * System.Data.SqlClient/PostgresLibrary.cs: new internal class, which
- contains all calls the the PostgreSQL client library, to be used
- everywhere in System.Data.SqlClient.
- 2002-03-30 Rodrigo Moya <[email protected]>
- * System.Data.SqlClient/SqlConnection.cs: implemented basic
- constructors.
- * System.Data.SqlTypes/SqlNullValueException.cs: new skeletons.
- 2002-03-29 Rodrigo Moya <[email protected]>
- * System.Data.Common/DbDataRecord.cs:
- * System.Data.Common/DbEnumerator.cs:
- * System.Data.Common/RowUpdatedEventArgs.cs:
- * System.Data.Common/RowUpdatingEventArgs.cs:
- * System.Data.Common/DbDataPermissionAttribute.cs: new skeletons.
- 2002-03-28 Rodrigo Moya <[email protected]>
- * System.Data.Common/DataTableMappingCollection.cs:
- * System.Data.Common/DbDataAdapter.cs:
- * System.Data.Common/DbDataPermission.cs:
- * System.Data.Common/DataTableMapping.cs: new skeletons.
- * System.Data.SqlClient/SqlDataAdapter.cs:
- * System.Data.SqlClient/SqlDataReader.cs:
- * System.Data.SqlClient/SqlErrors.cs:
- * System.Data.SqlClient/SqlError.cs:
- * System.Data.SqlClient/SqlException.cs:
- * System.Data.SqlClient/SqlParameter.cs:
- * System.Data.SqlClient/SqlParameterCollection.cs:
- * System.Data.SqlClient/SqlTransaction.cs:
- * System.Data.SqlClient/SqlCommand.cs: fixed skeletons.
- 2002-03-27 Rodrigo Moya <[email protected]>
- * System.Data.Common/DataColumnMapping.cs:
- * System.Data.Common/DataColumnMappingCollection.cs:
- * System.Data.Common/DataAdapter.cs: created skeletons.
- * System.Data.build: exclude new directories from build.
- 2002-03-27 Rodrigo Moya <[email protected]>
- * System.Data.SqlClient/SqlTransaction.cs: started implementation.
-
- * System.Data.SqlClient/SqlConnection.cs (BeginTransaction):
- implemented (2 methods).
- 2002-03-24 Duncan Mak <[email protected]>
- * System.Data.build: Excluded System.Data.SqlClient from the build.
- The stubs are incomplete and they are stopping the build.
- * System.Data.SqlClient/SqlCommand.cs: Replaced 'implements' with ':'.
- 2002-03-24 Rodrigo Moya <[email protected]>
- * System.Data.SqlClient/*: added skeletons for the SQL managed
- provider for ADO.Net, to be based initially in PostgreSQL.
- 2002-03-15 Christopher Podurgiel <[email protected]>
-
- Changed the Namespace on some Enums from mono.System.Data to System.Data
- 2002-03-01 Christopher Podurgiel <[email protected]>
- * DataColumnCollection.cs : When an existing DataColumn is added, will now Assign a
- default name if the ColumnName is null.
- * DataSet.cs : Added
- * DataTable.cs : Added
- * DataRelationCollection.cs : Added
- * DataTableRelationCollection.cs : Added
- * DataColumn : Added
- 2002-02-11 Christopher Podurgiel <[email protected]>
- * DataColumnChangeEventArgs.cs : Added
- * DataColumnCollection.cs : Added
- 2002-02-10 Christopher Podurgiel <[email protected]>
-
- * Removed *.cs from System.Data as the correct files are in mcs/class/System.Data/System.Data
- * Updated all Enums, Interfaces, and Delegates in System.Data
|