DbConnectionBase.cs 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. //
  2. // System.Data.ProviderBase.DbConnectionBase
  3. //
  4. // Author:
  5. // Tim Coleman ([email protected])
  6. //
  7. // Copyright (C) Tim Coleman, 2003
  8. //
  9. #if NET_1_2
  10. using System.Data.Common;
  11. using System.EnterpriseServices;
  12. namespace System.Data.ProviderBase {
  13. public abstract class DbConnectionBase : DbConnection
  14. {
  15. #region Fields
  16. #endregion // Fields
  17. #region Constructors
  18. [MonoTODO]
  19. protected DbConnectionBase (DbConnectionBase connection)
  20. {
  21. }
  22. [MonoTODO]
  23. protected DbConnectionBase (DbConnectionFactory connectionFactory)
  24. {
  25. }
  26. #endregion // Constructors
  27. #region Properties
  28. [MonoTODO]
  29. protected int CloseCount {
  30. get { throw new NotImplementedException (); }
  31. }
  32. [MonoTODO]
  33. protected internal DbConnectionFactory ConnectionFactory {
  34. get { throw new NotImplementedException (); }
  35. }
  36. [MonoTODO]
  37. protected internal DbConnectionString ConnectionOptions {
  38. get { throw new NotImplementedException (); }
  39. }
  40. [MonoTODO]
  41. public override string ConnectionString {
  42. get { throw new NotImplementedException (); }
  43. set { throw new NotImplementedException (); }
  44. }
  45. [MonoTODO]
  46. public override int ConnectionTimeout {
  47. get { throw new NotImplementedException (); }
  48. }
  49. [MonoTODO]
  50. protected virtual int ConnectionTimeoutInternal {
  51. get { throw new NotImplementedException (); }
  52. }
  53. [MonoTODO]
  54. public override string Database {
  55. get { throw new NotImplementedException (); }
  56. }
  57. [MonoTODO]
  58. public override string DataSource {
  59. get { throw new NotImplementedException (); }
  60. }
  61. [MonoTODO]
  62. protected internal DbConnectionInternal InnerConnection {
  63. get { throw new NotImplementedException (); }
  64. }
  65. [MonoTODO]
  66. public override string ServerVersion {
  67. get { throw new NotImplementedException (); }
  68. }
  69. [MonoTODO]
  70. public override ConnectionState State {
  71. get { throw new NotImplementedException (); }
  72. }
  73. #endregion // Properties
  74. #region Events
  75. public event StateChangeEventHandler StateChange;
  76. #endregion // Events
  77. #region Methods
  78. [MonoTODO]
  79. protected override DbTransaction BeginDbTransaction (IsolationLevel isolationLevel)
  80. {
  81. throw new NotImplementedException ();
  82. }
  83. [MonoTODO]
  84. public override void ChangeDatabase (string value)
  85. {
  86. throw new NotImplementedException ();
  87. }
  88. [MonoTODO]
  89. public override void Close ()
  90. {
  91. throw new NotImplementedException ();
  92. }
  93. [MonoTODO]
  94. protected override DbCommand CreateDbCommand ()
  95. {
  96. throw new NotImplementedException ();
  97. }
  98. [MonoTODO]
  99. protected override void Dispose (bool disposing)
  100. {
  101. throw new NotImplementedException ();
  102. }
  103. [MonoTODO]
  104. public override void EnlistDistributedTransaction (ITransaction transaction)
  105. {
  106. throw new NotImplementedException ();
  107. }
  108. [MonoTODO]
  109. protected virtual DbMetaDataFactory GetMetaDataFactory (DbConnectionInternal internalConnection)
  110. {
  111. throw new NotImplementedException ();
  112. }
  113. [MonoTODO]
  114. protected void OnStateChange (ConnectionState originalState, ConnectionState currentState)
  115. {
  116. throw new NotImplementedException ();
  117. }
  118. [MonoTODO]
  119. public override void Open ()
  120. {
  121. throw new NotImplementedException ();
  122. }
  123. #endregion // Methods
  124. }
  125. }
  126. #endif