public void Insert(string VoyageNumber, int?VesselID, string Joined, int?AddedBy, DateTime?DateAdded, byte[] Ts) { VoyageTable item = new VoyageTable(); item.VoyageNumber = VoyageNumber; item.VesselID = VesselID; item.Joined = Joined; item.AddedBy = AddedBy; item.DateAdded = DateAdded; item.Ts = Ts; item.Save(UserName); }
public void Update(int VoyageID, string VoyageNumber, int?VesselID, string Joined, int?AddedBy, DateTime?DateAdded, byte[] Ts) { VoyageTable item = new VoyageTable(); item.MarkOld(); item.IsLoaded = true; item.VoyageID = VoyageID; item.VoyageNumber = VoyageNumber; item.VesselID = VesselID; item.Joined = Joined; item.AddedBy = AddedBy; item.DateAdded = DateAdded; item.Ts = Ts; item.Save(UserName); }
public bool Destroy(object VoyageID) { return(VoyageTable.Destroy(VoyageID) == 1); }
public bool Delete(object VoyageID) { return(VoyageTable.Delete(VoyageID) == 1); }