Example #1
0
 public override void UpdateGoodsDeliveryItem(Model.Procurement.PmGoodsDeliveryItem deliveryItem)
 {
     Context.Update <Model.Procurement.PmGoodsDeliveryItem>("PmGoodsDeliveryItem", deliveryItem).AutoMap(p => p.SysNo).Where(p => p.SysNo).Execute();
 }
Example #2
0
 public override int InnerGoodsDeliveryItem(Model.Procurement.PmGoodsDeliveryItem deliveryItem)
 {
     return(Context.Insert <Model.Procurement.PmGoodsDeliveryItem>("PmGoodsDeliveryItem", deliveryItem).AutoMap(p => p.SysNo).ExecuteReturnLastId <int>("SysNo"));
 }