2004-06-08 Umadevi S <sumadevi@novell.com>
[mono.git] / mcs / class / System.Data / System.Data.Common / DbCommandBuilder.cs
1 //
2 // System.Data.Common.DbCommandBuilder
3 //
4 // Author:
5 //   Tim Coleman (tim@timcoleman.com)
6 //
7 // Copyright (C) Tim Coleman, 2003
8 //
9
10 #if NET_2_0
11
12 using System.ComponentModel;
13 using System.Data;
14
15 namespace System.Data.Common {
16         public abstract class DbCommandBuilder : Component
17         {
18                 #region Constructors
19
20                 [MonoTODO]
21                 protected DbCommandBuilder ()
22                 {
23                 }
24
25                 #endregion // Constructors
26
27                 #region Properties
28
29                 [MonoTODO]
30                 public virtual CatalogLocation CatalogLocation {
31                         get { throw new NotImplementedException (); }
32                         set { throw new NotImplementedException (); }
33                 }
34
35                 [MonoTODO]
36                 public virtual string CatalogSeparator {
37                         get { throw new NotImplementedException (); }
38                         set { throw new NotImplementedException (); }
39                 }
40
41                 [MonoTODO]
42                 public virtual ConflictOptions ConflictDetection {
43                         get { throw new NotImplementedException (); }
44                         set { throw new NotImplementedException (); }
45                 }
46
47                 [MonoTODO]
48                 public DbDataAdapter DataAdapter {
49                         get { throw new NotImplementedException (); }
50                         set { throw new NotImplementedException (); }
51                 }
52
53                 protected abstract DbProviderFactory ProviderFactory { get; }
54
55                 [MonoTODO]
56                 public virtual string QuotePrefix {
57                         get { throw new NotImplementedException (); }
58                         set { throw new NotImplementedException (); }
59                 }
60
61                 [MonoTODO]
62                 public virtual string QuoteSuffix {
63                         get { throw new NotImplementedException (); }
64                         set { throw new NotImplementedException (); }
65                 }
66
67                 [MonoTODO]
68                 public SchemaLocation SchemaLocation {
69                         get { throw new NotImplementedException (); }
70                         set { throw new NotImplementedException (); }
71                 }
72
73                 [MonoTODO]
74                 public virtual string SchemaSeparator {
75                         get { throw new NotImplementedException (); }
76                         set { throw new NotImplementedException (); }
77                 }
78
79                 #endregion // Properties
80
81                 #region Methods
82
83                 protected abstract void ApplyParameterInfo (IDbDataParameter p, DataRow row);
84
85                 [MonoTODO]
86                 protected virtual void BuildCache (bool closeConnection, DataRow dataRow)
87                 {
88                         throw new NotImplementedException ();
89                 }
90
91                 [MonoTODO]
92                 protected override void Dispose (bool disposing)
93                 {
94                         throw new NotImplementedException ();
95                 }
96
97                 [MonoTODO]
98                 public static Delegate FindBUilder (MulticastDelegate mcd)
99                 {
100                         throw new NotImplementedException ();
101                 }
102
103                 [MonoTODO]
104                 public virtual string FormatLiteral (DbConnection connection, string dataTypeName, object value)
105                 {
106                         throw new NotImplementedException ();
107                 }
108
109                 [MonoTODO]
110                 public DbCommand GetDeleteCommand ()
111                 {
112                         throw new NotImplementedException ();
113                 }
114
115                 [MonoTODO]
116                 public DbCommand GetDeleteCommand (DataRow dataRow)
117                 {
118                         throw new NotImplementedException ();
119                 }
120
121                 [MonoTODO]
122                 public DbCommand GetInsertCommand ()
123                 {
124                         throw new NotImplementedException ();
125                 }
126
127                 [MonoTODO]
128                 public DbCommand GetInsertCommand (DataRow dataRow)
129                 {
130                         throw new NotImplementedException ();
131                 }
132
133                 protected abstract string GetParameterName (int parameterOrdinal);
134                 protected abstract string GetParameterPlaceholder (int parameterOrdinal);
135
136                 [MonoTODO]
137                 protected DbCommand GetSelectCommand ()
138                 {
139                         throw new NotImplementedException ();
140                 }
141
142                 [MonoTODO]
143                 public DbCommand GetUpdateCommand ()
144                 {
145                         throw new NotImplementedException ();
146                 }
147
148                 [MonoTODO]
149                 public DbCommand GetUpdateCommand (DataRow dataRow)
150                 {
151                         throw new NotImplementedException ();
152                 }
153
154                 [MonoTODO]
155                 protected virtual DbCommand InitializeCommand (DbCommand command)
156                 {
157                         throw new NotImplementedException ();
158                 }
159
160                 [MonoTODO]
161                 protected internal static string[] ParseProcedureName (string procedure)
162                 {
163                         throw new NotImplementedException ();
164                 }
165
166                 [MonoTODO]
167                 public virtual string QuoteIdentifier (string unquotedIdentifier)
168                 {
169                         throw new NotImplementedException ();
170                 }
171
172                 [MonoTODO]
173                 public virtual void RefreshSchema ()
174                 {
175                         throw new NotImplementedException ();
176                 }
177
178                 [MonoTODO]
179                 public virtual void ResolveObjectName (DbConnection connection, string objectType, string[] identifierParts)
180                 {
181                         throw new NotImplementedException ();
182                 }
183
184                 [MonoTODO]
185                 protected void RowUpdatingHandler (object sender, RowUpdatingEventArgs rowUpdatingEvent)
186                 {
187                         throw new NotImplementedException ();
188                 }
189
190                 protected abstract void SetRowUpdatingHandler (DbDataAdapter adapter);
191
192                 [MonoTODO]
193                 public virtual object UnformatLiteral (DbConnection connection, string dataTypeName, string literalValue)
194                 {
195                         throw new NotImplementedException ();
196                 }
197
198                 [MonoTODO]
199                 public virtual string UnquoteIdentifier (string quotedIdentifier)
200                 {
201                         throw new NotImplementedException ();
202                 }
203
204                 #endregion // Methods
205         }
206 }
207
208 #endif