Method ExecuteReturnAsync
- Namespace
- Open.Database.Extensions
- Assembly
- Open.Database.Extensions.Core.dll
ExecuteReturnAsync()
Calls ExecuteNonQueryAsync on the underlying command but sets up a return parameter and returns that value.
public ValueTask<object?> ExecuteReturnAsync()
Returns
ExecuteReturnAsync<T>()
Calls ExecuteNonQueryAsync on the underlying command but sets up a return parameter and returns that value.
public ValueTask<T> ExecuteReturnAsync<T>()
Returns
- ValueTask<T>
The value from the return parameter.
Type Parameters
T