Esempio n. 1
0
 public OrderByData(QueryEl queryEl, QueryBase.OrderByType orderByType, OrderByAggregation aggregation, int joinCount)
 {
     QueryEl     = queryEl;
     OrderByType = orderByType;
     Aggregation = aggregation;
     JoinCount   = joinCount;
 }
        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);
        }
Esempio n. 3
0
 public QueryElFormat(string sql, QueryEl el1, params object[] values)
 {
     args     = values;
     this.sql = sql;
     this.el1 = el1;
 }
Esempio n. 4
0
 internal QueryElSetOperator(string sql, QueryEl el1, IEnumerable <T> values)
 {
     this.values = values;
     this.sql    = sql;
     queryEls    = new[] { el1 };
 }