Skip to content

TQueryGet_T_

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

TQueryGet<T> Class

public abstract class TQueryGet<T> : DbEasyConnect.DbEc<T>

Type parameters

T

Inheritance System.Object 🡒 DbEasyConnect.TQuery<T> 🡒 TQueryGet<T>

Derived
DbEc<T>
DbEcExtended<T>
DbEcOrder<T>
DbEcSelect<T>

Methods
AsEnumerable() Executes a query, returning an IEnumerable object with the data typed as T.
ToList() Executes a query, returning an List object with the data typed as T.
ToListAsync() Execute a query asynchronously using Task, returning an List object with the data typed as T.
ToSqlString() Returns the TQuery generated Sql command.
To modify the Sql command manually, use the TQueryExtended method, and then use the ModifySqlString<Table>(DbEcExtended<Table>, string) method.

Clone this wiki locally