using System.ComponentModel.DataAnnotations;
namespace EntityFrameworkBasics
{
///
/// Our Settings database table representional model
///
public class SettingsDataModel
{
///
/// The unique Id for this entry
///
[Key]
public string Id { get; set; }
///
/// The settings name
///
[MaxLength(256)]
public string Name { get; set; }
///
/// The settings value
///
[Required]
[MaxLength(2048)]
public string Value { get; set; }
}
}