Beispiel #1
0
        public void Update(int ContainerSubID, int?ContainerID, int?OrderID, int?OrderNumber, int?Packages, int?PackageTypeID, double?Weight, double?Cbm, byte[] Ts)
        {
            ContainerSubTable item = new ContainerSubTable();

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

            item.ContainerSubID = ContainerSubID;

            item.ContainerID = ContainerID;

            item.OrderID = OrderID;

            item.OrderNumber = OrderNumber;

            item.Packages = Packages;

            item.PackageTypeID = PackageTypeID;

            item.Weight = Weight;

            item.Cbm = Cbm;

            item.Ts = Ts;

            item.Save(UserName);
        }
Beispiel #2
0
        public void Insert(int?ContainerID, int?OrderID, int?OrderNumber, int?Packages, int?PackageTypeID, double?Weight, double?Cbm, byte[] Ts)
        {
            ContainerSubTable item = new ContainerSubTable();

            item.ContainerID = ContainerID;

            item.OrderID = OrderID;

            item.OrderNumber = OrderNumber;

            item.Packages = Packages;

            item.PackageTypeID = PackageTypeID;

            item.Weight = Weight;

            item.Cbm = Cbm;

            item.Ts = Ts;


            item.Save(UserName);
        }
Beispiel #3
0
 public bool Destroy(object ContainerSubID)
 {
     return(ContainerSubTable.Destroy(ContainerSubID) == 1);
 }
Beispiel #4
0
 public bool Delete(object ContainerSubID)
 {
     return(ContainerSubTable.Delete(ContainerSubID) == 1);
 }