/** * ISys_DictionaryDAL.cs * * 功 能: 字典表数据访问接口 * 类 名: ISys_DictionaryDAL * * Ver 变更日期 负责人 变更内容 * ─────────────────────────────────── * V0.01 2013-4-12 9:23 吴崎均 初版 * V0.02 2013-4-12 17:45 吴崎均 新增方法:根据数据类型获取数据集合、获取全部数据类型、根据Keyid获得名称、根据代表值和类型获得名称 * * * * * */ using System; using System.Collections.Generic; using System.Linq; using System.Text; using CY.IBaseDAL; using CY.Model; namespace CY.IDAL { /// /// 字典表-数据库操作接口 /// public interface ISys_DictionaryDAL : ICommonDAL, IPaging, IGetAllModel { /// /// 根据数据类型获取数据集合 /// /// 数据类型 /// IEnumerable SelectModlesByType(string dicType); /// /// 获取全部数据类型 /// /// IEnumerable SelectDicTypes(); /// /// 根据Keyid获得名称 /// /// 数据id /// string SelectModelByKeyid(int? Keyid); /// /// 根据代表值和类型获得名称 /// /// 代表值 /// 类型 /// int? GetNameByKeyid(int? MeanValue, string DicType); /// /// 根据代表值和类型获得Name /// /// 数据id /// 数据id /// string GetNameByMeanValue(int? MeanValue, string DicType); } }