示例#1
0
        public static void Process(IStockCount StockCount)
        {
            SqlParameter[] _parameters =
            {
                new SqlParameter("@ID", StockCount.ID)
            };

            SqlHelper.ExecuteNonQuery(ConnectionString, "sp_StockCounts_Process", _parameters);
        }
示例#2
0
        public static void Approve(IStockCount StockCount)
        {
            SqlParameter[] _parameters =
            {
                new SqlParameter("@ID", StockCount.ID)
                ,                       new SqlParameter("@Reason", StockCount.Reason)
                ,                       new SqlParameter("@SysModifier", StockCount.SysModifier)
            };

            SqlHelper.ExecuteNonQuery(ConnectionString, "sp_StockCounts_Approve", _parameters);
        }