SelectExpression.AddCrossJoin 方法

定义

将 SQL CROSS JOIN 添加到此 SelectExpression。

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

参数

tableExpression
TableExpressionBase

目标表表达式。

projection
IEnumerable<Expression>

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

返回

适用于