EF按时间范围条件查询

查询今日数据spa

db.Table.Where(d => System.Data.Entity.DbFunctions.DiffDays(d.Time, DateTime.Now) == 0)
相关文章
相关标签/搜索