Imported Upstream version 4.0.0~alpha1

Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
This commit is contained in:
Jo Shields
2015-04-07 09:35:12 +01:00
parent 283343f570
commit 3c1f479b9d
22469 changed files with 2931443 additions and 869343 deletions

View File

@@ -36,18 +36,12 @@ using System.ComponentModel;
using System.Data;
using System.Data.Common;
using System.EnterpriseServices;
#if NET_2_0
using System.Transactions;
#endif
namespace System.Data.OleDb
{
[DefaultEvent ("InfoMessage")]
#if NET_2_0
public sealed class OleDbConnection : DbConnection, ICloneable
#else
public sealed class OleDbConnection : Component, ICloneable, IDbConnection
#endif
{
#region Fields
@@ -234,9 +228,7 @@ namespace System.Data.OleDb
}
public
#if NET_2_0
override
#endif
void Open ()
{
// string provider = "Default";
@@ -304,7 +296,6 @@ namespace System.Data.OleDb
throw new NotImplementedException ();
}
#if NET_2_0
[MonoTODO]
public override void EnlistTransaction (Transaction transaction)
{
@@ -339,23 +330,14 @@ namespace System.Data.OleDb
{
throw new NotImplementedException ();
}
#endif
#endregion
#region Events and Delegates
#if !NET_2_0
[DataSysDescription ("Event triggered when messages arrive from the DataSource.")]
#endif
[DataCategory ("DataCategory_InfoMessage")]
public event OleDbInfoMessageEventHandler InfoMessage;
#if !NET_2_0
[DataSysDescription ("Event triggered when the connection changes state.")]
[DataCategory ("DataCategory_StateChange")]
public event StateChangeEventHandler StateChange;
#endif
#endregion
}