sql server 2008 r2 - No orderby in LINQ query, but ORDER BY in SQL -


i have linqtoentities query not use orderby clause, on resulting sql query, there order clause (which costs 77% on query on execution plan).

does know why order clause added , how can remove (if possible) ?

here linqtoentities query :

var classementsquery =     classement in _dbcontext.classements                                  .include(c => c.operations)                                  .include("operations.matrices")                                  .include("operations.qualifications")                                  .include("operations.qualifications.matrices")                                  .include("operations.qualifications.qualificationetapes")                                  .include("operations.qualifications.qualificationetapes.matrices")     classement.operations.any()     select classement; 

nota : each of included entities relations n-n.


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -