Esempio n. 1
0
		internal static ObjectExpression Parse(OPathQuery query, Mappings maps)
		{
			OPath opath = new OPath(maps);

			int paramCount;
			Expression exp = opath.Parse(query.ObjectType, query.WhereExpression, query.SortExpression, out paramCount);
			ObjectExpression oe = new ObjectExpression(query.ObjectType, exp, maps, paramCount);
			oe.baseQuery = query;

			return oe;
		}
Esempio n. 2
0
        internal static ObjectExpression Parse(OPathQuery query, Mappings maps)
        {
            OPath opath = new OPath(maps);

            int              paramCount;
            Expression       exp = opath.Parse(query.ObjectType, query.WhereExpression, query.SortExpression, out paramCount);
            ObjectExpression oe  = new ObjectExpression(query.ObjectType, exp, maps, paramCount);

            oe.baseQuery = query;

            return(oe);
        }