Share via


SqlTreePruner.CurrentTableAlias Property

Definition

When visiting a nested TableExpressionBase (e.g. a select within a set operation), this holds the table alias of the top-most table (the one which has the alias referenced by columns). This is needed in order to properly prune the projection of such nested selects, which don't themselves have an alias.

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
protected virtual string? CurrentTableAlias { get; set; }
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
member this.CurrentTableAlias : string with get, set
Protected Overridable Property CurrentTableAlias As String

Property Value

Attributes

Remarks

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

Applies to