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

Popular posts from this blog

qt - switch/case statement in C++ with a QString type -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -

Python's equivalent for Ruby's define_method? -