 | 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)
SyntaxObject ExecuteScalar(
string sqlQuery
)
Function ExecuteScalar (
sqlQuery As String
) As Object
Parameters
- sqlQuery
- Type: SystemString
Sql query to execute
Return Value
Type:
Objectthe result of the single command execution; null if no record found; DBNull if result contains a DBNull value
See Also