TypeConventionConfiguration.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 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

Parameters

predicate
Func<Type,Boolean>

A function to test each entity type for a condition.

Returns

An TypeConventionConfiguration instance so that multiple calls can be chained.

Applies to