public IList <Model.sys_lottery> GetModelListByPage(Model.sys_lottery model) { string where = GetWhere(model); model.Total = DBHelperDapper.DBHelper.GetRecordCountByTBName <Model.sys_lottery>(where, model); return(DBHelperDapper.DBHelper.GetModelListPageByTBName <ConsoleDapper.Model.sys_lottery> (where, model.Order + (model.IsAsc ? " ASC" : " DESC"), (model.Page - 1) * model.PageSize, model.Page * model.PageSize, model)); }
public IList <Model.sys_lottery> GetModelListByPage(Model.sys_lottery model) { return(BMAData.Instance.Sys_lottery.GetModelListByPage(model)); }
public int AddModel(Model.sys_lottery model) { int no = BMAData.Instance.Sys_lottery.AddModel(model); return(no); }
public int DeleteModel(Model.sys_lottery model) { return(BMAData.Instance.Sys_lottery.DeleteModel(model)); }
public Model.sys_lottery GetModel(Model.sys_lottery model) { return(BMAData.Instance.Sys_lottery.GetModel(model)); }