* OleDbDataAdapter.cs: added stub for missing
[mono.git] / mcs / class / System.Data / System.Data.OleDb / OleDbCommandBuilder.cs
1 //
2 // System.Data.OleDb.OleDbCommandBuilder
3 //
4 // Author:
5 //   Rodrigo Moya (rodrigo@ximian.com)
6 //   Tim Coleman (tim@timcoleman.com)
7 //
8 // Copyright (C) Rodrigo Moya, 2002
9 // Copyright (C) Tim Coleman, 2002
10 //
11
12 using System.ComponentModel;
13 using System.Data;
14 using System.Data.Common;
15
16 namespace System.Data.OleDb
17 {
18         /// <summary>
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.
20         /// </summary>
21         public sealed class OleDbCommandBuilder : Component
22         {
23                 #region Fields
24
25                 OleDbDataAdapter adapter;
26                 string quotePrefix;
27                 string quoteSuffix;
28
29                 #endregion // Fields
30
31                 #region Constructors
32                 
33                 public OleDbCommandBuilder ()
34                 {
35                         adapter = null;
36                         quotePrefix = String.Empty;
37                         quoteSuffix = String.Empty;
38                 }
39
40                 public OleDbCommandBuilder (OleDbDataAdapter adapter) 
41                         : this ()
42                 {
43                         this.adapter = adapter;
44                 }
45
46                 #endregion // Constructors
47
48                 #region Properties
49
50                 [DataSysDescriptionAttribute ("The DataAdapter for which to automatically generate OleDbCommands")]
51                 [DefaultValue (null)]
52                 public OleDbDataAdapter DataAdapter {
53                         get {
54                                 return adapter;
55                         }
56                         set {
57                                 adapter = value;
58                         }
59                 }
60
61                 [BrowsableAttribute (false)]
62                 [DataSysDescriptionAttribute ("The prefix string wrapped around sql objects")]
63                 [DesignerSerializationVisibilityAttribute (DesignerSerializationVisibility.Hidden)]
64                 public string QuotePrefix {
65                         get {
66                                 return quotePrefix;
67                         }
68                         set {
69                                 quotePrefix = value;
70                         }
71                 }
72
73                 [BrowsableAttribute (false)]
74                 [DataSysDescriptionAttribute ("The suffix string wrapped around sql objects")]
75                 [DesignerSerializationVisibilityAttribute (DesignerSerializationVisibility.Hidden)]
76                 public string QuoteSuffix {
77                         get {
78                                 return quoteSuffix;
79                         }
80                         set {
81                                 quoteSuffix = value;
82                         }
83                 }
84
85                 #endregion // Properties
86
87                 #region Methods
88
89                 public static void DeriveParameters (OleDbCommand command) 
90                 {
91                         throw new NotImplementedException ();
92                 }
93
94                 [MonoTODO]
95                 protected override void Dispose (bool disposing) 
96                 {
97                         throw new NotImplementedException ();           
98                 }
99
100                 [MonoTODO]
101                 public OleDbCommand GetDeleteCommand ()
102                 {
103                         throw new NotImplementedException ();
104                 }
105
106                 [MonoTODO]
107                 public OleDbCommand GetInsertCommand ()
108                 {
109                         throw new NotImplementedException ();
110                 }
111
112                 [MonoTODO]
113                 public OleDbCommand GetUpdateCommand ()
114                 {
115                         throw new NotImplementedException ();
116                 }
117
118                 [MonoTODO]
119                 public void RefreshSchema ()
120                 {
121                         throw new NotImplementedException ();
122                 }
123
124                 #endregion // Methods
125         }
126 }