public static int InsertGoodsInDetail(GoodsInDetailEntity entity, DbTransaction trans) { var res = utity.ExecuteNonQuerySp(trans, "usp_InsertGoodsInDetail", new object[] { entity.ID, entity.GoodsInCode, entity.StoreID, entity.BarID, entity.Name, entity.NameAbbr, entity.SPEC, entity.ModelNumber, entity.CategoryID, entity.Category, entity.CodeNumber, entity.BatchNo, entity.Unit, entity.Supplier, entity.BuyingPrice, entity.RetailPrice, entity.InQuantityStock, entity.InstockAmount, entity.ProductionDate, entity.ProductionPlace }); return(res); }
public int InsertGoodsInDetail(GoodsInDetailEntity entity, DbTransaction trans) { return(StockDAL.InsertGoodsInDetail(entity, trans)); }