2003-12-21 Tim Coleman <tim@timcoleman.com>
[mono.git] / mcs / class / System.Data / System.Data.ProviderBase / DbConnectionInternal.cs
1 //
2 // System.Data.ProviderBase.DbConnectionInternal
3 //
4 // Author:
5 //   Tim Coleman (tim@timcoleman.com)
6 //
7 // Copyright (C) Tim Coleman, 2003
8 //
9
10 #if NET_1_2
11
12 using System.Data.Common;
13 using System.EnterpriseServices;
14
15 namespace System.Data.ProviderBase {
16         public abstract class DbConnectionInternal 
17         {
18                 #region Fields
19                 
20                 #endregion // Fields
21
22                 #region Constructors
23
24                 [MonoTODO]
25                 protected DbConnectionInternal ()
26                 {
27                 }
28                 
29                 #endregion // Constructors
30
31                 #region Properties
32
33                 [MonoTODO]
34                 protected bool IsEnlistedInDistributedTransaction {
35                         get { throw new NotImplementedException (); }
36                 }
37
38                 [MonoTODO]
39                 protected internal object Owner {
40                         get { throw new NotImplementedException (); }
41                 }
42
43                 [MonoTODO]
44                 protected internal DbReferenceCollection ReferenceCollection {
45                         get { throw new NotImplementedException (); }
46                 }
47
48                 public abstract string ServerVersion { get; }
49
50                 [MonoTODO]
51                 public virtual string ServerVersionNormalized {
52                         get { throw new NotImplementedException (); }
53                 }
54
55                 public abstract ConnectionState State { get; }
56
57                 #endregion // Properties
58
59                 #region Methods
60
61                 protected abstract void Activate (bool isInTransaction);
62
63                 [MonoTODO]
64                 protected virtual IAsyncResult BeginOpen (DbConnectionBase outerConnection, AsyncCallback callback, object asyncStateObject)
65                 {
66                         throw new NotImplementedException ();
67                 }
68
69                 public abstract DbTransaction BeginTransaction (IsolationLevel il);
70
71                 [MonoTODO]
72                 public virtual void ChangeDatabase (string value)
73                 {
74                         throw new NotImplementedException ();
75                 }
76
77                 [MonoTODO]
78                 public virtual void Close ()
79                 {
80                         throw new NotImplementedException ();
81                 }
82
83                 [MonoTODO]
84                 protected virtual DbReferenceCollection CreateReferenceCollection ()
85                 {
86                         throw new NotImplementedException ();
87                 }
88
89                 protected abstract void Deactivate ();
90
91                 [MonoTODO]
92                 public void Dispose ()
93                 {
94                         throw new NotImplementedException ();
95                 }
96
97                 [MonoTODO]
98                 protected virtual void Dispose (bool disposing)
99                 {
100                         throw new NotImplementedException ();
101                 }
102
103                 [MonoTODO]
104                 protected internal void DoomThisConnection ()
105                 {
106                         throw new NotImplementedException ();
107                 }
108
109                 [MonoTODO]
110                 public virtual void EndOpen (DbConnectionBase outerConnection, IAsyncResult asyncResult)
111                 {
112                         throw new NotImplementedException ();
113                 }
114
115                 public abstract void EnlistDistributedTransaction (ITransaction transaction);
116
117                 [MonoTODO]
118                 protected virtual DataTable GetSchemaInternal (DbConnectionBase outerConnection, string collectionName, string[] restrictions)
119                 {
120                         throw new NotImplementedException ();
121                 }
122
123                 [MonoTODO]
124                 public virtual void Open (DbConnectionBase outerConnection)
125                 {
126                         throw new NotImplementedException ();
127                 }
128
129                 [MonoTODO]
130                 protected void PurgeWeakReferences ()
131                 {
132                         throw new NotImplementedException ();
133                 }
134
135                 [MonoTODO]
136                 protected internal void SetDistributedTransaction (ITransaction transaction, bool manualEnlistment)
137                 {
138                         throw new NotImplementedException ();
139                 }
140
141                 #endregion // Methods
142         }
143 }
144
145 #endif