Table of Contents

Class TableExpressionBase

Namespace
Microsoft.EntityFrameworkCore.Query.SqlExpressions
Assembly
Microsoft.EntityFrameworkCore.Relational.dll

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 : Expression, IPrintableExpression
Inheritance
TableExpressionBase
Implements
IPrintableExpression
Derived
Inherited Members

Constructors

TableExpressionBase(string)

Creates a new instance of the TableExpressionBase class.

protected TableExpressionBase(string alias)

Parameters

alias string

A string alias for the table source.

Properties

Alias

The alias assigned to this table source.

public virtual string Alias { get; }

Property Value

string

NodeType

public override sealed ExpressionType NodeType { get; }

Property Value

ExpressionType

Type

public override Type Type { get; }

Property Value

Type

Methods

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

Print(ExpressionPrinter)

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

protected abstract void Print(ExpressionPrinter expressionPrinter)

Parameters

expressionPrinter ExpressionPrinter

The expression printer to use.

VisitChildren(ExpressionVisitor)

protected override Expression VisitChildren(ExpressionVisitor visitor)

Parameters

visitor ExpressionVisitor

Returns

Expression