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