强制清除基础属性缓存
#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
您需要登录后才可以发表评论, 登录登录 或者 注册
最新文档
- 鼎捷API-T100-1.企业基础API-查询员工数据-t100.oapi.employee.list.data.query.get-wssp00007CN02_s.pdf
- 鼎捷API-T100-1.企业基础API-建立工作站工作中心数据-t100.oapi.workstation.data.create-wssp00050CN02_s.pdf
- 鼎捷API-T100-5.生产信息API-更新发料单数据-t100.oapi.issuing.data.update-wssp00243CN02_s.pdf
- 鼎捷API-T100-4.物流信息API-更新杂收单数据-t100.oapi.other.in.inventory.data.update-wssp00226CN02_s.pdf
- 鼎捷API-T100-5.生产信息API-创建当站下线数据-t100.oapi.wo.report.stockin.data.create-wssp00298CN02_s.pdf
- 鼎捷API-T100-2.采购信息API-更新请购变更单数据-t100.oapi.purchase.requisitions.change.data.update-wssp00129CN02_s.pdf
- 鼎捷API-T100-5.生产信息API-过帐发料单数据-t100.oapi.issuing.data.post-wssp00249CN02_s.pdf
- 鼎捷API-T100-3.销售信息API-读取销售价格表数据-t100.oapi.sales.price.details.data.read.get-wssp00096CN02_s.pdf
- 鼎捷API-T100-5.生产信息API-删除发料单数据-t100.oapi.issuing.data.delete-wssp00246CN02_s.pdf
- 鼎捷API-T100-5.生产信息API-过帐工单当站入库数据-t100.oapi.wo.report.stockin.data.post-wssp00305CN02_s.pdf
热门文章