I have a model class that is following
public bool Saturday{ get; set; } public bool Sunday{ get; set; } public string Holiday{ get; set; }
Maybe try this in your model:
[Required] public bool Saturday{ get; set; } [Required] public bool Sunday{ get; set; } [NotMapped] public bool SatSun { get { return (!this.Saturday && !this.Sunday); } } [RequiredIf("SatSun",true)] public string Holiday{ get; set; }