Compartilhar via


PredicateJoinExpressionBase Class

Definition

An expression that represents a JOIN with a search condition 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 PredicateJoinExpressionBase : Microsoft.EntityFrameworkCore.Query.SqlExpressions.JoinExpressionBase
type PredicateJoinExpressionBase = class
    inherit JoinExpressionBase
Public MustInherit Class PredicateJoinExpressionBase
Inherits JoinExpressionBase
Inheritance
PredicateJoinExpressionBase
Derived

Constructors

PredicateJoinExpressionBase(TableExpressionBase, SqlExpression, Boolean, IReadOnlyDictionary<String,IAnnotation>)

Creates a new instance of the PredicateJoinExpressionBase class.

PredicateJoinExpressionBase(TableExpressionBase, SqlExpression, IEnumerable<IAnnotation>)

Creates a new instance of the PredicateJoinExpressionBase class.

PredicateJoinExpressionBase(TableExpressionBase, SqlExpression)

Creates a new instance of the PredicateJoinExpressionBase class.

Properties

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)
IsPrunable

Whether this join expression may be pruned if nothing references a column on it. This isn't the case, for example, when an INNER JOIN is used to filter out rows.

(Inherited from JoinExpressionBase)
JoinPredicate

The predicate used in join.

NodeType (Inherited from TableExpressionBase)
Table

Gets the underlying table source to join with.

(Inherited from JoinExpressionBase)
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(String, ExpressionVisitor)

Creates a new object that is a copy of the current instance.

(Inherited from JoinExpressionBase)
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 null if it does not exist.

(Inherited from TableExpressionBase)
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 JoinExpressionBase)
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()

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)
Update(TableExpressionBase, SqlExpression)

Creates a new expression that is like this one, but using the supplied children. If all of the children are the same, it will return this expression.

Update(TableExpressionBase)

Creates a new expression that is like this one, but using the supplied children. If all of the children are the same, it will return this expression.

(Inherited from JoinExpressionBase)
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.

VisitChildren(ExpressionVisitor) (Inherited from TableExpressionBase)
WithAlias(String)

The implementation of WithAlias(String) for join expressions always throws, since the alias on joins is always null. Set the alias on the enclosed table expression instead.

(Inherited from JoinExpressionBase)
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)

Extension Methods

UnwrapJoin(TableExpressionBase)

If the given table is a JoinExpressionBase, returns the table it joins to. Otherwise, returns table.

Applies to