2 // System.Data.OleDb.OleDbCommandBuilder
5 // Rodrigo Moya (rodrigo@ximian.com)
6 // Tim Coleman (tim@timcoleman.com)
8 // Copyright (C) Rodrigo Moya, 2002
9 // Copyright (C) Tim Coleman, 2002
12 using System.ComponentModel;
14 using System.Data.Common;
16 namespace System.Data.OleDb
19 /// 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.
21 public sealed class OleDbCommandBuilder : Component
25 OleDbDataAdapter adapter;
33 public OleDbCommandBuilder ()
36 quotePrefix = String.Empty;
37 quoteSuffix = String.Empty;
40 public OleDbCommandBuilder (OleDbDataAdapter adapter)
43 this.adapter = adapter;
46 #endregion // Constructors
50 [DataSysDescriptionAttribute ("The DataAdapter for which to automatically generate OleDbCommands")]
52 public OleDbDataAdapter DataAdapter {
61 [BrowsableAttribute (false)]
62 [DataSysDescriptionAttribute ("The prefix string wrapped around sql objects")]
63 [DesignerSerializationVisibilityAttribute (DesignerSerializationVisibility.Hidden)]
64 public string QuotePrefix {
73 [BrowsableAttribute (false)]
74 [DataSysDescriptionAttribute ("The suffix string wrapped around sql objects")]
75 [DesignerSerializationVisibilityAttribute (DesignerSerializationVisibility.Hidden)]
76 public string QuoteSuffix {
85 #endregion // Properties
89 public static void DeriveParameters (OleDbCommand command)
91 throw new NotImplementedException ();
95 protected override void Dispose (bool disposing)
97 throw new NotImplementedException ();
101 public OleDbCommand GetDeleteCommand ()
103 throw new NotImplementedException ();
107 public OleDbCommand GetInsertCommand ()
109 throw new NotImplementedException ();
113 public OleDbCommand GetUpdateCommand ()
115 throw new NotImplementedException ();
119 public void RefreshSchema ()
121 throw new NotImplementedException ();
124 #endregion // Methods