Class InnerJoinExpression
- Namespace
- Microsoft.EntityFrameworkCore.Query.SqlExpressions
- Assembly
- Microsoft.EntityFrameworkCore.Relational.dll
An expression that represents an INNER JOIN in a SQL tree.
This type is typically used by database providers (and other extensions). It is generally not used in application code.
public class InnerJoinExpression : PredicateJoinExpressionBase, IPrintableExpression
- Inheritance
-
InnerJoinExpression
- Implements
-
IPrintableExpression
- Inherited Members
Constructors
InnerJoinExpression(TableExpressionBase, SqlExpression)
Creates a new instance of the InnerJoinExpression class.
public InnerJoinExpression(TableExpressionBase table, SqlExpression joinPredicate)
Parameters
tableTableExpressionBaseA table source to INNER JOIN with.
joinPredicateSqlExpressionA predicate to use for the join.
Methods
Equals(object)
public override bool Equals(object obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
Print(ExpressionPrinter)
protected override void Print(ExpressionPrinter expressionPrinter)
Parameters
expressionPrinterExpressionPrinter
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.
public virtual InnerJoinExpression Update(TableExpressionBase table, SqlExpression joinPredicate)
Parameters
tableTableExpressionBaseThe Table property of the result.
joinPredicateSqlExpressionThe JoinPredicate property of the result.
Returns
- InnerJoinExpression
This expression if no children changed, or an expression with the updated children.
VisitChildren(ExpressionVisitor)
protected override Expression VisitChildren(ExpressionVisitor visitor)
Parameters
visitorExpressionVisitor