Class BoundCallExtensions
- Namespace
- Open.Database.Extensions
- Assembly
- Open.Database.Extensions.Core.dll
The terminals of a BoundCall<TKind>: a scalar call has
ExecuteScalarAsync, a write has ExecuteNonQueryAsync.
public static class BoundCallExtensions
- Inheritance
-
BoundCallExtensions
- Inherited Members
Methods
- ExecuteNonQueryAsync(BoundCall<NonQueryKind>, CancellationToken)
Runs the write and returns the number of rows affected.
- ExecuteScalarAsync<T>(BoundCall<ScalarKind<T>>, CancellationToken)
Runs the query and returns the first column of the first row, converted as
Map<T>()converts a column.