Example #1
0
 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();
 }
Example #2
0
 public void UpdateMod(Model.Promotion.SpSpike mod)
 {
     ISpSpikeDao.Instance.UpdateMod(mod);
 }
Example #3
0
 public override int InsertMod(Model.Promotion.SpSpike mod)
 {
     return(Context.Insert("SpSpike", mod).AutoMap(p => p.SysNo).ExecuteReturnLastId <int>("SysNo"));
 }
Example #4
0
 public int InsertMod(Model.Promotion.SpSpike mod)
 {
     return(ISpSpikeDao.Instance.InsertMod(mod));
 }