예제 #1
0
        public void Update(int ContainerID, string ContainerNumber, int?SizeTypeID, int?VoyageID, int?OriginPortID, int?DestinationPortID, int?Cycfs, DateTime?DevanDate, int?DevanWarehouseID, bool?Devanned, DateTime?DeliveryDate, bool?Delivered, bool?LoadedOnBoard, DateTime?Updated, string DevanNotes, int?OriginControllerID, int?DestinationControllerID, DateTime?DeliveryTime, string BookingRef, int?ContainerStatusID, byte[] Ts)
        {
            ContainerTable item = new ContainerTable();

            item.MarkOld();
            item.IsLoaded = true;

            item.ContainerID = ContainerID;

            item.ContainerNumber = ContainerNumber;

            item.SizeTypeID = SizeTypeID;

            item.VoyageID = VoyageID;

            item.OriginPortID = OriginPortID;

            item.DestinationPortID = DestinationPortID;

            item.Cycfs = Cycfs;

            item.DevanDate = DevanDate;

            item.DevanWarehouseID = DevanWarehouseID;

            item.Devanned = Devanned;

            item.DeliveryDate = DeliveryDate;

            item.Delivered = Delivered;

            item.LoadedOnBoard = LoadedOnBoard;

            item.Updated = Updated;

            item.DevanNotes = DevanNotes;

            item.OriginControllerID = OriginControllerID;

            item.DestinationControllerID = DestinationControllerID;

            item.DeliveryTime = DeliveryTime;

            item.BookingRef = BookingRef;

            item.ContainerStatusID = ContainerStatusID;

            item.Ts = Ts;

            item.Save(UserName);
        }
예제 #2
0
 public bool Destroy(object ContainerID)
 {
     return(ContainerTable.Destroy(ContainerID) == 1);
 }
예제 #3
0
 public bool Delete(object ContainerID)
 {
     return(ContainerTable.Delete(ContainerID) == 1);
 }