2005-03-06 Daniel Morgan <danielmorgan@verizon.net>
[mono.git] / mcs / class / System.Data.OracleClient / System.Data.OracleClient / OracleCommandBuilder.cs
1 //
2 // System.Data.Oracle.OracleCommandBuilder
3 //
4 // Author:
5 //      Atsushi Enomoto <atsushi@ximian.com>
6 //
7 // (C)2004 Novell Inc.
8 //
9
10 using System.ComponentModel;
11 using System.Data;
12 using System.Data.Common;
13
14 namespace System.Data.OracleClient
15 {
16         public sealed class OracleCommandBuilder : Component
17         {
18                 #region Fields
19
20                 OracleDataAdapter adapter;
21                 string quotePrefix;
22                 string quoteSuffix;
23
24                 #endregion // Fields
25
26                 #region Constructors
27                 
28                 public OracleCommandBuilder ()
29                 {
30                         adapter = null;
31                         quotePrefix = String.Empty;
32                         quoteSuffix = String.Empty;
33                 }
34
35                 public OracleCommandBuilder (OracleDataAdapter adapter) 
36                         : this ()
37                 {
38                         this.adapter = adapter;
39                 }
40
41                 #endregion // Constructors
42
43                 #region Properties
44
45                 [DefaultValue (null)]
46                 public OracleDataAdapter DataAdapter {
47                         get {
48                                 return adapter;
49                         }
50                         set {
51                                 adapter = value;
52                         }
53                 }
54
55                 [BrowsableAttribute (false)]
56                 [DesignerSerializationVisibilityAttribute (DesignerSerializationVisibility.Hidden)]
57                 public string QuotePrefix {
58                         get {
59                                 return quotePrefix;
60                         }
61                         set {
62                                 quotePrefix = value;
63                         }
64                 }
65
66                 [BrowsableAttribute (false)]
67                 [DesignerSerializationVisibilityAttribute (DesignerSerializationVisibility.Hidden)]
68                 public string QuoteSuffix {
69                         get {
70                                 return quoteSuffix;
71                         }
72                         set {
73                                 quoteSuffix = value;
74                         }
75                 }
76
77                 #endregion // Properties
78
79                 #region Methods
80
81                 public static void DeriveParameters (OracleCommand command) 
82                 {
83                         throw new NotImplementedException ();
84                 }
85
86                 [MonoTODO]
87                 protected override void Dispose (bool disposing) 
88                 {
89                         throw new NotImplementedException ();
90                 }
91
92                 [MonoTODO]
93                 public OracleCommand GetDeleteCommand ()
94                 {
95                         throw new NotImplementedException ();
96                 }
97
98                 [MonoTODO]
99                 public OracleCommand GetInsertCommand ()
100                 {
101                         throw new NotImplementedException ();
102                 }
103
104                 [MonoTODO]
105                 public OracleCommand GetUpdateCommand ()
106                 {
107                         throw new NotImplementedException ();
108                 }
109
110                 [MonoTODO]
111                 public void RefreshSchema ()
112                 {
113                         throw new NotImplementedException ();
114                 }
115
116                 #endregion // Methods
117         }
118 }