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>
聯結動作,用於聯結集合中個別專案的列印輸出時使用。