public void Update(int DespatchId, string DespatchRef, decimal?TotalCartons, decimal?TotalWeight, decimal?TotalCbm, string CreatedBy, DateTime?CreatedDate, byte[] DespatchNoteTs) { DespatchNote item = new DespatchNote(); item.MarkOld(); item.IsLoaded = true; item.DespatchId = DespatchId; item.DespatchRef = DespatchRef; item.TotalCartons = TotalCartons; item.TotalWeight = TotalWeight; item.TotalCbm = TotalCbm; item.CreatedBy = CreatedBy; item.CreatedDate = CreatedDate; item.DespatchNoteTs = DespatchNoteTs; item.Save(UserName); }
public void Insert(string DespatchRef, decimal?TotalCartons, decimal?TotalWeight, decimal?TotalCbm, string CreatedBy, DateTime?CreatedDate, byte[] DespatchNoteTs) { DespatchNote item = new DespatchNote(); item.DespatchRef = DespatchRef; item.TotalCartons = TotalCartons; item.TotalWeight = TotalWeight; item.TotalCbm = TotalCbm; item.CreatedBy = CreatedBy; item.CreatedDate = CreatedDate; item.DespatchNoteTs = DespatchNoteTs; item.Save(UserName); }
public bool Destroy(object DespatchId) { return(DespatchNote.Destroy(DespatchId) == 1); }
public bool Delete(object DespatchId) { return(DespatchNote.Delete(DespatchId) == 1); }