public void UpdateAll(DateTime?updateTime = null) { var upTime = updateTime ?? DateTime.Now; CacheOp.SetNeedUpdate(EntityType, upTime); }
public void UpdateById(string keyId, DateTime?updateTime = null) { var upTime = updateTime ?? DateTime.Now; CacheOp.SetNeedUpdate(EntityType, upTime, keyId); }