EF中where中日期帅选问题

结合 SqlFunctions  和 DbFunctions  不能同时用两个DbFunctions
queryAble = queryAble.Where(s=> SqlFunctions.DateDiff("dd",DbFunctions.AddMonths(s.EntryLoadReceipt.CustomsClearDate, queryCond.Month), s.LastOutData) > 0);

猜你喜欢

转载自www.cnblogs.com/Tom-yi/p/10254223.html