public Cross GetCrossProjectNodeFiles(QueryByCrossProjectNodeFilesRequest request)
 {
     CrossProjectNodeFilesHelper ch = new CrossProjectNodeFilesHelper();
     Cross result = ch.GetRow();
     CrossProjectNodeFilesCellHelper cch = new CrossProjectNodeFilesCellHelper();
     result.Rows = cch.GetRows(request);
     return result;
 }
Exemplo n.º 2
0
        public IList <CrossCell> GetRows(QueryByCrossProjectNodeFilesRequest r)
        {
            QueryByMoreRequest request = new QueryByMoreRequest()
            {
                Params = new List <RequestParameter>()
                {
                    new RequestParameter()
                    {
                        Name = "@project", Value = r.Project, Type = "string"
                    },
                    new RequestParameter()
                    {
                        Name = "@top", Value = r.Top.ToString(), Type = "int"
                    },
                }
            };
            QueryByMoreResponse <CrossCell> response = new QueryByMore <CrossCell>().Gets(request, ReposityEntityFactory.Items[Flag]);

            return(response.Rows);
        }
 public IList<CrossCell> GetRows(QueryByCrossProjectNodeFilesRequest r)
 {
     QueryByMoreRequest request = new QueryByMoreRequest()
     {
         Params = new List<RequestParameter>()
         {
             new RequestParameter() { Name = "@project", Value = r.Project, Type="string" },
             new RequestParameter() { Name = "@top", Value = r.Top.ToString(), Type="int" },
         }
     };
     QueryByMoreResponse<CrossCell> response = new QueryByMore<CrossCell>().Gets(request, ReposityEntityFactory.Items[Flag]);
     return response.Rows;
 }