コード例 #1
0
        public void Update(int ProductID, DateTime StartDate, DateTime?EndDate, decimal StandardCost, DateTime ModifiedDate)
        {
            ProductCostHistory item = new ProductCostHistory();

            item.ProductID = ProductID;

            item.StartDate = StartDate;

            item.EndDate = EndDate;

            item.StandardCost = StandardCost;

            item.ModifiedDate = ModifiedDate;

            item.MarkOld();
            item.Save(UserName);
        }
コード例 #2
0
 public bool Destroy(object ProductID)
 {
     return(ProductCostHistory.Destroy(ProductID) == 1);
 }
コード例 #3
0
 public bool Delete(object ProductID)
 {
     return(ProductCostHistory.Delete(ProductID) == 1);
 }