2 // System.Data.ProviderBase.DbConnectionInternal
5 // Tim Coleman (tim@timcoleman.com)
7 // Copyright (C) Tim Coleman, 2003
12 using System.Data.Common;
13 using System.EnterpriseServices;
15 namespace System.Data.ProviderBase {
16 public abstract class DbConnectionInternal
25 protected DbConnectionInternal ()
29 #endregion // Constructors
34 protected bool IsEnlistedInDistributedTransaction {
35 get { throw new NotImplementedException (); }
39 protected internal object Owner {
40 get { throw new NotImplementedException (); }
44 protected internal DbReferenceCollection ReferenceCollection {
45 get { throw new NotImplementedException (); }
48 public abstract string ServerVersion { get; }
51 public virtual string ServerVersionNormalized {
52 get { throw new NotImplementedException (); }
55 public abstract ConnectionState State { get; }
57 #endregion // Properties
61 protected abstract void Activate (bool isInTransaction);
64 protected virtual IAsyncResult BeginOpen (DbConnectionBase outerConnection, AsyncCallback callback, object asyncStateObject)
66 throw new NotImplementedException ();
69 public abstract DbTransaction BeginTransaction (IsolationLevel il);
72 public virtual void ChangeDatabase (string value)
74 throw new NotImplementedException ();
78 public virtual void Close ()
80 throw new NotImplementedException ();
84 protected virtual DbReferenceCollection CreateReferenceCollection ()
86 throw new NotImplementedException ();
89 protected abstract void Deactivate ();
92 public void Dispose ()
94 throw new NotImplementedException ();
98 protected virtual void Dispose (bool disposing)
100 throw new NotImplementedException ();
104 protected internal void DoomThisConnection ()
106 throw new NotImplementedException ();
110 public virtual void EndOpen (DbConnectionBase outerConnection, IAsyncResult asyncResult)
112 throw new NotImplementedException ();
115 public abstract void EnlistDistributedTransaction (ITransaction transaction);
118 protected virtual DataTable GetSchemaInternal (DbConnectionBase outerConnection, string collectionName, string[] restrictions)
120 throw new NotImplementedException ();
124 public virtual void Open (DbConnectionBase outerConnection)
126 throw new NotImplementedException ();
130 protected void PurgeWeakReferences ()
132 throw new NotImplementedException ();
136 protected internal void SetDistributedTransaction (ITransaction transaction, bool manualEnlistment)
138 throw new NotImplementedException ();
141 #endregion // Methods