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
- DialectSqlDialect
- SQL dialect that this expression is associated with. 
- ResultTypeType
- Value type. 
- ExpressionLambdaExpression
- Underlying 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; }