コード例 #1
0
ファイル: DictType.cs プロジェクト: goodyu372/M12MiniMes
        /// <summary>
        /// 获取所有字典类型的列表集合(Key为名称,Value为ID值)
        /// </summary>
        /// <param name="dictTypeId">字典类型ID</param>
        /// <returns></returns>
        public Dictionary <string, string> GetAllType(string dictTypeId)
        {
            IDictType typeDal = baseDal as IDictType;

            return(typeDal.GetAllType(dictTypeId));
        }
コード例 #2
0
 /// <summary>
 /// 获取所有字典类型的列表集合(Key为名称,Value为ID值)
 /// </summary>
 /// <param name="dictTypeId">字典类型ID</param>
 /// <returns></returns>
 public Dictionary <Int32, string> GetAllType(Int32 dictTypeId)
 {
     return(dal.GetAllType(dictTypeId));
 }