Age | Commit message (Collapse) | Author |
|
|
|
unifdef -t -DNET_2_0 -o <filename> <filename>.
|
|
It was once part of a special Java target profile, but this is no longer used today.
|
|
|
|
** Fixes #385028/#385029
* DbCommandBuilder.cs (CreateInsertCommand): Workaround for inserting
DEFAULT values to non-null-columns.
(GetInsertCommand): New overload added to handle above workaround.
(set_DataAdapter): Register for the RowUpdatingEventHandlers.
svn path=/trunk/mcs/; revision=144915
|
|
* DbCommandBuilder.cs (CreateUpdateCommand): Don't set Nullable
property "Original_*" fields.
svn path=/trunk/mcs/; revision=139067
|
|
* DbCommandBuilder.cs (Create*Command): Fill up the missing pieces from
SqlCommandBuilder version of Create*Commands that fixes the failing tests.
svn path=/trunk/mcs/; revision=139065
|
|
* DbCommandBuilder.cs (CreateDeleteCommand, CreateUpdateCommand): Add the
nullcheck-param into the respective command's parameter list. Fixes
build breaks. Individual provider's CommandBuilder classes from 2.0
profile onwards use the base version of methods to maintain these commands.
(Get*Command): Cleanup code duplication
* DbDataAdapter (Update): Use SourceColumnNullMapping property to handle
nullcheckparams. Fixes #522624. Patch by
Gert Driesen <drieseng@users.sourceforge.net>.
svn path=/trunk/mcs/; revision=138678
|
|
and SqlParameterTest.cs.
* DbCommandBuilder.cs (QuoteIdentifier): Throw NotSupportedException.
* DbDataAdapter.cs (Update): Add row causing concurrency violation
to DBConcurrencyException.
* OdbcCommandBuilder.cs (QuoteIdentifier): Escape QuoteSuffix
character(s) in unquoted identifier.
* SqlCommandBuilder.cs: Added missing checks for QuotePrefix and
QuoteSuffix on 2.0 profile, and return a zero-length string if
not set (or set to null) on 1.0 profile. Do not allow the value
of CatalogSeparator and SchemaSeparator to be changed from '.'.
Modified generated SQL to match MS. Added implementation for
QuoteIdenfifier. Modified parameters to match MS.
* SqlParameter.cs (SqlValue): Keep Value in sync.
* DbCommandBuilderTest.cs: Added test for QuoteIdentifier.
* OdbcCommandBuilderTest.cs: Enabled test for QuoteIdentifier.
* SqlCommandBuilderTest.cs: Added tests for CatalogLocation,
CatalogSeparator, ConflictOption, QuoteIdentifier, QuotePrefix,
QuoteSuffix and SchemaSeparator.
* SqlParameterTest.cs: Moved existing tests from ProviderTests
to increase their visibility. Added tests for type inference.
svn path=/trunk/mcs/; revision=122361
|
|
not set (or explicitly set to null or empty string), then return
default separator character. Added value check for CatalogLocation and
ConflictOption. Removed regions.
* DbCommandBuilderTest.cs: Added tests for properties.
* OdbcCommandBuilderTest.cs: Added tests for properties.
svn path=/trunk/mcs/; revision=122230
|
|
* OdbcCommandBuilder.cs: Added test for ConflictOption default value.
svn path=/trunk/mcs/; revision=122227
|
|
QuoteSuffix are not set (or are set to null). Changing QuotePrefix or
QuoteSuffix after a command has been generated should result in an
InvalidOperationException.
* DbConnectionStringBuilder.cs: Added support for ODBC rules. Major
rewrite fixing many compatibility issues, and improving support for
connectionstring formats/characters.
* System.Data_test.dll.sources: Added OdbcCommandBuilderTest.cs,
OdbcConnectionStringBuilderTest.cs and DbCommandBuilderTest.cs.
* libodbc.cs: Add IdentifierQuoteChar to OdbcInfo.
* OdbcCommandBuilder.cs: Return a zero-length string when QuotePrefix
or QuoteSuffix are not set (or are set to null). Changing QuotePrefix
or QuoteSuffix after a command has been generated should result in an
InvalidOperationException. Implemented support for obtaining
character(s) for quoting identifiers from specified connection.
Modified generated SQL to match MS.
* OdbcConnectionStringBuilder.cs: Improved special casing of Driver
and Dsn keywords. Re-use implemenation of DbConnectionStringBuilder.
Improved argument checks to match MS.
* DbCommandBuilderTest.cs: Added tests for QuotePrefix and
QuoteSuffix.
* DbConnectionStringBuilderTest.cs: Added tests for both odbc and
non-odbc rules.
* OdbcCommandBuilderTest.cs: Added tests for QuotePrefix and
QuoteSuffix. Added tests for QuoteIdentifier (some still marked
NotWorking).
* OdbcConnectionStringBuilderTest.cs: Moved from ProviderTests.
Added and improved tests.
svn path=/trunk/mcs/; revision=122225
|
|
exceptions while creating insert/delete and update commands.
svn path=/trunk/mcs/; revision=113180
|
|
svn path=/trunk/mcs/; revision=111855
|
|
* DbCommandBuilder.cs (initializeCommand): Implemented missing API.
svn path=/trunk/mcs/; revision=86517
|
|
* DataTableMappingCollection.cs (AddRange): Implemented missing
NET 2.0 API.
* DbConnection.cs (GetSchema): Implemented missing NET 2.0 API,
based on SqlClient implementation.
* DbConnectionStringBuilder.cs (AppendKeyValuePair): Implemented
missing API.
* DbDataReader.cs (GetData): Implemented missing API.
(GetDbDataReader): Implemented missing API.
* DbCommandBuilder.cs (BuildCache, BuildInformation)
(IncludedInInsert, IncludedInUpdate, IncludedInWhereClause)
(CreateDeleteCommand, CreateInsertCommand, CreateNewCommand)
(CreateUpdateCommand, CreateParameter): Added private methods.
(QuotedTableName, GetQuotedString, CatalogLocation)
(CatalogSeparator, ConflictOption, DataAdapter, QuotePrefix)
(QuoteSuffix, SchemaSeparator): Implemented public properties.
(SourceCommand): Implemented private property.
(Dispose, RowUpdatingHandler): Implemented protected methods.
(GetDeleteCommand, GetInsertCommand, GetUpdateCommand)
(QuoteIdentifier, UnquoteIdentifier, RefreshSchema): Implemented
public methods.
* DbProviderFactory.cs: Removed MonoTODO's as the derived class
has to implement all the methods in this class.
* DataAdapter.cs (Fill): Implemented missing method.
* DbDataAdapter.cs (FillCommandBehavior): Implemented property.
svn path=/trunk/mcs/; revision=70620
|
|
* DataColumnMapping.cs (GetDataColumnBySchemaAction): Implemented
2.0 profile method.
* DbDataReader.cs: Removed TODO's where ever the implementation is
available.
* RowUpdatedEventArgs.cs: Removed TODO's where ever the
implementation is available.
* DataAdapter.cs (FillInternal): Moved from DbDataAdapater.cs to
here.
(BuildSchema): Moved from DbDataAdapter.cs.
(FillTable): Moved from DbDataAdapter.cs.
(OnFillErrorInternal): Implemented new internal method to raise an
event.
(SetupSchema): Moved from DbDataAdapter.cs.
(FillInterl): Moved common implementation from DbDataAdapter.cs.
Removed TODO's where ever the implementation is available.
* DbDataAdapter.cs (OnRowUpdated): Implemented protected method.
(OnRowUpdating): Implemented protected method.
(CreateFillErrorEvent): Moved to DataAdapter.cs.
(Fill): Moved common implementation to DataAdapter.cs.
(FillTable): Moved to DataAdapter.cs.
(BuildSchema): Moved to DataAdapter.cs.
(SetupSchema): Moved to DataAdapter.cs.
svn path=/trunk/mcs/; revision=69818
|
|
* DbDataAdapter.cs (FillFromReader): Implemented missing API to
handle FillErrorEventHandler
(DataAdapter): Implemented missing .NET 2.0 function
(GetDeleteCommand): Returns DbDataAdapter deleteCommand internal
variable.
(GetInsertCommand): Returns DbDataAdapter insertCommand internal
variable.
(GetUpdateCommand): Returns DbDataAdapter updateCommand internal
variable.
svn path=/trunk/mcs/; revision=67900
|
|
* Test/System.Data.Common/DBDataPermissionTest.cs : Removed invalid tests
* System.Data.Common/SchemaInfo.cs DbDataAdapter.cs DbConnectionOptions.cs DbParameter.cs
DbMetaDataColumnNames.cs DbTransaction.cs DataTableMapping.cs DataAdapter.cs
FieldNameLookup.cs DbDataRecord.cs DataColumnMappingCollection.cs DbCommand.cs
DbDataPermission.cs DbProviderFactory.cs DbCommandBuilder.cs DbConnectionString.cs
RowUpdatedEventArgs.cs DbDataReader.cs DbConnectionStringBuilder.cs DbConnection.cs
DataTableMappingCollection.cs :
2.0 Api fixes
* System.Data.SqlClient/SqlClientFactory.cs SqlCommand.cs SqlConnectionFactory.cs
SqlClientPermission.cs SqlParameterCollection.cs SqlDataReader.cs
SqlConnection.cs SqlParameter.cs SqlTransaction.cs :
2.0 Api fixes
* System.Data.Odbc/OdbcTransaction.cs OdbcCommand.cs OdbcConnectionFactory.cs
OdbcPermission.cs OdbcDataReader.cs OdbcParameterCollection.cs
OdbcConnection.cs OdbcFactory.cs OdbcParameter.cs :
2.0 Api fixes
* System.Data.OleDb/OleDbCommand : 2.0 Api fixes
* System.Data.dll.sources:
- Added to build :
System.Data.Common/DbMetaDataColumnNames.cs
- Removed from build :
System.Data.Common/DbCommandOptionalFeatures.cs
System.Data.Common/DbCommandSet.cs
System.Data.Common/DbProviderSupportedClasses.cs
System.Data.Common/SchemaLocation.cs
System.Data.Odbc/OdbcConnectionFactory.cs
System.Data.SqlClient/SqlConnectionFactory.cs
System.Data.ProviderBase/DbCommandBase.cs
System.Data.ProviderBase/DbConnectionBase.cs
System.Data.ProviderBase/DbConnectionFactory.cs
System.Data.ProviderBase/DbConnectionInternal.cs
System.Data.ProviderBase/DbConnectionPoolCounters.cs
System.Data.ProviderBase/DbConnectionPoolOptions.cs
System.Data.ProviderBase/DbDataReaderBase.cs
System.Data.ProviderBase/DbMetaDataFactory.cs
System.Data.ProviderBase/DbParameterBase.cs
System.Data.ProviderBase/DbParameterCollectionBase.cs
System.Data.ProviderBase/DbReferenceCollection.cs
* Makefile : Add System.Transactions library reference to net_2_0 PROFILE
svn path=/trunk/mcs/; revision=62561
|
|
* DataAdapter.cs, DataColumnMappingCollection.cs,
DataColumnMapping.cs, DataTableMappingCollection.cs,
DataTableMapping.cs, DbCommandBuilder.cs,
DbConnectionStringBuilder.cs, DbParameterCollection.cs,
DbParameter.cs: pretty major attribute work.
svn path=/trunk/mcs/; revision=57016
|
|
* System/System.Net/Dns.cs : added GetHostEntry() method for 2.0 api conformance
* System.Data/System.Data.ProviderBase/DbParameterCollectionBase.cs
- Marked CheckName method as virtual
* System.Data/System.Data.ProviderBase/DbParameterBase.cs
- Marked Offset property and CopyTo method as virtual
* System.Data/System.Data.Common/DbMetaDataCollectionNames.cs (new file)
- Added DbMetaDataCollectionNames Enumeration
* System.Data/System.Data.dll.sources:
- Added System.Data/ConflictOption.cs : Source file for ConflictOption
enumeration.
* System.Data/System.Data/ConflictOption.cs (new file)
- Added ConflictOption Enumeration
* System.Data/System.Data/DataTableReader.cs
* System.Data/System.Data/IDataRecord2.cs
- GetProviderSpecificFieldType : Corrected the method name
* System.Data/System.Data.Common/DbDataAdapter.cs
* System.Data/System.Data.Common/DbParameter.cs
* System.Data/System.Data.Common/DbTransaction.cs
* System.Data/System.Data.Common/DbTable.cs
* System.Data/System.Data.Common/DbProviderFactories.cs
* System.Data/System.Data.Common/DbException.cs
* System.Data/System.Data.Common/DbProviderFactory.cs
* System.Data/System.Data.Common/DbCommandBuilder.cs
* System.Data/System.Data.Common/DbDataReader.cs
* System.Data/System.Data.Common/DbParameterCollection.cs
* System.Data/System.Data.SqlClient/SqlClientFactory.cs
* System.Data/System.Data.SqlClient/SqlCommandBuilder.cs
* System.Data/System.Data.SqlClient/SqlParameterCollection.cs
* System.Data/System.Data.SqlClient/SqlDataReader.cs
* System.Data/System.Data.SqlClient/SqlDataAdapter.cs
* System.Data/System.Data.SqlClient/SqlParameter.cs
* System.Data/System.Data.SqlClient/SqlTransaction.cs
* System.Data/System.Data.Odbc/OdbcTransaction.cs
* System.Data/System.Data.Odbc/OdbcCommandBuilder.cs
* System.Data/System.Data.Odbc/OdbcParameterCollection.cs
* System.Data/System.Data.Odbc/OdbcDataReader.cs
* System.Data/System.Data.Odbc/OdbcFactory.cs
* System.Data/System.Data.Odbc/OdbcDataAdapter.cs
* System.Data/System.Data.Odbc/OdbcParameter.cs
Added stubs and other changes for ADO.NET 2.0 compatibility
svn path=/trunk/mcs/; revision=53301
|
|
svn path=/branches/Mainsoft.System.Data/mcs/; revision=43878
|
|
svn path=/branches/Mainsoft.System.Data/mcs/; revision=43606
|
|
svn path=/trunk/mcs/; revision=29688
|
|
Renamed the `NET_1_2' conditional to `NET_2_0' in all files.
svn path=/trunk/mcs/; revision=25877
|
|
* 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
svn path=/trunk/mcs/; revision=21259
|