Fixing an issue I had introduced in ExpressionHelper
This commit is contained in:
@@ -10,20 +10,16 @@ namespace Umbraco.Tests.CodeFirst.TestModels
|
||||
public class DecoratedModelPage
|
||||
{
|
||||
[PropertyType(typeof(TextFieldDataType), PropertyGroup = "Content")]
|
||||
[SortOrder(0)]
|
||||
public string Author { get; set; }
|
||||
|
||||
[PropertyType(typeof(TextFieldDataType), PropertyGroup = "Content")]
|
||||
[SortOrder(1)]
|
||||
public string Title { get; set; }
|
||||
|
||||
[Richtext(PropertyGroup = "Content")]
|
||||
[SortOrder(2)]
|
||||
[Description("Richtext field to enter the main content of the page")]
|
||||
public string BodyContent { get; set; }
|
||||
|
||||
[SortOrder(3)]
|
||||
[Alias("publishedDate", Name = "Publish Date")]
|
||||
public DateTime PublishDate { get; set; }
|
||||
public DateTime PublishDate { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
namespace Umbraco.Tests.CodeFirst.TestModels
|
||||
{
|
||||
//Plain Poco Type - plainPocoType
|
||||
public class PlainPocoType
|
||||
{
|
||||
public string Title { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user