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