HanaCommandBuilder class

A way to generate single-table SQL statements that reconcile changes made to a DataSet with the data in the associated database.

Members

All members of HanaCommandBuilder, including inherited members.

Constructors
Modifier and Type Constructor Description
public HanaCommandBuilder Initializes a HanaCommandBuilder object.
Methods
Modifier and Type Method Description
protected override void ApplyParameterInfo(DbParameter, DataRow, StatementType, bool) Allows the provider implementation of System.Data.Common.DbCommandBuilder to handle additional parameter properties.
public static void DeriveParameters(HanaCommand) Populates the Parameters collection of the specified HanaCommand object.
public new HanaCommand GetDeleteCommand Returns the generated HanaCommand object that performs DELETE operations on the database when HanaDataAdapter.Update is called.
public new HanaCommand GetInsertCommand Returns the generated HanaCommand object that performs INSERT operations on the database when an Update is called.
protected override string GetParameterName Returns the name of the specified parameter in the format of @p#.
protected override string GetParameterPlaceholder(int) Returns the placeholder for the parameter in the associated SQL statement.
protected override DataTable GetSchemaTable(DbCommand) Returns the schema table for the HanaCommandBuilder object.
public new HanaCommand GetUpdateCommand Returns the generated HanaCommand object that performs UPDATE operations on the database when an Update is called.
protected override DbCommand InitializeCommand(DbCommand) Resets the System.Data.Common.DbCommand.CommandTimeout, System.Data.Common.DbCommand.Transaction, System.Data.Common.DbCommand.CommandType, and System.Data.Common.DbCommand.UpdatedRowSource properties on the System.Data.Common.DbCommand.
public override string QuoteIdentifier(string) Returns the correct quoted form of an unquoted identifier, including properly escaping any embedded quotes in the identifier.
protected override void SetRowUpdatingHandler(DbDataAdapter) Registers the HanaCommandBuilder object to handle the HanaDataAdapter.RowUpdating event for a HanaDataAdapter object.
public override string UnquoteIdentifier(string) Returns the correct unquoted form of a quoted identifier, including properly un-escaping any embedded quotes in the identifier.
Properties
Modifier and Type Property Description
public new HanaDataAdapter DataAdapter Specifies the HanaDataAdapter for which to generate statements.
public override string QuotePrefix Gets or sets the beginning character or characters to use when specifying database objects whose names contain characters such as spaces.
public override string QuoteSuffix Gets or sets the ending character or characters to use when specifying database objects whose names contains characters such as spaces.