Exemplo n.º 1
0
 public OrderByData(QueryEl queryEl, QueryBase.OrderByType orderByType, OrderByAggregation aggregation, int joinCount)
 {
     QueryEl     = queryEl;
     OrderByType = orderByType;
     Aggregation = aggregation;
     JoinCount   = joinCount;
 }
Exemplo n.º 2
0
        public static QueryEl ConvertMember(QueryEl x)
        {
            if (x is QueryElMember <bool> )
            {
                return((QueryElMember <bool>)x == true);
            }

            if (x is QueryElMember <bool?> )
            {
                return((QueryElMember <bool?>)x == true);
            }

            return(x);
        }
Exemplo n.º 3
0
 public QueryElFormat(string sql, QueryEl el1, params object[] values)
 {
     args     = values;
     this.sql = sql;
     this.el1 = el1;
 }
Exemplo n.º 4
0
 internal QueryElSetOperator(string sql, QueryEl el1, IEnumerable <T> values)
 {
     this.values = values;
     this.sql    = sql;
     queryEls    = new[] { el1 };
 }