我有一個全新的EPi7 mvc4(Razor)解決方案。當我嘗試添加一個簡單的頁面類型時,數據庫沒有得到更新。並且沒有頁面類型可用EPiServer7 PageTypes沒有得到更新
頁類型如下:
[ContentType(DisplayName = "TestPage", GUID = "00e90ef5-cc85-487c-9aed-c28e6046cb2b", Description = "")]
public class TestPage : PageData
{
[CultureSpecific]
[Editable(true)]
[Display(
Name = "Main body",
Description = "The main body will be shown in the main content area of the page, using the XHTML-editor you can insert for example text, images and tables.",
GroupName = SystemTabNames.Content,
Order = 1)]
public virtual XhtmlString MainBody { get; set; }
}
在以前的版本中,關閉同步可以有像一些類型的交換機?我意識到這不再是一個PageTypeBulder,但仍然是。