public void Insert(int?InvoiceNumber, int?SupplierID, float?EstimatedAmount, DateTime?EstimationDate, float?Amount, DateTime?DatePassed, string PurchaseInvNumber, string Remarks, float?ValueForProfit, byte[] Ts) { InternalPurchaseTabley item = new InternalPurchaseTabley(); item.InvoiceNumber = InvoiceNumber; item.SupplierID = SupplierID; item.EstimatedAmount = EstimatedAmount; item.EstimationDate = EstimationDate; item.Amount = Amount; item.DatePassed = DatePassed; item.PurchaseInvNumber = PurchaseInvNumber; item.Remarks = Remarks; item.ValueForProfit = ValueForProfit; item.Ts = Ts; item.Save(UserName); }
public bool Destroy(object Id) { return(InternalPurchaseTabley.Destroy(Id) == 1); }
public bool Delete(object Id) { return(InternalPurchaseTabley.Delete(Id) == 1); }