Mono Class Library: Overview

System.Data.SqlClient.SqlCommand: Members

The members of System.Data.SqlClient.SqlCommand are listed below.

See Also: Inherited members from System.Data.Common.DbCommand

Public Constructors

Initializes a new instance of the SqlCommand class.
Initializes a new instance of the SqlCommand class with a query specified.
Initializes a new instance of the SqlCommand class with a query and database connection specified.
Initializes a new instance of the SqlCommand class with a query, database connection, and database transaction specified.

Public Properties

override
CommandTextstring. Gets or sets a T-SQL statement or stored procedure to execute on a SQL Server database.
override
CommandTimeoutint. Gets or sets the amount of time the SqlConnection instance will attempt to execute before giving up.
override
CommandTypeSystem.Data.CommandType. Documentation for this section has not yet been entered.
ConnectionSqlConnection. The associated SqlConnection the SqlCommand will use to communicate with the SQL Server database.
override
DesignTimeVisiblebool. Documentation for this section has not yet been entered.
NotificationSystem.Data.Sql.SqlNotificationRequest. Documentation for this section has not yet been entered.
NotificationAutoEnlistbool. Documentation for this section has not yet been entered.
[read-only]
ParametersSqlParameterCollection. Gets the list of Parameters used when executing a command.
TransactionSqlTransaction. Documentation for this section has not yet been entered.
override
UpdatedRowSourceSystem.Data.UpdateRowSource. Documentation for this section has not yet been entered.

Protected Properties

override
DbConnectionSystem.Data.Common.DbConnection. Documentation for this section has not yet been entered.
[read-only]
override
DbParameterCollectionSystem.Data.Common.DbParameterCollection. Documentation for this section has not yet been entered.
override
DbTransactionSystem.Data.Common.DbTransaction. Documentation for this section has not yet been entered.

Public Methods

BeginExecuteNonQuery() : IAsyncResult
Documentation for this section has not yet been entered.
BeginExecuteNonQuery(AsyncCallback, object) : IAsyncResult
Documentation for this section has not yet been entered.
BeginExecuteReader() : IAsyncResult
Documentation for this section has not yet been entered.
BeginExecuteReader(System.Data.CommandBehavior) : IAsyncResult
Documentation for this section has not yet been entered.
BeginExecuteReader(AsyncCallback, object) : IAsyncResult
Documentation for this section has not yet been entered.
BeginExecuteReader(AsyncCallback, object, System.Data.CommandBehavior) : IAsyncResult
Documentation for this section has not yet been entered.
BeginExecuteXmlReader() : IAsyncResult
Documentation for this section has not yet been entered.
BeginExecuteXmlReader(AsyncCallback, object) : IAsyncResult
Documentation for this section has not yet been entered.
override
Cancel()
Attempts to cancel the execution of a command.
Clone() : SqlCommand
Documentation for this section has not yet been entered.
CreateParameter() : SqlParameter
Documentation for this section has not yet been entered.
EndExecuteNonQuery(IAsyncResult) : int
Documentation for this section has not yet been entered.
EndExecuteReader(IAsyncResult) : SqlDataReader
Documentation for this section has not yet been entered.
EndExecuteXmlReader(IAsyncResult) : System.Xml.XmlReader
Documentation for this section has not yet been entered.
override
ExecuteNonQuery() : int
Executes a T-SQL statement or stored procedure against the connection and returns the number of rows that were affected.
ExecuteReader() : SqlDataReader
Documentation for this section has not yet been entered.
ExecuteReader(System.Data.CommandBehavior) : SqlDataReader
Documentation for this section has not yet been entered.
override
ExecuteScalar() : object
Documentation for this section has not yet been entered.
ExecuteXmlReader() : System.Xml.XmlReader
Documentation for this section has not yet been entered.
override
Prepare()
Documentation for this section has not yet been entered.
ResetCommandTimeout()
Documentation for this section has not yet been entered.

Protected Methods

override
CreateDbParameter() : System.Data.Common.DbParameter
Documentation for this section has not yet been entered.
override
Dispose(bool)
Documentation for this section has not yet been entered.
override
ExecuteDbDataReader(System.Data.CommandBehavior) : System.Data.Common.DbDataReader
Documentation for this section has not yet been entered.

Public Events

StatementCompletedDocumentation for this section has not yet been entered.

Explicitly Implemented Interface Members

ICloneable.CloneDocumentation for this section has not yet been entered.
System.Data.IDbCommand.ConnectionSystem.Data.IDbConnection. Documentation for this section has not yet been entered.
System.Data.IDbCommand.CreateParameterDocumentation for this section has not yet been entered.
System.Data.IDbCommand.ExecuteReaderDocumentation for this section has not yet been entered.
System.Data.IDbCommand.ExecuteReaderDocumentation for this section has not yet been entered.
[read-only]
System.Data.IDbCommand.ParametersSystem.Data.IDataParameterCollection. Documentation for this section has not yet been entered.
System.Data.IDbCommand.TransactionSystem.Data.IDbTransaction. Documentation for this section has not yet been entered.