Commit Graph
10 Commits
Author SHA1 Message Date
Gert Driesen 5ce6ac40a9 * OdbcTransaction.cs: Use internal CreateOdbcException method on
OdbcConnection to create OdbcException.
* OdbcException.cs: Added support for multiple OdbcError instances
and fixed Message property on 2.0 profile.
* OdbcCommand.cs: Use internal CreateOdbcException method on
OdbcConnection to create OdbcException. Code formatting.
* OdbcError.cs: Moved code to obtain ODBC error info to newly
introduced CreateOdbcException on OdbcConnection. Code formatting.
* OdbcDataReader.cs: Use internal CreateOdbcException method on
OdbcTransaction to create OdbcException.
* OdbcParameterCollection.cs: Removed obsolete Bind method.
* OdbcConnection.cs: Added SafeDriver property that returns
name of driver if available and a zero-length string otherwise.
Use CreateOdbcException method to create OdbcException from ODBC
error info. Added CreateOdbcException method to construct
OdbcException from all available ODBC error info.
* OdbcParameter.cs: Use internal CreateOdbcException method on
OdbcConnection to create OdbcException.

svn path=/trunk/mcs/; revision=98891
2008-03-24 18:56:49 +00:00
Nagappan Alagappan cc7d5ea7c9 2007-09-25 Nagappan A <[email protected]>
* OdbcParameter.cs (ResetOdbcType, ResetDbType): Implemented
	missing methods. 2.0 attribute fixes.

	* OdbcInfoMessageEventArgs.cs (Message, Errors, ToString):
	Implemented missing properties and methods. 2.0 attribute fixes.

	* OdbcConnection.cs (InfoMessage): Added public event and relevant
	private APIs. 2.0 attribute fixes.

	* OdbcConnectionStringBuilder.cs: 2.0 attribute fixes.

	* OdbcParameterCollection.cs (GetParameter, SetParameter):
	Implemented missing 2.0 APIs and 2.0 attribute fixes.

	* OdbcDataReader.cs (finalize): 2.0 compatibility fixes.

	* OdbcPermission.cs (Add): 2.0 compatibility fixes.

	* OdbcCommandBuilder.cs: 2.0 attribute fixes.

	* OdbcRowUpdatingEventArgs.cs (BaseCommand): Added 2.0 property.

	* OdbcCommand.cs: 2.0 attribute fixes.

	* OdbcException.cs: 2.0 attribute fixes.


svn path=/trunk/mcs/; revision=86300
2007-09-25 07:15:03 +00:00
Nagappan Alagappan 384f7840ee 2007-08-13 Nagappan A <[email protected]>
* OdbcMetaDataColumnNames.cs: Added new class.

	* OdbcMetaDataCollectionNames.cs: Added new class.

	* OdbcParameter.cs: 2.0 compatibility changes.

	* OdbcFactory.cs (CreateConnectionStringBuilder)
	(CreatePermission): Implemented new methods.

	* OdbcInfoMessageEventHandler.cs: 2.0 compatibility changes.

	* OdbcConnection.cs: 2.0 compatibility changes.
	(GetSchema): Added new overloaded methods.

	* OdbcConnectionStringBuilder.cs (Driver, Dsn): Added attributes
	as per 2.0 requirement.

	* OdbcDataReader.cs: 2.0 compatibility changes.

	* OdbcCommandBuilder.cs: 2.0 compatibility changes.

	* OdbcCommand.cs: 2.0 compatibility changes.

	* OdbcErrorCollection.cs (CopyTo): Implemented new overloaded
	method.

	* OdbcException.cs: In 2.0 DbException should be inherited instead
	of SystemException.


svn path=/trunk/mcs/; revision=83937
2007-08-13 09:26:24 +00:00
Gert Driesen 8c65905adb * OdbcError.cs: fixed serialization compatibility with MS.NET
* OdbcErrorCollection.cs: fixed serialization compatibility with
MS.NET
* OdbcException.cs: fixed serialization compatibility with MS.NET

svn path=/trunk/mcs/; revision=29885
2004-06-18 15:37:16 +00:00
Sachin Kumar ec81df777c Add license and copyright to all source files in System.Data
svn path=/trunk/mcs/; revision=29688
2004-06-16 13:52:11 +00:00
Gert Driesen 1b8b3f6321 * OdbcException.cs : removed ErrorCode property, fixing signature
* OdbcErrorCollection.cs : added internal ctor, reduced
accessibility of Add method to internal
* OdbcCommand.cs: marked hstmt field private, remove setters for
Parameters property
* OdbcDataReader.cs: Added GetDate method, renamed GetTimeSpan to
GetTime to match MS.NET, added HasRows stub

svn path=/trunk/mcs/; revision=26993
2004-05-09 16:38:22 +00:00
Gert Driesen 0a7f465e82 * OdbcError.cs:
* OdbcErrorCollection.cs:
* OdbcException.cs: fixed linefeeds to DOS to match other
sources in System.Data.Odbc

svn path=/trunk/mcs/; revision=26992
2004-05-09 16:20:30 +00:00
Umadevi S 3fd555137e 2004-03-19 Umadevi S ([email protected])
* OdbcException.cs - Implemented Message and GetObjectData

svn path=/trunk/mcs/; revision=24322
2004-03-19 08:15:29 +00:00
Brian Ritchie cc810f5abf Implemented full error handling support: OdbcException, OdbcError, OdbcErrorCollection
includes full error text returned by ODBC driver

svn path=/trunk/mcs/; revision=8449
2002-10-21 16:44:14 +00:00
Gonzalo Paniagua Javier 1ec2adc832 2002-10-21 Gonzalo Paniagua Javier <[email protected]>
* ChangeLog: added.
	* OdbcError.cs:
	* OdbcException.cs: added dummy implementation for these missing
	classes.

svn path=/trunk/mcs/; revision=8442
2002-10-21 12:14:13 +00:00