-
Notifications
You must be signed in to change notification settings - Fork 0
TQueryLinqExtensions_Where_FnaznADf1DajZqmPeCp_YA
Jacob Spitzer edited this page Aug 28, 2022
·
2 revisions
Filters a TQuery recordset based on a predicate.
public static DbEasyConnect.DbEc<Table> Where<Table>(this DbEasyConnect.DbEc<Table> tQuery, System.Linq.Expressions.Expression<System.Func<Table,bool>> predicate);
Table
The type of the records of table class. need to be a class with the [Table("")] attribute.
tQuery
DbEasyConnect.DbEc<Table>
An DbEc<T> that contains the queryable table to apply the predicate to.
predicate
System.Linq.Expressions.Expression<System.Func<Table,System.Boolean>>
A function to test each element for a condition.
DbEasyConnect.DbEc<Table>
An DbEc<T> that contains records from the input sequence that
satisfy the condition specified by predicate.