Skip to content

TQueryLinqExtensions_Any_xR2ZI1eZiCWkDySrk4mkhQ

Jacob Spitzer edited this page Aug 28, 2022 · 2 revisions

TQueryLinqExtensions.Any<Table>(DbEc<Table>) Method

Determines whether a TQuery recordset contains any records.

public static bool Any<Table>(this DbEasyConnect.DbEc<Table> tQuery);

Type parameters

Table
The type of the records of table class. need to be a class with the [Table("")] attribute.

Parameters

tQuery DbEasyConnect.DbEc<Table>
The DbEc<T> to check for emptiness.

Returns

System.Boolean
true if the TQuery recordset contains any records; otherwise, false.

Exceptions

System.ArgumentNullException
TQuery is null.

Clone this wiki locally