Skip to content

TQueryLinqExtensions_Any_nodrQ5mkZ54NC1ZHkE3VFQ

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

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

Determines whether a TQuery recordset contains any records.

public static DbEasyConnect.DbEcBool<Table> Any<Table>(this DbEasyConnect.DbEcExtended<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.DbEcExtended<Table>
The DbEcExtended<T> to check for emptiness.

Returns

DbEasyConnect.DbEcBool<Table>
An DbEcBool<T> instance, which the SQL command will return true if the TQuery recordset contains any records; otherwise, false.

Exceptions

System.ArgumentNullException
TQuery is null.

Clone this wiki locally