Order by dynamic parameter

后端 未结 0 1516
忘了有多久
忘了有多久 2021-01-22 23:48

I\'m trying to make and order by with dynamic parameter, this is the code:

var res = from c in db.CUSTOMERS select c;

if (!string.IsNullOrEmpty(sortBy) &&         


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