SqlClient CommandType Property Nemiro.Data.dll
Command type for CommandText. Default value Auto, unless otherwise specified in the parameter NeData:Sql:CommandType of configuration file.

Namespace: Nemiro.Data.Sql
Assembly: Nemiro.Data (in Nemiro.Data.dll) Version: 2.11.4.126 (2.11.4.126)
Syntax

public TypeCommand CommandType { get; set; }

Property Value

Type: TypeCommand
Examples

using (SqlClient client = new SqlClient())
{
  client.CommandType = TypeCommand.StoredProcedure;
  client.CommandText = "MyProcedure";
  client.ExecuteNonQuery();
}
See Also