How to minimise memory usage with Entity Framework being pulled from database, then into a DataTable
问题 I am pulling data using an Entity Framework, placing it in a list, and then placing that list in a DataTable . However it is taking up a lot of data depending on the query, I have had to take out functionality of querying the entire database because it simply crashes VS. I need to find a way to minimize the data used, I was hoping using a data table instead of a simply HTML table would help but it hasn't, although has added some nice functionality. I have a feeling it will require a large