Table of Contents

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 SqlDialect

SQL dialect that this expression is associated with.

ResultType Type

Value type.

Expression LambdaExpression

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 LambdaExpression Expression { get; init; }

Property Value

LambdaExpression

ResultType

Value type.

public Type ResultType { get; init; }

Property Value

Type