TableExpression 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 or view in a SQL tree.
public class TableExpression : Microsoft.EntityFrameworkCore.Query.SqlExpressions.TableExpressionBase
public sealed class TableExpression : Microsoft.EntityFrameworkCore.Query.SqlExpressions.TableExpressionBase
public sealed class TableExpression : Microsoft.EntityFrameworkCore.Query.SqlExpressions.TableExpressionBase, Microsoft.EntityFrameworkCore.Query.SqlExpressions.IClonableTableExpressionBase
public sealed class TableExpression : Microsoft.EntityFrameworkCore.Query.SqlExpressions.TableExpressionBase, Microsoft.EntityFrameworkCore.Query.SqlExpressions.IClonableTableExpressionBase, Microsoft.EntityFrameworkCore.Query.SqlExpressions.ITableBasedExpression
public sealed class TableExpression : Microsoft.EntityFrameworkCore.Query.SqlExpressions.TableExpressionBase, Microsoft.EntityFrameworkCore.Query.SqlExpressions.ITableBasedExpression
type TableExpression = class
inherit TableExpressionBase
type TableExpression = class
inherit TableExpressionBase
interface IClonableTableExpressionBase
type TableExpression = class
inherit TableExpressionBase
interface IClonableTableExpressionBase
interface ITableBasedExpression
type TableExpression = class
inherit TableExpressionBase
interface ITableBasedExpression
Public Class TableExpression
Inherits TableExpressionBase
Public NotInheritable Class TableExpression
Inherits TableExpressionBase
Public NotInheritable Class TableExpression
Inherits TableExpressionBase
Implements IClonableTableExpressionBase
Public NotInheritable Class TableExpression
Inherits TableExpressionBase
Implements IClonableTableExpressionBase, ITableBasedExpression
Public NotInheritable Class TableExpression
Inherits TableExpressionBase
Implements ITableBasedExpression
- Inheritance
- Implements
Remarks
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 github.com/dotnet/efcore.
Constructors
TableExpression(String, ITableBase, IReadOnlyDictionary<String,IAnnotation>) |
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. |
TableExpression(String, ITableBase) |
Creates a new instance of the TableExpression class. |
Properties
Alias |
The alias assigned to this table source. |
Alias |
The alias assigned to this table source. (Inherited from TableExpressionBase) |
Annotations |
An indexed collection of annotations associated with this table expression. (Inherited from TableExpressionBase) |
Name |
The name of the table or view. |
NodeType | (Inherited from TableExpressionBase) |
Schema |
The schema of the table or view. |
Table |
The ITableBase associated with this table or view. |
Type | (Inherited from TableExpressionBase) |
Methods
AddAnnotation(String, Object) |
Adds an annotation to this object. Throws if an annotation with the specified name already exists. (Inherited from TableExpressionBase) |
Clone() |
Creates a new object that is a copy of the current instance. |
Clone(String, ExpressionVisitor) |
Creates a new object that is a copy of the current instance. |
Clone(String, ExpressionVisitor) |
Creates a new object that is a copy of the current instance. (Inherited from TableExpressionBase) |
CreateWithAnnotations(IEnumerable<IAnnotation>) |
Creates an object like this with specified annotations. (Inherited from TableExpressionBase) |
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. (Inherited from TableExpressionBase) |
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. (Inherited from TableExpressionBase) |
Print(ExpressionPrinter) |
Creates a printable string representation of the given expression using ExpressionPrinter. |
Print(ExpressionPrinter) |
Creates a printable string representation of the given expression using ExpressionPrinter. (Inherited from TableExpressionBase) |
PrintAnnotations(ExpressionPrinter) |
Creates a printable string representation of annotations associated with the given expression using ExpressionPrinter. (Inherited from TableExpressionBase) |
Quote() | System.Linq.Expressions.Expression.Quote |
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. (Inherited from TableExpressionBase) |
VisitChildren(ExpressionVisitor) | (Inherited from TableExpressionBase) |
WithAlias(String) |
Returns a copy of the current TableExpressionBase with the new provided alias. |
WithAlias(String) |
Returns a copy of the current TableExpressionBase with the new provided alias. (Inherited from TableExpressionBase) |
WithAnnotations(IReadOnlyDictionary<String,IAnnotation>) |
Creates an object like this with specified annotations. (Inherited from TableExpressionBase) |
Explicit Interface Implementations
IPrintableExpression.Print(ExpressionPrinter) |
Creates a printable string representation of the given expression using ExpressionPrinter. (Inherited from TableExpressionBase) |
ITableBasedExpression.Table |
The ITableBase associated with given table source, if any. |
Extension Methods
UnwrapJoin(TableExpressionBase) |
If the given |