This class is used to execute an SQL statement for a specific connection.
For a list of all members of this type, see MimerCommand Members.
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
Mimer.Data.Client.MimerCommand
[Visual Basic] NotInheritable Public Class MimerCommand Inherits Component Implements IDbCommand, ICloneable [C#] public sealed class MimerCommand : Component, IDbCommand, ICloneable [C++] public __gc __sealed class MimerCommand : public Component, IDbCommand, ICloneable [JScript] public class MimerCommand extends Component, IDbCommand, ICloneable
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
A MimerCommand is used by setting the CommandText (and possibly CommandType) properties. Depending on the type of statement entered one of the three of the following methods are used:
| Method | Description |
|---|---|
| ExecuteNonQuery | Used for SQL statements that do not return a result, for example INSERT, UPDATE, and DELETE statements. |
| ExecuteReader | Used for select statements and procedure calls that return a result set. |
| ExecuteScalar | Used for select statements that return a single value. |
Namespace: Mimer.Data.Client
Assembly: Mimer.Data.Client (in Mimer.Data.Client.dll)
MimerCommand Members | Mimer.Data.Client Namespace