PropertyConventionConfiguration.Having<T> 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
구성 중에 나중에 사용할 값을 캡처하는 동안 조건자를 기반으로 이 규칙이 적용되는 속성을 필터링합니다.
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> 여러 호출을 연결할 수 있도록 instance.