DmCommand
Namespace: MJCZone.DapperMatic.Models
Assembly: MJCZone.DapperMatic
Summary
Represents a SQL command with its associated parameters.
public
Contents
Constructors (2) | Methods (4) | Properties (2)
Constructors
DmCommand
Initializes a new instance of the DmCommand class.
csharp
DmCommand()DmCommand
Initializes a new instance of the DmCommand class with the specified SQL command text and parameters.
csharp
DmCommand(string sql, string parameters)Parameters
- sql (string) - The SQL command text.
- parameters (string) - The parameters for the SQL command.
Methods
GetType
csharp
GetType()ToString
csharp
ToString()Equals
csharp
Equals()GetHashCode
csharp
GetHashCode()Properties
Sql
Gets or sets the SQL command text.
Type: string?
Parameters
Gets or sets the parameters for the SQL command.
Type: IDictionary<string, object?>?