Share via


RelationalCommand.ExecuteScalar(RelationalCommandParameterObject) Method

Definition

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.

Implements

Applies to