I want to fill the following when I add the subject and cheater models.
- department list
- semester list
- standard list
- stream list
cheater model:-
namespace firstapp.Models { public class chepter { [ForeignKey("dip_id")]public int dipart_id { get; set; }
public int chep_id { get; set; } public string subject { get; set; } public string chepter { get; set; } public List dipartlist { get; set; } public Liststdlist { get; set; }
public List semlist { get; set; } public List stremlist { get; set; } } } department model:
namespace firstapp.Models { public class dipartment{public int dip_id { get; set; }
public string dipart { get; set; }
public string std { get; set; }
public string sem { get; set; }
public string strem { get; set; }
}
}
Replies
Know the answer? Post it — somebody with the same question will find it here.