¶Ô±ÈÐÂÎļþ |
| | |
| | | namespace WIDESEA_StorageOutOrderRepository; |
| | | |
| | | public class Dt_OutOrderAndStock_HtyRepository : RepositoryBase<Dt_OutOrderAndStock_Hty>, IDt_OutOrderAndStock_HtyRepository |
| | | { |
| | | public Dt_OutOrderAndStock_HtyRepository(IUnitOfWorkManage unitOfWorkManage) : base(unitOfWorkManage) |
| | | { |
| | | } |
| | | |
| | | /// <summary> |
| | | /// å¯¼èªæ·»å ï¼æ·»å åºå主ä»åå²ï¼è®¢å主ä»åå²ï¼ |
| | | /// </summary> |
| | | /// <param name="stock">åºåºç©æä¿¡æ¯åå²</param> |
| | | /// <returns>æå/失败</returns> |
| | | public bool InsertNav(Dt_OutOrderAndStock_Hty stock) |
| | | { |
| | | return Db.InsertNav(stock) |
| | | .Include(x => x.OrderList).ThenInclude(x => x.orderDetailList) |
| | | .Include(x => x.StockList).ThenInclude(x => x.StockDetailList) |
| | | .ExecuteCommand(); |
| | | } |
| | | } |