Created
June 4, 2015 21:38
-
-
Save micklaw/81a1d148eeae0b969cf6 to your computer and use it in GitHub Desktop.
Archetype in Ditto POCO
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace Ditto.Resolvers.Sample.Models.DocTypes | |
{ | |
public class Home : Page | |
{ | |
public Home(IPublishedContent content) : base(content) | |
{ | |
} | |
public string Title { get; set; } | |
public HtmlString Body { get; set; } | |
[ArchetypeResolver] | |
public List<PriceList> PriceList { get; set; } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment