0
muhannad created
I want to order by the extra Propeties , I have a column in database Called RankOrder , I tried this
` order by user.GetProperty
`
its not working , any suggestions please
2 Answer(s)
-
0
Hi,
You can try:
.OrderBy(b => EF.Property<int>(b, "RankOrder"));
You have to add
RankOrder
as a separate field of the tableSee: https://docs.abp.io/en/abp/latest/Customizing-Application-Modules-Extending-Entities#entity-extensions-ef-core
-
0
Thnx , it worked