Click or drag to resize

DatabaseExecuteScalar Method (String, String)

Execute a scalar SQL statement (a statement that returns a single item).

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public Object ExecuteScalar(
	string sql,
	string logSource
)

Parameters

sql
Type: SystemString
The SQL to execute.
logSource
Type: SystemString
The source of the operation, to be logged to the devlog.

Return Value

Type: Object
The resulting item, if any.

Implements

IDatabaseExecuteScalar(String, String)
See Also