Пример #1
0
        public DCRecordSearch GetRecordSearchData(int RecordID)
        {
            DCRecordSearch dcvdr = new DCRecordSearch();

            try
            {
                dcvdr.DataTable = m_biz.GetRecordSearchData(RecordID);
            }
            catch (Exception exp) { throw exp; }
            finally { }
            return(dcvdr);
        }
Пример #2
0
 public DCRecordSearch Get(DCRecordSearch dcvdr)
 {
     try
     {
         dcvdr.DataTable = m_biz.GetRecordSearchData(dcvdr.ID);
         if (dcvdr.DataTable != null && dcvdr.DataTable.Rows.Count > 0)
         {
             dcvdr.IsCivil = Convert.ToBoolean(dcvdr.DataTable.Rows[0][GMConstants.OptionsMap.IsCivil]);
         }
     }
     catch (Exception exp) { throw exp; }
     finally { }
     return(dcvdr);
 }