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