Exemplo n.º 1
0
 public List<MyCompany.Data.Objects.CustomerImportLog> Select(string filter, string sort, string dataView, BusinessObjectParameters parameters)
 {
     PageRequest request = new PageRequest(0, Int32.MaxValue, sort, new string[0]);
     request.RequiresMetaData = true;
     IDataController c = ControllerFactory.CreateDataController();
     IBusinessObject bo = ((IBusinessObject)(c));
     bo.AssignFilter(filter, parameters);
     ViewPage page = c.GetPage("CustomerImportLog", dataView, request);
     return page.ToList<MyCompany.Data.Objects.CustomerImportLog>();
 }
Exemplo n.º 2
0
 public List<MyCompany.Models.TSMForcastImport> Select(string filter, string sort, string dataView, BusinessObjectParameters parameters)
 {
     PageRequest request = new PageRequest(0, Int32.MaxValue, sort, new string[0]);
     request.RequiresMetaData = true;
     request.MetadataFilter = new string[] {
             "fields"};
     IDataController c = ControllerFactory.CreateDataController();
     IBusinessObject bo = ((IBusinessObject)(c));
     bo.AssignFilter(filter, parameters);
     ViewPage page = c.GetPage("TSMForcastImport", dataView, request);
     return page.ToList<MyCompany.Models.TSMForcastImport>();
 }
        public List <VSM.Data.Objects.T_Advertise_KioskGroup> Select(string filter, string sort, string dataView, BusinessObjectParameters parameters)
        {
            PageRequest request = new PageRequest(0, Int32.MaxValue, sort, new string[0]);

            request.RequiresMetaData = true;
            IDataController c  = ControllerFactory.CreateDataController();
            IBusinessObject bo = ((IBusinessObject)(c));

            bo.AssignFilter(filter, parameters);
            ViewPage page = c.GetPage("T_Advertise_KioskGroup", dataView, request);

            return(page.ToList <VSM.Data.Objects.T_Advertise_KioskGroup>());
        }
Exemplo n.º 4
0
        public List <XIOT.Data.Objects.CB_PassFailCriteria> Select(string filter, string sort, string dataView, BusinessObjectParameters parameters)
        {
            PageRequest request = new PageRequest(0, Int32.MaxValue, sort, new string[0]);

            request.RequiresMetaData = true;
            IDataController c  = ControllerFactory.CreateDataController();
            IBusinessObject bo = ((IBusinessObject)(c));

            bo.AssignFilter(filter, parameters);
            ViewPage page = c.GetPage("CB_PassFailCriteria", dataView, request);

            return(page.ToList <XIOT.Data.Objects.CB_PassFailCriteria>());
        }