TypeConventionConfiguration.Having<T>(Func<Type,T>) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
篩選此慣例會根據述詞套用的實體類型,同時擷取設定期間稍後要使用的值。
public System.Data.Entity.ModelConfiguration.Configuration.TypeConventionWithHavingConfiguration<T> Having<T> (Func<Type,T> capturingPredicate) where T : class;
member this.Having : Func<Type, 'T (requires 'T : null)> -> System.Data.Entity.ModelConfiguration.Configuration.TypeConventionWithHavingConfiguration<'T (requires 'T : null)> (requires 'T : null)
Public Function Having(Of T As Class) (capturingPredicate As Func(Of Type, T)) As TypeConventionWithHavingConfiguration(Of T)
類型參數
- T
擷取值的型別。
參數
傳回
TypeConventionWithHavingConfiguration<T>實例,以便鏈結多個呼叫。