Пример #1
0
        public void Insert(int?Orderid, DateTime?PreCargoready, int?PreEstpallets, int?PreEstweight, float?PreEstvolume, DateTime?PostCargoready, int?PostEstpallets, int?PostEstweight, float?PostEstvolume, int?Companyid, int?Userid, DateTime?Dtupdated, string Updguid, byte[] Mstimestamp)
        {
            OrderCargoUpdateLog item = new OrderCargoUpdateLog();

            item.Orderid = Orderid;

            item.PreCargoready = PreCargoready;

            item.PreEstpallets = PreEstpallets;

            item.PreEstweight = PreEstweight;

            item.PreEstvolume = PreEstvolume;

            item.PostCargoready = PostCargoready;

            item.PostEstpallets = PostEstpallets;

            item.PostEstweight = PostEstweight;

            item.PostEstvolume = PostEstvolume;

            item.Companyid = Companyid;

            item.Userid = Userid;

            item.Dtupdated = Dtupdated;

            item.Updguid = Updguid;

            item.Mstimestamp = Mstimestamp;


            item.Save(UserName);
        }
Пример #2
0
 public bool Destroy(object Cargoupdateid)
 {
     return(OrderCargoUpdateLog.Destroy(Cargoupdateid) == 1);
 }