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); }