private void CheckChangeDesc(ProductEntity pt) { var hNew = pt.GetHashDesc(); var hOld = (_dicHashDesc.ContainsKey(pt.ID)) ? _dicHashDesc[pt.ID] : 0; if (pt.Valid && hNew != hOld && !string.IsNullOrEmpty(pt.GetFullDesc())) { pt.StatusChange.IsChangeDesc = true; } }