Beispiel #1
0
        /// <summary>
        /// 初始化单位编号及行政编码对应字典
        /// </summary>
        private void InitDicUnit()
        {
            IDataExchangeDataAccess Data  = DataAccess.DataExchangeDataAccess();
            List <TUnit>            units = Data.GetAllUnitXZBM();

            foreach (var item in units)
            {
                dicUnit.Add(item.UnitCode, item);
            }
        }