Fixes up some more mappings, adds another test to simulate persisting an updated type from the display model - which isn't working so need to fix more.

This commit is contained in:
Shannon
2015-06-05 16:13:13 +02:00
parent e580bfef97
commit f2f29eaa8e
7 changed files with 152 additions and 25 deletions

View File

@@ -1,4 +1,5 @@
using System.ComponentModel.DataAnnotations;
using System;
using System.ComponentModel.DataAnnotations;
using System.Runtime.Serialization;
using Umbraco.Core;
using Umbraco.Core.IO;
@@ -14,6 +15,11 @@ namespace Umbraco.Web.Models.ContentEditing
[DataContract(Name = "contentType", Namespace = "")]
public class ContentTypeBasic : EntityBasic
{
[DataMember(Name = "updateDate")]
public DateTime UpdateDate { get; set; }
[DataMember(Name = "createDate")]
public DateTime CreateDate { get; set; }
[DataMember(Name = "description")]
public string Description { get; set; }