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> 实例,以便可以链接多个调用。

适用于