Struct SqlScalarQueryReaderExpression<T>
- Namespace
- LfrlAnvil.Sql.Statements
- Assembly
- LfrlAnvil.Sql.Core.dll
Represents a generic prepared scalar query reader expression.
public readonly struct SqlScalarQueryReaderExpression<T>
Type Parameters
T
Value type.
- Inherited Members
Properties
Dialect
SQL dialect that this expression is associated with.
public SqlDialect Dialect { get; }
Property Value
Expression
Underlying compilable expression.
public Expression<Func<IDataReader, SqlScalarQueryResult<T>>> Expression { get; }
Property Value
Methods
Compile()
Compiles this expression.
[Pure]
public SqlScalarQueryReader<T> Compile()
Returns
- SqlScalarQueryReader<T>
New SqlScalarQueryReader<T> instance.