📜  在 linq c# 中选择前 5 - 无论代码示例

📅  最后修改于: 2022-03-11 14:55:41.632000             🧑  作者: Mango

代码示例2
var list = (from t in ctn.Items
           where t.DeliverySelection == true && t.Delivery.SentForDelivery == null
           orderby t.Delivery.SubmissionDate
           select t).Take(5);