Struct SqlQueryReaderExpression<TRow>
- Namespace
- LfrlAnvil.Sql.Statements
- Assembly
- LfrlAnvil.Sql.Core.dll
Represents a generic prepared query reader expression.
public readonly struct SqlQueryReaderExpression<TRow> where TRow : notnull
Type Parameters
TRow
Row 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, SqlQueryReaderOptions, SqlQueryResult<TRow>>> Expression { get; }
Property Value
Methods
Compile()
Compiles this expression.
[Pure]
public SqlQueryReader<TRow> Compile()
Returns
- SqlQueryReader<TRow>
New SqlQueryReader<TRow> instance.