public override void UpdateMod(Model.Promotion.SpSpike mod) { Context.Update("SpSpike", mod).AutoMap(p => p.SysNo, p => p.CreatedDate, p => p.CreatedBy).Where(p => p.SysNo).Execute(); }
public void UpdateMod(Model.Promotion.SpSpike mod) { ISpSpikeDao.Instance.UpdateMod(mod); }
public override int InsertMod(Model.Promotion.SpSpike mod) { return(Context.Insert("SpSpike", mod).AutoMap(p => p.SysNo).ExecuteReturnLastId <int>("SysNo")); }
public int InsertMod(Model.Promotion.SpSpike mod) { return(ISpSpikeDao.Instance.InsertMod(mod)); }