如何删除 GeneXus 知识库中的对象(使用未安装的 GeneXus 扩展创建的)

发布于 2024-09-28 19:06:43 字数 438 浏览 4 评论 0原文

我导入了一个导出,其中包含使用我未安装的 GeneXus 扩展生成的对象。 如何从我的知识库中查找并删除此对象?

当我打开知识库时,出现此错误:

开放知识库

标题: “C:\Models\101\MT1”处的 知识库包含 GeneXus 不包含的项目”不知道如何处理,因此将无法访问。

知识库很可能之前已通过 GeneXus 安装打开,该安装具有当前安装中不存在的扩展。

这些项目是: *“K2BToolsAuditSettings”-“K2 BTools 审核设置”(GUID 75a2b955-749a-3f29-99e0-aec666f802a0) 由“AuditUI”提供(GUID bf5ce710-6999-4e70-9ed8-a8ac4017827d)。

使用此知识库可能会丢失与这些未知项目相关的信息。

I imported an export with objects generated with a GeneXus extension I don't have installed.
How find and delete this object from my KB?

When I open the KB apear this error:

TITLE: Open Knowledge Base

Knowledge Base at 'C:\Models\101\MT1' contains items that GeneXus doesn't know how to handle and will therefore be inaccessible.

It is likely that the Knowledge Base has been previously opened with a GeneXus installation which had extensions that are not present in the current one.

These items are:
* 'K2BToolsAuditSettings' - 'K2 BTools Audit Settings' (GUID 75a2b955-749a-3f29-99e0-aec666f802a0)
Provided by 'AuditUI' (GUID bf5ce710-6999-4e70-9ed8-a8ac4017827d).

Working on this Knowledge Base may lose information related to these unknown items.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

迷离° 2024-10-05 19:06:43

执行这个脚本,我解决了这个问题。

从 EntityTypeId = 的实体中删除(从 EntityType where EntityTypeName = 'K2BToolsAuditSettings' 选择 EntityTypeId)
从 EntityVersion 中删除,其中 EntityTypeId =(从 EntityType 中选择 EntityTypeId,其中 EntityTypeName = 'K2BToolsAuditSettings')
从 EntityVersionComposition 中删除,其中 ComponentEntityTypeId =(从 EntityType 中选择 EntityTypeId,其中 EntityTypeName = 'K2BToolsAuditSettings')
从EntityVersionComposition删除,其中CompoundEntityTypeId =(从EntityType中选择EntityTypeId,其中EntityTypeName ='K2BToolsAuditSettings')
从 ModelCrossReference 中删除,其中 FromEntityTypeId =(从 EntityType 中选择 EntityTypeId,其中 EntityTypeName = 'K2BToolsAuditSettings')
从 ModelCrossReference 中删除,其中 ToEntityTypeId =(从 EntityType 中选择 EntityTypeId,其中 EntityTypeName = 'K2BToolsAuditSettings')
从 ModelEntityHistory 中删除,其中 EntityTypeId =(从 EntityType 中选择 EntityTypeId,其中 EntityTypeName = 'K2BToolsAuditSettings')
从 ModelEntityOutput 中删除,其中 EntityTypeId =(从 EntityType 中选择 EntityTypeId,其中 EntityTypeName = 'K2BToolsAuditSettings')
从 ModelEntityProperty 中删除,其中 EntityTypeId =(从 EntityType 中选择 EntityTypeId,其中 EntityTypeName = 'K2BToolsAuditSettings')
从 ModelEntityToTable 中删除,其中 EntityTypeId =(从 EntityType 中选择 EntityTypeId,其中 EntityTypeName = 'K2BToolsAuditSettings')
从 ModelEntityVersion 中删除,其中 EntityTypeId =(从 EntityType 中选择 EntityTypeId,其中 EntityTypeName = 'K2BToolsAuditSettings')

Executing this script, i resolved this problem.

delete from Entity where EntityTypeId = (select EntityTypeId from EntityType where EntityTypeName = 'K2BToolsAuditSettings')
delete from EntityVersion where EntityTypeId = (select EntityTypeId from EntityType where EntityTypeName = 'K2BToolsAuditSettings')
delete from EntityVersionComposition where ComponentEntityTypeId = (select EntityTypeId from EntityType where EntityTypeName = 'K2BToolsAuditSettings')
delete from EntityVersionComposition where CompoundEntityTypeId = (select EntityTypeId from EntityType where EntityTypeName = 'K2BToolsAuditSettings')
delete from ModelCrossReference where FromEntityTypeId = (select EntityTypeId from EntityType where EntityTypeName = 'K2BToolsAuditSettings')
delete from ModelCrossReference where ToEntityTypeId = (select EntityTypeId from EntityType where EntityTypeName = 'K2BToolsAuditSettings')
delete from ModelEntityHistory where EntityTypeId = (select EntityTypeId from EntityType where EntityTypeName = 'K2BToolsAuditSettings')
delete from ModelEntityOutput where EntityTypeId = (select EntityTypeId from EntityType where EntityTypeName = 'K2BToolsAuditSettings')
delete from ModelEntityProperty where EntityTypeId = (select EntityTypeId from EntityType where EntityTypeName = 'K2BToolsAuditSettings')
delete from ModelEntityToTable where EntityTypeId = (select EntityTypeId from EntityType where EntityTypeName = 'K2BToolsAuditSettings')
delete from ModelEntityVersion where EntityTypeId = (select EntityTypeId from EntityType where EntityTypeName = 'K2BToolsAuditSettings')

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文