Why does adding two .OrderBy (or .OrderByDescending) statements apply the sorts in reverse order?

前端 未结 0 916
情深已故
情深已故 2021-01-27 05:16

I came across the following in some code that I was refactoring today.

context.Entities.Where(x => x.ForeignKeyId == id)
    .OrderBy(x => x.FirstSortField)         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题