Table of Contents

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

Dialect SqlDialect

SQL dialect that this expression is associated with.

ResultType Type

Value type.

Expression ISqlAsyncScalarQueryLambdaExpression

Underlying compilable expression.

Properties

Dialect

SQL dialect that this expression is associated with.

public SqlDialect Dialect { get; init; }

Property Value

SqlDialect

Expression

Underlying compilable expression.

public ISqlAsyncScalarQueryLambdaExpression Expression { get; init; }

Property Value

ISqlAsyncScalarQueryLambdaExpression

ResultType

Value type.

public Type ResultType { get; init; }

Property Value

Type