OleDbCommandBuilder.cs 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. //
  2. // System.Data.OleDb.OleDbCommandBuilder
  3. //
  4. // Author:
  5. // Rodrigo Moya ([email protected])
  6. // Tim Coleman ([email protected])
  7. //
  8. // Copyright (C) Rodrigo Moya, 2002
  9. // Copyright (C) Tim Coleman, 2002
  10. //
  11. using System.ComponentModel;
  12. using System.Data;
  13. using System.Data.Common;
  14. namespace System.Data.OleDb
  15. {
  16. /// <summary>
  17. /// Provides a means of automatically generating single-table commands used to reconcile changes made to a DataSet with the associated database. This class cannot be inherited.
  18. /// </summary>
  19. public sealed class OleDbCommandBuilder : Component
  20. {
  21. #region Fields
  22. OleDbDataAdapter adapter;
  23. string quotePrefix;
  24. string quoteSuffix;
  25. #endregion // Fields
  26. #region Constructors
  27. public OleDbCommandBuilder ()
  28. {
  29. adapter = null;
  30. quotePrefix = String.Empty;
  31. quoteSuffix = String.Empty;
  32. }
  33. public OleDbCommandBuilder (OleDbDataAdapter adapter)
  34. : this ()
  35. {
  36. this.adapter = adapter;
  37. }
  38. #endregion // Constructors
  39. #region Properties
  40. public OleDbDataAdapter DataAdapter {
  41. get { return adapter; }
  42. set { adapter = value; }
  43. }
  44. public string QuotePrefix {
  45. get { return quotePrefix; }
  46. set { quotePrefix = value; }
  47. }
  48. public string QuoteSuffix {
  49. get { return quoteSuffix; }
  50. set { quoteSuffix = value; }
  51. }
  52. #endregion // Properties
  53. #region Methods
  54. [MonoTODO]
  55. public static void DeriveParameters (OleDbCommand command)
  56. {
  57. throw new NotImplementedException ();
  58. }
  59. [MonoTODO]
  60. protected override void Dispose (bool disposing)
  61. {
  62. throw new NotImplementedException ();
  63. }
  64. [MonoTODO]
  65. public OleDbCommand GetDeleteCommand ()
  66. {
  67. throw new NotImplementedException ();
  68. }
  69. [MonoTODO]
  70. public OleDbCommand GetInsertCommand ()
  71. {
  72. throw new NotImplementedException ();
  73. }
  74. [MonoTODO]
  75. public OleDbCommand GetUpdatetCommand ()
  76. {
  77. throw new NotImplementedException ();
  78. }
  79. [MonoTODO]
  80. public void RefreshSchema ()
  81. {
  82. throw new NotImplementedException ();
  83. }
  84. #endregion // Methods
  85. }
  86. }