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