Skip to content

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 MJCZone.DapperMatic.Models.DmCommand class.

csharp
DmCommand()

DmCommand ​

Initializes a new instance of the MJCZone.DapperMatic.Models.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
void GetType()

ToString ​

csharp
void ToString()

Equals ​

csharp
void Equals()

GetHashCode ​

csharp
void 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?>?