(DISTFILES): Comment out a few missing files.
[mono-project.git] / mcs / class / System.Data / System.Data.Common / DbTable.cs
blob63e7900b4aa0ae6cba2c89cb881f7cfbae6fc4d4
1 //
2 // System.Data.Common.DbTable.cs
3 //
4 // Author:
5 // Tim Coleman (tim@timcoleman.com)
6 //
7 // Copyright (C) Tim Coleman, 2003
8 //
11 // Copyright (C) 2004 Novell, Inc (http://www.novell.com)
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.
33 #if NET_2_0
35 using System.ComponentModel;
37 namespace System.Data.Common {
38 public abstract class DbTable : DataTable
40 #region Constructors
42 [MonoTODO]
43 protected DbTable (DbProviderFactory providerFactory)
47 #endregion // Constructors
49 #region Properties
51 [MonoTODO]
52 public ConflictOptions ConflictDetection {
53 get { throw new NotImplementedException (); }
54 set { throw new NotImplementedException (); }
57 [MonoTODO]
58 public DbConnection Connection {
59 get { throw new NotImplementedException (); }
60 set { throw new NotImplementedException (); }
63 [MonoTODO]
64 public DbCommand DeleteCommand {
65 get { throw new NotImplementedException (); }
66 set { throw new NotImplementedException (); }
69 [MonoTODO]
70 public DbCommand InsertCommand {
71 get { throw new NotImplementedException (); }
72 set { throw new NotImplementedException (); }
75 [MonoTODO]
76 public DbProviderFactory ProviderFactory {
77 get { throw new NotImplementedException (); }
80 [MonoTODO]
81 public bool ReturnProviderSpecificTypes {
82 get { throw new NotImplementedException (); }
83 set { throw new NotImplementedException (); }
86 [MonoTODO]
87 public DbCommand SelectCommand {
88 get { throw new NotImplementedException (); }
89 set { throw new NotImplementedException (); }
92 [MonoTODO]
93 public override ISite Site {
94 get { throw new NotImplementedException (); }
95 set { throw new NotImplementedException (); }
98 [MonoTODO]
99 public DataTableMapping TableMapping {
100 get { throw new NotImplementedException (); }
103 [MonoTODO]
104 public int UpdateBatchSize {
105 get { throw new NotImplementedException (); }
106 set { throw new NotImplementedException (); }
109 [MonoTODO]
110 public DbCommand UpdateCommand {
111 get { throw new NotImplementedException (); }
112 set { throw new NotImplementedException (); }
115 #endregion // Properties
117 #region Methods
119 [MonoTODO]
120 public DataRelation AddChildTable (string relationName, DbTable childTable, string parentColumnName, string childColumnName)
122 throw new NotImplementedException ();
125 [MonoTODO]
126 public DataRelation AddChildTable (string relationName, DbTable childTable, string[] parentColumnNames, string[] childColumnNames)
128 throw new NotImplementedException ();
131 [MonoTODO]
132 public override void BeginInit ()
134 throw new NotImplementedException ();
137 [MonoTODO]
138 protected virtual DbCommandBuilder CreateCommandBuilder (DbConnection connection)
140 throw new NotImplementedException ();
143 [MonoTODO]
144 protected override void Dispose (bool disposing)
146 throw new NotImplementedException ();
149 [MonoTODO]
150 public override void EndInit ()
152 throw new NotImplementedException ();
155 [MonoTODO]
156 public int Fill (object[] parameterValues)
158 throw new NotImplementedException ();
161 [MonoTODO]
162 public int Fill (FillOptions options, object[] parameterValues)
164 throw new NotImplementedException ();
167 [MonoTODO]
168 public int Fill (FillOptions options, DbTransaction transaction, object[] parameterValues)
170 throw new NotImplementedException ();
173 [MonoTODO]
174 public int FillPage (int startRecord, int maxRecords, object[] parameterValues)
176 throw new NotImplementedException ();
179 [MonoTODO]
180 public int FillPage (int startRecord, int maxRecords, FillOptions options, object[] parameterValues)
182 throw new NotImplementedException ();
185 [MonoTODO]
186 public int FillPage (int startRecord, int maxRecords, FillOptions options, DbTransaction transaction, object[] parameterValues)
188 throw new NotImplementedException ();
191 [MonoTODO]
192 protected virtual string GenerateQuery (DbCommandBuilder cmdBuilder)
194 throw new NotImplementedException ();
197 [MonoTODO]
198 protected virtual string GenerateQueryForHierarchy (DbCommandBuilder builder, DataTable[] tableList)
200 throw new NotImplementedException ();
203 [MonoTODO]
204 public int Update ()
206 throw new NotImplementedException ();
209 [MonoTODO]
210 public int Update (UpdateOptions updateOptions)
212 throw new NotImplementedException ();
215 [MonoTODO]
216 public int Update (UpdateOptions updateOptions, DbTransaction transaction)
218 throw new NotImplementedException ();
221 [MonoTODO]
222 public int UpdateRows (DataRow[] dataRows)
224 throw new NotImplementedException ();
227 [MonoTODO]
228 public int UpdateRows (DataRow[] dataRows, UpdateOptions updateOptions)
230 throw new NotImplementedException ();
233 [MonoTODO]
234 public int UpdateRows (DataRow[] dataRows, UpdateOptions updateOptions, DbTransaction transaction)
236 throw new NotImplementedException ();
240 #endregion // Methods
244 #endif // NET_2_0