Exemplo n.º 1
0
        private DashboardDTO GetAllGrdManage(DashboardDTO dto)
        {
            //var parameters = CreateParameter();

            //parameters.AddRefCursorParameter("RecordSet");
            //parameters.AddRefCursorParameter("RecordSet2");

            //var result = _DBManger.ExecuteDataSet("PKG_SEC_DASHBOARD.SP_QUERY_ALL", parameters);
            //if (result.Success(dto))
            //{
            //    dto.Models = result.OutputDataSet.Tables[0].ToList<DashboardModel>();
            //}
            return(dto);
        }
Exemplo n.º 2
0
        private DashboardDTO GetTreeView01adm(DashboardDTO dto)
        {
            //var parameters = CreateParameter();

            //parameters.AddRefCursorParameter("RECORDSET");

            //parameters.AddParameter("pMS_CORP_ID", dto.Model.MS_CORP_ID);

            //var result = _DBManger.ExecuteDataSet("PKG_IVW0_IVAW00100.SP_TREEVIEW_01_ADM", parameters);
            //if (result.Success(dto))
            //{
            //    dto.Model.TreeView01admModel = result.OutputDataSet.Tables[0].ToList<TreeModel>().ToTreeView();
            //}
            return(dto);
        }
Exemplo n.º 3
0
 public DashboardDA()
 {
     DTO = new DashboardDTO();
 }