AdsCommand

Advantage .NET Data Provider

  Previous topic Next topic  

Full name: Advantage.Data.Provider.AdsCommand

Implements: System.Data.IDbCommand

 

Constructors

Properties

Methods

Events

An AdsCommand object represents an SQL statement or stored procedure to execute or a table to directly open on Advantage Database Server or Advantage Local Server.

To use an AdsCommand object, the application must associate the command with the AdsConnection object. This can be done in one of three ways. If you use the AdsConnection.CreateCommand() method to create a new command object, the command object will be associated with the connection from which it was created automatically. Alternatively, you can use one of the AdsCommand constructors that accepts an AdsConnection object. Or lastly, you can assign the AdsConnection object to the AdsCommand.Connection property after the command object has been created.