if drive can deal with DateTime.Date,it will be useful
we offen have this require,we need to compare DateTime field on Date(exclude time),but if use drive compare with DateTime.Date,drive will throw a exception tell us dont support..
db.CheckOns.Find(x => x.RecordTime.Date == new DateTime(2020, 3, 19)).ToList();
//public DateTime RecordTime{get;set}
2
votes
Guo
shared this idea