Is there any way to use order by clause in the table inside OnModelCreating in .net core

后端 未结 0 1297
执笔经年
执笔经年 2021-01-27 09:38

I want to use the order by clause in the code below. The model and the View have StartDatetime field in it. So the order by should use startDatetime desc in the code. Can anyone

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