SqlParameterCollection.cs 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231
  1. //
  2. // System.Data.SqlClient.SqlParameterCollection.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.Collections;
  14. namespace System.Data.SqlClient
  15. {
  16. /// <summary>
  17. /// Collects all parameters relevant to a Command object
  18. /// and their mappings to DataSet columns.
  19. /// </summary>
  20. // public sealed class SqlParameterCollection : MarshalByRefObject,
  21. // IDataParameterCollection, IList, ICollection, IEnumerable
  22. public sealed class SqlParameterCollection : IDataParameterCollection
  23. {
  24. [MonoTODO]
  25. public void RemoveAt(string parameterName)
  26. {
  27. throw new NotImplementedException ();
  28. }
  29. [MonoTODO]
  30. public int IndexOf(string parameterName)
  31. {
  32. throw new NotImplementedException ();
  33. }
  34. [MonoTODO]
  35. public bool Contains(string parameterName)
  36. {
  37. throw new NotImplementedException ();
  38. }
  39. // [MonoTODO]
  40. public object this[string parameterName]
  41. {
  42. get { throw new NotImplementedException (); }
  43. set { throw new NotImplementedException (); }
  44. }
  45. [MonoTODO]
  46. public IEnumerator GetEnumerator()
  47. {
  48. throw new NotImplementedException ();
  49. }
  50. [MonoTODO]
  51. public int Add( object value)
  52. {
  53. throw new NotImplementedException ();
  54. }
  55. [MonoTODO]
  56. public SqlParameter Add(SqlParameter value)
  57. {
  58. throw new NotImplementedException ();
  59. }
  60. [MonoTODO]
  61. public SqlParameter Add(string parameterName, object value)
  62. {
  63. throw new NotImplementedException ();
  64. }
  65. [MonoTODO]
  66. public SqlParameter Add(string parameterName, SqlDbType sqlDbType)
  67. {
  68. throw new NotImplementedException ();
  69. }
  70. [MonoTODO]
  71. public SqlParameter Add(string parameterName,
  72. SqlDbType sqlDbType, int size)
  73. {
  74. throw new NotImplementedException ();
  75. }
  76. [MonoTODO]
  77. public SqlParameter Add(string parameterName,
  78. SqlDbType sqlDbType, int size, string sourceColumn)
  79. {
  80. throw new NotImplementedException ();
  81. }
  82. [MonoTODO]
  83. public void Clear()
  84. {
  85. throw new NotImplementedException ();
  86. }
  87. [MonoTODO]
  88. public bool Contains(object value)
  89. {
  90. throw new NotImplementedException ();
  91. }
  92. /*
  93. [MonoTODO]
  94. public bool Contains(string value)
  95. {
  96. throw new NotImplementedException ();
  97. }
  98. */
  99. [MonoTODO]
  100. public void CopyTo(Array array, int index)
  101. {
  102. throw new NotImplementedException ();
  103. }
  104. [MonoTODO]
  105. public int IndexOf(object value)
  106. {
  107. throw new NotImplementedException ();
  108. }
  109. /*
  110. [MonoTODO]
  111. public int IndexOf(string parameterName)
  112. {
  113. throw new NotImplementedException ();
  114. }
  115. */
  116. [MonoTODO]
  117. public void Insert(int index, object value)
  118. {
  119. throw new NotImplementedException ();
  120. }
  121. [MonoTODO]
  122. public void Remove(object value)
  123. {
  124. throw new NotImplementedException ();
  125. }
  126. [MonoTODO]
  127. public void RemoveAt(int index)
  128. {
  129. throw new NotImplementedException ();
  130. }
  131. /*
  132. [MonoTODO]
  133. public void RemoveAt(string parameterName)
  134. {
  135. throw new NotImplementedException ();
  136. }
  137. */
  138. /*
  139. [MonoTODO]
  140. [Serializable]
  141. [ClassInterface(ClassInterfaceType.AutoDual)]
  142. ~SqlParameterCollection();
  143. */
  144. [MonoTODO]
  145. public int Count {
  146. get {
  147. throw new NotImplementedException ();
  148. }
  149. }
  150. // [MonoTODO]
  151. object IList.this[int index] {
  152. get {
  153. throw new NotImplementedException ();
  154. }
  155. set {
  156. throw new NotImplementedException ();
  157. }
  158. }
  159. // [MonoTODO]
  160. public SqlParameter this[int index] {
  161. get {
  162. throw new NotImplementedException ();
  163. }
  164. set {
  165. throw new NotImplementedException ();
  166. }
  167. }
  168. /*
  169. [MonoTODO]
  170. public SqlParameter this[string parameterName] {
  171. get {
  172. throw new NotImplementedException ();
  173. }
  174. set {
  175. throw new NotImplementedException ();
  176. }
  177. }
  178. */
  179. bool IList.IsFixedSize {
  180. get {
  181. throw new NotImplementedException ();
  182. }
  183. }
  184. bool IList.IsReadOnly {
  185. get {
  186. throw new NotImplementedException ();
  187. }
  188. }
  189. bool ICollection.IsSynchronized {
  190. get {
  191. throw new NotImplementedException ();
  192. }
  193. }
  194. object ICollection.SyncRoot {
  195. get {
  196. throw new NotImplementedException ();
  197. }
  198. }
  199. }
  200. }