Aracılığıyla paylaş


DbExpressionBuilder.Filter(DbExpressionBinding, DbExpression) Yöntem

Tanım

Belirtilen koşulu kullanarak verilen giriş kümesindeki öğeleri filtreleyen yeni DbFilterExpression bir oluşturur.

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

Parametreler

input
DbExpressionBinding

Giriş kümesini belirten bir ifade bağlaması.

predicate
DbExpression

Giriş kümesinin her üyesi için değerlendirilecek koşulu temsil eden ifade.

Döndürülenler

Filtrelenmiş kümeyi üreten yeni bir DbFilterExpression.

Özel durumlar

input veya predicate null.

predicate Boole sonuç türüne sahip değil.

Şunlara uygulanır