public void Insert(int PATitleID, decimal?CartonLength, decimal?CartonWidth, decimal?CartonHeight, decimal?CartonWeight)
        {
            PublishipAdvanceCartonTable item = new PublishipAdvanceCartonTable();

            item.PATitleID = PATitleID;

            item.CartonLength = CartonLength;

            item.CartonWidth = CartonWidth;

            item.CartonHeight = CartonHeight;

            item.CartonWeight = CartonWeight;


            item.Save(UserName);
        }
        public void Update(int PubAdvCartonID, int PATitleID, decimal?CartonLength, decimal?CartonWidth, decimal?CartonHeight, decimal?CartonWeight)
        {
            PublishipAdvanceCartonTable item = new PublishipAdvanceCartonTable();

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

            item.PubAdvCartonID = PubAdvCartonID;

            item.PATitleID = PATitleID;

            item.CartonLength = CartonLength;

            item.CartonWidth = CartonWidth;

            item.CartonHeight = CartonHeight;

            item.CartonWeight = CartonWeight;

            item.Save(UserName);
        }
 public bool Destroy(object PubAdvCartonID)
 {
     return(PublishipAdvanceCartonTable.Destroy(PubAdvCartonID) == 1);
 }
 public bool CartonDelete(object PubAdvCartonID)
 {
     return(PublishipAdvanceCartonTable.Delete(PubAdvCartonID) == 1);
 }