Exemple #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);
 }
Exemple #2
0
partial         void AfterBuildGridModel(LigerGridModel gm, DistrictCriteria c, PagedModel<District> pm);
Exemple #3
0
partial         void AfterBuildGridModel(LigerGridModel gm, SchoolAdCriteria c, PagedModel<SchoolAd> pm);
Exemple #4
0
partial         void AfterGetData(LigerGridModel gm, SchoolContactCriteria c, PagedModel<SchoolContact> pm);
Exemple #5
0
partial         void AddRowToGridModel(LigerGridModel m, SchoolContact e);
Exemple #6
0
partial         void AfterGetData(LigerGridModel gm, StudentChangeClazzLogCriteria c, PagedModel<StudentChangeClazzLog> pm);
Exemple #7
0
partial         void AfterGetData(LigerGridModel gm, UserGroupCriteria c, PagedModel<UserGroup> pm);
Exemple #8
0
partial         void AddRowToGridModel(LigerGridModel m, UserGroup e);
Exemple #9
0
partial         void AfterGetData(LigerGridModel gm, SmallInfoSourceCriteria c, PagedModel<SmallInfoSource> pm);
Exemple #10
0
partial         void AddRowToGridModel(LigerGridModel m, SmallInfoSource e);
Exemple #11
0
partial         void AfterGetData(LigerGridModel gm, StudentTeleVisitRecordCriteria c, PagedModel<StudentTeleVisitRecord> pm);
Exemple #12
0
partial         void AddRowToGridModel(LigerGridModel m, StudentTeleVisitRecord e);
Exemple #13
0
partial         void AfterGetData(LigerGridModel gm, EmploymentStudentVisitLogCriteria c, PagedModel<EmploymentStudentVisitLog> pm);
Exemple #14
0
partial         void AddRowToGridModel(LigerGridModel m, EmploymentStudentVisitLog e);
Exemple #15
0
partial         void AfterGetData(LigerGridModel gm, DistrictCriteria c, PagedModel<District> pm);
Exemple #16
0
partial         void AfterGetData(LigerGridModel gm, SalesTeamCriteria c, PagedModel<SalesTeam> pm);
Exemple #17
0
partial         void AddRowToGridModel(LigerGridModel m, SalesTeam e)
        {
            m.Rows.Add(this.ToJson(e));
        }
Exemple #18
0
partial         void AddRowToGridModel(LigerGridModel m, EmploymentCompany e);
Exemple #19
0
partial         void AfterBuildGridModel(LigerGridModel gm, UserGroupCriteria c, PagedModel<UserGroup> pm);
Exemple #20
0
partial         void AfterGetData(LigerGridModel gm, EmploymentCompanyCriteria c, PagedModel<EmploymentCompany> pm);
Exemple #21
0
partial         void AddRowToGridModel(LigerGridModel m, StudentChangeClazzLog e);
Exemple #22
0
partial         void AddRowToGridModel(LigerGridModel m, StudentVisitRecord e)
        {
            m.Rows.Add(this.ToJson(e));
        }
Exemple #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);
 }
Exemple #24
0
partial         void AddRowToGridModel(LigerGridModel m, Clazz e);
Exemple #25
0
partial         void AfterBuildGridModel(LigerGridModel gm, SchoolContactCriteria c, PagedModel<SchoolContact> pm);
Exemple #26
0
partial         void AddRowToGridModel(LigerGridModel m, Clazz e)
        {
            m.Rows.Add(this.ToJson(e));
        }
Exemple #27
0
partial         void AddRowToGridModel(LigerGridModel m, SchoolAd e);
Exemple #28
0
partial         void AddRowToGridModel(LigerGridModel m, SalesTeam e);
Exemple #29
0
partial         void AfterGetData(LigerGridModel gm, SchoolAdCriteria c, PagedModel<SchoolAd> pm);
Exemple #30
0
partial         void AfterBuildGridModel(LigerGridModel gm, SalesTeamCriteria c, PagedModel<SalesTeam> pm);