Method LinQ to entities does not recognize "system.string.ToString (system.String)". The method thus can not be converted to store the expression

EF in which, using lazy loading can IQueryable and IEnumerable

list.Select()

Read:

list.AsEnumerable().Select

Guess you like

Origin www.cnblogs.com/jasonlai2016/p/11429290.html