EF core set default OrderBy to a List property in the parent entity

前端 未结 0 1238
遇见更好的自我
遇见更好的自我 2021-01-06 01:26

I need an attribute or a fluent method to set the default OrderBy to a property to avoid to have to add the OrderBy clause each time I use an Include.



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