Esempio 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);
        }
Esempio 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);
        }
Esempio n. 3
0
 public bool Destroy(object ShipMethodID)
 {
     return(ShipMethod.Destroy(ShipMethodID) == 1);
 }
Esempio n. 4
0
 public bool Delete(object ShipMethodID)
 {
     return(ShipMethod.Delete(ShipMethodID) == 1);
 }