What should I do if I have a Model which properties have to be filled from multiple tables from the EDMX file?
Should the Controller or specific actions do this work for me? Or is EF the wrong technology in this case because I [maybe] have to execute multiple statements to built a single model object for my view?
Update: Why is nobody mentioning ViewModels? I think this is the way to go? http://jabbr.net/#/rooms/aspnetmvc – One of the guys told me that it´s a standard approach to build a model from multiple entities from the db. So I´ll accept that?! Can anyone please give me a last “OK” on that? I think all this stuff has confused me because my mind wasn´t clear about the term “Model”. I doesn´t have to be a 1:1 relationship and what I´m actually working with are VIEWmodels… right?
I ended up creating ViewModel classes.