LINQ to Entities 不识别方法"System.String ToString()",因此该方法无法转换为存储表达式 的解决方法
一、案例1,及解决方案:“LINQtoEntities不识别方法"System.StringToString()",因此该方法无法转换为存储表达式。”原因是LINQtoEntities不支持ToString()函数。可用下述方法进行转换解决:DIRequestreqeust=newDIRequest(); reqeust.FilterMode="1,2,3,4,5,6,7,8,