TraceableSqlCommand Class |
Namespace: Amazon.XRay.Recorder.Handlers.SqlServer
public class TraceableSqlCommand : DbCommand, ICloneable
The TraceableSqlCommand type exposes the following members.
Name | Description | |
---|---|---|
TraceableSqlCommand(NullableBoolean) |
Initializes a new instance of the TraceableSqlCommand class.
| |
TraceableSqlCommand(String, NullableBoolean) |
Initializes a new instance of the TraceableSqlCommand class.
| |
TraceableSqlCommand(String, SqlConnection, NullableBoolean) |
Initializes a new instance of the TraceableSqlCommand class.
| |
TraceableSqlCommand(String, SqlConnection, SqlTransaction, NullableBoolean) |
Initializes a new instance of the TraceableSqlCommand class.
|
Name | Description | |
---|---|---|
CommandText |
Gets or sets the text command to run against the data source.
(Overrides DbCommandCommandText.) | |
CommandTimeout |
Gets or sets the wait time before terminating the attempt to execute a command and generating an error.
(Overrides DbCommandCommandTimeout.) | |
CommandType |
Indicates or specifies how the CommandText property is interpreted.
(Overrides DbCommandCommandType.) | |
Connection |
Gets or sets the DbConnection used by this DbCommand.
| |
DbConnection |
Gets or sets the DbConnection used by this DbCommand.
(Overrides DbCommandDbConnection.) | |
DbParameterCollection |
Gets the collection of DbParameter objects.
(Overrides DbCommandDbParameterCollection.) | |
DbTransaction |
Gets or sets the DbTransaction within which this DbCommand object executes.
(Overrides DbCommandDbTransaction.) | |
DesignTimeVisible |
Gets or sets a value indicating whether the command object should be visible in a customized interface control.
(Overrides DbCommand.DesignTimeVisible.) | |
InnerSqlCommand |
Gets the inner SQL command.
| |
Notification |
Gets or sets a value that specifies the System.Data.Sql.SqlNotificationRequest
object bound to this command.
| |
NotificationAutoEnlist |
Gets or sets a value indicating whether the application should automatically
receive query notifications from a common System.Data.SqlClient.SqlDependency
object.
| |
Parameters |
Gets the collection of SqlParameter objects.
| |
Transaction |
Gets or sets the SqlTransaction within which this SqlCommand object executes.
| |
UpdatedRowSource |
Gets or sets how command results are applied to the DataRow when used by the Update method of a DbDataAdapter.
(Overrides DbCommandUpdatedRowSource.) |
Name | Description | |
---|---|---|
BeginExecuteNonQuery |
Begins the execute non query. Wrapper of the same function in SqlCommand.
| |
BeginExecuteNonQuery(AsyncCallback, Object) |
Begins the execute non query. Wrapper of the same function in SqlCommand.
| |
BeginExecuteReader |
Begins the execute reader. Wrapper of the same function in SqlCommand.
| |
BeginExecuteReader(CommandBehavior) |
Begins the execute reader. Wrapper of the same function in SqlCommand.
| |
BeginExecuteReader(AsyncCallback, Object) |
Begins the execute reader. Wrapper of the same function in SqlCommand.
| |
BeginExecuteReader(AsyncCallback, Object, CommandBehavior) |
Begins the execute reader. Wrapper of the same function in SqlCommand.
| |
BeginExecuteXmlReader |
Begins the execute XML reader. Wrapper of the same function in SqlCommand.
| |
BeginExecuteXmlReader(AsyncCallback, Object) |
Begins the execute XML reader. Wrapper of the same function in SqlCommand.
| |
Cancel |
Attempts to cancels the execution of a SqlCommand.
(Overrides DbCommandCancel.) | |
Clone |
Clones this instance.
| |
CreateDbParameter |
Creates a new instance of a DbParameter object. Wrapper of the same function in SqlCommand.
(Overrides DbCommandCreateDbParameter.) | |
CreateParameter |
Creates the parameter. Wrapper of the same function in SqlCommand.
| |
EndExecuteNonQuery |
Ends the execute non query. Wrapper of the same function in SqlCommand.
| |
EndExecuteReader |
Ends the execute reader. Wrapper of the same function in SqlCommand.
| |
EndExecuteXmlReader |
Ends the execute XML reader. Wrapper of the same function in SqlCommand.
| |
ExecuteDbDataReader |
Executes the command text against the connection. Wrapper of the same function in SqlCommand.
(Overrides DbCommandExecuteDbDataReader(CommandBehavior).) | |
ExecuteNonQuery |
Executes a SQL statement against a connection object. Wrapper of the same function in SqlCommand.
(Overrides DbCommandExecuteNonQuery.) | |
ExecuteNonQueryAsync |
This is the asynchronous version of ExecuteNonQuery. Providers should override with an appropriate implementation.
The cancellation token may optionally be ignored.The default implementation invokes the synchronous ExecuteNonQuery method and returns
a completed task, blocking the calling thread. The default implementation will return a cancelled task if passed an already cancelled cancellation token.
Exceptions thrown by ExecuteNonQuery will be communicated via the returned Task Exception property.Do not invoke other methods and properties
of the DbCommand object until the returned Task is complete.
Wrapper of the same function in SqlCommand.
(Overrides DbCommandExecuteNonQueryAsync(CancellationToken).) | |
ExecuteReader |
Executes the reader. Wrapper of the same function in SqlCommand.
| |
ExecuteReader(CommandBehavior) |
Executes the reader. Wrapper of the same function in SqlCommand.
| |
ExecuteReaderAsync |
Executes the reader asynchronous. Wrapper of the same function in SqlCommand.
| |
ExecuteReaderAsync(CancellationToken) |
Executes the reader asynchronous. Wrapper of the same function in SqlCommand.
| |
ExecuteReaderAsync(CommandBehavior) |
Executes the reader asynchronous. Wrapper of the same function in SqlCommand.
| |
ExecuteReaderAsync(CommandBehavior, CancellationToken) |
Executes the reader asynchronous. Wrapper of the same function in SqlCommand.
| |
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.
Wrapper of the same function in SqlCommand.
(Overrides DbCommandExecuteScalar.) | |
ExecuteScalarAsync |
This is the asynchronous version of ExecuteScalar. Providers should override with an appropriate implementation.
The cancellation token may optionally be ignored.The default implementation invokes the synchronous ExecuteScalar method and returns a
completed task, blocking the calling thread. The default implementation will return a cancelled task if passed an already cancelled cancellation token. Exceptions thrown by ExecuteScalar will be
communicated via the returned Task Exception property.Do not invoke other methods and properties of the DbCommand object until the returned Task is complete.
Wrapper of the same function in SqlCommand.
(Overrides DbCommandExecuteScalarAsync(CancellationToken).) | |
ExecuteXmlReader |
Executes the XML reader. Wrapper of the same function in SqlCommand.
| |
ExecuteXmlReaderAsync |
Executes the XML reader asynchronous. Wrapper of the same function in SqlCommand.
| |
ExecuteXmlReaderAsync(CancellationToken) |
Executes the XML reader asynchronous. Wrapper of the same function in SqlCommand.
| |
Prepare |
Creates a prepared (or compiled) version of the command on the data source. Wrapper of the same function in SqlCommand.
(Overrides DbCommandPrepare.) | |
ResetCommandTimeout |
Resets the command timeout. Wrapper of the same function in SqlCommand.
|
Name | Description | |
---|---|---|
StatementCompleted |
Occurs when the execution of a Transact-SQL statement completes.
|