다음을 통해 공유


IConventionEntityTypeBuilder.CanSetQueryFilter 메서드

정의

지정된 쿼리 필터를 현재 구성 원본에서 설정할 수 있는지 여부를 나타내는 값을 반환합니다.

public bool CanSetQueryFilter (System.Linq.Expressions.LambdaExpression filter, bool fromDataAnnotation = false);
public bool CanSetQueryFilter (System.Linq.Expressions.LambdaExpression? filter, bool fromDataAnnotation = false);
abstract member CanSetQueryFilter : System.Linq.Expressions.LambdaExpression * bool -> bool
Public Function CanSetQueryFilter (filter As LambdaExpression, Optional fromDataAnnotation As Boolean = false) As Boolean

매개 변수

filter
LambdaExpression

LINQ 조건자 식입니다.

fromDataAnnotation
Boolean

데이터 주석을 사용하여 구성을 지정했는지 여부를 나타냅니다.

반환

true 지정된 쿼리 필터를 설정할 수 있으면 입니다.

적용 대상