示例#1
0
        public void Insert(int TransactionID, int ProductID, int ReferenceOrderID, int ReferenceOrderLineID, DateTime TransactionDate, string TransactionType, int Quantity, decimal ActualCost, DateTime ModifiedDate)
        {
            TransactionHistoryArchive item = new TransactionHistoryArchive();

            item.TransactionID = TransactionID;

            item.ProductID = ProductID;

            item.ReferenceOrderID = ReferenceOrderID;

            item.ReferenceOrderLineID = ReferenceOrderLineID;

            item.TransactionDate = TransactionDate;

            item.TransactionType = TransactionType;

            item.Quantity = Quantity;

            item.ActualCost = ActualCost;

            item.ModifiedDate = ModifiedDate;


            item.Save(UserName);
        }
示例#2
0
 public bool Destroy(object TransactionID)
 {
     return(TransactionHistoryArchive.Destroy(TransactionID) == 1);
 }