ExecuteScalarTo(SqlConnection, string, SqlParameter[], CommandType) Method

A SqlConnection extension method that executes the scalar operation.
Namespace: Z.Data.Extensions
Assembly: Z.ExtensionMethods.WithNamespace.dll

Syntax

public static T ExecuteScalarTo(this SqlConnection this, string cmdText, SqlParameter[] parameters, CommandType commandType)

Parameters

this
Type:  SqlConnection
The @this to act on.
cmdText
Type:  String
The command text.
parameters
Type:  SqlParameter[]
Options for controlling the operation.
commandType
Type:  CommandType
Type of the command.

Return Value

Type:  T
Powered by ZZZ Projects .NET Documentation Generator 0.0.2 (Alpha)