I am having issues to understand MVC model structure.I have 3 tables connected by Foreign keys. Users,UsersInCommittee,Committees .Tables can be though of as below.
User: UserId FirstName Last Name
Committees: CommitteeId Name
UsersIncommitee: Id UserID CommitteeID ExpirationDate
I need to create a Users create , edit , list page so it will show like this
First Name:John Last Name: Smith Committee : Health(1/1/2011) , Education(12/4/2010) , Management(5/3/2011)
How should be my model in this case ? Also can I directly use child object in view or I have to add them in model also ?
I really need your help . Thanks.