摘要: Linq to sql中使用DateDiff() 计算时间差的方法 第一种办法: from p in PurchaseLists where EntityFunctions.DiffDays(p.CreateTime,DateTime.Now) >=(p.DayLen/2) select p 报错: 阅读全文
posted @ 2018-12-26 09:26 Melody.Gkx 阅读(1934) 评论(0) 推荐(1) 编辑