コード例 #1
0
 public IList <DanhMucData> GetDanhMucByCriteria(System.String whereCondition)
 {
     try
     {
         var domain = new DanhMucDomainObject(ConnectionString);
         return(domain.GetDanhMucs(whereCondition));
     }
     catch (Exception ex)
     {
         ErrorLog.WebLog("[GetDanhMucByCriteria]", ex.Message);
         return(null);
     }
 }
コード例 #2
0
 public IList <DanhMucData> GetDanhMucs()
 {
     try
     {
         var domain = new DanhMucDomainObject(ConnectionString);
         return(domain.GetDanhMucs());
     }
     catch (Exception ex)
     {
         ErrorLog.WebLog("[GetDanhMucs]", ex.Message);
         return(null);
     }
 }