public SalesPersonQuotaHistory GetSalesPersonQuotaHistory(int salesPersonID) { SalesPersonQuotaHistoryData data = new SalesPersonQuotaHistoryData(); SalesPersonQuotaHistory spqh = new SalesPersonQuotaHistory(); try { spqh = data.GetSalesPersonQuotaHistory(salesPersonID); } catch (Exception ex) { log.Write(ex.Message, "GetSalesPersonQuotaHistory"); throw (ex); } finally { data = null; } return(spqh); }
public bool UpdateSalesPersonQuotaHistory(SalesPersonQuotaHistory salespersonquotahistory) { SalesPersonQuotaHistoryData data = new SalesPersonQuotaHistoryData(); bool ret = false; try { ret = data.UpdateSalesPersonQuotaHistory(salespersonquotahistory); } catch (Exception ex) { log.Write(ex.Message, "UpdateSalesPersonQuotaHistory"); throw (ex); } finally { data = null; } return(ret); }
public bool Contains(SalesPersonQuotaHistory salesPersonQuotaHistory) { return(this.List.Contains(salesPersonQuotaHistory)); }
public void Remove(SalesPersonQuotaHistory salesPersonQuotaHistory) { this.List.Remove(salesPersonQuotaHistory); }
public void Insert(int index, SalesPersonQuotaHistory salesPersonQuotaHistory) { this.List.Insert(index, salesPersonQuotaHistory); }
public int IndexOf(SalesPersonQuotaHistory salesPersonQuotaHistory) { return(this.List.IndexOf(salesPersonQuotaHistory)); }
public int Add(SalesPersonQuotaHistory salesPersonQuotaHistory) { return(this.List.Add(salesPersonQuotaHistory)); }