次の方法で共有


PropertyConventionConfiguration.Having<T> メソッド

定義

後で構成中に使用する値をキャプチャするときに、述語に基づいてこの規則が適用されるプロパティをフィルター処理します。

public System.Data.Entity.ModelConfiguration.Configuration.PropertyConventionWithHavingConfiguration<T> Having<T> (Func<System.Reflection.PropertyInfo,T> capturingPredicate) where T : class;
member this.Having : Func<System.Reflection.PropertyInfo, 'T (requires 'T : null)> -> System.Data.Entity.ModelConfiguration.Configuration.PropertyConventionWithHavingConfiguration<'T (requires 'T : null)> (requires 'T : null)
Public Function Having(Of T As Class) (capturingPredicate As Func(Of PropertyInfo, T)) As PropertyConventionWithHavingConfiguration(Of T)

型パラメーター

T

キャプチャされた値の型。

パラメーター

capturingPredicate
Func<PropertyInfo,T>

各プロパティの値をキャプチャする関数。 値が null の場合、プロパティはフィルター処理されます。

戻り値

複数の PropertyConventionWithHavingConfiguration<T> 呼び出しをチェーンできるようにするインスタンス。

適用対象