A SQL statement or stored procedure that is executed against a SQL Anywhere database.
Public NotInheritable Class SACommand Inherits System.Data.Common.DbCommand Implements System.ICloneable
public sealed class SACommand : System.Data.Common.DbCommand, System.ICloneable
All members of the SACommand class, including all inherited members.
Name | Description |
---|---|
Initializes an SACommand object. | |
Initiates the asynchronous execution of a SQL statement or stored procedure that is described by this SACommand. | |
Initiates the asynchronous execution of a SQL statement or stored procedure that is described by this SACommand, and retrieves one or more result sets from the database server. | |
Cancels the execution of an SACommand object. | |
Provides an SAParameter object for supplying parameters to SACommand objects. | |
Finishes asynchronous execution of a SQL statement or stored procedure. | |
Finishes asynchronous execution of a SQL statement or stored procedure, returning the requested SADataReader. | |
|
Executes the command text against the connection. |
|
Providers should implement this method to provide a non-default implementation for Overload:System.Data.Common.DbCommand.ExecuteReader
overloads.The default implementation invokes the synchronous ![]() |
Executes a statement that does not return a result set, such as an INSERT, UPDATE, DELETE, or data definition statement. | |
|
An asynchronous version of ![]() |
Executes a SQL statement that returns a result set. | |
|
An asynchronous version of Overload:System.Data.Common.DbCommand.ExecuteReader, which executes the ![]() ![]() ![]() ![]() |
Executes a statement that returns a single value. | |
|
An asynchronous version of ![]() |
Prepares or compiles the SACommand on the data source. | |
Resets the CommandTimeout property to its default value of 30 seconds. | |
Gets or sets the text of a SQL statement or stored procedure. | |
This feature is not supported by the SQL Anywhere .NET Data Provider. | |
Gets or sets the type of command represented by an SACommand. | |
Gets or sets the connection object to which the SACommand object applies. | |
Gets or sets a value that indicates if the SACommand should be visible in a Windows Form Designer control. | |
A collection of parameters for the current statement. | |
Specifies the SATransaction object in which the SACommand executes. | |
Gets or sets how command results are applied to the DataRow when used by the Update method of the SADataAdapter. |
Implements: IDbCommand, ICloneable
For more information, see Data access and manipulation.
SACommand constructor
BeginExecuteNonQuery method
BeginExecuteReader method
Cancel method
CreateParameter method
EndExecuteNonQuery method
EndExecuteReader method
ExecuteNonQuery method
ExecuteReader method
ExecuteScalar method
Prepare method
ResetCommandTimeout method
CommandText property
CommandTimeout property
CommandType property
Connection property
DesignTimeVisible property
Parameters property
Transaction property
UpdatedRowSource property
![]() |
Discuss this page in DocCommentXchange.
|
Copyright © 2014, SAP AG or an SAP affiliate company. - SAP Sybase SQL Anywhere 16.0 |