Fixing an issue I had introduced in ExpressionHelper

This commit is contained in:
Morten Christensen
2012-11-26 14:13:50 -01:00
parent 00f2458edd
commit 92913389b8
9 changed files with 40 additions and 27 deletions

View File

@@ -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; }
}
}

View File

@@ -2,6 +2,7 @@
namespace Umbraco.Tests.CodeFirst.TestModels
{
//Plain Poco Type - plainPocoType
public class PlainPocoType
{
public string Title { get; set; }