DbCommandBuilder.cs 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  1. //
  2. // System.Data.Common.DbCommandBuilder
  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. using System.Data;
  12. namespace System.Data.Common {
  13. public abstract class DbCommandBuilder : Component
  14. {
  15. #region Constructors
  16. [MonoTODO]
  17. protected DbCommandBuilder ()
  18. {
  19. }
  20. #endregion // Constructors
  21. #region Properties
  22. [MonoTODO]
  23. public virtual CatalogLocation CatalogLocation {
  24. get { throw new NotImplementedException (); }
  25. set { throw new NotImplementedException (); }
  26. }
  27. [MonoTODO]
  28. public virtual string CatalogSeparator {
  29. get { throw new NotImplementedException (); }
  30. set { throw new NotImplementedException (); }
  31. }
  32. [MonoTODO]
  33. public virtual ConflictOptions ConflictDetection {
  34. get { throw new NotImplementedException (); }
  35. set { throw new NotImplementedException (); }
  36. }
  37. [MonoTODO]
  38. public DbDataAdapter DataAdapter {
  39. get { throw new NotImplementedException (); }
  40. set { throw new NotImplementedException (); }
  41. }
  42. protected abstract DbProviderFactory ProviderFactory { get; }
  43. [MonoTODO]
  44. public virtual string QuotePrefix {
  45. get { throw new NotImplementedException (); }
  46. set { throw new NotImplementedException (); }
  47. }
  48. [MonoTODO]
  49. public virtual string QuoteSuffix {
  50. get { throw new NotImplementedException (); }
  51. set { throw new NotImplementedException (); }
  52. }
  53. [MonoTODO]
  54. public SchemaLocation SchemaLocation {
  55. get { throw new NotImplementedException (); }
  56. set { throw new NotImplementedException (); }
  57. }
  58. [MonoTODO]
  59. public virtual string SchemaSeparator {
  60. get { throw new NotImplementedException (); }
  61. set { throw new NotImplementedException (); }
  62. }
  63. #endregion // Properties
  64. #region Methods
  65. protected abstract void ApplyParameterInfo (IDbDataParameter p, DataRow row);
  66. [MonoTODO]
  67. protected virtual void BuildCache (bool closeConnection, DataRow dataRow)
  68. {
  69. throw new NotImplementedException ();
  70. }
  71. [MonoTODO]
  72. protected override void Dispose (bool disposing)
  73. {
  74. throw new NotImplementedException ();
  75. }
  76. [MonoTODO]
  77. public static Delegate FindBUilder (MulticastDelegate mcd)
  78. {
  79. throw new NotImplementedException ();
  80. }
  81. [MonoTODO]
  82. public virtual string FormatLiteral (DbConnection connection, string dataTypeName, object value)
  83. {
  84. throw new NotImplementedException ();
  85. }
  86. [MonoTODO]
  87. public DbCommand GetDeleteCommand ()
  88. {
  89. throw new NotImplementedException ();
  90. }
  91. [MonoTODO]
  92. public DbCommand GetDeleteCommand (DataRow dataRow)
  93. {
  94. throw new NotImplementedException ();
  95. }
  96. [MonoTODO]
  97. public DbCommand GetInsertCommand ()
  98. {
  99. throw new NotImplementedException ();
  100. }
  101. [MonoTODO]
  102. public DbCommand GetInsertCommand (DataRow dataRow)
  103. {
  104. throw new NotImplementedException ();
  105. }
  106. protected abstract string GetParameterName (int parameterOrdinal);
  107. protected abstract string GetParameterPlaceholder (int parameterOrdinal);
  108. [MonoTODO]
  109. protected DbCommand GetSelectCommand ()
  110. {
  111. throw new NotImplementedException ();
  112. }
  113. [MonoTODO]
  114. public DbCommand GetUpdateCommand ()
  115. {
  116. throw new NotImplementedException ();
  117. }
  118. [MonoTODO]
  119. public DbCommand GetUpdateCommand (DataRow dataRow)
  120. {
  121. throw new NotImplementedException ();
  122. }
  123. [MonoTODO]
  124. protected virtual DbCommand InitializeCommand (DbCommand command)
  125. {
  126. throw new NotImplementedException ();
  127. }
  128. [MonoTODO]
  129. protected internal static string[] ParseProcedureName (string procedure)
  130. {
  131. throw new NotImplementedException ();
  132. }
  133. [MonoTODO]
  134. public virtual string QuoteIdentifier (string unquotedIdentifier)
  135. {
  136. throw new NotImplementedException ();
  137. }
  138. [MonoTODO]
  139. public virtual void RefreshSchema ()
  140. {
  141. throw new NotImplementedException ();
  142. }
  143. [MonoTODO]
  144. public virtual void ResolveObjectName (DbConnection connection, string objectType, string[] identifierParts)
  145. {
  146. throw new NotImplementedException ();
  147. }
  148. [MonoTODO]
  149. protected void RowUpdatingHandler (object sender, RowUpdatingEventArgs rowUpdatingEvent)
  150. {
  151. throw new NotImplementedException ();
  152. }
  153. protected abstract void SetRowUpdatingHandler (DbDataAdapter adapter);
  154. [MonoTODO]
  155. public virtual object UnformatLiteral (DbConnection connection, string dataTypeName, string literalValue)
  156. {
  157. throw new NotImplementedException ();
  158. }
  159. [MonoTODO]
  160. public virtual string UnquoteIdentifier (string quotedIdentifier)
  161. {
  162. throw new NotImplementedException ();
  163. }
  164. #endregion // Methods
  165. }
  166. }
  167. #endif