public static OrderBy OrderBy(this Having having, string orderByColumn, SortOrder?sortOrder = null) { return(CreateOrderBy(having, orderByColumn, sortOrder)); }
public static async Task <IEnumerable <T> > SelectAsync <T>(this Having having, string clause, IDbTransaction transaction = null, ITicket ticket = null) { string sql = Select <T>(having, clause, ticket, true); return(await having.Connection.QueryAsync <T>(sql, null, transaction).ConfigureAwait(false)); }
public static string SelectAsString <T>(this Having having, string clause, ITicket ticket = null) { return(Select <T>(having, clause, ticket, false)); }
public static IEnumerable <T> Select <T>(this Having having, string clause, IDbTransaction transaction = null, ITicket ticket = null) { string sql = Select <T>(having, clause, ticket, true); return(having.Connection.Query <T>(sql, null, transaction)); }