2 // System.Data.Common.DbCommandBuilder
5 // Tim Coleman (tim@timcoleman.com)
7 // Copyright (C) Tim Coleman, 2003
12 using System.ComponentModel;
15 namespace System.Data.Common {
16 public abstract class DbCommandBuilder : Component
21 protected DbCommandBuilder ()
25 #endregion // Constructors
30 public virtual CatalogLocation CatalogLocation {
31 get { throw new NotImplementedException (); }
32 set { throw new NotImplementedException (); }
36 public virtual string CatalogSeparator {
37 get { throw new NotImplementedException (); }
38 set { throw new NotImplementedException (); }
42 public virtual ConflictOptions ConflictDetection {
43 get { throw new NotImplementedException (); }
44 set { throw new NotImplementedException (); }
48 public DbDataAdapter DataAdapter {
49 get { throw new NotImplementedException (); }
50 set { throw new NotImplementedException (); }
53 protected abstract DbProviderFactory ProviderFactory { get; }
56 public virtual string QuotePrefix {
57 get { throw new NotImplementedException (); }
58 set { throw new NotImplementedException (); }
62 public virtual string QuoteSuffix {
63 get { throw new NotImplementedException (); }
64 set { throw new NotImplementedException (); }
68 public SchemaLocation SchemaLocation {
69 get { throw new NotImplementedException (); }
70 set { throw new NotImplementedException (); }
74 public virtual string SchemaSeparator {
75 get { throw new NotImplementedException (); }
76 set { throw new NotImplementedException (); }
79 #endregion // Properties
83 protected abstract void ApplyParameterInfo (IDbDataParameter p, DataRow row);
86 protected virtual void BuildCache (bool closeConnection, DataRow dataRow)
88 throw new NotImplementedException ();
92 protected override void Dispose (bool disposing)
94 throw new NotImplementedException ();
98 public static Delegate FindBUilder (MulticastDelegate mcd)
100 throw new NotImplementedException ();
104 public virtual string FormatLiteral (DbConnection connection, string dataTypeName, object value)
106 throw new NotImplementedException ();
110 public DbCommand GetDeleteCommand ()
112 throw new NotImplementedException ();
116 public DbCommand GetDeleteCommand (DataRow dataRow)
118 throw new NotImplementedException ();
122 public DbCommand GetInsertCommand ()
124 throw new NotImplementedException ();
128 public DbCommand GetInsertCommand (DataRow dataRow)
130 throw new NotImplementedException ();
133 protected abstract string GetParameterName (int parameterOrdinal);
134 protected abstract string GetParameterPlaceholder (int parameterOrdinal);
137 protected DbCommand GetSelectCommand ()
139 throw new NotImplementedException ();
143 public DbCommand GetUpdateCommand ()
145 throw new NotImplementedException ();
149 public DbCommand GetUpdateCommand (DataRow dataRow)
151 throw new NotImplementedException ();
155 protected virtual DbCommand InitializeCommand (DbCommand command)
157 throw new NotImplementedException ();
161 protected internal static string[] ParseProcedureName (string procedure)
163 throw new NotImplementedException ();
167 public virtual string QuoteIdentifier (string unquotedIdentifier)
169 throw new NotImplementedException ();
173 public virtual void RefreshSchema ()
175 throw new NotImplementedException ();
179 public virtual void ResolveObjectName (DbConnection connection, string objectType, string[] identifierParts)
181 throw new NotImplementedException ();
185 protected void RowUpdatingHandler (object sender, RowUpdatingEventArgs rowUpdatingEvent)
187 throw new NotImplementedException ();
190 protected abstract void SetRowUpdatingHandler (DbDataAdapter adapter);
193 public virtual object UnformatLiteral (DbConnection connection, string dataTypeName, string literalValue)
195 throw new NotImplementedException ();
199 public virtual string UnquoteIdentifier (string quotedIdentifier)
201 throw new NotImplementedException ();
204 #endregion // Methods