AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

SQL..::..ExecuteScalar Method (String, Dictionary<(Of <(<'Int32, Parameter>)>)>)

Executes a scalar query against the database.

Namespace:  AdvantageCMS.Data
Assembly:  AdvantageCMS.Data (in AdvantageCMS.Data.dll)

Syntax


public Object ExecuteScalar(
	string commandName,
	Dictionary<int, Parameter> parameters
)

Parameters

commandName
Type: String
The Command to execute.
parameters
Type: Dictionary<(Of <(<'Int32, Parameter>)>)>
The parameters.

Return Value

The first row, first column value.