AdvantageCMS.Core.Common.BaseClasses Namespace
Advantage CSP

IDAO..::..ExecuteScalar Method (String, IDataAccessable)

a method that will execute a stored procedure in the database that has a single cell returned.

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

Syntax


Object ExecuteScalar(
	string commandName,
	IDataAccessable dataObject
)

Parameters

commandName
Type: String
The name of the stored procedure to execute.
dataObject
Type: AdvantageCMS.Data.Interfaces..::..IDataAccessable
The business entity that will contain the parameters for the stored procedure.

Return Value

System.Object.