コード例 #1
0
        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);
        }
コード例 #2
0
ファイル: StockBLL.cs プロジェクト: zhengqiao520/PosSystem
 public int InsertGoodsInDetail(GoodsInDetailEntity entity, DbTransaction trans)
 {
     return(StockDAL.InsertGoodsInDetail(entity, trans));
 }