Click or drag to resize

IDatabaseExecuteScalar Method

Executes a single command.

Namespace:  EBP.Api.Interfaces.Database
Assembly:  EBP.Api.Common (in EBP.Api.Common.dll) Version: 1.0.2835.45 (1.0.2835.45)
Syntax
Object ExecuteScalar(
	string sqlQuery
)

Parameters

sqlQuery
Type: SystemString
Sql query to execute

Return Value

Type: Object
the result of the single command execution; null if no record found; DBNull if result contains a DBNull value
See Also