-
Notifications
You must be signed in to change notification settings - Fork 0
TQueryLinqExtensions_All_7lb__oM_oNhNbaRzvkRhXg
Jacob Spitzer edited this page Aug 28, 2022
·
2 revisions
Determines whether all records of a TQuery recordset satisfy a condition.
public static bool All<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> to apply the predicate to.
predicate
System.Linq.Expressions.Expression<System.Func<Table,System.Boolean>>
A function to test each record for a condition.
System.Boolean
true if every record of the TQuery recordset passes the test in the specified
predicate, or if the recordset is empty; otherwise, false.
System.ArgumentNullException
TQuery or predicate is null.