using System; using System.Collections.Generic; namespace RoadFlow.Data.Interface { public interface IWorkFlow { /// /// 新增 /// int Add(RoadFlow.Data.Model.WorkFlow model); /// /// 更新 /// int Update(RoadFlow.Data.Model.WorkFlow model); /// /// 查询所有记录 /// List GetAll(); /// /// 查询单条记录 /// Model.WorkFlow Get(Guid id); /// /// 删除 /// int Delete(Guid id); /// /// 查询记录条数 /// long GetCount(); /// /// 查询所有类型 /// List GetAllTypes(); /// /// 查询所有ID和名称 /// Dictionary GetAllIDAndName(); /// /// 查询所有记录 /// List GetByTypes(string typeString); } }