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); }
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); }