Udostępnij za pośrednictwem


SqlNullabilityProcessor.Visit Method

Definition

Overloads

Visit(SqlExpression, Boolean, Boolean)

Visits a SqlExpression and computes its nullability.

Visit(SelectExpression, Boolean)

Visits a SelectExpression.

Visit(SqlExpression, Boolean)

Visits a SqlExpression and computes its nullability.

Visit(SelectExpression)

Visits a SelectExpression.

Visit(TableExpressionBase)

Visits a TableExpressionBase.

Visit(SqlExpression, Boolean, Boolean)

Source:
SqlNullabilityProcessor.cs
Source:
SqlNullabilityProcessor.cs
Source:
SqlNullabilityProcessor.cs
Source:
SqlNullabilityProcessor.cs
Source:
SqlNullabilityProcessor.cs

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

Visit(SelectExpression, Boolean)

Source:
SqlNullabilityProcessor.cs

Visits a SelectExpression.

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

Parameters

selectExpression
SelectExpression

A select expression to visit.

visitProjection
Boolean

Allows skipping visiting the projection, for when it will be visited outside.

Returns

An optimized select expression.

Applies to

Visit(SqlExpression, Boolean)

Source:
SqlNullabilityProcessor.cs
Source:
SqlNullabilityProcessor.cs
Source:
SqlNullabilityProcessor.cs
Source:
SqlNullabilityProcessor.cs
Source:
SqlNullabilityProcessor.cs

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(SelectExpression)

Source:
SqlNullabilityProcessor.cs
Source:
SqlNullabilityProcessor.cs
Source:
SqlNullabilityProcessor.cs
Source:
SqlNullabilityProcessor.cs
Source:
SqlNullabilityProcessor.cs

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)

Source:
SqlNullabilityProcessor.cs
Source:
SqlNullabilityProcessor.cs
Source:
SqlNullabilityProcessor.cs
Source:
SqlNullabilityProcessor.cs
Source:
SqlNullabilityProcessor.cs
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