Added files and folders for TARGET_JVM code base
[mono.git] / mcs / class / System.Data / System.Data.SqlClient.jvm / SqlTransaction.cs
1 namespace System.Data.SqlClient
2 {
3
4     /**
5      * <p>Title: </p>
6      * <p>Description: </p>
7      * <p>Copyright: Copyright (c) 2002</p>
8      * <p>Company: </p>
9      * @author unascribed
10      * @version 1.0
11      */
12
13     using System.Data;
14
15
16     /*
17     * Current Limitations:
18     * 1. Rollback(String savePoint) - not implemented.
19     * 2. Save(String) - not implemented.
20     */
21
22     public sealed class SqlTransaction : System.Data.Common.AbstractTransaction
23     {
24     
25
26         internal SqlTransaction(IsolationLevel isolationLevel, SqlConnection connection, String transactionName) : base(isolationLevel, connection, transactionName)
27         {
28         }
29
30         
31         internal SqlTransaction(SqlConnection connection) : base(IsolationLevel.ReadCommitted, connection, null)
32         {
33         }
34
35         internal SqlTransaction(SqlConnection connection, String transactionName) : base(IsolationLevel.ReadCommitted, connection, transactionName)
36         {
37         }
38
39         internal SqlTransaction(IsolationLevel isolationLevel, SqlConnection connection) : base(isolationLevel, connection, null)
40         {
41         }
42
43         public new SqlConnection Connection\r
44         {\r
45             get\r
46             {\r
47                 return (SqlConnection)_connection;\r
48             }\r
49         }\r
50
51
52     
53     }}