TableExpressionBase Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
[System.Diagnostics.DebuggerDisplay("{Microsoft.EntityFrameworkCore.Query.ExpressionPrinter.Print(this), nq}")]
public abstract class TableExpressionBase : System.Linq.Expressions.Expression, Microsoft.EntityFrameworkCore.Query.IPrintableExpression, Microsoft.EntityFrameworkCore.Query.IRelationalQuotableExpression
type TableExpressionBase = class
inherit Expression
interface IPrintableExpression
[<System.Diagnostics.DebuggerDisplay("{Microsoft.EntityFrameworkCore.Query.ExpressionPrinter.Print(this), nq}")>]
type TableExpressionBase = class
inherit Expression
interface IPrintableExpression
[<System.Diagnostics.DebuggerDisplay("{Microsoft.EntityFrameworkCore.Query.ExpressionPrinter.Print(this), nq}")>]
type TableExpressionBase = class
inherit Expression
interface IRelationalQuotableExpression
interface IPrintableExpression
Public MustInherit Class TableExpressionBase
Inherits Expression
Implements IPrintableExpression
Public MustInherit Class TableExpressionBase
Inherits Expression
Implements IPrintableExpression, IRelationalQuotableExpression
- Inheritance
-
TableExpressionBase
- Derived
- Attributes
- Implements
Constructors
TableExpressionBase(String, IEnumerable<IAnnotation>) |
Creates a new instance of the TableExpressionBase class. |
TableExpressionBase(String, IReadOnlyDictionary<String,IAnnotation>) |
Creates a new instance of the TableExpressionBase class. |
TableExpressionBase(String) |
Creates a new instance of the TableExpressionBase class. |
Properties
Alias |
The alias assigned to this table source. |
Annotations |
An indexed collection of annotations associated with this table expression. |
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. |
Clone(String, ExpressionVisitor) |
Creates a new object that is a copy of the current instance. |
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 |
GetAnnotations() |
Gets all annotations on the current object. |
GetHashCode() | System.Linq.Expressions.Expression.GetHashCode |
GetRequiredAlias() |
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. |
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. |
Quote() |
Quotes the expression; that is, returns an expression that, when evaluated, would construct an expression identical to this one. Used to generate code for precompiled queries, which reconstructs this expression. |
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. |
WithAlias(String) |
Returns a copy of the current TableExpressionBase with the new provided alias. |
WithAnnotations(IReadOnlyDictionary<String,IAnnotation>) |
Creates an object like this with specified annotations. |
Explicit Interface Implementations
IPrintableExpression.Print(ExpressionPrinter) |
Creates a printable string representation of the given expression using ExpressionPrinter. |
Extension Methods
UnwrapJoin(TableExpressionBase) |
If the given |
Applies to
Entity Framework