SqlNullabilityProcessor.Visit Method

Definition

Overloads

Visit(SelectExpression)

Visits a SelectExpression.

Visit(TableExpressionBase)

Visits a TableExpressionBase.

Visit(SqlExpression, Boolean)

Visits a SqlExpression and computes its nullability.

Visit(SqlExpression, Boolean, Boolean)

Visits a SqlExpression and computes its nullability.

Visit(SelectExpression)

Visits a SelectExpression.

protected virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression Visit (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression selectExpression);
abstract member Visit : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression
override this.Visit : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression
Protected Overridable Function Visit (selectExpression As SelectExpression) As SelectExpression

Parameters

selectExpression
SelectExpression

A select expression to visit.

Returns

An optimized select expression.

Applies to

Visit(TableExpressionBase)

protected virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.TableExpressionBase Visit (Microsoft.EntityFrameworkCore.Query.SqlExpressions.TableExpressionBase tableExpressionBase);
abstract member Visit : Microsoft.EntityFrameworkCore.Query.SqlExpressions.TableExpressionBase -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.TableExpressionBase
override this.Visit : Microsoft.EntityFrameworkCore.Query.SqlExpressions.TableExpressionBase -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.TableExpressionBase
Protected Overridable Function Visit (tableExpressionBase As TableExpressionBase) As TableExpressionBase

Parameters

tableExpressionBase
TableExpressionBase

A table expression base to visit.

Returns

An optimized table expression base.

Applies to

Visit(SqlExpression, Boolean)

Visits a SqlExpression and computes its nullability.

protected virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression Visit (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression sqlExpression, out bool nullable);
protected virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression? Visit (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression? sqlExpression, out bool nullable);
abstract member Visit : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * bool -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
override this.Visit : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * bool -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
Protected Overridable Function Visit (sqlExpression As SqlExpression, ByRef nullable As Boolean) As SqlExpression

Parameters

sqlExpression
SqlExpression

A sql expression to visit.

nullable
Boolean

A bool value indicating whether the sql expression is nullable.

Returns

An optimized sql expression.

Applies to

Visit(SqlExpression, Boolean, Boolean)

Visits a SqlExpression and computes its nullability.

protected virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression Visit (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression sqlExpression, bool allowOptimizedExpansion, out bool nullable);
protected virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression? Visit (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression? sqlExpression, bool allowOptimizedExpansion, out bool nullable);
abstract member Visit : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * bool * bool -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
override this.Visit : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * bool * bool -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
Protected Overridable Function Visit (sqlExpression As SqlExpression, allowOptimizedExpansion As Boolean, ByRef nullable As Boolean) As SqlExpression

Parameters

sqlExpression
SqlExpression

A sql expression to visit.

allowOptimizedExpansion
Boolean

A bool value indicating if optimized expansion which considers null value as false value is allowed.

nullable
Boolean

A bool value indicating whether the sql expression is nullable.

Returns

An optimized sql expression.

Applies to