public static QueryTypeEnum ToQueryType(this string src)
        {
            QueryTypeEnum type;

            QueryTypeEnum.TryParse(src, out type);
            return(type);
        }