public IList <Project> GetProjects()
        {
            QueryByMoreRequest request = new QueryByMoreRequest()
            {
            };
            QueryByMoreResponse <Project> response = new QueryByMore <Project>().Gets(request, ReposityEntityFactory.Items[Flag]);

            return(response.Rows);
        }
예제 #2
0
        public IList <CrossCell> GetRows()
        {
            QueryByMoreRequest request = new QueryByMoreRequest()
            {
            };
            QueryByMoreResponse <CrossCell> response = new QueryByMore <CrossCell>().Gets(request, ReposityEntityFactory.Items[Flag]);

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

            return(response.Rows);
        }
예제 #4
0
        /// <summary>
        /// 得到项目列表
        /// </summary>
        /// <param name="usercode"></param>
        /// <returns></returns>
        public IList <CrossProject> GetRows(string usercode)
        {
            QueryByMoreRequest request = new QueryByMoreRequest()
            {
                Params = new List <RequestParameter>()
                {
                    new RequestParameter()
                    {
                        Name = "@usercode", Value = usercode, Type = "string"
                    },
                }
            };
            QueryByMoreResponse <CrossProject> response = new QueryByMore <CrossProject>().Gets(request, ReposityEntityFactory.Items[Flag]);

            return(response.Rows);
        }
예제 #5
0
        public IList <Answer> GetRows(string examanswerguid)
        {
            QueryByMoreRequest request = new QueryByMoreRequest()
            {
                Params = new List <RequestParameter>()
                {
                    new RequestParameter()
                    {
                        Name = "@examanswerguid", Value = examanswerguid, Type = "string",
                    }
                },
            };
            QueryByMoreResponse <Answer> response = new QueryByMore <Answer>().Gets(request, ReposityEntityFactory.Items[Flag]);

            return(response.Rows);
        }
예제 #6
0
        public IList <ExamQuestion> GetRows(string ownertype)
        {
            QueryByMoreRequest request = new QueryByMoreRequest()
            {
                Params = new List <RequestParameter>()
                {
                    new RequestParameter()
                    {
                        Name = "@ownertype", Value = ownertype, Type = "string",
                    }
                },
            };
            QueryByMoreResponse <ExamQuestion> response = new QueryByMore <ExamQuestion>().Gets(request, ReposityEntityFactory.Items[Flag]);

            return(response.Rows);
        }
예제 #7
0
        public IList <CrossCell> GetRows(QueryByCrossProjectNodeFilesKMExtendRequest r)
        {
            QueryByMoreRequest request = new QueryByMoreRequest()
            {
                Params = new List <RequestParameter>()
                {
                    new RequestParameter()
                    {
                        Name = "@usercode", Value = r.UserCode, Type = "string"
                    },
                    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<Question> GetRows(string exampaper)
 {
     QueryByMoreRequest request = new QueryByMoreRequest()
     {
         Params = new List<RequestParameter>() { new RequestParameter() { Name = "@exampaper", Value = exampaper, Type = "string", } },
     };
     QueryByMoreResponse<Question> response = new QueryByMore<Question>().Gets(request, ReposityEntityFactory.Items[Flag]);
     return response.Rows;
 }
 public IList<AnswerItem> GetRows(string examanswerguid)
 {
     QueryByMoreRequest request = new QueryByMoreRequest()
     {
         Params = new List<RequestParameter>() { new RequestParameter() { Name = "@examanswerguid", Value = examanswerguid, Type = "string", } },
     };
     QueryByMoreResponse<AnswerItem> response = new QueryByMore<AnswerItem>().Gets(request, ReposityEntityFactory.Items[Flag]);
     return response.Rows;
 }
 public IList<ExamUser> GetRows(string UserCode)
 {
     QueryByMoreRequest request = new QueryByMoreRequest()
     {
         Params = new List<RequestParameter>() { new RequestParameter() { Name = "@UserCode", Value = UserCode, Type = "string", } },
     };
     QueryByMoreResponse<ExamUser> response = new QueryByMore<ExamUser>().Gets(request, ReposityEntityFactory.Items[Flag]);
     return response.Rows;
 }
 public IList<Project> GetProjects()
 {
     QueryByMoreRequest request = new QueryByMoreRequest() { };
     QueryByMoreResponse<Project> response = new QueryByMore<Project>().Gets(request, ReposityEntityFactory.Items[Flag]);
     return response.Rows;
 }
 public IList<CrossCell> GetRows()
 {
     QueryByMoreRequest request = new QueryByMoreRequest() { };
         QueryByMoreResponse<CrossCell> response = new QueryByMore<CrossCell>().Gets(request, ReposityEntityFactory.Items[Flag]);
         return response.Rows;
 }
 public IList<CrossCell> GetRows(QueryByCrossProjectNodeFilesKMExtendRequest r)
 {
     QueryByMoreRequest request = new QueryByMoreRequest()
     {
         Params = new List<RequestParameter>()
         {
             new RequestParameter() { Name = "@usercode", Value = r.UserCode, Type="string" },
             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;
 }
 /// <summary>
 /// 得到项目列表
 /// </summary>
 /// <param name="usercode"></param>
 /// <returns></returns>
 public IList<CrossProject> GetRows(string usercode)
 {
     QueryByMoreRequest request = new QueryByMoreRequest() {
         Params = new List<RequestParameter>()
         {
             new RequestParameter() { Name = "@usercode", Value = usercode, Type="string" },
         }
     };
     QueryByMoreResponse<CrossProject> response = new QueryByMore<CrossProject>().Gets(request, ReposityEntityFactory.Items[Flag]);
     return response.Rows;
 }
 public IList<CrossCell> GetRows(QueryByCrossGuidesCellRequest r)
 {
     QueryByMoreRequest request = new QueryByMoreRequest()
     {
         Params = new List<RequestParameter>()
         {
             new RequestParameter() { Name = "@top", Value = r.Top.ToString(), Type="int" },
         }
     };
     QueryByMoreResponse<CrossCell> response = new QueryByMore<CrossCell>().Gets(request, ReposityEntityFactory.Items[Flag]);
     return response.Rows;
 }