Home > Net > Linq does not support the operation time, and mysql does not support Dbfunction!!!!!! How to do?????
Linq does not support the operation time, and mysql does not support Dbfunction!!!!!! How to do?????
Time:10-04
Tortured by Linq crazy, EF using Linq expression AddDays error! Don't tell me what EFfunction Dbfunction, all of the mysql database will know them into database functions, and try to is not support more than 100 kinds of methods to solve!
CodePudding user response:
Tolist ForEach again after AddDays
CodePudding user response:
He is designed to essentially, mysql to find these functions, it is good that you created,,,
CodePudding user response:
Because you still IQueryable data,,,, After tolist can be solved
CodePudding user response:
I know but toList performs very consumption performance later I want to run well in the database
CodePudding user response:
How to create a # 2?
CodePudding user response:
You can use SQL statements, the db. The database. This method