Struct SqlScalarQueryReaderExpression
- Namespace
- LfrlAnvil.Sql.Statements
- Assembly
- LfrlAnvil.Sql.Core.dll
Represents a type-erased prepared scalar query reader expression.
public readonly record struct SqlScalarQueryReaderExpression : IEquatable<SqlScalarQueryReaderExpression>
- Implements
- Inherited Members
Constructors
SqlScalarQueryReaderExpression(SqlDialect, Type, LambdaExpression)
Represents a type-erased prepared scalar query reader expression.
public SqlScalarQueryReaderExpression(SqlDialect Dialect, Type ResultType, LambdaExpression Expression)
Parameters
Dialect
SqlDialectSQL dialect that this expression is associated with.
ResultType
TypeValue type.
Expression
LambdaExpressionUnderlying compilable expression.
Properties
Dialect
SQL dialect that this expression is associated with.
public SqlDialect Dialect { get; init; }
Property Value
Expression
Underlying compilable expression.
public LambdaExpression Expression { get; init; }
Property Value
ResultType
Value type.
public Type ResultType { get; init; }