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

定义

根据谓词筛选此约定应用于的实体类型。

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

参数

predicate
Func<Type,Boolean>

用于测试条件的每个实体类型的函数。

返回

一个 TypeConventionConfiguration 实例,以便可以链接多个调用。

适用于