stub for ICloneable.Clone.
* OdbcTransaction.cs: Dispose should be explicit interface impl., not
public. Connection is also public on 2.0 profile.
svn path=/trunk/mcs/; revision=81109
* OdbcDataReader.cs (GetValue): Sybase returns the fraction values
in nano seconds, but DateTime expects the value in milliseconds,
so the conversion.
svn path=/trunk/mcs/; revision=77937
* OdbcInfoMessageEventArgs.cs (ToString): Implemented new method.
* OdbcParameterCollection.cs (AddRange, Insert, AddWithValue)
(Remove, Contains, CopyTo): Implemented missing .NET 2.0 methods.
* OdbcMetaDataCollectionNames.cs: Added new class for .NET 2.0
profile.
* OdbcMetaDataCollectionNames.cs (Equals): Implemented overloads
methods.
2007-02-02 Nidhi Rawal <[email protected]>
* libodbc.cs: Imported a dll file for char datatype.
* OdbcDataReader.cs (GetChar): Implemented the method and wrote
a switch case for char data type in GetValue method..
(GetDecimal): Implemented the method.
* OdbcConnectionStringBuilder.cs: Written the new class.
* OdbcMetaDataColumnNames.cs: Written the new class.
* OdbcFactory.cs (CreateConnectionStringBuilder): Implemented the method.
* OdbcParameterCollection.cs (IndexOf): Implemented the method.
svn path=/trunk/mcs/; revision=73235
System.ComponentModel.Component already calls Dispose.
* SqlParameter.cs: Removed explicit interface implementation of
IDataParameter.ParameterName.
* OdbcErrorCollection.cs: Removed explicit interface implementation
of IEnumerable.GetEnumerator ().
* OdbcCommand.cs: Removed destructor as the destructor in
System.ComponentModel.Component already calls the Dispose method.
Removed explicit interface implemenation of members that are
implement by public members.
* OdbcDataReader.cs: Removed explicit interface implemenation of
IDataRecord.GetData.
* OleDbErrorCollection.cs: Removed explicit interface implementation
of IEnumerable.GetEnumerator ().
* OleDbParameterCollection.cs: Removed explicit interface
implementation members that are already implementation by public
members.
* DataTable.cs: Renamed initInProgress to fInitInProgress. BeginInit
and EndInit must only be virtual in 2.0 profile. Set eol-style to CRLF.
svn path=/trunk/mcs/; revision=61328
* OdbcColumn.cs :
- Added IsVariableSizeType : Handle types with variable datasize
* OdbcTypeConverter.cs : map LongVarBinary to Image
* OdbcDataReader.cs :
- GetValue () : Handle Text,Image datatypes differently. Only allocate
storage for the data contained and not for MaxLength. Fixes#78234
svn path=/trunk/mcs/; revision=61056
* System.Data.Odbc/OdbcColumn.cs : Changed the mapping of OdbcType.Char to string
instead of char. Fixes bug #67269
svn path=/trunk/mcs/; revision=51707
* Test/ProviderTests/sql/mysql.sql: Added data for testing bug #75032
* Test/ProviderTests/System.Data.Odbc/OdbcDataReaderTest.cs: Added test for bug #75032
* System.Data.Odbc/OdbcDataReader.cs: Added Text and NText datatypes to the list
of datatypes checked by GetValue () method. Fixes bug #75032
svn path=/trunk/mcs/; revision=51706
* 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
This fixes the build on Windows (using csc).
* Makefile: Allow unsafe code. This fixes the build on Windows (using
csc).
svn path=/trunk/mcs/; revision=48595
attributes using SQLColAttribute. If SQLPrimaryKeys does not
yeild, try SQLStatistics. Optimized primary key logic.
* libodbc.cs: Added api SQLStatistics and constants.
svn path=/trunk/mcs/; revision=48167
* OdbcDataReader.cs: Implemented Dispose pattern. Cache
schematable for same result set. don't free command's statements
if the command is prepared.
* OdbcCommand.cs:
- Implemented Dispose pattern
- Streamlined the allocation and de-allocation of statement
handles.
svn path=/trunk/mcs/; revision=48120
* OdbcCommand.cs: Prepare (): Split SQLPrepare and SQLBind so that
already prepared statements can be reused with new parameter
values. ExecSQL (): create new statement handle, if not prepared
and there are no parameters. if there are parameters, prepare and
use.
svn path=/trunk/mcs/; revision=48118
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
2005-07-22 Sureshkumar T <[email protected]>
* DataColumnMappingCollection.cs: updated attributes & attribute
descriptions to match with masterinfos.
In System.Data.SqlClient:
2005-07-22 Sureshkumar T <[email protected]>
* SqlCommandBuilder.cs, SqlParameterCollection.cs,
SqlConnection.cs, SqlParameter.cs:
- updated attributes & attribute descriptions to match with
masterinfos.
In System.Data:
* DataViewSettingCollection.cs, DataTableCollection.cs,
DataSet.cs, DataView.cs, DataColumn.cs, ForeignKeyConstraint.cs,
DataRelationCollection.cs, UniqueConstraint.cs, DataTable.cs,
DataColumnCollection.cs, DataRelation.cs, DataSet.cs:
- updated attributes & attribute descriptions to match with
masterinfos.
In System.Data.Odbc:
* OdbcParameter.cs: updated attributes & attribute descriptions to
match with masterinfos.
svn path=/trunk/mcs/; revision=47554
* OdbcTypeConverter.cs: ConvertToSqlType & ConvertToSqlCType: map
VarChar to SQL_C_CHAR and SQL_VARCHAR respective instead of WCHAR
and WVARCHAR as temporary fix.
* OdbcParameter.cs: setBuffer: string types need not be quoted.
svn path=/trunk/mcs/; revision=47041
* OdbcDataReader.cs: GetPrimaryKeys (): use the length indicator
for GetString, otherwise, it creates a string of length 255. Use
ArrayList for keys as the columns are different from the selected
columns. fixes bug #75263.
svn path=/trunk/mcs/; revision=46641
* System.Data.Odbc/OdbcDataReader.cs: GetValue (): return decimal in case of odbc
type Numeric. Move the temp buffer logic inside.
* System.Data.Odbc/OdbcTypeConverter.cs: map SQL_TYPE.NUMERIC to SQL_C_TYPE.CHAR by
now, since PgSql driver seems not to accept NUMERIC c type. Other
database anyway, provides NUMERIC datatype as DECIMAL.
svn path=/trunk/mcs/; revision=45683
* OdbcParameter.cs: setBuffer (): for numeric type, the buffer
parameter should be a packed decimal struct. fixes bug #75041.
svn path=/trunk/mcs/; revision=45245
* OdbcDataReader.cs: Ignore BaseTableName & BaseColumnName
properties while building Schema information as most drivers
ignores these properties. e.g. PostgreSQL.
svn path=/trunk/mcs/; revision=42505
Appasamy <[email protected]>
* OdbcColumn.cs: IsStringType: OdbcType.Char is also of type
String.
* OdbcDataReader.cs: GetSchemaTable: Get Additional info using
SQLColAttribute. Don't pad with spaces in GetColAttributeStr.
svn path=/trunk/mcs/; revision=42220