Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 » UltraLite - .NET Programming » UltraLite .NET 2.0 API reference » ULCommand class » ULCommand constructors

 

ULCommand(String, ULConnection, ULTransaction) constructor

Initializes a ULCommand object with the specified command text, connection, and transaction.

Syntax
Visual Basic
Public Sub New( _
   ByVal cmdText As String, _
   ByVal connection As ULConnection, _
   ByVal transaction As ULTransaction _
)
C#
public  ULCommand(
   string  cmdText,
   ULConnection connection,
   ULTransaction transaction
);
Parameters
  • cmdText   The text of the SQL statement or name of the table when the ULCommand.CommandType is System.Data.CommandType.TableDirect. For parameterized statements, use a question mark (?) placeholder to pass parameters.

  • connection   The ULConnection object representing the current connection.

  • transaction   The ULTransaction in which the ULCommand executes.

See also