錯誤提示: LINQ to Entities does not recognize the method 'System.DateTime ToDateTime(System.String)' method, and this method cannot be translated into a store expression. LINQ to Entities 不识别方法“System.DateTime ToDateTime(System.String)”,因此该方法无法转换为存储表达式.
Custom Date and Time Format Strings <= https://docs.microsoft.com/en-us/dotnet/standard/base-types/custom-date-and-time-format-strings http://www.cnblogs.com/mcgrady/archive/2011/09/05/2168187.html END