System.Data.Common.DbCommandBuilder
namespace System.Data.Common
{
public abstract class DbCommandBuilder : Component
{
public virtual CatalogLocation CatalogLocation { get; set; }
public virtual string CatalogSeparator { get; set; }
public virtual ConflictOption ConflictOption { get; set; }
public DbDataAdapter DataAdapter { get; set; }
public virtual string QuotePrefix { get; set; }
public virtual string QuoteSuffix { get; set; }
public virtual string SchemaSeparator { get; set; }
public bool SetAllValues { get; set; }
protected DbCommandBuilder();
protected abstract void ApplyParameterInfo(DbParameter parameter, DataRow row, StatementType statementType, bool whereClause);
public DbCommand GetDeleteCommand();
public DbCommand GetDeleteCommand(bool useColumnsForParameterNames);
public DbCommand GetInsertCommand();
public DbCommand GetInsertCommand(bool useColumnsForParameterNames);
protected abstract string GetParameterName(int parameterOrdinal);
protected abstract string GetParameterName(string parameterName);
protected abstract string GetParameterPlaceholder(int parameterOrdinal);
protected virtual DataTable GetSchemaTable(DbCommand sourceCommand);
public DbCommand GetUpdateCommand();
public DbCommand GetUpdateCommand(bool useColumnsForParameterNames);
protected virtual DbCommand InitializeCommand(DbCommand command);
public virtual string QuoteIdentifier(string unquotedIdentifier);
public virtual void RefreshSchema();
protected void RowUpdatingHandler(RowUpdatingEventArgs rowUpdatingEvent);
protected abstract void SetRowUpdatingHandler(DbDataAdapter adapter);
public virtual string UnquoteIdentifier(string quotedIdentifier);
}
}