SqlParameter.cs 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  1. //
  2. // System.Data.SqlClient.SqlParameter.cs
  3. //
  4. // Author:
  5. // Rodrigo Moya ([email protected])
  6. // Daniel Morgan ([email protected])
  7. //
  8. // (C) Ximian, Inc. 2002
  9. //
  10. using System;
  11. using System.ComponentModel;
  12. using System.Data;
  13. using System.Data.Common;
  14. using System.Runtime.InteropServices;
  15. namespace System.Data.SqlClient
  16. {
  17. /// <summary>
  18. /// Represents a parameter to a Command object, and optionally,
  19. /// its mapping to DataSet columns; and is implemented by .NET
  20. /// data providers that access data sources.
  21. /// </summary>
  22. //public sealed class SqlParameter : MarshalByRefObject,
  23. // IDbDataParameter, IDataParameter, ICloneable
  24. public sealed class SqlParameter : IDbDataParameter, IDataParameter
  25. {
  26. [MonoTODO]
  27. public SqlParameter () {
  28. // FIXME: do this
  29. }
  30. [MonoTODO]
  31. public SqlParameter (string parameterName, object value) {
  32. // FIXME: do this
  33. }
  34. [MonoTODO]
  35. public SqlParameter(string parameterName, SqlDbType dbType) {
  36. // FIXME: do this
  37. }
  38. [MonoTODO]
  39. public SqlParameter(string parameterName, SqlDbType dbType,
  40. int size) {
  41. // FIXME: do this
  42. }
  43. [MonoTODO]
  44. public SqlParameter(string parameterName, SqlDbType dbType,
  45. int size, string sourceColumn) {
  46. // FIXME: do this
  47. }
  48. [MonoTODO]
  49. public SqlParameter(string parameterName, SqlDbType dbType,
  50. int size, ParameterDirection direction,
  51. bool isNullable, byte precision,
  52. byte scale, string sourceColumn,
  53. DataRowVersion sourceVersion, object value) {
  54. // FIXME: do this
  55. }
  56. [MonoTODO]
  57. public DbType DbType {
  58. get {
  59. throw new NotImplementedException ();
  60. }
  61. set {
  62. throw new NotImplementedException ();
  63. }
  64. }
  65. [MonoTODO]
  66. public ParameterDirection Direction {
  67. get {
  68. throw new NotImplementedException ();
  69. }
  70. set {
  71. throw new NotImplementedException ();
  72. }
  73. }
  74. [MonoTODO]
  75. public bool IsNullable {
  76. get {
  77. throw new NotImplementedException ();
  78. }
  79. }
  80. [MonoTODO]
  81. public int Offset {
  82. get {
  83. throw new NotImplementedException ();
  84. }
  85. set {
  86. throw new NotImplementedException ();
  87. }
  88. }
  89. [MonoTODO]
  90. public string ParameterName {
  91. get {
  92. throw new NotImplementedException ();
  93. }
  94. set {
  95. throw new NotImplementedException ();
  96. }
  97. }
  98. [MonoTODO]
  99. public string SourceColumn {
  100. get {
  101. throw new NotImplementedException ();
  102. }
  103. set {
  104. throw new NotImplementedException ();
  105. }
  106. }
  107. [MonoTODO]
  108. public DataRowVersion SourceVersion {
  109. get {
  110. throw new NotImplementedException ();
  111. }
  112. set {
  113. throw new NotImplementedException ();
  114. }
  115. }
  116. [MonoTODO]
  117. public SqlDbType SqlDbType {
  118. get {
  119. throw new NotImplementedException ();
  120. }
  121. set {
  122. throw new NotImplementedException ();
  123. }
  124. }
  125. [MonoTODO]
  126. public object Value {
  127. get {
  128. throw new NotImplementedException ();
  129. }
  130. set {
  131. throw new NotImplementedException ();
  132. }
  133. }
  134. [MonoTODO]
  135. public byte Precision {
  136. get {
  137. throw new NotImplementedException ();
  138. }
  139. set {
  140. throw new NotImplementedException ();
  141. }
  142. }
  143. [MonoTODO]
  144. public byte Scale {
  145. get {
  146. throw new NotImplementedException ();
  147. }
  148. set {
  149. throw new NotImplementedException ();
  150. }
  151. }
  152. [MonoTODO]
  153. public int Size
  154. {
  155. get {
  156. throw new NotImplementedException ();
  157. }
  158. set {
  159. throw new NotImplementedException ();
  160. }
  161. }
  162. [MonoTODO]
  163. public override string ToString() {
  164. throw new NotImplementedException ();
  165. }
  166. }
  167. }