Exemplo n.º 1
0
        public static QuerySearch Create(Guid layer, QueryController parent)
        {
            var result = new QuerySearch();

            result.AllQueryable     = new List <IQueryable>();
            result.ParentController = parent;
            result.Layer            = layer;
            return(result);
        }
Exemplo n.º 2
0
        QueryController _Setup()
        {
            if (_Context != null)
            {
                return(_Context);
            }

            var self = new QueryController();

            self.QuerySearches = new Dictionary <Guid, QuerySearch>();

            return(_Context = self);
        }