c# - Sort fields in database with linq -
I need to sort query results in the actual database (so when I get some results, let me sort it Not required) Can I do it with linq?
Database tables are naturally unrolled; it's not possible.
Instead, you can use a view with a ORDER BY section or create a property in your Data-Access class which is IOrderedQueryable & lt ; T & gt; .
Comments
Post a Comment