public CDictionaryDesc(string strLoaiTuDien, System.Data.SqlClient.SqlTransaction i_trans = null)
 {
     US_CM_DM_TU_DIEN v_us = new US_CM_DM_TU_DIEN();
     if (!(i_trans == null))
     {
         v_us.SetTransaction(i_trans);
     }
     IP.Core.IPData.DS_CM_DM_TU_DIEN v_ds = v_us.getLoaiTuDienDS(strLoaiTuDien);
     m_list_of_desc = new CListOfDataFromDB(v_ds, "MA_TU_DIEN", "TEN_NGAN");
 }
 private string getTenLoaiTuDien(decimal i_dcIDLoaiTD)
 {
     // static CListOfDataFromDB v_objTenLoaiHSTable = default(CListOfDataFromDB); VBConversions Note: Static variable moved to class level and renamed getTenLoaiTuDien_v_objTenLoaiHSTable. Local static variables are not supported in C#.
     if (getTenLoaiTuDien_v_objTenLoaiHSTable == null)
     {
         getTenLoaiTuDien_v_objTenLoaiHSTable = new CListOfDataFromDB(this.m_ds_loai_tu_dien, "ID", "TEN_LOAI");
     }
     return Convert.ToString(getTenLoaiTuDien_v_objTenLoaiHSTable[i_dcIDLoaiTD]);
 }