DbExpressionBuilder.Filter(DbExpressionBinding, DbExpression) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new DbFilterExpression that filters the elements in the given input set using the specified predicate.
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
- input
- DbExpressionBinding
An expression binding that specifies the input set.
- predicate
- DbExpression
An expression representing a predicate to evaluate for each member of the input set.
A new DbFilterExpression that produces the filtered set.
input
or predicate
is null.
predicate
does not have a Boolean result type.
Продукт | Версии |
---|---|
.NET Framework | 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Обратна връзка за .NET
.NET е проект с отворен код. Изберете връзка, за да предоставите обратна връзка: