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; }
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); }