mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-16 17:10:20 -10:00
* 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. svn path=/trunk/mcs/; revision=24031
178 lines
6.4 KiB
Plaintext
Executable File
178 lines
6.4 KiB
Plaintext
Executable File
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.
|
||
|