TableExpressionBase Class

Definition

An expression that represents a table source in a SQL tree.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

public abstract class TableExpressionBase : System.Linq.Expressions.Expression, Microsoft.EntityFrameworkCore.Query.IPrintableExpression
[System.Diagnostics.DebuggerDisplay("{Microsoft.EntityFrameworkCore.Query.ExpressionPrinter.Print(this), nq}")]
public abstract class TableExpressionBase : System.Linq.Expressions.Expression, Microsoft.EntityFrameworkCore.Query.IPrintableExpression
type TableExpressionBase = class
    inherit Expression
    interface IPrintableExpression
[<System.Diagnostics.DebuggerDisplay("{Microsoft.EntityFrameworkCore.Query.ExpressionPrinter.Print(this), nq}")>]
type TableExpressionBase = class
    inherit Expression
    interface IPrintableExpression
Public MustInherit Class TableExpressionBase
Inherits Expression
Implements IPrintableExpression
Inheritance
TableExpressionBase
Derived
Attributes
Implements

Constructors

TableExpressionBase(String)

Creates a new instance of the TableExpressionBase class.

TableExpressionBase(String, IEnumerable<IAnnotation>)

Creates a new instance of the TableExpressionBase class.

Properties

Alias

The alias assigned to this table source.

NodeType

Gets the node type of this Expression.

Type

Gets the static type of the expression that this Expression represents.

Methods

AddAnnotation(String, Object)

Adds an annotation to this object. Throws if an annotation with the specified name already exists.

CreateWithAnnotations(IEnumerable<IAnnotation>)

Creates an object like this with specified annotations.

Equals(Object) System.Linq.Expressions.Expression.Equals(System.Object)
FindAnnotation(String)

Gets the annotation with the given name, returning null if it does not exist.

GetAnnotations()

Gets all annotations on the current object.

GetHashCode() System.Linq.Expressions.Expression.GetHashCode
Print(ExpressionPrinter)

Creates a printable string representation of the given expression using ExpressionPrinter.

PrintAnnotations(ExpressionPrinter)

Creates a printable string representation of annotations associated with the given expression using ExpressionPrinter.

VisitChildren(ExpressionVisitor)

Reduces the node and then calls the visitor delegate on the reduced expression. The method throws an exception if the node is not reducible.

Explicit Interface Implementations

IPrintableExpression.Print(ExpressionPrinter)

Creates a printable string representation of the given expression using ExpressionPrinter.

Extension Methods

UnwrapJoin(TableExpressionBase)

If the given table is a JoinExpressionBase, returns the table it joins to. Otherwise, returns table.

Applies to