Exemplo n.º 1
0
        public Cross GetRow()
        {
            QueryBySingleRequest          request  = new QueryBySingleRequest();
            QueryBySingleResponse <Cross> response = new QueryBySingle <Cross>().Get(request, ReposityEntityFactory.Items[Flag]);

            return(response.Row);
        }
Exemplo n.º 2
0
        public ExamQuestion GetRow(string ExamPaper)
        {
            QueryBySingleRequest request = new QueryBySingleRequest()
            {
                Params = new List <RequestParameter>()
                {
                    new RequestParameter()
                    {
                        Name = "@ExamPaper", Value = ExamPaper, Type = "string",
                    }
                },
            };
            QueryBySingleResponse <ExamQuestion> response = new QueryBySingle <ExamQuestion>().Get(request, ReposityEntityFactory.Items[Flag]);

            return(response.Row);
        }
 public ExamQuestion GetRow(string ExamPaper)
 {
     QueryBySingleRequest request = new QueryBySingleRequest()
     {
         Params = new List<RequestParameter>() { new RequestParameter() { Name = "@ExamPaper", Value = ExamPaper, Type = "string", } },
     };
     QueryBySingleResponse<ExamQuestion> response = new QueryBySingle<ExamQuestion>().Get(request, ReposityEntityFactory.Items[Flag]);
     return response.Row;
 }
 public Cross GetRow()
 {
     QueryBySingleRequest request = new QueryBySingleRequest() { };
     QueryBySingleResponse<Cross> response = new QueryBySingle<Cross>().Get(request, ReposityEntityFactory.Items[Flag]);
     return response.Row;
 }