📜  在sitecore c#代码示例中通过代码更新字段时不想更新修订版

📅  最后修改于: 2022-03-11 14:48:52.559000             🧑  作者: Mango

代码示例1
bool silent = true;
bool updateStatistics = false;

using (SecurityDisabler disabler = new SecurityDisabler())
{
    using (new EditContext(item, updateStatistics, silent))
    {
        item["ShortHeadline"] = item["Title"];    
    }
}