Contents Index GetFillParameters method MissingMappingAction property

ASA Programming Guide
  Adaptive Server Anywhere .NET Data Provider API Reference
    AsaDataAdapter class

InsertCommand property


Description 

An AsaCommand that is executed against the database when an Update() is called that adds rows to the database to correspond to rows that were inserted in the DataSet.

Syntax 

AsaCommand InsertCommand

Access 

Read-write

Usage 

The AsaCommandBuilder does not require key columns to generate InsertCommand.

When InsertCommand is assigned to an existing AsaCommand object, the AsaCommand is not cloned. The InsertCommand maintains a reference to the existing AsaCommand.

If this command returns rows, the rows may be added to the DataSet depending on how you set the UpdatedRowSource property of the AsaCommand object.

See also 

Update method

Inserting, updating, and deleting rows using the AsaCommand object

Inserting, updating, and deleting rows using the AsaDataAdapter object


Contents Index GetFillParameters method MissingMappingAction property