Share via


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

Definition

Filters the entity types that this convention applies to based on a predicate.

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)

Parameters

predicate
Func<Type,Boolean>

A function to test each entity type for a condition.

Returns

An TypeConventionConfiguration<T> instance so that multiple calls can be chained.

Applies to