Exemplo n.º 1
0
        public void Insert(string Name, decimal ShipBase, decimal ShipRate, Guid Rowguid, DateTime ModifiedDate)
        {
            ShipMethod item = new ShipMethod();

            item.Name = Name;

            item.ShipBase = ShipBase;

            item.ShipRate = ShipRate;

            item.Rowguid = Rowguid;

            item.ModifiedDate = ModifiedDate;


            item.Save(UserName);
        }
Exemplo n.º 2
0
        public void Update(int ShipMethodID, string Name, decimal ShipBase, decimal ShipRate, Guid Rowguid, DateTime ModifiedDate)
        {
            ShipMethod item = new ShipMethod();

            item.ShipMethodID = ShipMethodID;

            item.Name = Name;

            item.ShipBase = ShipBase;

            item.ShipRate = ShipRate;

            item.Rowguid = Rowguid;

            item.ModifiedDate = ModifiedDate;

            item.MarkOld();
            item.Save(UserName);
        }