Exemplo n.º 1
0
        public FindQuery <T> Select(Expression <Func <T, object> > column)
        {
            var columName = MppingUntil.GetPropertyName <T>(column);

            ((ExcutParBag_Select)excutParBag).selectColumns.Add(columName);
            return(this);
        }
Exemplo n.º 2
0
        public FindQuery <T> ThenAsc(Expression <Func <T, object> > orderFiled)
        {
            var ordername = MppingUntil.GetPropertyName <T>(orderFiled);

            ((ExcutParBag_Select)excutParBag).orders.Add(new OrderPair()
            {
                orderBy = OrderBy.ASC, orderName = ordername
            });
            return(this);
        }