コード例 #1
0
 public static Communication ViewCommunication(String communID)
 {
     try
     {
         Icontext objinter = new BALCommunication();
         Communication commun = (Communication)objinter.ViewRecord(Convert.ToInt64(communID));
         return commun;
     }
     catch (Exception ex)
     {
         throw;
     }
 }
コード例 #2
0
 public static IEnumerable<DAL.CommunicationWrapper> CommunicationList(String Field, String Value)
 {
     try
     {
         ISearchResult objtext = new BALCommunication();
         IEnumerable<DAL.CommunicationWrapper> listRecord = (IEnumerable<DAL.CommunicationWrapper>)objtext.SearchResultList(Field, Value);
         return listRecord;
     }
     catch (Exception ex)
     {
         throw;
     }
 }
コード例 #3
0
 public static bool UpdateCommunication(CommunicationMaster commun)
 {
     Boolean flag = false;
     try
     {
         Icontext objinter = new BALCommunication();
         flag = objinter.UpdateRecord(commun);
     }
     catch (Exception ex)
     {
         throw;
     }
     return flag;
 }
コード例 #4
0
 public static IEnumerable<DAL.CommunicationWrapper> CommunicationList()
 {
     try
     {
         Icontext objtext = new BALCommunication();
         IEnumerable<DAL.CommunicationWrapper> listRecord = (IEnumerable<DAL.CommunicationWrapper>)objtext.RecordList();
         return listRecord;
     }
     catch (Exception ex)
     {
         throw;
     }
 }