2 // System.Data.Common.DbTable.cs
5 // Tim Coleman (tim@timcoleman.com)
7 // Copyright (C) Tim Coleman, 2003
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:
21 // The above copyright notice and this permission notice shall be
22 // included in all copies or substantial portions of the Software.
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.
35 using System
.ComponentModel
;
37 namespace System
.Data
.Common
{
38 public abstract class DbTable
: DataTable
43 protected DbTable (DbProviderFactory providerFactory
)
47 #endregion // Constructors
52 public ConflictOption ConflictOption
{
53 get { throw new NotImplementedException (); }
54 set { throw new NotImplementedException (); }
58 public DbConnection Connection
{
59 get { throw new NotImplementedException (); }
60 set { throw new NotImplementedException (); }
64 public DbCommand DeleteCommand
{
65 get { throw new NotImplementedException (); }
66 set { throw new NotImplementedException (); }
70 public DbCommand InsertCommand
{
71 get { throw new NotImplementedException (); }
72 set { throw new NotImplementedException (); }
76 public DbProviderFactory ProviderFactory
{
77 get { throw new NotImplementedException (); }
81 public bool ReturnProviderSpecificTypes
{
82 get { throw new NotImplementedException (); }
83 set { throw new NotImplementedException (); }
87 public DbCommand SelectCommand
{
88 get { throw new NotImplementedException (); }
89 set { throw new NotImplementedException (); }
93 public override ISite Site
{
94 get { throw new NotImplementedException (); }
95 set { throw new NotImplementedException (); }
99 public DataTableMapping TableMapping
{
100 get { throw new NotImplementedException (); }
104 public int UpdateBatchSize
{
105 get { throw new NotImplementedException (); }
106 set { throw new NotImplementedException (); }
110 public DbCommand UpdateCommand
{
111 get { throw new NotImplementedException (); }
112 set { throw new NotImplementedException (); }
115 #endregion // Properties
120 public DataRelation
AddChildTable (string relationName
, DbTable childTable
, string parentColumnName
, string childColumnName
)
122 throw new NotImplementedException ();
126 public DataRelation
AddChildTable (string relationName
, DbTable childTable
, string[] parentColumnNames
, string[] childColumnNames
)
128 throw new NotImplementedException ();
132 public override void BeginInit ()
134 throw new NotImplementedException ();
138 protected virtual DbCommandBuilder
CreateCommandBuilder (DbConnection connection
)
140 throw new NotImplementedException ();
144 protected override void Dispose (bool disposing
)
146 throw new NotImplementedException ();
150 public override void EndInit ()
152 throw new NotImplementedException ();
156 public int Fill (object[] parameterValues
)
158 throw new NotImplementedException ();
162 public int Fill (FillOptions options
, object[] parameterValues
)
164 throw new NotImplementedException ();
168 public int Fill (FillOptions options
, DbTransaction transaction
, object[] parameterValues
)
170 throw new NotImplementedException ();
174 public int FillPage (int startRecord
, int maxRecords
, object[] parameterValues
)
176 throw new NotImplementedException ();
180 public int FillPage (int startRecord
, int maxRecords
, FillOptions options
, object[] parameterValues
)
182 throw new NotImplementedException ();
186 public int FillPage (int startRecord
, int maxRecords
, FillOptions options
, DbTransaction transaction
, object[] parameterValues
)
188 throw new NotImplementedException ();
192 protected virtual string GenerateQuery (DbCommandBuilder cmdBuilder
)
194 throw new NotImplementedException ();
198 protected virtual string GenerateQueryForHierarchy (DbCommandBuilder builder
, DataTable
[] tableList
)
200 throw new NotImplementedException ();
206 throw new NotImplementedException ();
210 public int Update (UpdateOptions updateOptions
)
212 throw new NotImplementedException ();
216 public int Update (UpdateOptions updateOptions
, DbTransaction transaction
)
218 throw new NotImplementedException ();
222 public int UpdateRows (DataRow
[] dataRows
)
224 throw new NotImplementedException ();
228 public int UpdateRows (DataRow
[] dataRows
, UpdateOptions updateOptions
)
230 throw new NotImplementedException ();
234 public int UpdateRows (DataRow
[] dataRows
, UpdateOptions updateOptions
, DbTransaction transaction
)
236 throw new NotImplementedException ();
240 #endregion // Methods