2 // System.Data.OleDb.OleDbCommandBuilder
\r
5 // Rodrigo Moya (rodrigo@ximian.com)
\r
6 // Tim Coleman (tim@timcoleman.com)
\r
7 // Konstantin Triger <kostat@mainsoft.com>
8 // Boris Kirzner <borisk@mainsoft.com>
\r
10 // Copyright (C) Rodrigo Moya, 2002
\r
11 // Copyright (C) Tim Coleman, 2002
12 // (C) 2005 Mainsoft Corporation (http://www.mainsoft.com)
16 // Permission is hereby granted, free of charge, to any person obtaining
17 // a copy of this software and associated documentation files (the
18 // "Software"), to deal in the Software without restriction, including
19 // without limitation the rights to use, copy, modify, merge, publish,
20 // distribute, sublicense, and/or sell copies of the Software, and to
21 // permit persons to whom the Software is furnished to do so, subject to
22 // the following conditions:
24 // The above copyright notice and this permission notice shall be
25 // included in all copies or substantial portions of the Software.
27 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
28 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
29 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
30 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
31 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
32 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
33 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
37 using System.ComponentModel;
\r
39 using System.Data.Common;
\r
40 using System.Data.ProviderBase;
\r
42 namespace System.Data.OleDb
\r
45 /// 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.
\r
47 public sealed class OleDbCommandBuilder : AbstractDbCommandBuilder
\r
51 OleDbDataAdapter adapter;
\r
55 #endregion // Fields
\r
57 #region Constructors
\r
59 public OleDbCommandBuilder ()
\r
62 quotePrefix = String.Empty;
\r
63 quoteSuffix = String.Empty;
\r
66 public OleDbCommandBuilder (OleDbDataAdapter adapter)
\r
69 this.adapter = adapter;
\r
72 #endregion // Constructors
\r
76 public OleDbDataAdapter DataAdapter {
\r
85 public string QuotePrefix {
\r
90 quotePrefix = value;
\r
94 public string QuoteSuffix {
\r
99 quoteSuffix = value;
\r
103 #endregion // Properties
\r
107 public static void DeriveParameters (OleDbCommand command)
\r
109 DeriveParameters((AbstractDbCommand)command);
\r
113 protected override void Dispose (bool disposing)
\r
115 throw new NotImplementedException ();
\r
119 public OleDbCommand GetDeleteCommand ()
\r
121 throw new NotImplementedException ();
\r
125 public OleDbCommand GetInsertCommand ()
\r
127 throw new NotImplementedException ();
\r
131 public OleDbCommand GetUpdatetCommand ()
\r
133 throw new NotImplementedException ();
\r
137 public void RefreshSchema ()
\r
139 throw new NotImplementedException ();
\r
142 #endregion // Methods
\r