Beispiel #1
0
 public override void UpdateGoodsDelivery(Model.Procurement.PmGoodsDelivery delivery)
 {
     Context.Update <Model.Procurement.PmGoodsDelivery>("PmGoodsDelivery", delivery).AutoMap(p => p.SysNo).Where(p => p.SysNo).Execute();
 }
Beispiel #2
0
 public override int InnerGoodsDelivery(Model.Procurement.PmGoodsDelivery delivery)
 {
     return(Context.Insert <Model.Procurement.PmGoodsDelivery>("PmGoodsDelivery", delivery).AutoMap(p => p.SysNo).ExecuteReturnLastId <int>("SysNo"));
 }