public bool Delete(EntityHandler.Objects obj) { bool Status = false; try { Status = new DataAccessHandler.Objects().Delete(obj); } catch (Exception ex) { } return Status; }
public bool Delete(EntityHandler.Objects obj) { bool Status = false; try { Status = new DataAccessHandler.Objects().Delete(obj); } catch (Exception ex) { } return(Status); }
public List<EntityHandler.Objects> SelectAll(EntityHandler.Objects obj) { List<EntityHandler.Objects> listobj = new List<EntityHandler.Objects>(); try { DataTable dt = new DataAccessHandler.Objects().SelectAll(obj); for (int i = 0; i < dt.Rows.Count; i++) { listobj.Add(ConvertToObject(dt.Rows[i])); } } catch (Exception ex) { } return listobj; }
public List <EntityHandler.Objects> SelectAll(EntityHandler.Objects obj) { List <EntityHandler.Objects> listobj = new List <EntityHandler.Objects>(); try { DataTable dt = new DataAccessHandler.Objects().SelectAll(obj); for (int i = 0; i < dt.Rows.Count; i++) { listobj.Add(ConvertToObject(dt.Rows[i])); } } catch (Exception ex) { } return(listobj); }