MVC Model populating from EF5

2014-05-07 Thread anthonyatsmallbiz
Trying to populate a viewmodel from ef ..i can populate the model from ef with no issue but how do I populate the related objects? I'm sure it easy solution! IssueTracker_Issues is the database table from EF IssueTracker_IssuesTypes is the database table related to field IssueTypeId

RE: MVC Model populating from EF5

2014-05-07 Thread Clint Colefax
Have you looked at the Include method? Thanks Clint Colefax From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On Behalf Of anthonyatsmall...@mail.com Sent: Thursday, 8 May 2014 12:30 AM To: ozdotnet@ozdotnet.com Subject: MVC Model populating from EF5 Trying to populate