Share via


PropertyConventionConfiguration.Where Method

Definition

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

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

Parameters

predicate
Func<PropertyInfo,Boolean>

A function to test each property for a condition.

Returns

A PropertyConventionConfiguration instance so that multiple calls can be chained.

Applies to