public static double ExecuteQuery(this PlanningItem pi, Structure s, MayoQuery query)
 {
     return(query.RunQuery(pi, new[] { s }));
 }
 public static double ExecuteQuery(this PlanningItem pi, IEnumerable <Structure> ss, MayoQuery query)
 {
     return(query.RunQuery(pi, ss));
 }
        public static double ExecuteQuery(this PlanningItem pi, Structure s, string mayoFormatQuery)
        {
            var query = MayoQuery.Read(mayoFormatQuery);

            return(query.RunQuery(pi, new[] { s }));
        }
        public static double ExecuteQuery(this PlanningItem pi, IEnumerable <Structure> ss, string mayoFormatQuery)
        {
            var query = MayoQuery.Read(mayoFormatQuery);

            return(query.RunQuery(pi, ss));
        }
Example #5
0
        public static double ExecuteQuery(this PlanningItem pi, string mayoFormatQuery, params string[] ss)
        {
            var query = MayoQuery.Read(mayoFormatQuery);

            return(ExecuteQuery(pi, query, ss));
        }
Example #6
0
 public static double ExecuteQuery(this PlanningItem pi, MayoQuery query, params Structure[] ss)
 {
     return(query.RunQuery(pi, ss));
 }