示例#1
0
        public int InsertSorting(int pc_id)
        {
            ProductInfo info   = new ProductInfo();
            IDataReader reader = db.InsertSorting(pc_id).CreateDataReader();

            while (reader.Read())
            {
                info = ProductInfo.Populate(reader);
            }
            return(info.p_sorting + 1);
        }