强制清除基础属性缓存
#region 强制清除基础属性缓存
/// <summary>
/// 强制清除缓存
/// </summary>
/// <param name="id">基础属性的ID</param>
public static void RemoveCache(string billId, string id, Context Context)
{
IMetaDataService metaService = ServiceHelper.GetService<IMetaDataService>();
FormMetadata meta = metaService.Load(Context, billId) as FormMetadata; //加载基础属性的元数据
DataEntityCacheManager cacheManager = new DataEntityCacheManager(Context, meta.BusinessInfo.GetDynamicObjectType());
cacheManager.RemoveCacheByPrimaryKey(id);
}
#endregion
}
老师,可以直接改成python不 方便用些
强制清除基础属性缓存
#region 强制清除基础属性缓存 /// <summary> /// 强制清除缓存 /// </summary> ...
点击下载文档
上一篇:内容太多,列宽太窄,如何实现自动换行下一篇:送愿望卡2
本文2024-09-16 19:12:15发表“云星空知识”栏目。
本文链接:https://wenku.my7c.com/article/kingdee-k3cloud-27078.html
您需要登录后才可以发表评论, 登录登录 或者 注册
最新文档
热门文章