public void Insert(int?VoyageID, int?DestinationPortID, DateTime?Eta, byte[] Ts) { VoyageETASubTable item = new VoyageETASubTable(); item.VoyageID = VoyageID; item.DestinationPortID = DestinationPortID; item.Eta = Eta; item.Ts = Ts; item.Save(UserName); }
public void Update(int VoyageETASubID, int?VoyageID, int?DestinationPortID, DateTime?Eta, byte[] Ts) { VoyageETASubTable item = new VoyageETASubTable(); item.MarkOld(); item.IsLoaded = true; item.VoyageETASubID = VoyageETASubID; item.VoyageID = VoyageID; item.DestinationPortID = DestinationPortID; item.Eta = Eta; item.Ts = Ts; item.Save(UserName); }
public bool Destroy(object VoyageETASubID) { return(VoyageETASubTable.Destroy(VoyageETASubID) == 1); }
public bool Delete(object VoyageETASubID) { return(VoyageETASubTable.Delete(VoyageETASubID) == 1); }