performance - ADO.NET Entity OrderBy VS. View Order By? -


recently doing ado.net entity programming, noticed each entity has orderby method, consider performance, should create view order by in database rather use orderby in entity?

in thought, entity return resultset database memory first sort, view database sort on database level , return sorted resultset back. if in case, second way better, right?

correct me if wrong :-)

thanks.

i have limited experience entity framework order by not work in views (see this post).

there appears great information regarding entity framework best practices here. may using sql profiler see queries executed @ runtime run against sql server or using entity framework profiler described in this article.


Comments

Popular posts from this blog

c# - SVN Error : "svnadmin: E205000: Too many arguments" -

c++ - Using OpenSSL in a multi-threaded application -

All overlapping substrings matching a java regex -