共用方式為


FluentApiCodeFragment.FilterChain 方法

定義

使用根據述詞篩選的呼叫,建立新的方法鏈結。

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>

用來測試條件之每個方法呼叫的函式。

傳回

新的方法鏈結,只包含來自符合條件之原始方法鏈結的呼叫。

適用於