我在 C# 中更新了我的代码,但在运行 Web 服务时没有看到执行的更改。我已经尝试过 - 重建我的所有代码 - 重新启动 IIS - 清除 chrome 上的缓存 - 使用隐身窗口
到底是怎么回事?这是一张图片,显示它使用的是我的注释代码,而不是我更改的更新代码。
http://i.imgur.com/JtOnCy8.jpg
string query = "select * from product";
/*
string query = string.Format("SELECT p.GTIN " +
",sc.StudyCellId " +
",pm.Name " +
",pm.Description as PricetagDescription " +
",pm.Size as Size " +
",pm.Brand as Brand " +
",pm.Price as Price " +
",pm.ProductKey as ProductKey " +
",pm.Category as Category " +
",pm.Details.value('(/Details/Tags/Tag[@Type=\"Type\"])[1]/@Name', 'varchar(max)') AS Type " +
",pm.Details.value('(/Details/Tags/Tag[@Type=\"Form\"])[1]/@Name', 'varchar(max)') AS Form " +
"FROM StudyCell sc " +
"inner join ProductMeta pm on pm.StudyCellId = sc.StudyCellId " +
"inner join Product p on pm.ProductId = p.ProductId " +
"where StudyId = {0} " +
"order by sc.StudyCellId " +
",GTIN", studyId);
*/