Name | Description | |
---|---|---|
DefaultCommandTimeout | Gets or sets the default timeout for all commands. |
The following tables list the members exposed by DbCommandBase.
Name | Description | |
---|---|---|
DefaultCommandTimeout | Gets or sets the default timeout for all commands. |
Name | Description | |
---|---|---|
CommandText | Overridden. Gets or sets the SQL statement to execute against a data source. | |
CommandTimeout | Overridden. Gets or sets the wait time before terminating an attempt to execute a command and generating an error. Note that it is the time to wait for any server reply since the command was sent to a server, and it doesn't include the time necessary to fetch data if the command selects some data. | |
CommandType | Overridden. Gets or sets a value indicating how the CommandText property is to be interpreted. | |
Connection | Gets or sets the System.Data.Common.DbConnection used by this System.Data.Common.DbCommand. (Inherited from System.Data.Common.DbCommand) | |
Container | Gets the System.ComponentModel.IContainer that contains the System.ComponentModel.Component. (Inherited from System.ComponentModel.Component) | |
Owner | Gets or sets a form or other container that the DbCommandBase instance belongs to. | |
ParameterCheck | Gets or sets a value indicating whether the command object regenerates parameter objects if text of the command is changed. | |
Parameters | Gets the collection of System.Data.Common.DbParameter objects. For more information on parameters, see Configuring Parameters and Parameter Data Types. (Inherited from System.Data.Common.DbCommand) | |
Site | Gets or sets the System.ComponentModel.ISite of the System.ComponentModel.Component. (Inherited from System.ComponentModel.Component) | |
Transaction | Gets or sets the System.Data.Common.DbTransaction within which this System.Data.Common.DbCommand object executes. (Inherited from System.Data.Common.DbCommand) | |
UpdatedRowSource | Overridden. Gets or sets how command results are applied to the System.Data.DataRow when used by the System.Data.Common.DbDataAdapter.Update(System.Data.DataSet) method of the System.Data.Common.DbDataAdapter. |
Name | Description | |
---|---|---|
BeginExecuteNonQuery | Overloaded. Starts an asynchronous invocation of an ExecuteNonQuery method. | |
BeginExecuteReader | Overloaded. Starts an asynchronous invocation of an System.Data.Common.DbCommand.ExecuteReader method. | |
Cancel | Overridden. Attempts to cancel the execution of a query currently running. | |
CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from System.MarshalByRefObject) | |
CreateParameter | Creates a new instance of a System.Data.Common.DbParameter object. (Inherited from System.Data.Common.DbCommand) | |
Dispose() | Releases all resources used by the System.ComponentModel.Component. (Inherited from System.ComponentModel.Component) | |
EndExecuteNonQuery | Ends an asynchronous invocation of the ExecuteNonQuery method. | |
EndExecuteReader | Ends an asynchronous invocation of the System.Data.Common.DbCommandBase.ExecuteReader method. | |
ExecuteNonQuery | Overridden. Executes SQL statement against the System.Data.Common.DbCommand.Connection and returns the number of rows affected. | |
ExecutePageReader | Returns a specific subset of rows when paging through the results of a query. | |
ExecuteReader | Overloaded. Executes the System.Data.Common.DbCommand.CommandText against the System.Data.Common.DbCommand.Connection, and returns an System.Data.Common.DbDataReader. (Inherited from System.Data.Common.DbCommand) | |
ExecuteScalar | Overridden. Executes the query, and returns the first column of the first row in the result set returned by the query. Extra columns or rows are ignored. | |
GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from System.MarshalByRefObject) | |
GetRecordCount | Returns count of records in the resultset. | |
InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from System.MarshalByRefObject) | |
Prepare | Overridden. Creates a prepared (or compiled) version of the command on the server. | |
PrepareCore | ||
ResetCommandTimeout | Resets CommandTimeout to its default value, which is taken from DefaultCommandTimeout. | |
ToString | Returns a System.String containing the name of the System.ComponentModel.Component, if any. This method should not be overridden. (Inherited from System.ComponentModel.Component) |
Name | Description | |
---|---|---|
Disposed | Occurs when the component is disposed by a call to the System.ComponentModel.Component.Dispose method. (Inherited from System.ComponentModel.Component) |