I am creating an MVC ASP.Net application and have a large list of data that I need to display in a table, hoewever, not all data is in one table of my database. Because of this I have created a view model to get all necessary data and put it in one location for my view. This has worked perfectly until recently when I have begun to get large amounts of data. Now the process of moving all data from models to the view model takes too long. Traditionally I would use lazy loading to cut down on this time, but am unsure how to do this with a view model. Is this even possible?
If there is any code that you would like, please let me know, but I'm not sure what code would be necessary right now.