using System; using System.Collections.Generic; namespace RoadFlow.Data.Interface { public interface IAppLibrary { /// /// 新增 /// int Add(RoadFlow.Data.Model.AppLibrary model); /// /// 更新 /// int Update(RoadFlow.Data.Model.AppLibrary model); /// /// 查询所有记录 /// List GetAll(); /// /// 查询单条记录 /// Model.AppLibrary Get(Guid id); /// /// 删除 /// int Delete(Guid id); /// /// 查询记录条数 /// long GetCount(); /// /// 得到一页数据 /// /// /// /// /// /// /// /// /// /// List GetPagerData(out string pager, string query = "", string order = "Type,Title", int size = 15, int number = 1, string title = "", string type = "", string address = ""); /// /// 查询一个类别下所有记录 /// List GetAllByType(string type); /// /// 删除记录 /// int Delete(string[] idArray); /// /// 根据代码查询一条记录 /// RoadFlow.Data.Model.AppLibrary GetByCode(string code); } }