Ejemplo n.º 1
0
 public void Delete(HPS.BLL.CompanyGroupBLL.BLLCompanyGroup_T.CompanyGroup_TField fieldName, Object value)
 {
     try
     {
         _dataObject.DeleteByField(fieldName.ToString(), value);
     }
     catch (System.Exception ex)
     {
         throw Hepsa.Core.Exception.HandleException.ChangeExceptionLanguage(ex, this);
     }
 }
Ejemplo n.º 2
0
 public void GetAllBy(HPS.BLL.CompanyGroupBLL.BLLCompanyGroup_T.CompanyGroup_TField fieldName, Object value, ref System.Data.DataTable dataTable)
 {
     try
     {
         _dataObject.SelectByField(fieldName.ToString(), value, ref dataTable);
         this._count = dataTable.Rows.Count;
     }
     catch (System.Exception ex)
     {
         throw Hepsa.Core.Exception.HandleException.ChangeExceptionLanguage(ex, this);
     }
 }
Ejemplo n.º 3
0
 public List <HPS.BLL.CompanyGroupBLL.BLLCompanyGroup_T> GetAllBy(HPS.BLL.CompanyGroupBLL.BLLCompanyGroup_T.CompanyGroup_TField fieldName, Object value)
 {
     try
     {
         List <HPS.BLL.CompanyGroupBLL.BLLCompanyGroup_T> lst;
         lst         = _dataObject.SelectByField(fieldName.ToString(), value);
         this._count = lst.Count;
         return(lst);
     }
     catch (System.Exception ex)
     {
         throw Hepsa.Core.Exception.HandleException.ChangeExceptionLanguage(ex, this);
     }
 }