Is it possible using data annotations to add default value for int property
something like
[DefaultValue=1] public int MyId {get; set;}
using System.ComponentModel; namespace EMS.Models { public class Admission { [DefaultValue(false)] public Boolean LCStatus { get; set; } [DefaultValue("India")] public string Country{ get; set; } } }