-
Notifications
You must be signed in to change notification settings - Fork 0
TQueryLinqExtensions_Single_8WHRtUF1x7LyK+WWfm3AYA
Jacob Spitzer edited this page Aug 28, 2022
·
2 revisions
Returning the only record of the TQuery recordset, and throws an exception if there is not exactly one record.
public static Table Single<Table>(this DbEasyConnect.DbEc<Table> tQuery);
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.
Table
The single record in the TQuery recordset.