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