Commit Graph
18 Commits
Author SHA1 Message Date
Gert Driesen 0785be89cc * OleDbDataAdapter.cs: Changed argument names to match MS. Removed
extra explicit interface implementation.
* OleDbParameter.cs: Changed argument names to match MS.
* OleDbTransaction.cs: Do not include IDbConnection.Connection and
IDisposable.Dispose for 2.0 profile.
* OleDbParameterCollection.cs: Changed argument names to match MS.
Do not include explicit interface implementations on 2.0 profile.
* OleDbConnection.cs: Changed argument names to match MS. Code
formatting.

svn path=/trunk/mcs/; revision=101354
2008-04-21 18:47:10 +00:00
Nagappan Alagappan faa0c2c306 * OleDbCommand.cs: Implemented Clone, Dispose methods.
Implemented CreateDbParameter, DbConnection, DbParameterCollection,
  DbTransaction, ExecuteDbDataReader properties.

* OleDbParameterCollection.cs: Fixed 1.0 API compatibility.

svn path=/trunk/mcs/; revision=87811
2007-10-19 05:32:09 +00:00
Nagappan Alagappan 9bb7daaf32 2007-07-22 Nagappan A <[email protected]>
* OleDbDataReader.cs: Fixed compilation warning.

	* OleDbParameterCollection.cs: Fixed compilation warning.

	* OleDbTransaction.cs: Fixed compilation warning.

	* OleDbCommandBuilder.cs: Fixed compilation warning.


svn path=/trunk/mcs/; revision=82425
2007-07-22 06:51:25 +00:00
Gert Driesen 20957f7f87 * OleDbConnection.cs: Derive from DbConnection on 2.0 profile, and
stubbed out where necessary. Fixed attributes for ConnectionString on
2.0 profile. Marked several members as override on 2.0 profile.
Do not hide StateChange event. Code formatting.
* OleDbCommandBuilder.cs: On 2.0, derive from DbCommandBuilder. Do not
include QuotePrefix and QuoteSuffix on 2.0. Stubbed out 2.0 members.
* OleDbDataAdapter.cs: On 2.0, derive from DbDataAdapter. Stubbed out
2.0 members. Do not not override Dispose on 2.0. Code formatting.
* OleDbDataReader.cs: Derive from DbDataReader on 2.0 profile. Marked
several members as override. Stubbed VisibleFieldCount. Added
EditorBrowsable attribute on GetData. Added GetDbDataReader on 2.0.
On 2.0, override GetEnumerator instead of explicit interface
implementation.
* OleDbErrorCollection.cs: Added 2.0 CopyTo overload.
* OleDbInfoMessageEventHandler.cs: Do not mark class serializable on
2.0 profile. Fixed API mismatch.
* OleDbParameter.cs: On 2.0, derive from DbParameter. Added new 2.0
ctor.  Override properties from base class and added
SourceColumnNullMapping property on 2.0. Implemented ResetDbType and
ResetOleDbType methods on 2.0.
* OleDbParameterCollection.cs: Derive from DbParameterCollection on
2.0 profile. Marked several members as override. Implemented AddRange,
CopyTo, IndexOf, Insert, Remove and RemoveAt methods introduced in
2.0 profile. Stubbed out GetParameter and SetParameter overloads.
* OleDbPermission.cs: Added missing BrowsableAttribute on Provider.
Code formatting.
* OleDbPermissionAttribute.cs: Added BrowsableAttribute on Provdider
(2.0 only).
* OleDbRowUpdatedEventHandler.cs:  Do not mark class serializable on
2.0 profile.
* OleDbRowUpdatingEventArgs.cs: Removed unused command field. Added
BaseCommand property on 2.0
* OleDbRowUpdatingEventHandler.cs: Do not mark class serializable on
2.0 profile. Fixed API mismatch.
* OleDbTransaction.cs: On 2.0, derive from DbTransaction. Added
DbConnection property and override Dispose (both 2.0 only). On 2.0,
Override Commit and Rollback. Code formatting.

svn path=/trunk/mcs/; revision=81189
2007-07-02 16:18:48 +00:00
Gert Driesen 3be2cfa3d9 * OleDbParameter.cs: Code formatting.
* OleDbParameterCollection.cs: Code formatting.

svn path=/trunk/mcs/; revision=81141
2007-07-01 12:36:38 +00:00
Nagappan Alagappan b8930a7f3d 2007-06-21 Nagappan A <[email protected]>
* OleDbConnection.cs: Fixed compiler warning.

	* OleDbParameterCollection.cs (AddWithValue): Fixed compiler
	warning.


svn path=/trunk/mcs/; revision=80453
2007-06-21 12:44:40 +00:00
Nagappan Alagappan 21fa69368b 2007-02-20 Frederik Carlier <[email protected]>
* OleDbParameterCollection.cs: Added AddWithValue method.


svn path=/trunk/mcs/; revision=73232
2007-02-21 07:43:31 +00:00
Gert Driesen 0a3f08261d * SqlConnection.cs: Removed extra destructor, as destructor on
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
2006-05-31 13:55:23 +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 2a4777e37a * OleDbCommand.cs: removed setter for Parameters property to
match MS.NET
* OleDbCommandBuilder.cs: fixed GetUpdatetCommand typo
* OleDbErrorCollection: added default internal ctor to match
MS.NET
* OleDbInfoMessageEventArgs.cs: added default internal ctor
to match MS.NET
* OleDbParameter.cs: added setter for IsNullable
* OleDbParameterCollection: added default internal ctor to
match MS.NET
* OleDbPermission.cs: removed extra IsSubsetOf method

svn path=/trunk/mcs/; revision=26996
2004-05-09 17:07:58 +00:00
Umadevi S 1ee95435ba 2004-03-18 Umadevi S ([email protected])
* Implemented missing methods for OleDbParameterCollection & OleDbParameter class

svn path=/trunk/mcs/; revision=24264
2004-03-18 03:54:51 +00:00
Rodrigo Moya 6a793a7e4c 2002-08-15 Rodrigo Moya <[email protected]>
* System.Data.OleDb/OleDbCommand.cs (ExecuteReader): check values
	for NULL before passing them to Marshal.PtrToStructure, which issues
	an exception if the value is NULL.

svn path=/trunk/mcs/; revision=6660
2002-08-16 01:35:51 +00:00
Tim Coleman c95e199818 2002-07-09 Tim Coleman <[email protected]>
* OleDbCommand.cs: Style changes, added new methods
       * OleDbConnection.cs: Style changes, added new methods
       * OleDbDataAdapter.cs: Implementation
       * OleDbDataReader.cs: Added stubbs
       * OleDbErrorCollection.cs: Added stubbs, some implementation
       * OleDbParameter.cs: Style changes, added new methods
       * OleDbParameterCollection.cs: Style changes, added new methods
       * OleDbPermissionAttribute.cs: Style changes, added new methods
       * OleDbRowUpdatedEventArgs.cs: Added stubbs
       * OleDbRowUpdatingEventArgs.cs: Added stubbs
       * OleDbTransaction.cs: Style changes, added new methods
       * OleDbType.cs: Fixed two typos
       * libgda.cs: Style changes, added new methods

svn path=/trunk/mcs/; revision=5668
2002-07-09 13:47:54 +00:00
Rodrigo Moya affd31b140 Some fixes, thanks to duncan
svn path=/trunk/mcs/; revision=5212
2002-06-10 19:21:12 +00:00
Rodrigo Moya 72d4627833 2002-06-03 Rodrigo Moya <[email protected]>
* OleDbParameterCollection.cs (GetEnumerator, SyncRoot,
	IsSynchronized): implemented.

svn path=/trunk/mcs/; revision=5110
2002-06-04 11:14:51 +00:00
Rodrigo Moya 4856bf9df7 2002-06-02 Rodrigo Moya <[email protected]>
* OleDbTransaction.cs (Dispose): added missing method.

	* OleDbCommand.cs (Clone): added missing methods.
	(Parameters, Transaction, Connection): made these overload
	IDbCommand's ones.

	* OleDbParameterCollection.cs (IndexOf, Remove, RemoveAt):
	call m_list methods, not own ones.

	* OleDbParameter.cs: more implementation.

svn path=/trunk/mcs/; revision=5091
2002-06-02 14:41:11 +00:00
Rodrigo Moya 1f103f507d 2002-06-02 Rodrigo Moya <[email protected]>
* OleDbTransaction.cs (Connection, IsolationLevel, Begin,
	Commit, Rollback): implemented.
	(GdaConnection): added new internal property.

	* OleDbParameter.cs:
	* OleDbParameterCollection.cs: implemented some methods and
	properties.

	* libgda.cs: added yet more libgda API functions.

svn path=/trunk/mcs/; revision=5090
2002-06-02 13:47:04 +00:00
Rodrigo Moya 3b7256d489 2002-05-27 Rodrigo Moya <[email protected]>
Started System.Data.OleDb provider, based on libgda.

svn path=/trunk/mcs/; revision=4993
2002-05-28 19:13:30 +00:00