共用方式為


TypeConventionConfiguration<T>.Where(Func<Type,Boolean>) 方法

定義

根據述詞篩選套用此慣例的實體類型。

public System.Data.Entity.ModelConfiguration.Configuration.TypeConventionConfiguration<T> Where (Func<Type,bool> predicate);
member this.Where : Func<Type, bool> -> System.Data.Entity.ModelConfiguration.Configuration.TypeConventionConfiguration<'T (requires 'T : null)>
Public Function Where (predicate As Func(Of Type, Boolean)) As TypeConventionConfiguration(Of T)

參數

predicate
Func<Type,Boolean>

用來測試條件之每個實體類型的函式。

傳回

TypeConventionConfiguration<T>實例,讓多個呼叫可以鏈結。

適用於