SelectExpression.AddInnerJoin 方法

定义

重载

AddInnerJoin(TableExpressionBase, IEnumerable<Expression>, Expression)

将 SQL INNER JOIN 添加到此 SelectExpression。

AddInnerJoin(TableExpressionBase, IEnumerable<Expression>)

将 SQL INNER JOIN 添加到此 SelectExpression。

AddInnerJoin(TableExpressionBase)

将 SQL INNER JOIN 添加到此 SelectExpression。

AddInnerJoin(TableExpressionBase, IEnumerable<Expression>, Expression)

将 SQL INNER JOIN 添加到此 SelectExpression。

public virtual Microsoft.EntityFrameworkCore.Query.Expressions.PredicateJoinExpressionBase AddInnerJoin (Microsoft.EntityFrameworkCore.Query.Expressions.TableExpressionBase tableExpression, System.Collections.Generic.IEnumerable<System.Linq.Expressions.Expression> projection, System.Linq.Expressions.Expression innerPredicate);
abstract member AddInnerJoin : Microsoft.EntityFrameworkCore.Query.Expressions.TableExpressionBase * seq<System.Linq.Expressions.Expression> * System.Linq.Expressions.Expression -> Microsoft.EntityFrameworkCore.Query.Expressions.PredicateJoinExpressionBase
override this.AddInnerJoin : Microsoft.EntityFrameworkCore.Query.Expressions.TableExpressionBase * seq<System.Linq.Expressions.Expression> * System.Linq.Expressions.Expression -> Microsoft.EntityFrameworkCore.Query.Expressions.PredicateJoinExpressionBase
Public Overridable Function AddInnerJoin (tableExpression As TableExpressionBase, projection As IEnumerable(Of Expression), innerPredicate As Expression) As PredicateJoinExpressionBase

参数

tableExpression
TableExpressionBase

目标表表达式。

projection
IEnumerable<Expression>

应添加到投影的表达式序列。

innerPredicate
Expression

应追加到当前谓词的谓词。

返回

适用于

AddInnerJoin(TableExpressionBase, IEnumerable<Expression>)

将 SQL INNER JOIN 添加到此 SelectExpression。

public virtual Microsoft.EntityFrameworkCore.Query.Expressions.JoinExpressionBase AddInnerJoin (Microsoft.EntityFrameworkCore.Query.Expressions.TableExpressionBase tableExpression, System.Collections.Generic.IEnumerable<System.Linq.Expressions.Expression> projection);
abstract member AddInnerJoin : Microsoft.EntityFrameworkCore.Query.Expressions.TableExpressionBase * seq<System.Linq.Expressions.Expression> -> Microsoft.EntityFrameworkCore.Query.Expressions.JoinExpressionBase
override this.AddInnerJoin : Microsoft.EntityFrameworkCore.Query.Expressions.TableExpressionBase * seq<System.Linq.Expressions.Expression> -> Microsoft.EntityFrameworkCore.Query.Expressions.JoinExpressionBase
Public Overridable Function AddInnerJoin (tableExpression As TableExpressionBase, projection As IEnumerable(Of Expression)) As JoinExpressionBase

参数

tableExpression
TableExpressionBase

目标表表达式。

projection
IEnumerable<Expression>

应添加到投影的表达式序列。

返回

适用于

AddInnerJoin(TableExpressionBase)

将 SQL INNER JOIN 添加到此 SelectExpression。

public virtual Microsoft.EntityFrameworkCore.Query.Expressions.JoinExpressionBase AddInnerJoin (Microsoft.EntityFrameworkCore.Query.Expressions.TableExpressionBase tableExpression);
public virtual Microsoft.EntityFrameworkCore.Query.Expressions.PredicateJoinExpressionBase AddInnerJoin (Microsoft.EntityFrameworkCore.Query.Expressions.TableExpressionBase tableExpression);
abstract member AddInnerJoin : Microsoft.EntityFrameworkCore.Query.Expressions.TableExpressionBase -> Microsoft.EntityFrameworkCore.Query.Expressions.JoinExpressionBase
override this.AddInnerJoin : Microsoft.EntityFrameworkCore.Query.Expressions.TableExpressionBase -> Microsoft.EntityFrameworkCore.Query.Expressions.JoinExpressionBase
abstract member AddInnerJoin : Microsoft.EntityFrameworkCore.Query.Expressions.TableExpressionBase -> Microsoft.EntityFrameworkCore.Query.Expressions.PredicateJoinExpressionBase
override this.AddInnerJoin : Microsoft.EntityFrameworkCore.Query.Expressions.TableExpressionBase -> Microsoft.EntityFrameworkCore.Query.Expressions.PredicateJoinExpressionBase
Public Overridable Function AddInnerJoin (tableExpression As TableExpressionBase) As JoinExpressionBase
Public Overridable Function AddInnerJoin (tableExpression As TableExpressionBase) As PredicateJoinExpressionBase

参数

tableExpression
TableExpressionBase

目标表表达式。

返回

适用于