SelectExpression.AddInnerJoin 方法

定义

重载

AddInnerJoin(SelectExpression, SqlExpression)

使用 INNER JOIN 将给定 SelectExpression 的 添加到表源。

AddInnerJoin(ShapedQueryExpression, SqlExpression, Expression)

使用 INNER JOIN 和合并整形程序将给定 ShapedQueryExpression 的查询表达式添加到表源。

AddInnerJoin(SelectExpression, SqlExpression, Type)
已过时.

使用 INNER JOIN 将给定 SelectExpression 的 添加到表源。

AddInnerJoin(SelectExpression, SqlExpression)

Source:
SelectExpression.cs
Source:
SelectExpression.cs
Source:
SelectExpression.cs
Source:
SelectExpression.cs
Source:
SelectExpression.cs

使用 INNER JOIN 将给定 SelectExpression 的 添加到表源。

public void AddInnerJoin (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression innerSelectExpression, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression joinPredicate);
member this.AddInnerJoin : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression -> unit
Public Sub AddInnerJoin (innerSelectExpression As SelectExpression, joinPredicate As SqlExpression)

参数

innerSelectExpression
SelectExpression

SelectExpression 联接的 。

joinPredicate
SqlExpression

要用于联接的谓词。

适用于

AddInnerJoin(ShapedQueryExpression, SqlExpression, Expression)

Source:
SelectExpression.cs
Source:
SelectExpression.cs
Source:
SelectExpression.cs
Source:
SelectExpression.cs
Source:
SelectExpression.cs

使用 INNER JOIN 和合并整形程序将给定 ShapedQueryExpression 的查询表达式添加到表源。

public System.Linq.Expressions.Expression AddInnerJoin (Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression innerSource, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression joinPredicate, System.Linq.Expressions.Expression outerShaper);
member this.AddInnerJoin : Microsoft.EntityFrameworkCore.Query.ShapedQueryExpression * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * System.Linq.Expressions.Expression -> System.Linq.Expressions.Expression
Public Function AddInnerJoin (innerSource As ShapedQueryExpression, joinPredicate As SqlExpression, outerShaper As Expression) As Expression

参数

innerSource
ShapedQueryExpression

ShapedQueryExpression 联接的 。

joinPredicate
SqlExpression

要用于联接的谓词。

outerShaper
Expression

外部整形器的表达式。

返回

一个表达式,用于塑造此联接的结果。

适用于

AddInnerJoin(SelectExpression, SqlExpression, Type)

Source:
SelectExpression.cs
Source:
SelectExpression.cs
Source:
SelectExpression.cs
Source:
SelectExpression.cs

注意

Use the other overloads.

使用 INNER JOIN 将给定 SelectExpression 的 添加到表源。

public void AddInnerJoin (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression innerSelectExpression, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression joinPredicate, Type transparentIdentifierType);
[System.Obsolete("Use the other overloads.")]
public void AddInnerJoin (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression innerSelectExpression, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression joinPredicate, Type transparentIdentifierType);
[System.Obsolete("Use the other overloads.")]
public void AddInnerJoin (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression innerSelectExpression, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression joinPredicate, Type? transparentIdentifierType);
member this.AddInnerJoin : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * Type -> unit
[<System.Obsolete("Use the other overloads.")>]
member this.AddInnerJoin : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SelectExpression * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * Type -> unit
Public Sub AddInnerJoin (innerSelectExpression As SelectExpression, joinPredicate As SqlExpression, transparentIdentifierType As Type)

参数

innerSelectExpression
SelectExpression

SelectExpression 联接的 。

joinPredicate
SqlExpression

要用于联接的谓词。

transparentIdentifierType
Type

执行联接后生成的结果的类型。

属性

适用于