mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-16 17:10:20 -10:00
Renamed the `NET_1_2' conditional to `NET_2_0' in all files. svn path=/trunk/mcs/; revision=25877
51 lines
880 B
C#
51 lines
880 B
C#
//
|
|
// System.Data.Common.DbTransaction.cs
|
|
//
|
|
// Author:
|
|
// Tim Coleman ([email protected])
|
|
//
|
|
// Copyright (C) Tim Coleman, 2003
|
|
//
|
|
|
|
#if NET_2_0
|
|
|
|
namespace System.Data.Common {
|
|
public abstract class DbTransaction : MarshalByRefObject, IDbTransaction, IDisposable
|
|
{
|
|
#region Constructors
|
|
|
|
[MonoTODO]
|
|
protected DbTransaction ()
|
|
{
|
|
}
|
|
|
|
#endregion // Constructors
|
|
|
|
#region Properties
|
|
|
|
public DbConnection Connection {
|
|
get { return DbConnection; }
|
|
}
|
|
|
|
protected abstract DbConnection DbConnection { get; }
|
|
|
|
IDbConnection IDbTransaction.Connection {
|
|
get { return (IDbConnection) Connection; }
|
|
}
|
|
|
|
public abstract IsolationLevel IsolationLevel { get; }
|
|
|
|
#endregion // Properties
|
|
|
|
#region Methods
|
|
|
|
public abstract void Commit ();
|
|
public abstract void Dispose ();
|
|
public abstract void Rollback ();
|
|
|
|
#endregion // Methods
|
|
}
|
|
}
|
|
|
|
#endif // NET_2_0
|