public void Update(int ShipmentSizeId, int?QuoteId, double?CalcCopiescarton, double?TotCartons, double?PalCartons, double?PalFull, double?PalFullWt, double?PalFullCu, double?PalLayers, double?PalLayerCount, double?PalTotalWt, double?PalTotalCu, double?PalRatio, double?CtnHgt, double?CtnLen, double?CtnWid, double?CtnWt, double?ParCount, double?CtnRemaining, double?ResidueCu, double?ResidueWt, double?CtnTotalWt, double?CtnTotalCu, double?CtnRatio, byte[] SzTimestamp)
        {
            ShipmentSize item = new ShipmentSize();

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

            item.ShipmentSizeId = ShipmentSizeId;

            item.QuoteId = QuoteId;

            item.CalcCopiescarton = CalcCopiescarton;

            item.TotCartons = TotCartons;

            item.PalCartons = PalCartons;

            item.PalFull = PalFull;

            item.PalFullWt = PalFullWt;

            item.PalFullCu = PalFullCu;

            item.PalLayers = PalLayers;

            item.PalLayerCount = PalLayerCount;

            item.PalTotalWt = PalTotalWt;

            item.PalTotalCu = PalTotalCu;

            item.PalRatio = PalRatio;

            item.CtnHgt = CtnHgt;

            item.CtnLen = CtnLen;

            item.CtnWid = CtnWid;

            item.CtnWt = CtnWt;

            item.ParCount = ParCount;

            item.CtnRemaining = CtnRemaining;

            item.ResidueCu = ResidueCu;

            item.ResidueWt = ResidueWt;

            item.CtnTotalWt = CtnTotalWt;

            item.CtnTotalCu = CtnTotalCu;

            item.CtnRatio = CtnRatio;

            item.SzTimestamp = SzTimestamp;

            item.Save(UserName);
        }
 public bool Destroy(object ShipmentSizeId)
 {
     return(ShipmentSize.Destroy(ShipmentSizeId) == 1);
 }
 public bool Delete(object ShipmentSizeId)
 {
     return(ShipmentSize.Delete(ShipmentSizeId) == 1);
 }