Share via


DbExpressionBuilder.Any 메서드

정의

지정된 집합 인수가 비어 있지 않은지 여부를 결정하는 새 DbExpression을 만듭니다.

오버로드

Any(DbExpression)

지정된 집합 인수가 비어 있지 않은지 여부를 결정하는 새 DbExpression을 만듭니다.

Any(DbExpression, Func<DbExpression,DbExpression>)

지정된 조건자가 입력 집합의 모든 요소에 대해 성립하는지 여부를 결정하는 새 DbQuantifierExpression을 만듭니다.

Any(DbExpressionBinding, DbExpression)

지정된 조건자가 입력 집합의 모든 요소에 대해 성립하는지 여부를 결정하는 새 DbQuantifierExpression을 만듭니다.

Any(DbExpression)

지정된 집합 인수가 비어 있지 않은지 여부를 결정하는 새 DbExpression을 만듭니다.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbExpression ^ Any(System::Data::Common::CommandTrees::DbExpression ^ source);
public static System.Data.Common.CommandTrees.DbExpression Any (this System.Data.Common.CommandTrees.DbExpression source);
static member Any : System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbExpression
<Extension()>
Public Function Any (source As DbExpression) As DbExpression

매개 변수

source
DbExpression

입력 집합을 지정하는 식입니다.

반환

지정된 인수를 사용하여 새로운 DbNotExpression에 적용되는 새 DbIsEmptyExpression입니다.

예외

source가 null입니다.

source에 컬렉션 결과 형식이 없습니다.

적용 대상

Any(DbExpression, Func<DbExpression,DbExpression>)

지정된 조건자가 입력 집합의 모든 요소에 대해 성립하는지 여부를 결정하는 새 DbQuantifierExpression을 만듭니다.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbQuantifierExpression ^ Any(System::Data::Common::CommandTrees::DbExpression ^ source, Func<System::Data::Common::CommandTrees::DbExpression ^, System::Data::Common::CommandTrees::DbExpression ^> ^ predicate);
public static System.Data.Common.CommandTrees.DbQuantifierExpression Any (this System.Data.Common.CommandTrees.DbExpression source, Func<System.Data.Common.CommandTrees.DbExpression,System.Data.Common.CommandTrees.DbExpression> predicate);
static member Any : System.Data.Common.CommandTrees.DbExpression * Func<System.Data.Common.CommandTrees.DbExpression, System.Data.Common.CommandTrees.DbExpression> -> System.Data.Common.CommandTrees.DbQuantifierExpression
<Extension()>
Public Function Any (source As DbExpression, predicate As Func(Of DbExpression, DbExpression)) As DbQuantifierExpression

매개 변수

source
DbExpression

입력 집합을 지정하는 식입니다.

predicate
Func<DbExpression,DbExpression>

입력 집합의 각 멤버에 대해 평가할 조건자를 나타내는 메서드입니다. 이 메서드는 조건자 논리를 제공하는 부울 결과 형식이 포함된 식을 생성해야 합니다.

반환

임의의 작업을 나타내는 새 DbQuantifierExpression입니다.

예외

source 또는 predicate가 null입니다.

또는

predicate에서 생성된 식이 null입니다.

source에 컬렉션 결과 형식이 없습니다.

또는

predicate에서 생성된 식에 부울 결과 형식이 없습니다.

적용 대상

Any(DbExpressionBinding, DbExpression)

지정된 조건자가 입력 집합의 모든 요소에 대해 성립하는지 여부를 결정하는 새 DbQuantifierExpression을 만듭니다.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbQuantifierExpression ^ Any(System::Data::Common::CommandTrees::DbExpressionBinding ^ input, System::Data::Common::CommandTrees::DbExpression ^ predicate);
public static System.Data.Common.CommandTrees.DbQuantifierExpression Any (this System.Data.Common.CommandTrees.DbExpressionBinding input, System.Data.Common.CommandTrees.DbExpression predicate);
static member Any : System.Data.Common.CommandTrees.DbExpressionBinding * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbQuantifierExpression
<Extension()>
Public Function Any (input As DbExpressionBinding, predicate As DbExpression) As DbQuantifierExpression

매개 변수

input
DbExpressionBinding

입력 집합을 지정하는 식 바인딩입니다.

predicate
DbExpression

입력 집합의 각 멤버에 대해 평가할 조건자를 나타내는 식입니다.

반환

임의의 작업을 나타내는 새 DbQuantifierExpression입니다.

예외

input 또는 predicate가 null입니다.

predicate에서 생성된 식에 부울 결과 형식이 없습니다.

적용 대상