Beispiel #1
0
        public AL_AssmblingDataTable AlAssmbling_getList(AlAssmblingQryModel qm)
        {
            var dt = NsDmHelper.AL_Assmbling
                     .selectAll(t => t.AllExt)
                     .query();

            return(dt);
        }
Beispiel #2
0
        public ActionResult CodeQuery(FormCollection collection)
        {
            var qm  = new AlAssmblingQryModel();
            var bln = this.TryUpdateModel(qm);

            ViewBag.RequestKey = qm.RequestKey;
            return(View(qm));
        }
Beispiel #3
0
        public ActionResult List(FormCollection collection, int jtStartIndex = 0, int jtPageSize = 0, string jtSorting = null)
        {
            //查詢參數
            var qm    = new AlAssmblingQryModel();
            var isOK  = this.TryUpdateModel(qm);
            var token = collection["__RequestVerificationToken"];

            var dt = AlDataService.Instance.AlAssmbling_getList(qm);

            //排序
            var dtSorted = dt.sort(jtSorting);

            if (Request.IsAjaxRequest())
            {
                return(converToJTableSource(dtSorted, jtStartIndex, jtPageSize));
            }
            else
            {
                return(View(dt));
            }
        }
Beispiel #4
0
        public ActionResult Index()
        {
            var qm = new AlAssmblingQryModel();

            return(View(qm));
        }