* System.Data.dll.sources: added
System.Data.Odbc/NativeBuffer.cs. native buffer pointer.
In System.Data.Odbc:
* OdbcParameter.cs: re-implemented the native buffer handling and
odbc type handling.
* OdbcCommand.cs (BindParameters): Copy the parameter Value after
binding.
* NativeBuffer.cs: A native buffer class to hold pointer to native
memory.
* OdbcTypeMap.cs (OdbcTypeMap): structure to hold different odbc
types and the default mapping.
* OdbcTypeConverter.cs: Simplified mapping between different odbc
types using switch-case.
* libodbc.cs (SQLBindParameter): use only one entry point and use
IntPtr instead of ref.
svn path=/trunk/mcs/; revision=51463
files to be compiled with it, removed files from System.Data.Sql namespace
Also removed SqlResultSet.cs from System.SqlClient namespace
svn path=/trunk/mcs/; revision=49314
* System.Data.Common/DbConnectionStringBuilder.cs: Implemented method for parsing
connection string through "ConnectionString" property.
* System.Data.Common/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.
* System.Data.SqlClient/SqlConnectionStringBuilder.cs: Connection String Builder class
for SqlClient Data Provider.
* Test/System.Data.SqlClient/SqlConnectionStringBuilderTest.cs: Added some preliminary tests.
* System.Data.dll.sources: Added SqlConnectionStringBuilder.cs and DbConnectionStringBuilderHelper.cs
* System.Data_test.dll.sources: Added SqlConnectionStringBuilderTest.cs
svn path=/trunk/mcs/; revision=46289
2005-04-04 Sureshkumar T <[email protected]>
* DbConnectionStringBuilderTest.cs: few more tests ignored for now
because of gmcs incompatiability with csc. generic types are not
being able to be assigned to non-generic types though implements
non-generic interface.
In .:
2005-04-04 Sureshkumar T <[email protected]>
* System.Data_test.dll.sources: Added
Test/System.Data.Common/DbConnectionStringBuilderTest.cs
* System.Data.dll.sources: Added
System.Data.Common/DbConnectionStringBuilder.cs
svn path=/trunk/mcs/; revision=42506
2005-03-10 Sureshkumar T <[email protected]>
* System.Data.dll.sources: Added
System.Data.Odbc/OdbcConnectionFactory.cs.
System.Data.Odbc/OdbcFactory.cs.
In System.Data.Odbc:
2005-03-10 Sureshkumar T <[email protected]>
Migrated core classes to derive from ProviderBase instead of
implementing IDb* interfaces. Most part of these files have been
branched with #if NET_2_0/ONLY_1_1. Make sure any changes works
with both the profiles.
* OdbcFactory.cs: Concrete Factory for DbProviderFactory. Factory
to generate Connection,Command,etc.
* OdbcConnectionFactory.cs: Concrete factory for DbConnectionFactory.
* OdbcTransaction.cs: migration and overrides.
* OdbcCommandBuilder.cs: migration and overrides.
* OdbcDataReader.cs: --do--. no command behavior member as it will
be maintained in base provider class.
* OdbcParameterCollection.cs: --do--. Now, local ArrayList is not
maintained here, instead it is in base class. Most of the methods
which operated on this list are not needed in NET_2_0.
* OdbcConnection.cs: Migration. connectionString is maintained in
DbConnectionBase class.
* OdbcParameter.cs: Migration. Many of the local members like
value,sourceColumn are maintained in DbParameterBase.
* OdbcCommand.cs: Migration. commandText,timeout and
commandTimeOut are maintained in DbCommandBase class.
svn path=/trunk/mcs/; revision=41643
2005-03-10 Sureshkumar T <[email protected]>
* System.Data.dll.sources: Added
System.Data.Odbc/OdbcTypeConverter.
In System.Data.Odbc:
2005-03-10 Sureshkumar T <[email protected]>
* OdbcType.cs: Added enums for SQL_TYPE & SQL_C_TYPE.
* libodbc.cs: Accept SQL_C_TYPE for driver
parameters. SQLBindParameter takes two parameters SQL_TYPE and
SQL_C_TYPE. This caused the whole lot of changes done in this
revision.
* OdbcParameter.cs: Set default values of OdbcType & DbType. Pass
mapped SQL_TYPE and SQL_C_TYPE to SQLBindParameter. Increase
buffer size by 2 for additional ' chars.
* OdbcTypeConverter.cs: Added class to convert between OdbcType,
SQL_TYPE, SQL_C_TYPE.
* OdbcColumn.cs: Added private members for SQL_TYPE and
SQL_C_TYPE. conversion from/to odbctype to/from SQL_TYPE is done
through OdbcTypeConverter class.
* OdbcDataReader.cs: use OdbcColumn's SQL_C_TYPE member. It keeps
track of default mapping between odbctype, SQL_TYPE and
SQL_C_TYPE. Move dataTableSchema.AcceptChanges inside if condition
to avoid null reference exception.
svn path=/trunk/mcs/; revision=41640
2005-03-02 Sureshkumar T <[email protected]>
* DbConnectionBase.cs: CreateDbCommand: assign connection to the
created command.
In .:
2005-03-02 Sureshkumar T <[email protected]>
* System.Data.dll.sources: Added
System.Data.SqlClient/SqlConnectionFactory.cs.
In System.Data.SqlClient:
2005-03-03 Sureshkumar T <[email protected]>
* SqlClientFactory.cs: While creating command, create using
DbConnectionFactory as DbConnectionBase.CreateDbCommand needs to
have a connection factory.
* SqlConnection.cs: Added an internal constructor which takes
DbConnectionFactory.
* SqlConnectionFactory.cs: Added. Concrete class for abstract
factory DbConnectionFactory.
svn path=/trunk/mcs/; revision=41382
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.
In .:
2005-03-01 Sureshkumar T <[email protected]>
* System.Data.dll.sources: Added System.Data.Common/
ConnectionStringsSectionHandler.cs.
* app_test_2.0.config: Changed the configuration handler for
seciton "connectionStrings".
In Test/System.Data.Common:
* ConnectionStringsSectionTest.cs : removed console.writeline-s.
svn path=/trunk/mcs/; revision=41307
2005-02-22 Sureshkumar T <[email protected]>
* Makefile: added dependancy for test-lib to create
$(test-lib).config. These configuration entries are used currently
by Test/System.Data.Common/DbProviderFactories-
ConigurationHalderTest.cs tests. Future tests can also add
configuration information in configuration file
app_test.2.0.config. This is for 2.0 profile only.
* System.Data_test.dll.sources:
Added System.Data.Common/DbProviderFactoriesConfigurationHandlerTest.cs.
* System.Data.dll.sources:
Added System.Data.SqlClient/SqlClientFactory.cs
Added System.Data.SqlClient/SqlDataSourceEnumerator.cs
In Test/System.Data.Common:
2005-02-22 Sureshkumar T <[email protected]>
* DbProviderFactoriesConfigurationHandlerTest.cs: Tests for
DbProviderFactoriesConfigurationHandler class.
svn path=/trunk/mcs/; revision=41029
* System.Data.dll.sources : added XmlSchemaWriter.cs.
* XmlSchemaWriter.cs : new file for outputting XmlSchema.
* DataSet.cs : removed rewritten code in XmlSchemaWriter.
* XmlConstants.cs : added UseCurrentCulture constant.
* DataTable.cs :
Use new Xml Schema writer.
Use XmlSchemaDataImporter as we use in DataSet.
* DataSetAssertion.cs : don't exclude those attribute whose namespace
URI is not empty from sort target.
* DataSetTest.cs : removed GetNormalizedSchema() dependency from some
tests (i.e. DataSet now emits more MS-closer schemas).
* DataViewTest.cs : implemented test for RowFilter.
svn path=/trunk/mcs/; revision=40690
* Makefile: Added /nowarn:618 when compiling unit test assembly to
remove nunit obsolete warnings.
* System.Data.dll.sources: Added System.Data.Common.DbConnectionOptions
(NET_2_0) and System.Data.Common/PermissionHelper to the build.
* System.Data_test.dll.sources: Added {DBData|Odbc|OleDb|SqlClient}
PermissionAttribute unit tests to the build.
svn path=/trunk/mcs/; revision=33833
* Added System.Data.Sql/IUdtSerializationContext.cs and System.Data.Sql/SqlFacetAttribute.cs to system.data.dll.sources
svn path=/trunk/mcs/; revision=30922