Mimer Data Provider v9.2

MimerCommand Members

MimerCommand overview

Public Instance Constructors

MimerCommandOverloaded. Initializes a new instance of the MimerCommand class.

Public Instance Properties

CommandText Gets or sets the SQL statement to execute at the data source.
CommandTimeout Gets or sets the timeout value to wait for a command to complete. After the selected time an error is generated.
CommandType Specifies how a command string is interpreted.
Connection Gets or sets the MimerConnection used by this instance of the MimerCommand.
Container (inherited from Component) Gets the IContainer that contains the Component.
DesignTimeVisible Gets or sets a value indicating whether the command object should be visible in a customized interface control.
Parameters Gets the current MimerParameterCollection. Each parameter is represented by one entry in the collection.
Site (inherited from Component) Gets or sets the ISite of the Component.
Transaction Gets or sets the MimerTransaction within which the MimerCommand executes.
UpdatedRowSource Gets or sets how command results are applied to the DataRow when used by the Update method of the IDbDataAdapter.

Public Instance Methods

Cancel Attempts to cancel the execution of an MimerCommand.
CreateObjRef (inherited from MarshalByRefObject)Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
CreateParameter Creates a new instance of an MimerParameter object.
Dispose (inherited from Component) Releases all resources used by the Component.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
ExecuteNonQuery Executes the current SQL statement using the current connection and returns the number of rows affected.
ExecuteReaderOverloaded. Sends the CommandText to the Connection and returns an MimerDataReader.
ExecuteScalar Executes the query, and returns the first column of the first row in the result set returned by the query. Note that extra columns and/or rows are ignored.
GetHashCode (inherited from Object)Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetLifetimeService (inherited from MarshalByRefObject)Retrieves the current lifetime service object that controls the lifetime policy for this instance.
GetType (inherited from Object)Gets the Type of the current instance.
InitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
Prepare Prepares (compiles) the SQL statement specified in the CommandText.
ResetCommandTimeOut Reset the current command timeout value to its default value (30 seconds).
ToString (inherited from Component) 

Public Instance Events

Disposed (inherited from Component)Adds an event handler to listen to the Disposed event on the component.

See Also

MimerCommand Class | Mimer.Data.Client Namespace