Ejemplo n.º 1
0
        public bool AddSalesTerritoryHistory(SalesTerritoryHistory salesterritoryhistory)
        {
            SalesTerritoryHistoryData data = new SalesTerritoryHistoryData();
            bool ret = true;

            try
            {
                ret = data.AddSalesTerritoryHistory(salesterritoryhistory);
            }
            catch (Exception ex)
            {
                log.Write(ex.Message, "AddSalesTerritoryHistory");
                throw (ex);
            }
            finally
            {
                data = null;
            }
            return(ret);
        }
 public bool Contains(SalesTerritoryHistory saleTerritoryHistory)
 {
     return(this.List.Contains(saleTerritoryHistory));
 }
 public void Remove(SalesTerritoryHistory saleTerritoryHistory)
 {
     this.List.Remove(saleTerritoryHistory);
 }
 public void Insert(int index, SalesTerritoryHistory saleTerritoryHistory)
 {
     this.List.Insert(index, saleTerritoryHistory);
 }
 public int IndexOf(SalesTerritoryHistory saleTerritoryHistory)
 {
     return(this.List.IndexOf(saleTerritoryHistory));
 }
 public int Add(SalesTerritoryHistory saleTerritoryHistory)
 {
     return(this.List.Add(saleTerritoryHistory));
 }