Struct UnboundCall<T>
- Namespace
- Open.Database.Extensions
- Assembly
- Open.Database.Extensions.Core.dll
The parameters of a MappedDbQuery<T>, added before it has a source.
It has no terminals: it cannot be read until Using gives it a source.
public readonly struct UnboundCall<T>
Type Parameters
TThe type each row is mapped to.
- Inherited Members
Methods
- AddParam(string, string?)
Adds a named parameter before the source is known.
- AddParam<TValue>(string, TValue)
Adds a named parameter before the source is known.
- AddParam<TValue>(TValue, string?)
Adds a parameter whose name is derived from the argument's expression, before the source is known.
- AddParams<TValues>(TValues)
Adds the members of an object as parameters, before the source is known.
- Using(DbConnection)
Gives the parameters a connection the caller owns.
- Using(DbTransaction)
Gives the parameters a transaction the caller owns.
- Using<TConnection>(IDbConnectionFactory<TConnection>)
Gives the parameters a connection made by a factory.
- Using<TConnection>(IDbConnectionPool<TConnection>)
Gives the parameters a connection taken from a pool.