public void Insert(int InvoiceSubTableAuditID, int?InvoiceSubTableID, int?InvoiceNumber, int?ChargeType, string Detail, int?OldValue, float?NewValue, bool Vat, decimal?VATAmount, DateTime?DateAdded, int?AddedBy, byte[] Ts) { InvoiceSubTableAudit item = new InvoiceSubTableAudit(); item.InvoiceSubTableAuditID = InvoiceSubTableAuditID; item.InvoiceSubTableID = InvoiceSubTableID; item.InvoiceNumber = InvoiceNumber; item.ChargeType = ChargeType; item.Detail = Detail; item.OldValue = OldValue; item.NewValue = NewValue; item.Vat = Vat; item.VATAmount = VATAmount; item.DateAdded = DateAdded; item.AddedBy = AddedBy; item.Ts = Ts; item.Save(UserName); }
public bool Destroy(object InvoiceSubTableAuditID) { return(InvoiceSubTableAudit.Destroy(InvoiceSubTableAuditID) == 1); }
public bool Delete(object InvoiceSubTableAuditID) { return(InvoiceSubTableAudit.Delete(InvoiceSubTableAuditID) == 1); }