RelationalCommand.ExecuteScalar(RelationalCommandParameterObject) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Executes the command with a single scalar result.
public virtual object? ExecuteScalar(Microsoft.EntityFrameworkCore.Storage.RelationalCommandParameterObject parameterObject);
public virtual object ExecuteScalar(Microsoft.EntityFrameworkCore.Storage.RelationalCommandParameterObject parameterObject);
abstract member ExecuteScalar : Microsoft.EntityFrameworkCore.Storage.RelationalCommandParameterObject -> obj
override this.ExecuteScalar : Microsoft.EntityFrameworkCore.Storage.RelationalCommandParameterObject -> obj
Public Overridable Function ExecuteScalar (parameterObject As RelationalCommandParameterObject) As Object
Parameters
- parameterObject
- RelationalCommandParameterObject
Parameters for this method.
Returns
The result of the command.