コード例 #1
0
        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);
        }
コード例 #2
0
        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);
        }
コード例 #3
0
 public bool Destroy(object VoyageETASubID)
 {
     return(VoyageETASubTable.Destroy(VoyageETASubID) == 1);
 }
コード例 #4
0
 public bool Delete(object VoyageETASubID)
 {
     return(VoyageETASubTable.Delete(VoyageETASubID) == 1);
 }