data.Orderdetails.Where(r => r.orderstatus == id && DateTime.Compare((DateTime)r.OrderTime, ”要比较的时间“) >= 0 && DateTime.Compare((DateTime)r.OrderTime, “要比较的时间”) <= 0).ToList();

 

posted on 2017-01-06 17:09  Lovetolaugh  阅读(7032)  评论(0编辑  收藏  举报