mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 12:31:30 -10:00
2005-08-05 Sureshkumar T <[email protected]> * DbDataAdapter.cs: - Update (): set parameter values only after getting the appropriate command from command builder. Close reader only if it is not closed before. Use parameter's SourceVersion. Whitespace corrections to comply with standard. In System.Data.SqlClient: 2005-08-05 Sureshkumar T <[email protected]> * SqlCommandBuilder.cs: Set SourceVersion property to the created parameters as it is used by the Adapter's Update method. In System.Data.Odbc: 2005-08-05 Sureshkumar T <[email protected]> * OdbcDataReader.cs: RecordsAffected: get value from command. GetSchemaTable (): set IsExpression based on BaseTableName. set AllowDBNull to false if the column is PK. * OdbcCommand.cs: correct UpdatedRowSource is returned. whitespace changes to conform to standard. * OdbcCommandBuilder.cs: Implemented. * OdbcParameter.cs: Direction is set to Input by default. svn path=/trunk/mcs/; revision=48043
489 lines
18 KiB
Plaintext
489 lines
18 KiB
Plaintext
2005-08-05 Sureshkumar T <[email protected]>
|
||
|
||
* DbDataAdapter.cs:
|
||
- Update (): set parameter values only after getting the
|
||
appropriate command from command builder. Close reader only if it
|
||
is not closed before. Use parameter's SourceVersion. Whitespace
|
||
corrections to comply with standard.
|
||
|
||
2005-07-22 Sureshkumar T <[email protected]>
|
||
|
||
* DataColumnMappingCollection.cs: updated attributes & attribute
|
||
descriptions to match with masterinfos.
|
||
|
||
2005-07-15 Sureshkumar T <[email protected]>
|
||
|
||
* DataTableMappingCollection.cs: GetTableMappingBySchemaAction:
|
||
meaningful error message if mapping is missing.
|
||
|
||
* DbDataAdapter.cs: Update: meaningful message if table is missing.
|
||
|
||
2005-06-22 Sureshkumar T <[email protected]>
|
||
|
||
* Index.cs: Remove : length for Array.Copy (a, i+1, a, i, length -
|
||
(i+1)) corrected.
|
||
|
||
2005-06-21 Sureshkumar T <[email protected]>
|
||
|
||
* DbConnectionStringBuilder.cs: Implemented method for parsing
|
||
connection string through "ConnectionString" property.
|
||
|
||
* DbConnectionStringBuilderHelper.cs: Helper class to provide
|
||
conversion between string=>.net type mapping for connection string
|
||
builders. The idea is to use between other providers (odbc) as
|
||
well.
|
||
|
||
2005-05-29 Boris Kirzner <[email protected]>
|
||
* DbCommand.cs - added #ifdef NET_2_0 on DbCommandOptionalFeatures (not used in TARGET_JVM).
|
||
* ExceptionHelper.cs - removed java references. Exceptions created on formatted text messages. Code styling fixes.
|
||
* DbParameterCollection.cs - implemented indexer properties.
|
||
* DbDataAdapter.cs - delagate exceptions creating to ExceptionHelper.
|
||
|
||
2005-05-25 Konstantin Triger <[email protected]>
|
||
|
||
* DataContainer.cs: Correcting the order - first the record is queried whether the value it contains is null, and only if not the value is fetched
|
||
|
||
2005-05-20 Umadevi S <[email protected]>
|
||
* Added file DbProviderSpecificTypePropertyAttribute.cs
|
||
|
||
2005-05-19 Umadevi S <[email protected]>
|
||
|
||
* RowUpdatingEventArgs.cs - added BaseCommand property for net 2.0
|
||
|
||
2005-05-18 Konstantin Triger <[email protected]>
|
||
|
||
* DbDataAdapter.cs: Initialize the schema values to defaults if the schema does not contain the information
|
||
|
||
2005-05-16 Sureshkumar T <[email protected]>
|
||
|
||
* RecordCache.cs: quick fix to make build 2.0 profile (follow up
|
||
for check in 2005-05-16).
|
||
|
||
2005-05-16 Konstantin Triger <[email protected]>
|
||
|
||
* Index.cs: validation that the updated row belongs to the index
|
||
|
||
2005-05-02 Konstantin Triger <[email protected]>
|
||
|
||
* DataContainer.cs:
|
||
Added CharDataContainer, SByteDataContainer, UInt16DataContainer, UInt32DataContainer, UInt64DataContainer, DateTimeDataContainer, DecimalDataContainer
|
||
SetItemFromDataRecord: Changed to work with ISafeDataRecord or through GetValue to enable conversion
|
||
return DBNull.Value when the stored value is null
|
||
|
||
* DbDataAdapter.cs:
|
||
Ensure correct order for LoadDataRow
|
||
Fixing schema creation
|
||
Use NewRowArray API
|
||
|
||
* DbEnumerator.cs:
|
||
LoadSchema: Retrieve needed fields only
|
||
|
||
* RecordCache.cs:
|
||
Added Rows-to-Records mapping
|
||
Added ReadIDataRecord method for correct handling of default/auto increment values
|
||
|
||
* Added Index.cs: Index implementation
|
||
* Added Key.cs: Index descriptor implementation
|
||
|
||
|
||
2005-04-27 Sureshkumar T <[email protected]>
|
||
|
||
* DbDataReader.cs: Added static method to construct the schema
|
||
table with default schema. Could be reused in many places.
|
||
|
||
2005-04-22 Sureshkumar T <[email protected]>
|
||
|
||
* DbDataAdapter.cs: Moved FillTable and BuildSchema as static
|
||
methods as they are not operating on the current instance. This
|
||
could be reused to fill any table from a data reader.
|
||
|
||
* RecordCache.cs: While disposing records, make sure that the
|
||
record is not already disposed. i.e. to make sure later the same
|
||
record is not reused. Implemented a static method to compare two
|
||
version of records in a container.
|
||
|
||
2005-04-18 Sureshkumar T <[email protected]>
|
||
|
||
* DataAdapter.cs: Implemenetd OnFillError handler.
|
||
|
||
* DbDataAdapter.cs: BuildSchema (): the table to be filled might
|
||
contain few additional columns as well. so mapping length should
|
||
be columns' length + fields' length.
|
||
|
||
2005-03-24 Sureshkumar T <[email protected]>
|
||
|
||
* DbDataAdapter.cs: Update: If SourceColumn is null, do not set
|
||
value for the parameter.
|
||
|
||
2005-05-25 Umadevi S <[email protected]>
|
||
* Added DbException.cs
|
||
|
||
2005-03-23 Sureshkumar T <[email protected]>
|
||
|
||
* DbDataAdapter.cs: For Update, disable ReadOnly constraint
|
||
temporarily before updating the row. Info from Ingo Bauersachs.
|
||
SkipAllRemainingRows should also skip current row (msdn).
|
||
|
||
2005-03-22 Sureshkumar T <[email protected]>
|
||
|
||
* DbDataAdapter.cs: Update (): update the rows based on the
|
||
UpdateRowSource property. Process further based on the
|
||
RowUpdatedEvent handler argument's Status property.
|
||
Fixes bug #73587. Thanks to [email protected] (Ingo Bauersachs) for
|
||
bug report and patch.
|
||
|
||
* RowUpdatedEventArgs.cs: if custom error is not set, throw a
|
||
default error.
|
||
|
||
2005-03-01 Sureshkumar T <[email protected]>
|
||
|
||
* ConnectionStringsSectionHandler.cs: Added. configuration section
|
||
handler for section "connectionStrings". This handler is a ad hoc
|
||
solution till the new configuration API is available in mono.
|
||
|
||
2005-02-04 Sureshkumar T <[email protected]>
|
||
|
||
* DbDataAdapter.cs (Update ()) :
|
||
- Check for one return result set and map the values back to
|
||
datatable.
|
||
- Check for output & return value parameters and update the value
|
||
back to mapped column
|
||
- check for recordsAffected only after closing the reader.
|
||
|
||
2005-02-02 Sureshkumar T <[email protected]>
|
||
|
||
* DbConnection.cs: Implement Dispose pattern.
|
||
|
||
2005-01-25 Atsushi Enomoto <[email protected]>
|
||
|
||
* DbDataPermission.cs : Empty.Union(Empty) is Empty.
|
||
|
||
2005-01-14 Atsushi Enomoto <[email protected]>
|
||
|
||
* DbDataPermissionAttribute.cs, PermissionHelper.cs :
|
||
fixed some incompatible type of exception between 2.0 and 1.x.
|
||
* DataContainer.cs :
|
||
Wrap exceptions thrown by SetValue() within ArgumentException.
|
||
|
||
2004-12-10 Sureshkumar T <[email protected]>
|
||
|
||
* DbDataAdapter.cs (BuildSchema): Add the primary key schema iff
|
||
MissingSchemaAction is set to AddWithKey. Also, Add auto increment
|
||
value from the source table. fixes bug #67757 and #69110.
|
||
|
||
2004-11-24 Sureshkumar T <[email protected]>
|
||
|
||
* DbProviderSupportedClasses.cs: Added correct enum values.
|
||
* DbConnection.cs: Missing virtual method EnlistTransaction Added.
|
||
* DbCommand.cs: Implemented ProviderFactory base factory methods.
|
||
|
||
2004-11-22 Sureshkumar T <[email protected]>
|
||
|
||
* DbConnectionStringBuilder.cs: Class for helping creation of db
|
||
connection strings added.
|
||
|
||
2004-10-01 Sureshkumar T <[email protected]>
|
||
|
||
* DbProviderFactories.cs: Implemented all the stubs. Added functionality for
|
||
getting available provider factories and creating a specified provider factory.
|
||
|
||
* DbProviderFactoriesConfigurationHandler.cs: Added functionality for handling
|
||
DbProviderFactories configuration section.
|
||
|
||
* DbProviderFactory.cs: Added protected constructor. SupportedClasses property
|
||
is made abstract.
|
||
|
||
2004-09-14 Sebastien Pouliot <[email protected]>
|
||
|
||
* DbDataPermission.cs: Implemented Intersect, IsSubsetOf and Union.
|
||
Implementation isn't complete as the restrictions seems to change the
|
||
expected results (breaking some rules like x.IsSubsetOf (x) == false).
|
||
Better (real-world) tests cases are required.
|
||
* PermissionHelper.cs: Fixed small differences between System.Data.dll
|
||
validations wrt to mscorlib.dll (XML and PermissionState).
|
||
|
||
2004-09-13 Sebastien Pouliot <[email protected]>
|
||
|
||
* DbConnectionOptions.cs: New class for Fx 2.0. Partial implementation
|
||
to support new methods in DBDataPermission.
|
||
* DbConnectionString.cs: Updated class to split from/inherit
|
||
DbConnectionOptions class.
|
||
* DbDataPermission.cs: Implemented Add, Clear, Copy, ToXml methods and
|
||
completed constructors.
|
||
* DbDataPermissionAttribute.cs: Completed/fixed class.
|
||
* PermissionHelper.cs: Helper methods to create permission classes.
|
||
|
||
2004-08-31 Francisco Figueiredo Jr. <[email protected]>
|
||
* DbDataAdapter.cs: Fix for out of memory exceptions when trying to fill a dataset with a query which doesn't return a resultset like insert, delete or update.
|
||
|
||
2004-07-21 Umadevi S <[email protected]>
|
||
* DbDataRecord.cs - Fix for bug 58163. Return DBNull instead of null
|
||
|
||
2004-07-07 Umadevi S <[email protected]>
|
||
* DataContainer.cs :CheckedforNull before calling the relavant setmethods in each of the
|
||
SetItemForDataRecord method for the DateTimeClass
|
||
|
||
|
||
2004-06-24 Atsushi Enomoto <[email protected]>
|
||
|
||
* DataColumnMappingCollection.cs : fixed typo.
|
||
* DbDataAdapter.cs : column mappings were not filled.
|
||
|
||
2004-06-24 Atsushi Enomoto <[email protected]>
|
||
|
||
* DataTableMapping.cs : Clone() should also clone ColumnMappings.
|
||
|
||
2004-06-18 Umadevi S <[email protected]>
|
||
* DataContainer.cs - CheckedforNull before calling the relavant setmethods in each of the
|
||
SetItemForDataRecord method for all the classes.
|
||
|
||
2004-06-17 Boris Kirzner <[email protected]>
|
||
* RecordCache.cs : Added CopyRecord mathod that copies single record from one table to another.
|
||
|
||
2004-06-17 Boris Kirzner <[email protected]>
|
||
* Datacontainer.cs :
|
||
- Store and retreival of null and DBNull values reviewed.
|
||
- Added GetInt64 to support AutoIncrement of DataColumn.
|
||
- Added missing CopyValue method to BitDataContainer.
|
||
- Added FillValues method to propagate single value to whole container.
|
||
|
||
2004-06-10 Umadevi S <[email protected]>
|
||
* DataTableMappingCollection.cs - fixed nunit testcase errors
|
||
IndexOfDataSetTable method
|
||
|
||
2004-06-09 Umadevi S <[email protected]>
|
||
* DataTableMappingCollection.cs - fixed nunit testcase errors
|
||
- Add, GetByDataSetTable,Insert, Remove, RemoveAt methods.
|
||
|
||
2004-06-09 Umadevi S <[email protected]>
|
||
* DataColumnMappingCollection.cs - fixed nunit testcase errors
|
||
- GetByDataSetColumn,IndexOfDataSetColumn, Remove methods.
|
||
|
||
2004-06-08 Umadevi S <[email protected]>
|
||
* DataColumnMappingCollection.cs - fixed nunit testcase errors.
|
||
- remove, removeat, contains methods.
|
||
|
||
2004-06-04 Gert Driesen <[email protected]>
|
||
|
||
* DataAdapter.cs: added missing protected ctor
|
||
* DbDataAdapter.cs: added stub for missing protected ctor
|
||
* DbDataPermission.cs: added stubs for missing protected
|
||
ctors, added stub for missing Clear method
|
||
|
||
2004-06-02 Gert Driesen <[email protected]>
|
||
* DataColumnMappingCollection.cs: added missing attributes on
|
||
indexers
|
||
|
||
2004-05-27 Boris Kirzner <[email protected]>
|
||
* DataContainer.cs : Bug fixes in BitDataContainer.get_Item and StringDataContainer.SetValue .
|
||
|
||
2004-05-20 Gert Driesen ([email protected])
|
||
|
||
* DbDataPermissionAttribute.cs: change AllowMultiple and
|
||
Inherited to match .NET
|
||
|
||
2004-05-19 Boris Kirzner <[email protected]>
|
||
* Datacontainer.cs : CompareValues reviewed. set_Item and get_Item of null and DBNull values in case of DataContainers
|
||
for primitive types reviewed. Added check for null values when reading from IDataRecord.
|
||
|
||
2004-05-19 Boris Kirzner <[email protected]>
|
||
* RecordCache.cs - added. Each instance of record cache belongs to specific table
|
||
and manages pool of records ( indexes into data containers) to be used by data rows.
|
||
* DataContainer.cs - added. Provides implementation for data containers that holds data in arrays
|
||
of primitives or objects. Each data container belongs to specific DataColumn.
|
||
* DbDataAdapter.cs - changes to complete data storage redesign. Bug fix in FillTable
|
||
( to fetch exact number of records required ).
|
||
|
||
2004-05-13 Umadevi S ([email protected])
|
||
* DbDataPermissionAttribute.cs - Added KeyRestrictions property with a TODO tag
|
||
|
||
2004-05-09 Gert Driesen ([email protected])
|
||
* ComparerFactory.cs: marked internal
|
||
|
||
2003-04-26 Boris Kirzner <[email protected]>
|
||
* DataColumnMappingCollection.cs : Small fix in exception message thrown.
|
||
|
||
2003-04-25 Boris Kirzner <[email protected]>
|
||
* DbDataAdapter.cs : Fixed bug in Fill :
|
||
- Reader can have empty results (fo example from UPDATE or DELETE).
|
||
- Reader can have results with no rows (SELECT that returns 0 rows but have columns)
|
||
- In FillTable - skip rows only once for each table.
|
||
|
||
2003-04-14 Juraj Skripsky <[email protected]>
|
||
* DbDataAdapter.cs : Refactoring of Fill. New private method
|
||
FillTable does most of the work now. Use int[] instead of
|
||
hashtable for mapping. Move creation of tableArray[] outside
|
||
of loop.
|
||
|
||
2004-03-12 Andreas Nahr <[email protected]>
|
||
|
||
* DbDataPermissionAttribute.cs: Added .Net 1.1 marks
|
||
* DataColumnMapping.cs: DO NOT USE the consts scheme if types can be referenced directly!
|
||
* DataTableMapping.cs: DO NOT USE the consts scheme if types can be referenced directly!
|
||
* DataColumnMappingConverter: Added stub
|
||
* DataTableMappingConverter: Added stub
|
||
|
||
2004-03-03 Eran Domb <[email protected]>
|
||
|
||
* ComparerFactory.cs : Added.
|
||
|
||
2004-01-10 Atsushi Enomoto <[email protected]>
|
||
|
||
* DbDataPermission.cs : tiny fix to pass OleDbPermission.
|
||
|
||
2004-01-09 Atsushi Enomoto <[email protected]>
|
||
|
||
* DbDataPermission.cs : .ctor(PermissionState state) should not call
|
||
obsolete .ctor(state, allowBlankPassword). csc reports an error.
|
||
|
||
2003-12-30 Gonzalo Paniagua Javier <[email protected]>
|
||
|
||
* DbDataAdapter.cs: handle MissingShemaAction.AddWithKey, call
|
||
AcceptChanges in Update when a CommandBuilder is used and
|
||
correctly fill information about primary keys in FillSchema.
|
||
Patch from Sergei Malinin ([email protected]).
|
||
|
||
2003-12-23 Tim Coleman <[email protected]>
|
||
* DbConnectionString.cs:
|
||
Some implementation
|
||
* DbProviderFactory.cs:
|
||
Fix typo to make CLS compliant
|
||
|
||
2003-12-16 Jackson Harper <[email protected]>
|
||
|
||
* SchemaTableOptionalColumn.cs: Add to fix default build
|
||
|
||
2003-12-16 Tim Coleman <[email protected]>
|
||
* CatalogLocation.cs DbCommand.cs DbCommandBuilder.cs
|
||
* DbCommandOptionalFeatures.cs DbCommandSet.cs DbConnection.cs
|
||
* DbConnectionString.cs DbDataSourceEnumerator.cs
|
||
* DbDataUpdatableRecord.cs DbParameter.cs DbParameterCollection.cs
|
||
* DbProviderConfigurationHandler.cs DbProviderFactories.cs
|
||
* DbProviderFactoriesConfigurationHandler.cs DbProviderFactory.cs
|
||
* DbProviderSupportedClasses.cs DbTable.cs DbTransaction.cs
|
||
* GroupByBehavior.cs IdentifierCase.cs SchemaLocation.cs
|
||
* SchemaTableColumn.cs:
|
||
New stubs added for .NET 1.2
|
||
* DataAdapter.cs DataColumnMapping.cs DataColumnMappingCollection.cs
|
||
* DataTableMapping.cs DataTableMappingCollection.cs DbDataAdapter.cs
|
||
* DbDataPermission.cs DbDataPermissionAttribute.cs DbDataRecord.cs
|
||
* FieldNameLookup.cs SchemaInfo.cs:
|
||
Changes made for .NET 1.2
|
||
|
||
2003-10-22 Eran Domb <[email protected]>
|
||
* DbDataAdapter.cs : Check if there is mapping to avoid exception.
|
||
|
||
2003-11-26 Tim Coleman <[email protected]>
|
||
* DbDataReader.cs: Add new stub class
|
||
|
||
2003-11-23 Pedro Martínez Juliá <[email protected]>
|
||
|
||
* DbDataAdapter.cs: Call command dispose in self dispose method. We
|
||
need to dispose the connections and other stuff stored in the
|
||
commands.
|
||
|
||
2003-11-10 Pedro Martínez Juliá <[email protected]>
|
||
|
||
* DataColumnMappingCollection.cs: Fix a missing exception when the
|
||
required mapping is not in the collection. MS.NET throws an
|
||
exception there.
|
||
|
||
2003-10-22 Eran Domb <[email protected]>
|
||
|
||
* DbDataAdapter.cs (Fill): add only the mapped column to the dataTable (not all columns of dataReader).
|
||
Also closing the dataReader if an exception is thrown.
|
||
(Fill): the same as above.
|
||
(SetupSchema): in now return string (the table name).
|
||
(GetFillParameters): fix a bug.
|
||
(BuildSchema) – it now return Hashtable. Add columns to the table only if there is a mapping. Build an Hashtable that maps the columns from the table to the column from the reader.
|
||
(Update): first open the connection if needed. Catch an exception of the ExecuteQuery.
|
||
|
||
|
||
2003-09-30 Duncan Mak <[email protected]>
|
||
|
||
Patch from Eran Domb <[email protected]>.
|
||
|
||
* DbDataAdapter.cs (Fill): Fixed an Exception from being thrown.
|
||
|
||
2003-09-25 Duncan Mak <[email protected]>
|
||
|
||
* DbDataAdapter.cs (Fill): Patch from Eran Domb, <[email protected]>.
|
||
Fixes a possible NullReferenceException, more details here:
|
||
|
||
http://lists.ximian.com/archives/public/mono-devel-list/2003-September/002116.html
|
||
|
||
2003-09-21 eran <[email protected]>
|
||
|
||
* DbDataRecord.cs: The method
|
||
System.Data.Common.DbDataRecord.GetValues(object[] values) did not
|
||
put the values of the DbDataRecord into values parameter.
|
||
|
||
2003-08-26 Gonzalo Paniagua Javier <[email protected]>
|
||
|
||
* DbDataAdapter.cs: provide a Type for ToArray to avoid invalid cast
|
||
exception. Thanks to Mark Easton <[email protected]>.
|
||
|
||
2003-07-31 Duncan Mak <[email protected]>
|
||
|
||
* DataAdapter.cs (CloneInternals): Mark with ObsoleteAttribute for
|
||
NET_1_1.
|
||
|
||
2003-03-21 Alan Tam <[email protected]>
|
||
|
||
* DbDataAdapter.cs: Update now uses correct DataRowVersion
|
||
when accessing the data.
|
||
|
||
2003-03-17 Aleksey Demakov <[email protected]>
|
||
|
||
* DbDataAdapter.cs: BuildSchema now uses ColumnName instead
|
||
of BaseColumnName (bug #39830) for DataColumn names.
|
||
BaseTableName is no longer taken into account as well.
|
||
|
||
2003-02-28 Aleksey Demakov <[email protected]>
|
||
|
||
* DbDataAdapter.cs: Update (DataSet) updates the default
|
||
table only.
|
||
|
||
2003-02-25 Alan Tam <[email protected]>
|
||
|
||
* DbDataAdapter.cs: Added support for filling when schema is present.
|
||
Fixed incorrect behavior when ColumnMapping is present
|
||
when more than one fields have the same name. Implemented Dispose.
|
||
Fixed error when there is no ColumnMapping at all.
|
||
Still have some problems in finding the correct TableMapping
|
||
because the SourceTable name is not present in BuildSchema
|
||
|
||
2003-02-24 Aleksey Demakov <[email protected]>
|
||
|
||
* DbDataAdapter.cs: The original code might pass a null DataTableMapping
|
||
value which is then used to create a RowUpdatingEventArgs
|
||
instance. So RowUpdatingEvent handler (for instance
|
||
CommandBuilder) could get null DataTableMapping which
|
||
might be unexpected. The patch makes sure that a non-null
|
||
DataTableMapping is passed.
|
||
|
||
2003-01-26 Gonzalo Paniagua Javier <[email protected]>
|
||
|
||
* DbEnumerator.cs: why does the runtime throw an invalid cast here? The
|
||
object is an Int16... Gotta fill a bug report and when fixed undo this
|
||
patch.
|
||
|
||
2003-01-08 Gonzalo Paniagua Javier <[email protected]>
|
||
|
||
* DbDataRecord.cs: return DbNull.Value in GetValue () if value is null.
|
||
|
||
2002-10-31 Daniel Morgan <[email protected]>
|
||
|
||
* SchemaInfo.cs: added missing properties to fix mcs build
|
||
|
||
2002-05-05 Miguel de Icaza <[email protected]>
|
||
|
||
* DataTableMapping.cs, DataTableMappingCollection.cs: comment out
|
||
interfaces we do not implement yet.
|
||
|
||
* DbDataAdapter.cs: Stub IEnumerable, comment out interfaces
|
||
we do not implement yet.
|
||
|
||
* DbDataPermissionAttribute.cs: call base constructor.
|
||
|