See Also

DbCommandBase Class  | Devart.Common Namespace  | DbCommand

See AlsoDevart.DataSend comments on this topic.

DbCommandBase Class Members

Devart.Common Namespace : DbCommandBase Class

DbCommandBase overview

Public Properties

Public Property CommandTextOverridden. Gets or sets the SQL statement to execute against a database.
Public Property CommandTimeoutOverridden. Gets or sets the wait time before terminating an attempt to execute a command and generating an error.
Public Property CommandTypeOverridden. Gets or sets a value indicating how the CommandText property is to be interpreted.
Public Property Connection (Inherited from System.Data.Common.DbCommand)Gets or sets the DbConnection used by this DbCommand.
Public Property Container (Inherited from System.ComponentModel.Component)Gets the IContainer that contains the Component.
Public Property OwnerGets or sets a form or other container that the DbCommandBase instance belongs to.
Public Property ParameterCheckGets or sets a value indicating whether the command object regenerates parameter objects if text of the command is changed.
Public Property Parameters (Inherited from System.Data.Common.DbCommand)Gets the collection of DbParameter objects.
Public Property Site (Inherited from System.ComponentModel.Component)Gets or sets the ISite of the Component.
Public Property Transaction (Inherited from System.Data.Common.DbCommand)Gets or sets the DbTransaction within which this DbCommand object executes.
Public Property UpdatedRowSourceOverridden. Gets or sets how command results are applied to the DataRow when used by the Update method of the DbDataAdapter.

Public Methods

Public Method BeginExecuteNonQueryOverloaded. Starts an asynchronous invocation of an ExecuteNonQuery method.
Public Method BeginExecuteReaderOverloaded. Starts an asynchronous invocation of an ExecuteReader method.
Public Method CancelOverridden. Attempts to cancel the execution of a query currently running.
Public Method CreateObjRef (Inherited from System.MarshalByRefObject)Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
Public Method CreateParameter (Inherited from System.Data.Common.DbCommand)Creates a new instance of a DbParameter object.
Public Method Dispose (Inherited from System.ComponentModel.Component)Releases all resources used by the Component.
Public Method EndExecuteNonQueryEnds an asynchronous invocation of the ExecuteNonQuery method.
Public Method EndExecuteReaderEnds an asynchronous invocation of the ExecuteReader method.
Public Method ExecuteNonQueryOverridden. Executes SQL statement against the Connection and returns the number of rows affected.
Public Method ExecutePageReaderReturns a specific subset of rows when paging through the results of a query.
Public Method ExecuteReader (Inherited from System.Data.Common.DbCommand)Overloaded. Executes the CommandText against the Connection, and returns an DbDataReader.
Public Method ExecuteScalarOverridden. 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.
Public Method GetLifetimeService (Inherited from System.MarshalByRefObject)Retrieves the current lifetime service object that controls the lifetime policy for this instance.
Public Method GetRecordCountReturns count of records in the resultset.
Public Method InitializeLifetimeService (Inherited from System.MarshalByRefObject)Obtains a lifetime service object to control the lifetime policy for this instance.
Public Method PrepareOverridden. Creates a prepared (or compiled) version of the command on the server.
Public Method ResetCommandTimeoutResets CommandTimeout to its default value.
Public Method ToString (Inherited from System.ComponentModel.Component)Returns a String containing the name of the Component, if any. This method should not be overridden.

Public Events

Public Event Disposed (Inherited from System.ComponentModel.Component)Occurs when the component is disposed by a call to the Dispose method.

See Also

DbCommandBase Class  | Devart.Common Namespace  | DbCommand

 

 


© 2002 - 2013 Devart. All Rights Reserved.