DbTable.cs 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244
  1. //
  2. // System.Data.Common.DbTable.cs
  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 || TARGET_JVM
  32. using System.ComponentModel;
  33. namespace System.Data.Common {
  34. public abstract class DbTable : DataTable
  35. {
  36. #region Constructors
  37. [MonoTODO]
  38. protected DbTable (DbProviderFactory providerFactory)
  39. {
  40. }
  41. #endregion // Constructors
  42. #region Properties
  43. [MonoTODO]
  44. public ConflictOptions ConflictDetection {
  45. get { throw new NotImplementedException (); }
  46. set { throw new NotImplementedException (); }
  47. }
  48. [MonoTODO]
  49. public DbConnection Connection {
  50. get { throw new NotImplementedException (); }
  51. set { throw new NotImplementedException (); }
  52. }
  53. [MonoTODO]
  54. public DbCommand DeleteCommand {
  55. get { throw new NotImplementedException (); }
  56. set { throw new NotImplementedException (); }
  57. }
  58. [MonoTODO]
  59. public DbCommand InsertCommand {
  60. get { throw new NotImplementedException (); }
  61. set { throw new NotImplementedException (); }
  62. }
  63. [MonoTODO]
  64. public DbProviderFactory ProviderFactory {
  65. get { throw new NotImplementedException (); }
  66. }
  67. [MonoTODO]
  68. public bool ReturnProviderSpecificTypes {
  69. get { throw new NotImplementedException (); }
  70. set { throw new NotImplementedException (); }
  71. }
  72. [MonoTODO]
  73. public DbCommand SelectCommand {
  74. get { throw new NotImplementedException (); }
  75. set { throw new NotImplementedException (); }
  76. }
  77. [MonoTODO]
  78. public override ISite Site {
  79. get { throw new NotImplementedException (); }
  80. set { throw new NotImplementedException (); }
  81. }
  82. [MonoTODO]
  83. public DataTableMapping TableMapping {
  84. get { throw new NotImplementedException (); }
  85. }
  86. [MonoTODO]
  87. public int UpdateBatchSize {
  88. get { throw new NotImplementedException (); }
  89. set { throw new NotImplementedException (); }
  90. }
  91. [MonoTODO]
  92. public DbCommand UpdateCommand {
  93. get { throw new NotImplementedException (); }
  94. set { throw new NotImplementedException (); }
  95. }
  96. #endregion // Properties
  97. #region Methods
  98. [MonoTODO]
  99. public DataRelation AddChildTable (string relationName, DbTable childTable, string parentColumnName, string childColumnName)
  100. {
  101. throw new NotImplementedException ();
  102. }
  103. [MonoTODO]
  104. public DataRelation AddChildTable (string relationName, DbTable childTable, string[] parentColumnNames, string[] childColumnNames)
  105. {
  106. throw new NotImplementedException ();
  107. }
  108. [MonoTODO]
  109. public override void BeginInit ()
  110. {
  111. throw new NotImplementedException ();
  112. }
  113. [MonoTODO]
  114. protected virtual DbCommandBuilder CreateCommandBuilder (DbConnection connection)
  115. {
  116. throw new NotImplementedException ();
  117. }
  118. [MonoTODO]
  119. protected override void Dispose (bool disposing)
  120. {
  121. throw new NotImplementedException ();
  122. }
  123. [MonoTODO]
  124. public override void EndInit ()
  125. {
  126. throw new NotImplementedException ();
  127. }
  128. [MonoTODO]
  129. public int Fill (object[] parameterValues)
  130. {
  131. throw new NotImplementedException ();
  132. }
  133. [MonoTODO]
  134. public int Fill (FillOptions options, object[] parameterValues)
  135. {
  136. throw new NotImplementedException ();
  137. }
  138. [MonoTODO]
  139. public int Fill (FillOptions options, DbTransaction transaction, object[] parameterValues)
  140. {
  141. throw new NotImplementedException ();
  142. }
  143. [MonoTODO]
  144. public int FillPage (int startRecord, int maxRecords, object[] parameterValues)
  145. {
  146. throw new NotImplementedException ();
  147. }
  148. [MonoTODO]
  149. public int FillPage (int startRecord, int maxRecords, FillOptions options, object[] parameterValues)
  150. {
  151. throw new NotImplementedException ();
  152. }
  153. [MonoTODO]
  154. public int FillPage (int startRecord, int maxRecords, FillOptions options, DbTransaction transaction, object[] parameterValues)
  155. {
  156. throw new NotImplementedException ();
  157. }
  158. [MonoTODO]
  159. protected virtual string GenerateQuery (DbCommandBuilder cmdBuilder)
  160. {
  161. throw new NotImplementedException ();
  162. }
  163. [MonoTODO]
  164. protected virtual string GenerateQueryForHierarchy (DbCommandBuilder builder, DataTable[] tableList)
  165. {
  166. throw new NotImplementedException ();
  167. }
  168. [MonoTODO]
  169. public int Update ()
  170. {
  171. throw new NotImplementedException ();
  172. }
  173. [MonoTODO]
  174. public int Update (UpdateOptions updateOptions)
  175. {
  176. throw new NotImplementedException ();
  177. }
  178. [MonoTODO]
  179. public int Update (UpdateOptions updateOptions, DbTransaction transaction)
  180. {
  181. throw new NotImplementedException ();
  182. }
  183. [MonoTODO]
  184. public int UpdateRows (DataRow[] dataRows)
  185. {
  186. throw new NotImplementedException ();
  187. }
  188. [MonoTODO]
  189. public int UpdateRows (DataRow[] dataRows, UpdateOptions updateOptions)
  190. {
  191. throw new NotImplementedException ();
  192. }
  193. [MonoTODO]
  194. public int UpdateRows (DataRow[] dataRows, UpdateOptions updateOptions, DbTransaction transaction)
  195. {
  196. throw new NotImplementedException ();
  197. }
  198. #endregion // Methods
  199. }
  200. }
  201. #endif