Пример #1
0
 public override int CreateMod(Model.Generated.WhWarehouseChangeLog log)
 {
     if (!CheckWhWarehouseChangeLogTable("WhWarehouseChangeLog"))
     {
         CreateWhWarehouseChangeLogTable("WhWarehouseChangeLog");
     }
     return(Context.Insert("WhWarehouseChangeLog", log).AutoMap(p => p.SysNo).ExecuteReturnLastId <int>("SysNo"));
 }
Пример #2
0
 public override void UpdateMod(Model.Generated.WhWarehouseChangeLog log)
 {
     Context.Update("WhWarehouseChangeLog", log).AutoMap(p => p.SysNo).Where(p => p.SysNo).Execute();
 }
Пример #3
0
 public void UpdateMod(Model.Generated.WhWarehouseChangeLog log)
 {
     IWhWarehouseChangeLogDao.Instance.UpdateMod(log);
 }
Пример #4
0
 public int CreateMod(Model.Generated.WhWarehouseChangeLog log)
 {
     return(IWhWarehouseChangeLogDao.Instance.CreateMod(log));
 }