示例#1
0
        public static string getDataJson(HttpRequestBase Request, int?companyID, SASContext db)
        {
            EISDataTables TableParams = new EISDataTables();

            TableParams.BindModel(Request);

            QueryBuilder query = new QueryBuilder(TableParams);

            query.FilterPagingSortingSearch(companyID);

            ButtonTemplates buttonTemplates = new ButtonTemplates();

            buttonTemplates.fillTemplates(TableParams.buttonsOptions);

            jsonBuilder json = new jsonBuilder(TableParams);

            return(json.getDataJson(db, query, buttonTemplates));
        }
示例#2
0
 public jsonBuilder(EISDataTables datatable)
 {
     datatables = datatable;
 }
示例#3
0
 public QueryBuilder(EISDataTables datatable)
 {
     datatables = datatable;
 }