简体   繁体   English

Episerver 7从6升级到页面类型

[英]Episerver 7 upgraded from 6, move page types to code

I have a project which is just upgraded from EpiServer 6 to 7. Project is running fine, but now I would like to move the pagetypes into classes deriving from PageData. 我有一个刚刚从EpiServer 6升级到7的项目。该项目运行良好,但是现在我想将页面类型移到派生自PageData的类中。 How would I proceed doing this? 我将如何进行呢? We do not have PageTypeBuilder defined types, all is from database. 我们没有PageTypeBuilder定义的类型,全部来自数据库。 I guess we start with the GUID from the page type in admin gui and set it in ContentType attribute of the PageData class. 我想我们从admin gui中页面类型的GUID开始,并在PageData类的ContentType属性中进行设置。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM