获取产品数据不是来自缓存 [英] Get Product data not from the cache
问题描述
大家好,
目前我们正在使用CommerceContext.GetProduct()函数来查看产品信息,它看起来像是从缓存中获取数据。有没有其他方法可以获取产品信息而不是缓存?
Currently we are using CommerceContext.GetProduct() function to the product's information and it looks like it's getting the data from the cache. Is there any other way to get product's information but not from the cache?
谢谢,
最好的问候,
RWH
谢谢你,最诚挚的问候,Ronald Wisnu Hariyanto
Thank you, Best Regards, Ronald Wisnu Hariyanto
推荐答案
嗨罗纳德,
这是从Cache获取数据的一种很好的做法,这将是性能提升。
This is a good practice of getting the data from Cache and this would be the performance gain.
如果你总是需要从目录中仍然有一种方法。请仔细阅读下面的主题可能会帮助你。
Still if you need always from catalog still there is a way. Please go through below threads may be help you out.
http://msdn.microsoft.com/en-us/library/aa545675(v = cs.70).aspx
http://msdn.microsoft.com/en-us/library/ms963787.aspx
这篇关于获取产品数据不是来自缓存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!