Method ExecuteScalar
- Namespace
- Open.Database.Extensions
- Assembly
- Open.Database.Extensions.Core.dll
ExecuteScalar()
Calls ExecuteScalar on the underlying command.
public object? ExecuteScalar()
Returns
- object
The value returned from the method.
ExecuteScalar<T>()
Calls ExecuteScalar on the underlying command.
public T ExecuteScalar<T>()
Returns
- T
The value returned from the method.
Type Parameters
TThe type expected.
ExecuteScalar<T>(Func<object?, T>)
Calls ExecuteScalar on the underlying command.
public T ExecuteScalar<T>(Func<object?, T> transform)
Parameters
Returns
- T
The value returned from the method.
Type Parameters
TThe type expected.