DbConnectionInternal.cs 2.9 KB

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