Table of Contents

Class TableExpression

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

An expression that represents a table or view in a SQL tree.

This is a simple wrapper around a table and schema name. Instances of this type cannot be constructed by application or database provider code. If this is a problem for your application or provider, then please file an issue at https://github.com/dotnet/efcore.

public sealed class TableExpression : TableExpressionBase, IPrintableExpression
Inheritance
TableExpression
Implements
IPrintableExpression
Inherited Members

Properties

Name

The name of the table or view.

public string Name { get; }

Property Value

string

Schema

The schema of the table or view.

public string Schema { get; }

Property Value

string

Table

The ITableBase associated with this table or view.

public ITableBase Table { get; }

Property Value

ITableBase

Methods

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

Print(ExpressionPrinter)

protected override void Print(ExpressionPrinter expressionPrinter)

Parameters

expressionPrinter ExpressionPrinter