FluentApiCodeFragment.FilterChain 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
使用根據述詞篩選的呼叫,建立新的方法鏈結。
public virtual Microsoft.EntityFrameworkCore.Design.FluentApiCodeFragment? FilterChain (Func<Microsoft.EntityFrameworkCore.Design.FluentApiCodeFragment,bool> predicate);
abstract member FilterChain : Func<Microsoft.EntityFrameworkCore.Design.FluentApiCodeFragment, bool> -> Microsoft.EntityFrameworkCore.Design.FluentApiCodeFragment
override this.FilterChain : Func<Microsoft.EntityFrameworkCore.Design.FluentApiCodeFragment, bool> -> Microsoft.EntityFrameworkCore.Design.FluentApiCodeFragment
Public Overridable Function FilterChain (predicate As Func(Of FluentApiCodeFragment, Boolean)) As FluentApiCodeFragment
參數
- predicate
- Func<FluentApiCodeFragment,Boolean>
用來測試條件之每個方法呼叫的函式。
傳回
新的方法鏈結,只包含來自符合條件之原始方法鏈結的呼叫。
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應