PropertyConventionConfiguration.Where Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.