Esempio n. 1
0
        public int Insert(SqlTransaction trans, AllocationStockModel stockModel)
        {
            int num = 0;

            if ((stockModel.ACode != "") && (stockModel.SCode != ""))
            {
                num = AllocationAction.Insert(trans, stockModel);
            }
            return(num);
        }
Esempio n. 2
0
        public int Insert(SqlTransaction trans, AllocationModel model)
        {
            int num = 0;

            if (model.Acode != "")
            {
                num = AllocationAction.Insert(trans, model);
            }
            return(num);
        }