Example #1
0
 public ActionResult Search(KnowledgeCriteria c)
 {
     var m = new LigerGridModel();
     this.BeforeGetData(c);
     var r = this.Service.Search(c);
     this.AfterGetData(m, c, r);
     m.Total = r.RecordCount;
     r.Data.ForEach(o => {
         this.AddRowToGridModel(m, o);
     });
     this.AfterBuildGridModel(m, c, r);
     return this.Json(m, JsonRequestBehavior.AllowGet);
 }
Example #2
0
partial         void AfterBuildGridModel(LigerGridModel gm, DistrictCriteria c, PagedModel<District> pm);
Example #3
0
partial         void AfterBuildGridModel(LigerGridModel gm, SchoolAdCriteria c, PagedModel<SchoolAd> pm);
Example #4
0
partial         void AfterGetData(LigerGridModel gm, SchoolContactCriteria c, PagedModel<SchoolContact> pm);
Example #5
0
partial         void AddRowToGridModel(LigerGridModel m, SchoolContact e);
Example #6
0
partial         void AfterGetData(LigerGridModel gm, StudentChangeClazzLogCriteria c, PagedModel<StudentChangeClazzLog> pm);
Example #7
0
partial         void AfterGetData(LigerGridModel gm, UserGroupCriteria c, PagedModel<UserGroup> pm);
Example #8
0
partial         void AddRowToGridModel(LigerGridModel m, UserGroup e);
Example #9
0
partial         void AfterGetData(LigerGridModel gm, SmallInfoSourceCriteria c, PagedModel<SmallInfoSource> pm);
Example #10
0
partial         void AddRowToGridModel(LigerGridModel m, SmallInfoSource e);
Example #11
0
partial         void AfterGetData(LigerGridModel gm, StudentTeleVisitRecordCriteria c, PagedModel<StudentTeleVisitRecord> pm);
Example #12
0
partial         void AddRowToGridModel(LigerGridModel m, StudentTeleVisitRecord e);
Example #13
0
partial         void AfterGetData(LigerGridModel gm, EmploymentStudentVisitLogCriteria c, PagedModel<EmploymentStudentVisitLog> pm);
Example #14
0
partial         void AddRowToGridModel(LigerGridModel m, EmploymentStudentVisitLog e);
Example #15
0
partial         void AfterGetData(LigerGridModel gm, DistrictCriteria c, PagedModel<District> pm);
Example #16
0
partial         void AfterGetData(LigerGridModel gm, SalesTeamCriteria c, PagedModel<SalesTeam> pm);
Example #17
0
partial         void AddRowToGridModel(LigerGridModel m, SalesTeam e)
        {
            m.Rows.Add(this.ToJson(e));
        }
Example #18
0
partial         void AddRowToGridModel(LigerGridModel m, EmploymentCompany e);
Example #19
0
partial         void AfterBuildGridModel(LigerGridModel gm, UserGroupCriteria c, PagedModel<UserGroup> pm);
Example #20
0
partial         void AfterGetData(LigerGridModel gm, EmploymentCompanyCriteria c, PagedModel<EmploymentCompany> pm);
Example #21
0
partial         void AddRowToGridModel(LigerGridModel m, StudentChangeClazzLog e);
Example #22
0
partial         void AddRowToGridModel(LigerGridModel m, StudentVisitRecord e)
        {
            m.Rows.Add(this.ToJson(e));
        }
Example #23
0
 public ActionResult GetData(StudentChangeClazzLogCriteria c)
 {
     var m = new LigerGridModel();
     this.BeforeGetData(c);
     var r = this.Service.FindByCriteria(c);
     this.AfterGetData(m, c, r);
     m.Total = r.RecordCount;
     r.Data.ForEach(o => {
         this.AddRowToGridModel(m, o);
     });
     this.AfterBuildGridModel(m, c, r);
     return this.Json(m, JsonRequestBehavior.AllowGet);
 }
Example #24
0
partial         void AddRowToGridModel(LigerGridModel m, Clazz e);
Example #25
0
partial         void AfterBuildGridModel(LigerGridModel gm, SchoolContactCriteria c, PagedModel<SchoolContact> pm);
Example #26
0
partial         void AddRowToGridModel(LigerGridModel m, Clazz e)
        {
            m.Rows.Add(this.ToJson(e));
        }
Example #27
0
partial         void AddRowToGridModel(LigerGridModel m, SchoolAd e);
Example #28
0
partial         void AddRowToGridModel(LigerGridModel m, SalesTeam e);
Example #29
0
partial         void AfterGetData(LigerGridModel gm, SchoolAdCriteria c, PagedModel<SchoolAd> pm);
Example #30
0
partial         void AfterBuildGridModel(LigerGridModel gm, SalesTeamCriteria c, PagedModel<SalesTeam> pm);