e07c0bf3747e08dde394e2a4263390e81b644b0c
[mono.git] / mcs / class / System.Data / System.Data.Common / DbTable.cs
1 //
2 // System.Data.Common.DbTable.cs
3 //
4 // Author:
5 //   Tim Coleman (tim@timcoleman.com)
6 //
7 // Copyright (C) Tim Coleman, 2003
8 //
9
10 //
11 // Copyright (C) 2004 Novell, Inc (http://www.novell.com)
12 //
13 // Permission is hereby granted, free of charge, to any person obtaining
14 // a copy of this software and associated documentation files (the
15 // "Software"), to deal in the Software without restriction, including
16 // without limitation the rights to use, copy, modify, merge, publish,
17 // distribute, sublicense, and/or sell copies of the Software, and to
18 // permit persons to whom the Software is furnished to do so, subject to
19 // the following conditions:
20 // 
21 // The above copyright notice and this permission notice shall be
22 // included in all copies or substantial portions of the Software.
23 // 
24 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
25 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
26 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
27 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
28 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
29 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
30 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
31 //
32
33 #if TARGET_JVM
34
35 using System.ComponentModel;
36
37 namespace System.Data.Common {
38         public abstract class DbTable : DataTable
39         {
40                 #region Constructors
41
42                 [MonoTODO]
43                 protected DbTable (DbProviderFactory providerFactory)
44                 {
45                 }
46
47                 #endregion // Constructors
48
49                 #region Properties
50
51                 [MonoTODO]      
52                 public ConflictOption ConflictOption {
53                         get { throw new NotImplementedException (); }
54                         set { throw new NotImplementedException (); }
55                 }
56
57                 [MonoTODO]      
58                 public DbConnection Connection {
59                         get { throw new NotImplementedException (); }
60                         set { throw new NotImplementedException (); }
61                 }
62
63                 [MonoTODO]      
64                 public DbCommand DeleteCommand {
65                         get { throw new NotImplementedException (); }
66                         set { throw new NotImplementedException (); }
67                 }
68
69                 [MonoTODO]      
70                 public DbCommand InsertCommand {
71                         get { throw new NotImplementedException (); }
72                         set { throw new NotImplementedException (); }
73                 }
74
75                 [MonoTODO]      
76                 public DbProviderFactory ProviderFactory {
77                         get { throw new NotImplementedException (); }
78                 }
79
80                 [MonoTODO]      
81                 public bool ReturnProviderSpecificTypes {
82                         get { throw new NotImplementedException (); }
83                         set { throw new NotImplementedException (); }
84                 }
85
86                 [MonoTODO]      
87                 public DbCommand SelectCommand {
88                         get { throw new NotImplementedException (); }
89                         set { throw new NotImplementedException (); }
90                 }
91
92                 [MonoTODO]      
93                 public override ISite Site {
94                         get { throw new NotImplementedException (); }
95                         set { throw new NotImplementedException (); }
96                 }
97
98                 [MonoTODO]      
99                 public DataTableMapping TableMapping {
100                         get { throw new NotImplementedException (); }
101                 }
102
103                 [MonoTODO]      
104                 public int UpdateBatchSize {
105                         get { throw new NotImplementedException (); }
106                         set { throw new NotImplementedException (); }
107                 }
108
109                 [MonoTODO]      
110                 public DbCommand UpdateCommand {
111                         get { throw new NotImplementedException (); }
112                         set { throw new NotImplementedException (); }
113                 }
114
115                 #endregion // Properties
116
117                 #region Methods
118
119                 [MonoTODO]
120                 public DataRelation AddChildTable (string relationName, DbTable childTable, string parentColumnName, string childColumnName)
121                 {
122                         throw new NotImplementedException ();
123                 }
124
125                 [MonoTODO]
126                 public DataRelation AddChildTable (string relationName, DbTable childTable, string[] parentColumnNames, string[] childColumnNames)
127                 {
128                         throw new NotImplementedException ();
129                 }
130
131                 [MonoTODO]
132                 public override void BeginInit ()
133                 {
134                         throw new NotImplementedException ();
135                 }
136
137                 [MonoTODO]
138                 protected virtual DbCommandBuilder CreateCommandBuilder (DbConnection connection)
139                 {
140                         throw new NotImplementedException ();
141                 }
142
143                 [MonoTODO]
144                 protected override void Dispose (bool disposing)
145                 {
146                         throw new NotImplementedException ();
147                 }
148
149                 [MonoTODO]
150                 public override void EndInit ()
151                 {
152                         throw new NotImplementedException ();
153                 }
154
155                 [MonoTODO]
156                 public int Fill (object[] parameterValues)
157                 {
158                         throw new NotImplementedException ();
159                 }
160
161                 [MonoTODO]
162                 public int Fill (FillOptions options, object[] parameterValues)
163                 {
164                         throw new NotImplementedException ();
165                 }
166
167                 [MonoTODO]
168                 public int Fill (FillOptions options, DbTransaction transaction, object[] parameterValues)
169                 {
170                         throw new NotImplementedException ();
171                 }
172
173                 [MonoTODO]
174                 public int FillPage (int startRecord, int maxRecords, object[] parameterValues)
175                 {
176                         throw new NotImplementedException ();
177                 }
178
179                 [MonoTODO]
180                 public int FillPage (int startRecord, int maxRecords, FillOptions options, object[] parameterValues)
181                 {
182                         throw new NotImplementedException ();
183                 }
184
185                 [MonoTODO]
186                 public int FillPage (int startRecord, int maxRecords, FillOptions options, DbTransaction transaction, object[] parameterValues)
187                 {
188                         throw new NotImplementedException ();
189                 }
190
191                 [MonoTODO]
192                 protected virtual string GenerateQuery (DbCommandBuilder cmdBuilder)
193                 {
194                         throw new NotImplementedException ();
195                 }
196
197                 [MonoTODO]
198                 protected virtual string GenerateQueryForHierarchy (DbCommandBuilder builder, DataTable[] tableList)
199                 {
200                         throw new NotImplementedException ();
201                 }
202
203                 [MonoTODO]
204                 public int Update ()
205                 {
206                         throw new NotImplementedException ();
207                 }
208
209                 [MonoTODO]
210                 public int Update (UpdateOptions updateOptions)
211                 {
212                         throw new NotImplementedException ();
213                 }
214
215                 [MonoTODO]
216                 public int Update (UpdateOptions updateOptions, DbTransaction transaction)
217                 {
218                         throw new NotImplementedException ();
219                 }
220
221                 [MonoTODO]
222                 public int UpdateRows (DataRow[] dataRows)
223                 {
224                         throw new NotImplementedException ();
225                 }
226
227                 [MonoTODO]
228                 public int UpdateRows (DataRow[] dataRows, UpdateOptions updateOptions)
229                 {
230                         throw new NotImplementedException ();
231                 }
232
233                 [MonoTODO]
234                 public int UpdateRows (DataRow[] dataRows, UpdateOptions updateOptions, DbTransaction transaction)
235                 {
236                         throw new NotImplementedException ();
237                 }
238
239
240                 #endregion // Methods
241         }
242 }
243
244 #endif