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
aliasstringA string alias for the table source.
Properties
Alias
The alias assigned to this table source.
public virtual string Alias { get; }
Property Value
NodeType
public override sealed ExpressionType NodeType { get; }
Property Value
Type
public override Type Type { get; }
Property Value
Methods
Equals(object)
public override bool Equals(object obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
Print(ExpressionPrinter)
Creates a printable string representation of the given expression using Microsoft.EntityFrameworkCore.Query.ExpressionPrinter.
protected abstract void Print(ExpressionPrinter expressionPrinter)
Parameters
expressionPrinterExpressionPrinterThe expression printer to use.
VisitChildren(ExpressionVisitor)
protected override Expression VisitChildren(ExpressionVisitor visitor)
Parameters
visitorExpressionVisitor