public static IEnumerable <Type> GetQueryAndResultTypes()
        {
            var queryTypes  = BusinessLayerBootstrapper.GetQueryTypes().Select(q => q.QueryType);
            var resultTypes = BusinessLayerBootstrapper.GetQueryTypes().Select(q => q.ResultType).Distinct();

            return(queryTypes.Concat(resultTypes));
        }
Exemple #2
0
 public static IEnumerable <QueryInfo> GetKnownQueryTypes() => BusinessLayerBootstrapper.GetQueryTypes();