SACommand(String, SAConnection, SATransaction) constructor

A SQL statement or stored procedure that is executed against a SQL Anywhere database.

Syntax
Visual Basic

Public Sub New( _
   ByVal cmdText As String, _
   ByVal connection As SAConnection, _
   ByVal transaction As SATransaction _
)
C#

public  SACommand(
   string  cmdText,
   SAConnection connection,
   SATransaction transaction
);
Parameters
  • cmdText   The text of the SQL statement or stored procedure. For parameterized statements, use a question mark (?) placeholder to pass parameters.

  • connection   The current connection.

  • transaction   The SATransaction object in which the SAConnection executes.

See also