ExpressionPrinter.VisitCollection<T> 方法

定义

访问给定的用于打印的表达式的只读集合。

public virtual void VisitCollection<T> (System.Collections.Generic.IReadOnlyCollection<T> items, Action<Microsoft.EntityFrameworkCore.Query.ExpressionPrinter> joinAction = default) where T : System.Linq.Expressions.Expression;
public virtual void VisitCollection<T> (System.Collections.Generic.IReadOnlyCollection<T> items, Action<Microsoft.EntityFrameworkCore.Query.ExpressionPrinter>? joinAction = default) where T : System.Linq.Expressions.Expression;
abstract member VisitCollection : System.Collections.Generic.IReadOnlyCollection<'T (requires 'T :> System.Linq.Expressions.Expression)> * Action<Microsoft.EntityFrameworkCore.Query.ExpressionPrinter> -> unit (requires 'T :> System.Linq.Expressions.Expression)
override this.VisitCollection : System.Collections.Generic.IReadOnlyCollection<'T (requires 'T :> System.Linq.Expressions.Expression)> * Action<Microsoft.EntityFrameworkCore.Query.ExpressionPrinter> -> unit (requires 'T :> System.Linq.Expressions.Expression)
Public Overridable Sub VisitCollection(Of T As Expression) (items As IReadOnlyCollection(Of T), Optional joinAction As Action(Of ExpressionPrinter) = Nothing)

类型参数

T

参数

items
IReadOnlyCollection<T>

要打印的项的集合。

joinAction
Action<ExpressionPrinter>

联接集合中单个项的打印输出时要使用的联接操作。

适用于