blob: 7dc0155fa5cada210ab6d24ae88b5ef9ba9f70b6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
//
// System.Data.Common.DbTransaction.cs
//
// Author:
// Tim Coleman (tim@timcoleman.com)
//
// Copyright (C) Tim Coleman, 2003
//
#if NET_1_2
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_1_2
|