DbParameterBase.cs 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  1. //
  2. // System.Data.ProviderBase.DbParameterBase
  3. //
  4. // Author:
  5. // Tim Coleman ([email protected])
  6. //
  7. // Copyright (C) Tim Coleman, 2003
  8. //
  9. //
  10. // Copyright (C) 2004 Novell, Inc (http://www.novell.com)
  11. //
  12. // Permission is hereby granted, free of charge, to any person obtaining
  13. // a copy of this software and associated documentation files (the
  14. // "Software"), to deal in the Software without restriction, including
  15. // without limitation the rights to use, copy, modify, merge, publish,
  16. // distribute, sublicense, and/or sell copies of the Software, and to
  17. // permit persons to whom the Software is furnished to do so, subject to
  18. // the following conditions:
  19. //
  20. // The above copyright notice and this permission notice shall be
  21. // included in all copies or substantial portions of the Software.
  22. //
  23. // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  24. // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  25. // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  26. // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
  27. // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
  28. // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
  29. // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  30. //
  31. #if NET_2_0
  32. using System.Data.Common;
  33. namespace System.Data.ProviderBase {
  34. public abstract class DbParameterBase : DbParameter
  35. {
  36. #region Constructors
  37. [MonoTODO]
  38. protected DbParameterBase ()
  39. {
  40. }
  41. [MonoTODO]
  42. protected DbParameterBase (DbParameterBase source)
  43. {
  44. }
  45. #endregion // Constructors
  46. #region Properties
  47. [MonoTODO]
  48. protected object CoercedValue {
  49. get { throw new NotImplementedException (); }
  50. }
  51. [MonoTODO]
  52. public override ParameterDirection Direction {
  53. get { throw new NotImplementedException (); }
  54. set { throw new NotImplementedException (); }
  55. }
  56. [MonoTODO]
  57. public override bool IsNullable {
  58. get { throw new NotImplementedException (); }
  59. set { throw new NotImplementedException (); }
  60. }
  61. [MonoTODO]
  62. public override int Offset {
  63. get { throw new NotImplementedException (); }
  64. set { throw new NotImplementedException (); }
  65. }
  66. [MonoTODO]
  67. public override string ParameterName {
  68. get { throw new NotImplementedException (); }
  69. set { throw new NotImplementedException (); }
  70. }
  71. [MonoTODO]
  72. public override byte Precision {
  73. get { throw new NotImplementedException (); }
  74. set { throw new NotImplementedException (); }
  75. }
  76. [MonoTODO]
  77. public override byte Scale {
  78. get { throw new NotImplementedException (); }
  79. set { throw new NotImplementedException (); }
  80. }
  81. [MonoTODO]
  82. public override int Size {
  83. get { throw new NotImplementedException (); }
  84. set { throw new NotImplementedException (); }
  85. }
  86. [MonoTODO]
  87. public override string SourceColumn {
  88. get { throw new NotImplementedException (); }
  89. set { throw new NotImplementedException (); }
  90. }
  91. [MonoTODO]
  92. public override DataRowVersion SourceVersion {
  93. get { throw new NotImplementedException (); }
  94. set { throw new NotImplementedException (); }
  95. }
  96. [MonoTODO]
  97. public override object Value {
  98. get { throw new NotImplementedException (); }
  99. set { throw new NotImplementedException (); }
  100. }
  101. #endregion // Properties
  102. #region Methods
  103. [MonoTODO]
  104. public override void CopyTo (DbParameter destination)
  105. {
  106. throw new NotImplementedException ();
  107. }
  108. [MonoTODO]
  109. public virtual void PropertyChanging ()
  110. {
  111. throw new NotImplementedException ();
  112. }
  113. [MonoTODO]
  114. protected void ResetCoercedValue ()
  115. {
  116. throw new NotImplementedException ();
  117. }
  118. [MonoTODO]
  119. protected void ResetScale ()
  120. {
  121. throw new NotImplementedException ();
  122. }
  123. [MonoTODO]
  124. protected void SetCoercedValue ()
  125. {
  126. throw new NotImplementedException ();
  127. }
  128. [MonoTODO]
  129. protected bool ShouldSerializePrecision ()
  130. {
  131. throw new NotImplementedException ();
  132. }
  133. [MonoTODO]
  134. protected bool ShouldSerializeScale ()
  135. {
  136. throw new NotImplementedException ();
  137. }
  138. [MonoTODO]
  139. protected bool ShouldSerializeSize ()
  140. {
  141. throw new NotImplementedException ();
  142. }
  143. [MonoTODO]
  144. public override string ToString ()
  145. {
  146. throw new NotImplementedException ();
  147. }
  148. [MonoTODO]
  149. protected virtual byte ValuePrecision (object value)
  150. {
  151. throw new NotImplementedException ();
  152. }
  153. [MonoTODO]
  154. protected virtual byte ValueScale (object value)
  155. {
  156. throw new NotImplementedException ();
  157. }
  158. [MonoTODO]
  159. protected virtual int ValueSize (object value)
  160. {
  161. throw new NotImplementedException ();
  162. }
  163. #endregion // Methods
  164. }
  165. }
  166. #endif