Executes the query, and returns the first column of the first row in the result set returned by the query. Additional columns or rows are ignored.
Namespace:
Aspectize.CoreAssembly: AspectizeDAL (in AspectizeDAL.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
| C# |
|---|
Object ExecuteScalarSQL( string sql, params Object[] parameters ) |
| Visual Basic (Declaration) |
|---|
Function ExecuteScalarSQL ( _ sql As String, _ ParamArray parameters As Object() _ ) As Object |
Parameters
- sql
- Type: System..::.String
The custom SQL parameterized Query string.
- parameters
- Type: array<
System..::.Object
>[]()[]
The array of parameters to be passed to the command.