Ejemplo n.º 1
0
 public static OrderBy OrderBy(this Having having, string orderByColumn, SortOrder?sortOrder = null)
 {
     return(CreateOrderBy(having, orderByColumn, sortOrder));
 }
Ejemplo n.º 2
0
        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));
        }
Ejemplo n.º 3
0
 public static string SelectAsString <T>(this Having having, string clause, ITicket ticket = null)
 {
     return(Select <T>(having, clause, ticket, false));
 }
Ejemplo n.º 4
0
        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));
        }