IDatabaseExecuteScalar 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 Object ExecuteScalar(
string sql,
string logSource
)
Function ExecuteScalar (
sql As String,
logSource As String
) As Object
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:
ObjectThe resulting item, if any.
See Also