-
Notifications
You must be signed in to change notification settings - Fork 0
TQueryLinqExtensions_FirstOrDefault_RVTYEePRCmiY+_2NdkTXpw
Jacob Spitzer edited this page Aug 28, 2022
·
2 revisions
Executes a single-row query, returning the first record of the TQuery recordset, or NULL if no record is found.
public static Table FirstOrDefault<Table>(this DbEasyConnect.DbEcExtended<Table> tQuery);
Table
The type of the records of table class. need to be a class with the [Table("")] attribute.
tQuery
DbEasyConnect.DbEcExtended<Table>
An DbEcExtended<T>.
Table
NULL if TQuery recordset is empty or if no record is found; otherwise, the first record in TQuery recordset.