public static QueryContainer ToContainer(PlainQuery query, QueryContainer queryContainer = null)
		{
			if (query == null) return null;
			var c = queryContainer ?? new QueryContainer();
			IQueryContainer fc = c;
			query.WrapInContainer(c);
			return c;
		}
Beispiel #2
0
        public static QueryContainer ToContainer(PlainQuery query, QueryContainer queryContainer = null)
        {
            if (query == null)
            {
                return(null);
            }
            var             c  = queryContainer ?? new QueryContainer();
            IQueryContainer fc = c;

            query.WrapInContainer(c);
            return(c);
        }
Beispiel #3
0
        //public static QueryContainer operator &(PlainQuery leftQuery, PlainQuery rightQuery)
        //{
        //	var lc = new QueryContainer();
        //	leftQuery.WrapInContainer(lc);
        //	var rc = new QueryContainer();
        //	leftQuery.WrapInContainer(rc);
        //	return (lc && rc);
        //}

        public QueryContainer ToContainer()
        {
            return(PlainQuery.ToContainer(this));
        }