ExpressionPrinter.VisitCollection<T> 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
访问给定的用于打印的表达式的只读集合。
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>
联接集合中单个项的打印输出时要使用的联接操作。