I am adding a new controller that makes use of a number of tables. I have added these tables to the .edmx file. For the add new controller dialog box, it ask for the Model Class. I do see the 3 tables I dropped into the .edmx but not sure which one to choose or if there is a way to choose a model that is a consolidated version of those 3 tables.
Share
This is where a view model would come into play. First of all create a view model that contains properties for the 3 models you want to render on your view:
In your controller, create a new instance of the view model and populate it accordingly. EG:
On your view, you will now have a strongly typed view for the FakeViewModel.