Example #1
0
 /// <summary>
 /// 更新数据
 /// </summary>
 /// <param name="mod"></param>
 public void UpdateMod(Model.Transport.DsWhCustomerConfig mod)
 {
     IDsWhCustomerConfigDao.Instance.UpdateMod(mod);
 }
Example #2
0
 public override void UpdateMod(Model.Transport.DsWhCustomerConfig mod)
 {
     Context.Update("DsWhCustomerConfig", mod).AutoMap(p => p.SysNo).Where(p => p.SysNo).Execute();
 }
Example #3
0
 /// <summary>
 /// 添加数据
 /// </summary>
 /// <param name="mod"></param>
 /// <returns></returns>
 public int InsertMod(Model.Transport.DsWhCustomerConfig mod)
 {
     return(IDsWhCustomerConfigDao.Instance.InsertMod(mod));
 }
Example #4
0
 public override int InsertMod(Model.Transport.DsWhCustomerConfig mod)
 {
     return(Context.Insert("DsWhCustomerConfig", mod).AutoMap(p => p.SysNo).ExecuteReturnLastId <int>("SysNo"));
 }