다음을 통해 공유


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> 여러 호출을 연결할 수 있도록 instance.

적용 대상