var q = db.Customers.OrderBy(c => c.City).ThenBy(c => c.ContactName).ToList();

var q = from item in listAll
orderby item.ParentID ascending, item.SortNo descending
select item;

相关文章:

  • 2021-12-22
  • 2021-05-24
  • 2022-01-09
  • 2022-12-23
  • 2022-12-23
  • 2021-12-19
猜你喜欢
  • 2021-07-08
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-09
  • 2021-10-23
  • 2021-08-20
相关资源
相似解决方案