Referring to the example on:
http://www.jqwidgets.com/jquery-widgets-documentation/documentation/asp.net-integration/asp.net-grid-server-side-paging-sorting-filtering-mvc3.htm
I was wondering if there is a different, more generic way, of pulling out the data from Entity Framework for Sorting, Paging, Filtering insted of instantiating a specific model class. Not having this:
var orders = from order in dbResult
select new Order
{
ShippedDate = order.ShippedDate,
ShipName = order.ShipName,
ShipAddress = order.ShipAddress,
ShipCity = order.ShipCity,
ShipCountry = order.ShipCountry
};
But something that would be the same no matter what the model is.
Thank you