Skip to content

Instantly share code, notes, and snippets.

@ArveSystad
Last active August 29, 2015 14:06
Show Gist options
  • Save ArveSystad/f88d06a92dac0d85b014 to your computer and use it in GitHub Desktop.
Save ArveSystad/f88d06a92dac0d85b014 to your computer and use it in GitHub Desktop.
[ContentType(GUID = "6CA27C21-FF6C-425F-A87D-1C7E4BE26AA8", AvailableInEditMode = true)]
public class Review : ContentData, IContent
{
public virtual int Rating { get; set; }
public virtual string ProductNumber { get; set; }
[BackingType(typeof(PropertyLongString))]
public virtual string Text { get; set; }
public virtual string UserDisplayName { get; set; }
//IContent implementation
public string Name { get; set; }
public ContentReference ContentLink { get; set; }
public ContentReference ParentLink { get; set; }
public Guid ContentGuid { get; set; }
public int ContentTypeID { get; set; }
public bool IsDeleted { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment