SphinxQLCommand Methods

Methods

Cancel Attempts to cancel the execution of a SphinxQLCommand. Currently not supported.
(Overrides DbCommandCancel)
Clone Clones this instance including parameters.
CreateParameterCreates a new instance of a DbParameter object.
(Inherited from DbCommand)
DisposeReleases all resources used by the Component.
(Inherited from Component)
DisposeAsyncAsynchronously disposes the command object.
(Inherited from DbCommand)
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
ExecuteNonQuery Executes a SphinxQL statement against a connection object.
(Overrides DbCommandExecuteNonQuery)
ExecuteNonQueryAsyncAn asynchronous version of ExecuteNonQuery, which executes the command against its connection object, returning the number of rows affected. Invokes ExecuteNonQueryAsync(CancellationToken) with CancellationToken.None.
(Inherited from DbCommand)
ExecuteNonQueryAsync(CancellationToken) Executes a SphinxQL statement against a connection object.
(Overrides DbCommandExecuteNonQueryAsync(CancellationToken))
ExecuteReader Executes the command text against the connection.
ExecuteReader(CommandBehavior) Executes the command text against the connection.
ExecuteReaderAsync Executes the command text against the connection.
ExecuteReaderAsync(CancellationToken) Executes the command text against the connection.
ExecuteReaderAsync(CommandBehavior) Executes the command text against the connection.
ExecuteReaderAsync(CommandBehavior, CancellationToken) Executes the command text against the connection.
ExecuteScalar Executes the query and returns the first column of the first row in the result set returned by the query. All other columns and rows are ignored.
(Overrides DbCommandExecuteScalar)
ExecuteScalarAsyncAn asynchronous version of ExecuteScalar, which executes the command and returns the first column of the first row in the first returned result set. All other columns, rows and result sets are ignored. Invokes ExecuteScalarAsync(CancellationToken) with CancellationToken.None.
(Inherited from DbCommand)
ExecuteScalarAsync(CancellationToken) Executes the query and returns the first column of the first row in the result set returned by the query. All other columns and rows are ignored.
(Overrides DbCommandExecuteScalarAsync(CancellationToken))
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetLifetimeServiceRetrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
Obsolete
GetTypeGets the Type of the current instance.
(Inherited from Object)
InitializeLifetimeServiceObtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
Obsolete
Prepare Creates a prepared (or compiled) version of the command on the data source. Not supported.
(Overrides DbCommandPrepare)
PrepareAsyncAsynchronously creates a prepared (or compiled) version of the command on the data source.
(Inherited from DbCommand)
ToStringReturns a String containing the name of the Component, if any. This method should not be overridden.
(Inherited from Component)

Explicit Interface Implementations

IDbCommandCreateParameterCreates a new instance of an IDbDataParameter object.
(Inherited from DbCommand)
IDbCommandExecuteReaderExecutes the CommandText against the Connection and builds an IDataReader.
(Inherited from DbCommand)
IDbCommandExecuteReader(CommandBehavior)Executes the CommandText against the Connection, and builds an IDataReader using one of the CommandBehavior values.
(Inherited from DbCommand)
ICloneableCloneCreates a new object that is a copy of the current instance.

See Also