DbDataUpdatableRecord.cs 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378
  1. //
  2. // System.Data.Common.DbDataUpdatableRecord.cs
  3. //
  4. // Author:
  5. // Tim Coleman ([email protected])
  6. //
  7. // Copyright (C) Tim Coleman, 2003
  8. //
  9. #if NET_1_2
  10. using System.ComponentModel;
  11. namespace System.Data.Common {
  12. public class DbDataUpdatableRecord : IDataUpdatableRecord, IDataRecord, ISetTypedData, ICustomTypeDescriptor, IGetTypedData
  13. {
  14. #region Properties
  15. [MonoTODO]
  16. public virtual int FieldCount {
  17. get { throw new NotImplementedException (); }
  18. }
  19. [MonoTODO]
  20. public virtual object this [string x] {
  21. get { throw new NotImplementedException (); }
  22. }
  23. [MonoTODO]
  24. public virtual object this [int x] {
  25. get { throw new NotImplementedException (); }
  26. }
  27. [MonoTODO]
  28. public virtual bool Updatable {
  29. get { throw new NotImplementedException (); }
  30. }
  31. #endregion // Properties
  32. #region Methods
  33. [MonoTODO]
  34. public virtual bool GetBoolean (int i)
  35. {
  36. throw new NotImplementedException ();
  37. }
  38. [MonoTODO]
  39. public virtual byte GetByte (int i)
  40. {
  41. throw new NotImplementedException ();
  42. }
  43. [MonoTODO]
  44. public virtual long GetBytes (int i, long dataIndex, byte[] buffer, int bufferIndex, int length)
  45. {
  46. throw new NotImplementedException ();
  47. }
  48. [MonoTODO]
  49. public virtual char GetChar (int i)
  50. {
  51. throw new NotImplementedException ();
  52. }
  53. [MonoTODO]
  54. public virtual long GetChars (int i, long dataIndex, char[] buffer, int bufferIndex, int length)
  55. {
  56. throw new NotImplementedException ();
  57. }
  58. [MonoTODO]
  59. public virtual IDataReader GetData (int i)
  60. {
  61. throw new NotImplementedException ();
  62. }
  63. [MonoTODO]
  64. public virtual string GetDataTypeName (int i)
  65. {
  66. throw new NotImplementedException ();
  67. }
  68. [MonoTODO]
  69. public virtual DateTime GetDateTime (int i)
  70. {
  71. throw new NotImplementedException ();
  72. }
  73. [MonoTODO]
  74. public virtual decimal GetDecimal (int i)
  75. {
  76. throw new NotImplementedException ();
  77. }
  78. [MonoTODO]
  79. public virtual double GetDouble (int i)
  80. {
  81. throw new NotImplementedException ();
  82. }
  83. [MonoTODO]
  84. public virtual Type GetFieldType (int i)
  85. {
  86. throw new NotImplementedException ();
  87. }
  88. [MonoTODO]
  89. public virtual float GetFloat (int i)
  90. {
  91. throw new NotImplementedException ();
  92. }
  93. [MonoTODO]
  94. public virtual Guid GetGuid (int i)
  95. {
  96. throw new NotImplementedException ();
  97. }
  98. [MonoTODO]
  99. public virtual short GetInt16 (int i)
  100. {
  101. throw new NotImplementedException ();
  102. }
  103. [MonoTODO]
  104. public virtual int GetInt32 (int i)
  105. {
  106. throw new NotImplementedException ();
  107. }
  108. [MonoTODO]
  109. public virtual long GetInt64 (int i)
  110. {
  111. throw new NotImplementedException ();
  112. }
  113. [MonoTODO]
  114. public virtual string GetName (int i)
  115. {
  116. throw new NotImplementedException ();
  117. }
  118. [MonoTODO]
  119. public virtual object GetObjectRef (int i)
  120. {
  121. throw new NotImplementedException ();
  122. }
  123. [MonoTODO]
  124. public virtual int GetOrdinal (string name)
  125. {
  126. throw new NotImplementedException ();
  127. }
  128. [MonoTODO]
  129. public virtual string GetString (int i)
  130. {
  131. throw new NotImplementedException ();
  132. }
  133. [MonoTODO]
  134. public virtual object GetValue (int i)
  135. {
  136. throw new NotImplementedException ();
  137. }
  138. [MonoTODO]
  139. public virtual int GetValues (object[] values)
  140. {
  141. throw new NotImplementedException ();
  142. }
  143. [MonoTODO]
  144. AttributeCollection ICustomTypeDescriptor.GetAttributes ()
  145. {
  146. throw new NotImplementedException ();
  147. }
  148. [MonoTODO]
  149. string ICustomTypeDescriptor.GetClassName ()
  150. {
  151. throw new NotImplementedException ();
  152. }
  153. [MonoTODO]
  154. string ICustomTypeDescriptor.GetComponentName ()
  155. {
  156. throw new NotImplementedException ();
  157. }
  158. [MonoTODO]
  159. TypeConverter ICustomTypeDescriptor.GetConverter ()
  160. {
  161. throw new NotImplementedException ();
  162. }
  163. [MonoTODO]
  164. EventDescriptor ICustomTypeDescriptor.GetDefaultEvent ()
  165. {
  166. throw new NotImplementedException ();
  167. }
  168. [MonoTODO]
  169. PropertyDescriptor ICustomTypeDescriptor.GetDefaultProperty ()
  170. {
  171. throw new NotImplementedException ();
  172. }
  173. [MonoTODO]
  174. object ICustomTypeDescriptor.GetEditor (Type editorBaseType)
  175. {
  176. throw new NotImplementedException ();
  177. }
  178. [MonoTODO]
  179. EventDescriptorCollection ICustomTypeDescriptor.GetEvents ()
  180. {
  181. throw new NotImplementedException ();
  182. }
  183. [MonoTODO]
  184. EventDescriptorCollection ICustomTypeDescriptor.GetEvents (Attribute[] attributes)
  185. {
  186. throw new NotImplementedException ();
  187. }
  188. [MonoTODO]
  189. PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties ()
  190. {
  191. throw new NotImplementedException ();
  192. }
  193. [MonoTODO]
  194. PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties (Attribute[] attributes)
  195. {
  196. throw new NotImplementedException ();
  197. }
  198. [MonoTODO]
  199. object ICustomTypeDescriptor.GetPropertyOwner (PropertyDescriptor pd)
  200. {
  201. throw new NotImplementedException ();
  202. }
  203. [MonoTODO]
  204. int IDataUpdatableRecord.SetValues (object[] values)
  205. {
  206. throw new NotImplementedException ();
  207. }
  208. [MonoTODO]
  209. public virtual bool IsDBNull (int i)
  210. {
  211. throw new NotImplementedException ();
  212. }
  213. [MonoTODO]
  214. public virtual bool IsSetAsDefault (int i)
  215. {
  216. throw new NotImplementedException ();
  217. }
  218. [MonoTODO]
  219. public virtual void SetBoolean (int i, bool value)
  220. {
  221. throw new NotImplementedException ();
  222. }
  223. [MonoTODO]
  224. public virtual void SetByte (int i, byte value)
  225. {
  226. throw new NotImplementedException ();
  227. }
  228. [MonoTODO]
  229. public virtual void SetBytes (int i, long dataIndex, byte[] buffer, int bufferIndex, int length)
  230. {
  231. throw new NotImplementedException ();
  232. }
  233. [MonoTODO]
  234. public virtual void SetChar (int i, char value)
  235. {
  236. throw new NotImplementedException ();
  237. }
  238. [MonoTODO]
  239. public virtual void SetChars (int i, long dataIndex, char[] buffer, int bufferIndex, int length)
  240. {
  241. throw new NotImplementedException ();
  242. }
  243. [MonoTODO]
  244. public virtual void SetDateTime (int i, DateTime value)
  245. {
  246. throw new NotImplementedException ();
  247. }
  248. [MonoTODO]
  249. public virtual void SetDecimal (int i, decimal value)
  250. {
  251. throw new NotImplementedException ();
  252. }
  253. [MonoTODO]
  254. public virtual void SetDefault (int i)
  255. {
  256. throw new NotImplementedException ();
  257. }
  258. [MonoTODO]
  259. public virtual void SetDouble (int i, double value)
  260. {
  261. throw new NotImplementedException ();
  262. }
  263. [MonoTODO]
  264. public virtual void SetFloat (int i, float value)
  265. {
  266. throw new NotImplementedException ();
  267. }
  268. [MonoTODO]
  269. public virtual void SetGuid (int i, Guid value)
  270. {
  271. throw new NotImplementedException ();
  272. }
  273. [MonoTODO]
  274. public virtual void SetInt16 (int i, short value)
  275. {
  276. throw new NotImplementedException ();
  277. }
  278. [MonoTODO]
  279. public virtual void SetInt32 (int i, int value)
  280. {
  281. throw new NotImplementedException ();
  282. }
  283. [MonoTODO]
  284. public virtual void SetInt64 (int i, long value)
  285. {
  286. throw new NotImplementedException ();
  287. }
  288. [MonoTODO]
  289. public virtual void SetObjectRef (int i, object o)
  290. {
  291. throw new NotImplementedException ();
  292. }
  293. [MonoTODO]
  294. public virtual void SetString (int i, string value)
  295. {
  296. throw new NotImplementedException ();
  297. }
  298. [MonoTODO]
  299. public virtual void SetValue (int i, object value)
  300. {
  301. throw new NotImplementedException ();
  302. }
  303. [MonoTODO]
  304. public virtual int SetValues (int i, object[] value)
  305. {
  306. throw new NotImplementedException ();
  307. }
  308. #endregion // Methods
  309. }
  310. }
  311. #endif // NET_1_2