0

在将我的 Orchard 1.9.1 项目迁移到 Orchard 1.7 时,我们使用了 Orchard 库中的 Arana.VersionManager。

我们进一步根据需要对其进行了定制,并使用了1.9.1中的Restore方法Orchard.ContentManagement.IContentManager

ContentItem Restore(ContentItem contentItem, VersionOptions options);

但是,当我们回到 Orchard 1.7 时,现在没有Restore方法了。我真的不想失去这个Restore功能。请建议下一步。Restore1.9.1 中 Content Manager的这种方法的代码在哪里?可以简单地包含 1.7 中的代码吗?

4

0 回答 0