using System; using System.Configuration; using System.ComponentModel.DataAnnotations; using System.ComponentModel; namespace Yavsc.Model.Blogs { /// /// Blog. /// public class Blog: ITitle { string title; /// /// Gets or sets the title. /// /// The title. [StringLength(512)] [Required] [DisplayName("Titre")] public string Title { get { return title; } set { title = value; } } } }